Bug 54612

Summary: Fatal Error when trying to send data to WebSocket with conection closed
Product: Tomcat 7 Reporter: bertolom
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: major CC: bertolom
Priority: P2    
Version: trunk   
Target Milestone: ---   
Hardware: PC   
OS: All   
Attachments: Crash report by Java VM

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.