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
...
_______________________________________________
freebsd-threads freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-threa
ds
To unsubscribe, send any mail to
"freebsd-threads-unsubscribe freebsd.org"
|