Re: armv7 main's gpart [show]: signal 11 core dump during boot, before login; xo_format_string_direct; official pkgbase distribution (kernel and world)

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.current
Message-ID <[email protected]>
Bob prohaska <fbsd_at_www.zefox.net> wrote on
Date: Mon, 29 Dec 2025 14:06:41 UTC :
> 
> On Sun, Dec 28, 2025 at 06:44:54PM +0100, [email protected] wrote:
> > Can someone with a FreeBSD 15 or 16 -CURRENT armv7 machine test if they're
> > also getting segfaults when running gpart show? Or better yet, if someone
> > has a test machine to lend me.
> >
> 
> On a Pi2 v1.1 running root@pelorus:~ # uname -apKU
> FreeBSD pelorus.zefox.org 16.0-CURRENT FreeBSD 16.0-CURRENT #12 main-n282490-f825427c0ae9: Mon Dec 15 18:04:49 PST 2025 [email protected]:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm armv7 1600005 1600005

Turns out that is a few days too early. The commit to be tested
was:

Thu, 18 Dec 2025
. . .
    • git: 4f809ffec69c - main - gpart: add libxo support for "show" subcommand + man page updates Johan Söllvander
. . .

But it does tend to suggest that the issue did not appear before
that commit.

> there's no obvious problem, but this system isn't pristine; it's been patched
> per Warner's suggestions in the thread titled "...assertion failure...":
> 
> root@pelorus:~ # gpart show da0
> =>        63  1953525105  da0  MBR  (932G)
>           63        1985       - free -  (993K)
>         2048      102400    1  fat32lba  [active]  (50M)
>       104448  1953420720    2  freebsd  (931G)
> 
> root@pelorus:~ # gpart --libxo:JP show
> =>       63  125042625  mmcsd0  MBR  (60G)
>          63       1985          - free -  (993K)
>        2048     102400       1  fat32lba  [active]  (50M)
>      104448   10381312       2  freebsd  (5.0G)
>    10485760  114556928          - free -  (55G)
> 
> =>       0  10381312  mmcsd0s2  BSD  (5.0G)
>          0       128            - free -  (64K)
>        128  10381184         1  freebsd-ufs  (4.9G)
> 
> =>       63  125042625  diskid/DISK-5298532A  MBR  (60G)
>          63       1985                        - free -  (993K)
>        2048     102400                     1  fat32lba  [active]  (50M)
>      104448   10381312                     2  freebsd  (5.0G)
>    10485760  114556928                        - free -  (55G)
> 
> =>       0  10381312  diskid/DISK-5298532As2  BSD  (5.0G)
>          0       128                          - free -  (64K)
>        128  10381184                       1  freebsd-ufs  (4.9G)
> 
> =>        63  1953525105  da0  MBR  (932G)
>           63        1985       - free -  (993K)
>         2048      102400    1  fat32lba  [active]  (50M)
>       104448  1953420720    2  freebsd  (931G)
> 
> =>         0  1953420720  da0s2  BSD  (931G)
>            0         128         - free -  (64K)
>          128    10381184      1  freebsd-ufs  (4.9G)
>     10381312     3686400      2  freebsd-swap  (1.8G)
>     14067712     4505600         - free -  (2.1G)
>     18573312  1934847408      4  freebsd-ufs  (923G)
> 
> { }

FYI:

Mon, 29 Dec 2025
. . .
    • git: faff7013187b - main - geom_part: Fix format string issues Dag-Erling Smørgrav
. . .

Is the intended fix to the problem. I've not synchronized yet.


===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.