Re: bin/60472 (ld.elf_so(1) changes cause a segmentation fault in dlopen(3))

Taylor R Campbell <[email protected]> Mon, 20 Jul 2026 19:17:28 +0000
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
> Date: Mon, 20 Jul 2026 19:57:59 +0100
> From: Matthias Scheler <[email protected]>
> 
> On Mon, Jul 20, 2026 at 06:45:18PM +0000, [email protected] wrote:
> > Can you please provide the stack trace from the core dump?
> 
> That would require breaking my system again. And it is currently busy
> rebuilding packages with hundreds more to go.

If you still have the core dump and
/usr/libdata/debug/usr/lib/ld.elf_so.debug, that should be enough to
get a stack trace.  (If all you have is the core dump, you can just
rebuild ld.elf_so from the same source date as before and the
ld.elf_so.debug should work.)

> Did you try my reproduction step? It works a hundred percent reliable for me.

No, haven't tried yet, sorry, was hoping the stack trace was still
available.  Working on fixing several things at once here, not just
ld.elf_so!