Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 08:50:02 GMT
From:      David Xu <davidxu@FreeBSD.org>
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/121343: pthread_cond_wait hanging in libthr
Message-ID:  <200803040850.m248o2g8034159@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: David Xu <davidxu@FreeBSD.org>
To: Josh Carroll <josh.carroll@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: threads/121343: pthread_cond_wait hanging in libthr
Date: Tue, 04 Mar 2008 16:42:33 +0800

 Josh Carroll wrote:
 >> Number:         121343
 
 > The call to ithread_cond_wait (#defined to pthread_cond_wait) hangs
 > indefinitely, causing ushare to never listen on the UPnP port. It only
 > does this when ushare is run with the -D option, indicating it should
 > daemonize. If I run it without -D, it works fine.
 > 
 > Here is the tail end of a truss of ushare when run with -D, at which
 > point it hangs and subsequently does not listen on the UPnP socket.
 > 
 
 Can you attach to the process and see all threads info and backtrace ?
 for example:
 gdb /usr/local/bin/ushare 13323
 
 (gdb) info threads
 
 ...



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