List Info

Thread: Re: threads/121343: pthread_cond_wait hanging in libthr




Re: threads/121343: pthread_cond_wait hanging in libthr
country flaguser name
United States
2008-03-04 20:10:02
The following reply was made to PR threads/121343; it has
been noted by GNATS.

From: "Josh Carroll" <josh.carrollgmail.com>
To: "David Xu" <davidxufreebsd.org>
Cc: freebsd-gnats-submitfreebsd.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
_______________________________________________
freebsd-threadsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-threa
ds
To unsubscribe, send any mail to
"freebsd-threads-unsubscribefreebsd.org"

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )