FS#41190 - [ddd] 3.3.12-4-x86_64 can't be launched (Inconsistency detected by ld.so)
Attached to Project:
Arch Linux
Opened by Francois Truphemus (melchips) - Monday, 14 July 2014, 10:20 GMT
Last edited by Eric Belanger (Snowman) - Monday, 14 July 2014, 19:14 GMT
Opened by Francois Truphemus (melchips) - Monday, 14 July 2014, 10:20 GMT
Last edited by Eric Belanger (Snowman) - Monday, 14 July 2014, 19:14 GMT
|
Details
Description:
I am unable to launch ddd version 3.3.12-4-x86_64. When launching, the output is the following : Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed! The previous version was working fine. When recreating the package from ABS (at the same version 3.3.12-4-x86_64), the program is working fine. Additional info: - ddd-3.3.12-4-x86_64 from official extra repository (can't be launched) - ddd-3.3.12-4-x86_64 compiled from ABS (works fine) - ddd-3.3.12-3-x86_64 (works fine) Steps to reproduce: - install ddd version 3.3.12-4-x86_64 - launch ddd |
This task depends upon
I have checked all dependencies and it doesn't seem to be caused by conflicting libs with AUR packages.
With objdump -p on both binaries (working one and the non-working one), Dynamic section is the same for both binaries :
NEEDED libXm.so.2
NEEDED libXaw.so.7
NEEDED libXmu.so.6
NEEDED libXt.so.6
NEEDED libX11.so.6
NEEDED libncursesw.so.5
NEEDED libstdc++.so.6
NEEDED libm.so.6
NEEDED libgcc_s.so.1
NEEDED libc.so.6
However, Version References shows the following line on the non-working binary :
requis par libpthread.so.0:
0x09691a75 0x00 14 GLIBC_2.2.5
Moreover, the previous version (3.3.12-3), doesn't mention libpthread.so.0 in objdump.
I don't know if it can be related to this issue.
ddd is working fine on this computer.
I have attached the output of ld.so --list on both computers (LD_DEBUG=all /usr/lib/ld-linux-x86-64.so.2 --list /usr/bin/ddd).
On the computer that is not working, the error (Inconsistency detected by ld.so) is displayed while checking the libpthread.so file, as indicated in the working computer's output :
checking for version `GLIBC_2.2.5' in file /usr/lib/libpthread.so.0 [0] required by file /usr/bin/ddd [0]
My guess is that libpthread is not declared as needed in Dynamic section but is yet refenced by the program.
But I still don't understand why it's working on one computer and seems broken on another as the file/packages are the same.