Re: Stuck CLOSED sockets / sshd / zombies...

看板FB_hackers作者時間11年前 (2014/04/09 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串22/50 (看更多)
On Tuesday, April 08, 2014 11:33:03 am Karl Pielorz wrote: > > --On 08 April 2014 09:36 -0400 John Baldwin <jhb@freebsd.org> wrote: > > > Humm, it needs to build new ones with debug symbols. If it doesn't, > > you'll need to do 'make clean' before the other makes. I think you > > should be fine to do that (make clean then the command above) for those > > directories and restart gdb without having to restart your sshd. Please > > also add '/usr/src/libexec/rtld-elf' to the list of directories where you > > do this. Then do 'detach' in gdb, exit gdb and restart it. > > Ok, it hit an issue with libc (complained it couldn't find yp.h - but I > fixed that) and it compiled up OK then. The rest all recompiled / installed > OK, and I included the rtld-elf code. > > > Hmmm, that is useful even though the debug symbols aren't there. Please > > do the rebuilds I asked for above and re-attach gdb and get 'bt' again. > > Ok, that now nets: > > " > ... > [Switching to LWP 100218] > 0x00000008038ea89c in __error () from /lib/libthr.so.3 > (gdb) bt > #0 0x00000008038ea89c in __error () from /lib/libthr.so.3 > #1 0x00000008038e104f in __thr_rwlock_rdlock (rwlock=0x803af9480, > flags=<value optimized out>, tsp=<value optimized out>) > at /usr/src/lib/libthr/thread/thr_umtx.c:277 > #2 0x00000008038e821c in _thr_rtld_rlock_acquire (lock=0x803af9480) at > atomic.h:143 > #3 0x000000080064f9a2 in rlock_acquire (lock=0x80085fe00, > lockstate=0x7fffffffba68) at /usr/src/libexec/rtld-elf/rtld_lock.c:197 > #4 0x00000008006498c9 in _rtld_bind (obj=0x800662000, reloff=13008) at > /usr/src/libexec/rtld-elf/rtld.c:675 > #5 0x00000008006470cd in _rtld_bind_start () at > /usr/src/libexec/rtld-elf/amd64/rtld_start.S:99 > #6 0x0000000000000246 in ?? () > #7 0x0000000000000000 in ?? () > " Can you do 'frame 3' and ' p *lock' as well as 'frame 1' and 'p *rwlock'? -- John Baldwin _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #1JH3bU3h (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #1JH3bU3h (FB_hackers)