threads/121343: pthread_cond_wait hanging in libthr

Josh Carroll josh.carroll at
Tue Mar 4 17:00:03 UTC 2008

The following reply was made to PR threads/121343; it has been noted by GNATS.

From: "Josh Carroll" <josh.carroll at>
To: "David Xu" <davidxu at>
Cc: freebsd-gnats-submit at
Subject: Re: threads/121343: pthread_cond_wait hanging in libthr
Date: Tue, 4 Mar 2008 11:34:23 -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
 I can get a backtrace but not the thread information:
 (gdb) bt
 #0  0x00000000409d08da in _umtx_op () from /lib/
 #1  0x0000000040ba5c9a in pthread_cleanup_push () from /lib/
 #2  0x0000000040ba231b in pthread_mutex_getprioceiling () from /lib/
 #3  0x0000000040774324 in WorkerThread (arg=0x40770d20) at src/ThreadPool.c:440
 #4  0x0000000040b9f459 in pthread_getprio () from /lib/
 #5  0x0000000000000000 in ?? ()
 Error accessing memory address 0x7fffffbff000: Bad address.
 (gdb) info threads
 Cannot get thread info: invalid key
 Is there something I'm doing wrong here?

More information about the freebsd-threads mailing list