Date: Wed, 5 Mar 2008 02:10:02 GMT From: "Josh Carroll" <josh.carroll@gmail.com> To: freebsd-threads@FreeBSD.org Subject: Re: threads/121343: pthread_cond_wait hanging in libthr Message-ID: <200803050210.m252A2DW014644@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/121343; it has been noted by GNATS. From: "Josh Carroll" <josh.carroll@gmail.com> To: "David Xu" <davidxu@freebsd.org> Cc: freebsd-gnats-submit@freebsd.org Subject: Re: threads/121343: pthread_cond_wait hanging in libthr Date: Tue, 4 Mar 2008 21:03:43 -0500 > > Can you attach to the process and see all threads info and backtrace ? > > for example: > > gdb /usr/local/bin/ushare 13323 > > > > (gdb) info threads Just for a comparison, here is the info threads output for ushare running with libkse: (gdb) info threads * 9 LWP 100372 0x0000000040bb566c in pthread_atfork () from /usr/lib/libkse.so 8 Thread 0x40e19400 (sleeping) 0x0000000040baf2a1 in pthread_kill () from /usr/lib/libkse.so 7 Thread 0x40e19800 (LWP 100267) 0x0000000040bb566c in pthread_atfork () from /usr/lib/libkse.so 6 Thread 0x40e19c00 (sleeping) 0x0000000040baf2a1 in pthread_kill () from /usr/lib/libkse.so 5 Thread 0x40e1a400 (sleeping) 0x0000000040baf2a1 in pthread_kill () from /usr/lib/libkse.so 4 Thread 0x40e1a800 (sleeping) 0x0000000040baf2a1 in pthread_kill () from /usr/lib/libkse.so 3 Thread 0x40e1ac00 (sleeping) 0x0000000040baf2a1 in pthread_kill () from /usr/lib/libkse.so 2 Thread 0x40e1b400 (sleeping) 0x0000000040baf2a1 in pthread_kill () from /usr/lib/libkse.so 1 Thread 0x40e1b800 (runnable) 0x0000000040a5686c in select () from /lib/libc.so.7 (gdb) bt #0 0x0000000040bb566c in pthread_atfork () from /usr/lib/libkse.so #1 0x0000000040bac049 in pthread_kill () from /usr/lib/libkse.so #2 0x0000000040baf88f in pthread_kill () from /usr/lib/libkse.so #3 0x0000000040bb09cf in pthread_setconcurrency () from /usr/lib/libkse.so #4 0x0000000000000000 in ?? () #5 0x0000000000000000 in ?? () (a whole slew of these, I stopped at about 20,000) Thanks, Josh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803050210.m252A2DW014644>