tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51813] Tomcat randomly crashes with [] Java_org_apache_tomcat_jni_Socket_sendbb+0x5a
Date Fri, 16 Sep 2011 20:51:10 GMT

--- Comment #2 from Christopher Schultz <> 2011-09-16 20:51:10
UTC ---
There was a recent discussion on the users list where someone discovered that
one of the JRE imaging APIs was keeping a reference to an OutputStream and
randonly flushing it long after the request had completed.

This wasn't causing crashes, though.

I wonder if this might be a related problem: the output stream is flushed, but
the response has already been sent and the thread/buffer put back into the
worker queue. When another flush comes, it's in an invalid state?

Mike, would you be willing to try to reproduce the problem and then wrap an
OutputStream around the response's OutputStream, and pass THAT to the ImageIO?

See here for an example of the kind of code I'm talking about:

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message