Bug 54612 - Fatal Error when trying to send data to WebSocket with conection closed
Fatal Error when trying to send data to WebSocket with conection closed
Status: RESOLVED FIXED
Product: Tomcat 7
Classification: Unclassified
Component: Catalina
trunk
PC All
: P2 major (vote)
: ---
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-02-27 06:32 UTC by bertolom
Modified: 2013-03-06 17:31 UTC (History)
1 user (show)



Attachments
Crash report by Java VM (30.97 KB, application/octet-stream)
2013-02-27 06:32 UTC, bertolom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bertolom 2013-02-27 06:32:43 UTC
Created attachment 29997 [details]
Crash report by Java VM

Occures: When try to send data to WebSocet using  org.apache.catalina.websocket.WsOutbound but socket is closed and onClose method has not managed to work out and remove connection from the collection.
Expected behavior: throw IOException;
Actual behavior: Fatal Error EXCEPTION_ACCESS_VIOLATION

Java: JDK-7.15
Tomcat: 7.0.37
Actual DLL version 1.1.27 (not 24)

Note. This works well on Linux but crash Tomcat on Windows
Comment 1 Mark Thomas 2013-02-27 14:38:17 UTC
Moving components. Although the crash happens in the native library the web socket code is the likely culprit here.
Comment 2 Mark Thomas 2013-03-06 17:31:00 UTC
Thanks for the report.

Fixed in trunk and 7.0.x and will be included in 7.0.38 onwards.