[Top][All Lists]

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

RedHat 9: crash in /lib/tls/glibc.so.6

From: Stephan Bergmann
Subject: RedHat 9: crash in /lib/tls/glibc.so.6
Date: Thu, 08 May 2003 11:29:32 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312

Hi all.

I hope I am not too far off with my problem on this list.

On a RedHat 9 installation, I find a glibc.so.6 in /lib as well as in /lib/tls; the system is obviously set up so that programs find the /lib/tls/glibc.so.6. The two versions are different (different file sizes), but I do not know what the differences are.

Now, a small program that used to work fine on various GNU/Linux systems crashes during termination on said RedHat 9 installation:

#0  0x420734c1 in free () from /lib/tls/libc.so.6
#1  0x420eb85e in __unregister_atfork () from /lib/tls/libc.so.6
#2  0x42029eae in __cxa_finalize () from /lib/tls/libc.so.6
#3  0x4030344c in _init () from
#4  0x4036079d in _fini () from
#5  0x4000c894 in _dl_fini () from /lib/ld-linux.so.2
#6  0x42029c20 in exit () from /lib/tls/libc.so.6
#7  0x420155d8 in __libc_start_main () from /lib/tls/libc.so.6

The argument to free is not on the heap (0x42132d9c) and causes a SEGV.

If I make sure the program uses libc.so.6 and libpthread.so.0 from /lib instead of from /lib/tls, everything works fine.

Can anybody help explain what's going on (and what the differences between the /lib and /lib/tls versions are)? Please cc me directly, as I am not subscribed to this list.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]