Re: Issue in man page sprof.1
From: Helge Kreutzmann <hidden>
Date: 2026-02-08 18:28:36
Hello Florian, Am Sun, Nov 17, 2024 at 11:50:18PM +0100 schrieb Florian Weimer:
* Alejandro Colomar:quoted
Hi Helge, On Sun, Nov 17, 2024 at 10:46:23AM GMT, Helge Kreutzmann wrote:quoted
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 [off-list ref] 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/ Attachments
- signature.asc [application/pgp-signature] 833 bytes