Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2025 22:17:57 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        Dan Mahoney <freebsd@gushi.org>
Cc:        freebsd-pkgbase@freebsd.org
Subject:   Re: after updating to latest, pkg base segfaults and leaves me unbootable
Message-ID:  <a07d32b2-e788-4ea0-9a04-269f1eb4f749@gmail.com>
In-Reply-To: <DCA0D1E8-8D89-4B59-B44F-CD5C6F35C5A6@gushi.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 09/08/2025 00:38, Dan Mahoney wrote:
> …
>
> [598/1127] Deleting files for p5-MIME-Base32-1.303: 100%
> [599/1127] Deinstalling p5-MIME-Base64-3.16...
> [599/1127] Deleting files for p5-MIME-Base64-3.16: 100%
> Child process pid=21537 terminated abnormally: Segmentation fault
>
> …


Is that reproducible with 15.0-PRERELEASE and yesterday's set of 
packages for FreeBSD-ports?

I can perform a major upgrade from 14.2-RELEASE-p5  with pkg-static:

<https://github.com/freebsd/pkg/issues/2475#issuecomment-3263035996>;

– then restart the OS, install 771 packages from FreeBSD-ports (kde, 
plasma6-sddm-kcm, sddm, xorg), shut down, boot, and finally, quietly 
force an upgrade of all packages:

/usr/bin/time -h pkg upgrade -fqUy

– *without a segfault* 👍

<https://i.imgur.com/HZeVsA0.png>;

AMD64, root-on-ZFS, 4 GB memory (3904 MB avail at startup).

OT:

- I see other issues, but not a potentially show-stopping segfault

- the shut down was necessary only because (a typo) I previously gave 
only 204 MB base memory to the VirtualBox guest.

[-- Attachment #2 --]
<!DOCTYPE html>
<html data-lt-installed="true">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <div class="moz-cite-prefix">On 09/08/2025 00:38, Dan Mahoney wrote:<span
      style="white-space: pre-wrap">

</span></div>
    <blockquote type="cite"
      cite="mid:DCA0D1E8-8D89-4B59-B44F-CD5C6F35C5A6@gushi.org">
      <pre wrap="" class="moz-quote-pre">…

[598/1127] Deleting files for p5-MIME-Base32-1.303: 100%
[599/1127] Deinstalling p5-MIME-Base64-3.16...
[599/1127] Deleting files for p5-MIME-Base64-3.16: 100%
Child process pid=21537 terminated abnormally: Segmentation fault

…
</pre>
    </blockquote>
    <p><br>
    </p>
    <p>Is that reproducible with 15.0-PRERELEASE and yesterday's set of
      packages for FreeBSD-ports?</p>
    <p>I can perform a major upgrade from 14.2-RELEASE-p5  with <font
        face="monospace">pkg-static</font>:</p>
    <p><a class="moz-txt-link-rfc2396E" href="https://github.com/freebsd/pkg/issues/2475#issuecomment-3263035996">&lt;https://github.com/freebsd/pkg/issues/2475#issuecomment-3263035996&gt;</a></p>;
    <p>– then restart the OS, install 771 packages from FreeBSD-ports
      (kde, plasma6-sddm-kcm, sddm, xorg), shut down, boot, and finally,
      quietly force an upgrade of all packages: </p>
    <p><font face="monospace">/usr/bin/time -h pkg upgrade -fqUy</font></p>
    <p>– <b>without a segfault</b> 👍</p>
    <p><a class="moz-txt-link-rfc2396E" href="https://i.imgur.com/HZeVsA0.png">&lt;https://i.imgur.com/HZeVsA0.png&gt;</a></p>;
    <p>AMD64, root-on-ZFS, 4 GB memory (3904 MB avail at startup).</p>
    <p>OT: </p>
    <p>- I see other issues, but not a potentially show-stopping
      segfault</p>
    <p>- the shut down was necessary only because (a typo) I previously
      gave only 204 MB base memory to the VirtualBox guest.</p>
  </body>
  <lt-container></lt-container>
</html>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a07d32b2-e788-4ea0-9a04-269f1eb4f749>