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 02:50:02
The following reply was made to PR threads/121343; it has
been noted by GNATS.

From: David Xu <davidxuFreeBSD.org>
To: Josh Carroll <josh.carrollgmail.com>
Cc: freebsd-gnats-submitFreeBSD.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
 
 ...
_______________________________________________
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 )