From owner-freebsd-threads@FreeBSD.ORG Tue Mar 4 17:00:02 2008 Return-Path: Delivered-To: freebsd-threads@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E609A1065674 for ; Tue, 4 Mar 2008 17:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D798D8FC2E for ; Tue, 4 Mar 2008 17:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m24H02XP070296 for ; Tue, 4 Mar 2008 17:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m24H02H8070295; Tue, 4 Mar 2008 17:00:02 GMT (envelope-from gnats) Date: Tue, 4 Mar 2008 17:00:02 GMT Message-Id: <200803041700.m24H02H8070295@freefall.freebsd.org> To: freebsd-threads@FreeBSD.org From: "Josh Carroll" Cc: Subject: Re: threads/121343: pthread_cond_wait hanging in libthr X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Josh Carroll List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 17:00:03 -0000 The following reply was made to PR threads/121343; it has been noted by GNATS. From: "Josh Carroll" To: "David Xu" 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?