FS#74847 - sprof example as in "man sprof" fails with an assertion failed
Attached to Project:
Arch Linux
Opened by Giacomo (delleceste) - Wednesday, 25 May 2022, 06:51 GMT
Last edited by Toolybird (Toolybird) - Friday, 29 July 2022, 03:30 GMT
Opened by Giacomo (delleceste) - Wednesday, 25 May 2022, 06:51 GMT
Last edited by Toolybird (Toolybird) - Friday, 29 July 2022, 03:30 GMT
|
Details
Description:
create a simple main and a library by copy/pasting the code in > man sprof Then execute > sprof -p libdemo.so.1 $LD_PROFILE_OUTPUT/libdemo.so.1.profile *exactly* as in the manual page. You will get: Inconsistency detected by ld.so: dl-open.c: 929: _dl_open: Assertion `_dl_debug_update (args.nsid)->r_state == RT_CONSISTENT' failed! Additional info: * package version(s) ldd --version ldd (GNU libc) 2.35 glibc 2.35-5 binutils-2.38-5 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: See description Regards |
This task depends upon
[1] https://stackoverflow.com/questions/47049242
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=22380