Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Eric Belanger (Snowman)
Monday, 14 July 2014, 19:14 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Monday, 14 July 2014, 12:50 GMT
Works fine here, is your entire system up to date?
Comment by Francois Truphemus (melchips) - Monday, 14 July 2014, 13:57 GMT
My entire system is up to date.
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.
Comment by Francois Truphemus (melchips) - Monday, 14 July 2014, 16:57 GMT
I have access to another computer with similar specs and packages at the same version.
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.
Comment by Eric Belanger (Snowman) - Monday, 14 July 2014, 19:14 GMT
Should be fixed in ddd-3.3.12-5. The binary now links to libpthread. Not sure why you were getting the error. It worked fine here.

Loading...