On Sat, Dec 11, 2010 at 8:22 PM, Tad Glines <tad.gli...@gmail.com> wrote:

> On Sat, Dec 11, 2010 at 8:02 PM, Dudley Fox <dudley....@gmail.com> wrote:
>
>> I don't know enough java to understand it, but here is the dump of threads
>> and their stack traces:
>>
>
> Thanks for the stack trace. I see where it's hanging, but I'm not sure why
> it's hanging.
> The Socket.IO flashsocket transport starts a thread listening on the flash
> socket policy port (default 843). During shutdown, the code closes the
> listener socket, and the thread SHOULD get an AsynchronousCloseException and
> exit. But it doesn't so the code hangs forever waiting for the listener
> thread to exit.
>
> What I don't understand is why the thread isn't getting the
> AsynchronousCloseException. I'll have to look into it.
>

OK, I've confirmed the problem. I did some googling and found
this<http://webcache.googleusercontent.com/search?q=cache:qdZFb022xw0J:forums.sun.com/thread.jspa%3FthreadID%3D5239612+asynchronouscloseexception+java+1.6.0_03&cd=4&hl=en&ct=clnk&gl=us>
cached
link. It confirms that the problem exists on FreeBSD and java 1.6.0_03 as
far back as 2007.

I'm not sure if this is a FreeBSD or a Java bug.

-Tad

Reply via email to