Issue in man page sprof.1
Helge Kreutzmann
debian@helgefjell.de
Sun Feb 8 18:28:34 GMT 2026
Hello Florian,
Am Sun, Nov 17, 2024 at 11:50:18PM +0100 schrieb Florian Weimer:
> * Alejandro Colomar:
>
> > Hi Helge,
> >
> > On Sun, Nov 17, 2024 at 10:46:23AM GMT, Helge Kreutzmann wrote:
> >> Without further ado, the following was found:
> >>
> >> Issue: Inconsistency detected by ld.so: dl-open.c: 930: _dl_open: Assertion `_dl_debug_update (args.nsid)->r_state == RT_CONSISTENT' failed!
> >
> > IIUC, this report is that running the example shell session resulted in
> > that problem. I've CCed glibc in case they can help.
> >
> > It would be interesting to know if this can be reproduced, and a full
> > reproducer.
>
> Hasn't this been fixed in glibc 2.38? Via:
>
> commit ab5aa2ee3d3f978e474803cbbc5fe805ad30e293
> Author: Andreas Schwab <schwab@suse.de>
> Date: Thu Mar 23 16:46:20 2023 +0100
>
> dlopen: skip debugger notification for DSO loaded from sprof (bug 30258)
>
> Avoid inconsistent state in the debugger interface.
Apologies that I missed that question.
In Debian stable (Trixie), glibc 2.41-12+deb13u1, this error is no
longer present.
I can run all commands of sprof(1), however none produces any content,
i.e. something beyond the header lines. As I'm not a programmer, I
don't know if this is something to worry about.
helge@twentytwo:/tmp$ sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile
Flat profile:
Each sample counts as 0,01 seconds.
% cumulative self self total
time seconds seconds calls us/call us/call name
And no, I don't expect any of the output to be translated, I was just
curious to try this out.
If you need any further input from my side, please let me know,
otherwise I'm fine as well.
Greetings
Helge
--
Dr. Helge Kreutzmann debian@helgefjell.de
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20260208/ffd2e70c/attachment.sig>
More information about the Libc-alpha
mailing list