Fixed
Details
Details
Assignee
Florian Schmaus
Florian SchmausReporter
Guenther Niess
Guenther NiessLabels
Components
Fix versions
Affects versions
Priority
Created September 22, 2009 at 10:03 PM
Updated May 30, 2013 at 10:43 PM
Resolved January 6, 2013 at 2:09 PM
The scenario occurs as follows, Calling disconnect attempts to close the connections reader, (line 528) which attempts to acquire the readers lock. This reader is also held by the MXParser, which at the time of the close is blocked reading from the socket. This blocked read is holding the reader lock and thus deadlocks the close call. There is an attempt to shutdown the PacketReader (line 570), but as shutdown waits for the current operations to finish, the blocked read is not interrupted and the call to close will hang.
Reported and a suggestion on how to fix it on http://www.igniterealtime.org/community/message/178842#178842