Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 17:00: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:  <200803041700.m24H02H8070295@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 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/libc.so.7
 #1  0x0000000040ba5c9a in pthread_cleanup_push () from /lib/libthr.so.3
 #2  0x0000000040ba231b in pthread_mutex_getprioceiling () from /lib/libthr.so.3
 #3  0x0000000040774324 in WorkerThread (arg=0x40770d20) at src/ThreadPool.c:440
 #4  0x0000000040b9f459 in pthread_getprio () from /lib/libthr.so.3
 #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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803041700.m24H02H8070295>