1 Nov 2008 03:29
Re: "Cannot find new threads" on Fedora 9, but not on CentOS 5 (?)
Andrew Lofthouse <loftyhauser <at> gmail.com>
2008-11-01 02:29:08 GMT
2008-11-01 02:29:08 GMT
Paul Pluzhnikov wrote: > You can tell: for each library in ldd output on Fedora 9, namely: > > /usr/local/lib/libufs2D-0.9.so.2 > /usr/local/lib/libgts-0.7.so.5 > /lib/libgmodule-2.0.so.0 > /lib/libdl.so.2 > /lib/libglib-2.0.so.0 > /lib/libselinux.so.1 > > do 'ldd /path/to/lib' on CentOS. > At least one of them (I expect) will show libpthread.so.0 dependency, > which implies that they were built differently. Yes, /lib/libglib-2.0.so.0 depends on libpthread.so.0 > >> And, yet, it handles your test case as well... > > Since we can't replicate "bad GDB behavior" on a test case, I am > afraid the only way forward is for you to debug gdb with itself. Last night I tried to follow your example and try to debug gdb, but to do so, I would have to replicate my earlier problem, but I was unable to do so (meaning, gdb did not have any problems following the new threads, or finding libpthread symbols). I thought this was because I had explicitly linked with -pthread previously. I rebooted, rebuilt, and was still unable to replicate the problem. I re-installed Fedora 9 from scratch, and I'm still unable to replicate it. I have no idea what changed. Ubuntu 8.04, however, still gives a "cannot find new threads: generic(Continue reading)
In this case, GDB gets notified about libpthread load
before libpthread has been relocated:
GNU gdb Fedora (6.8-1.fc9)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
RSS Feed