[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#210840: (no subject)



Subject: libc6: "Inconsistency detected..." and segfaults on 2.6?
Followup-For: Bug #210840
Package: libc6
Version: 2.3.2.ds1-10
Severity: important

I have found this "Inconsistency detected by ld.so" bug few times
on 2.6 kernels using both dual-processor server machine and SiS-chipset
based laptop.
It doesn't seem to depend on nVidia openGL drivers as suggested by
http://www.mail-archive.com/debian-glibc@lists.debian.org/msg07657.html.
(Or it is another bug.)
On every system I had this problem, I also had unexpected segfaults of
dynamically linked libraries (libdbd-pg-perl in postgresql_autodoc on laptop,
libg2c0 on a server).
Downgrading to Debian Stable was the only way I found to fix the problem.

Here is the transcript summarizing my recent observations:

bash-2.05b$ cp /lib/libc-2.3.2.so /tmp/
bash-2.05b$ chmod u+x /tmp/libc-2.3.2.so
bash-2.05b$ /tmp/libc-2.3.2.so 
Inconsistency detected by ld.so: rtld.c: 1259: dl_main: Assertion `_rtld_local._dl_rtld_map.l_prev->l_next == _rtld_local._dl_rtld_map.l_next' failed!
bash-2.05b$ uname -a
Linux dalia 2.6.0 #3 Sun Dec 21 13:08:29 CET 2003 i686 GNU/Linux
bash-2.05b$ /lib/ld-linux.so.2 --verify /lib/ld-linux.so.2
bash-2.05b$ /lib/ld-linux.so.2 /lib/ld-linux.so.2
Segmentation fault
bash-2.05b$ cp /lib/ld-linux.so.2 /tmp
bash-2.05b$ /lib/ld-linux.so.2 /tmp/ld-linux.so.2 
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 647: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!

[REBOOT]

bash-2.05b$ uname -a
Linux dalia 2.4.20-pre10 #1 Mon Oct 14 00:19:30 CEST 2002 i686 GNU/Linux
bash-2.05b$ /tmp/libc-2.3.2.so 
[Correct output...]
bash-2.05b$ /lib/ld-linux.so.2 /tmp/ld-linux.so.2 
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 647: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!
bash-2.05b$ /lib/ld-linux.so.2 /lib/ld-linux.so.2 
Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 647: elf_machine_rel_relative: Assertion `((reloc->r_info) & 0xff) == 8' failed!
bash-2.05b$ /lib/ld-linux.so.2 --verify /lib/ld-linux.so.2

bash-2.05b$ dpkg --status libc6
[...]
Version: 2.3.2.ds1-10
[...]

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dalia 2.6.0 #3 Sun Dec 21 13:08:29 CET 2003 i686
Locale: LANG=pl_PL.ISO-8859-2, LC_CTYPE=pl_PL.ISO-8859-2

Versions of packages libc6 depends on:
ii  libdb1-compat                 2.1.3-7    The Berkeley database routines [gl

-- no debconf information



Reply to: