Channel freeze on getCloseFuture()deadlock?

Rafael Marins rafael.marins at neociclo.com
Thu Aug 20 06:39:17 EDT 2009


Hi Trustin,


Trustin Lee wrote:
> 
> Do you have any full thread dump?  We did not experience such a dead
> lock in the existing transports.  Perhaps you are synchronizing over
> some object that Netty uses for synchronization?
> 

It's the first time I produce a full Thread dumping. See the dump file (ZIP)
in attachment, where I see something about a deadlock.

http://n2.nabble.com/file/n3478227/deadlockDump.zip deadlockDump.zip 

Seems to be on StateMachine, which is locked on DefaultStateContext object.
According to my implementation there are 2 DefaultStateContext objects in
place, once my transport is compound of Sink + 2 Protocol layer handlers
(each handler managed by a stateMachine).

I have no idea yet to resolve such deadlock. Any tips?

PS: Of course, I intend share my experiences with all netties on
implementing transport and also making it work with MINA StateMachine. :-)

Best regards,

-----
Rafael Marins
Neociclo - http://www.neociclo.com


-- 
View this message in context: http://n2.nabble.com/Channel-freeze-on-getCloseFuture-deadlock-tp3468527p3478227.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list