tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40730] New: - Spurious ArrayIndexOutOfBounds errors in System.arraycopy...
Date Wed, 11 Oct 2006 20:21:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40730>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40730

           Summary: Spurious ArrayIndexOutOfBounds errors in
                    System.arraycopy...
           Product: Tomcat 5
           Version: 5.5.20
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:Coyote
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: yoavs@computer.org


... which in turn is called by the Coyote InternalOutputBuffer.  Reported on the
dev@tomcat mailing list by j.random.programmer (email addressed scratched) on
October 20th 2006.  Email pasted below.

Hi:

I'm getting these at random, tomcat version: 5.5.20

These looks like a serious coding bug (there should
never
be ArrayIndexOutOfBoundsExceptions), but it's not
clear
whether this bug exists in the JDK or in the tomcat
code.


# java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed
mode, sharing)


Best regards,
--j
----------------Crash Error ------------------------

java.lang.ArrayIndexOutOfBoundsException
       at java.lang.System.arraycopy(Native Method)
       at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:689)
       at
org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:428)
       at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1604)
       at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:962)
       at
org.apache.coyote.Response.action(Response.java:180)
       at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:572)
       at
org.apache.coyote.Response.doWrite(Response.java:559)
       at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)
       at
org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:324)
       at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java:235)
       at
sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
       at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
       at
sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
       at
sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
       at
java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
       at
org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java:184)
       at
org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:127)
       at
org.apache.catalina.connector.OutputBuffer.realWriteChars(OutputBuffer.java:536)
       at
org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java:439)
       at
org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:268)
       at
org.apache.catalina.connector.Response.finishResponse(Response.java:476)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       at java.lang.Thread.run(Thread.java:613)
Oct 10, 2006 7:02:28 PM
org.apache.coyote.http11.Http11Processor process
SEVERE: Error finishing response
java.lang.ArrayIndexOutOfBoundsException
       at java.lang.System.arraycopy(Native Method)
       at
org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.java:689)
       at
org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:428)
       at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java:1604)
       at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:962)
       at
org.apache.coyote.Response.action(Response.java:180)
       at
org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java:388)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:906)
       at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       at java.lang.Thread.run(Thread.java:613)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message