Discussion:
[Rabbit-dev] Stack overflow error
Mindaugas Žakšauskas
2010-08-23 09:55:49 UTC
Permalink
Has anybody ever spotted this? It happens during the runtime on some
particular URL, still haven't traced which exactly.

I'm using rabbit 4.6.

Exception in thread "org.khelekore.rnio.impl.SingleSelectorRunner 0"
java.lang.StackOverflowError
at sun.nio.cs.US_ASCII$Encoder.encodeLoop(US_ASCII.java:192)
at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:240)
at java.lang.StringCoding.encode(StringCoding.java:272)
at java.lang.String.getBytes(String.java:946)
at rabbit.httpio.BlockSender.<init>(BlockSender.java:36)
at rabbit.handler.BaseHandler.bufferRead(BaseHandler.java:511)
at rabbit.httpio.ChunkHandler.handleChunkData(ChunkHandler.java:151)
at rabbit.httpio.ChunkHandler.handleData(ChunkHandler.java:60)
at rabbit.httpio.WebConnectionResourceSource.handleBlock(WebConnectionResourceSource.java:100)
at rabbit.httpio.WebConnectionResourceSource.addBlockListener(WebConnectionResourceSource.java:81)
at rabbit.handler.BaseHandler.blockSent(BaseHandler.java:522)
at rabbit.httpio.BlockSender.writeBuffer(BlockSender.java:90)
at rabbit.httpio.BlockSender.write(BlockSender.java:74)
at rabbit.handler.BaseHandler.bufferRead(BaseHandler.java:515)
at rabbit.httpio.ChunkHandler.handleChunkData(ChunkHandler.java:151)
at rabbit.httpio.ChunkHandler.handleData(ChunkHandler.java:60)
at rabbit.httpio.WebConnectionResourceSource.handleBlock(WebConnectionResourceSource.java:100)
at rabbit.httpio.WebConnectionResourceSource.addBlockListener(WebConnectionResourceSource.java:81)
at rabbit.handler.BaseHandler.blockSent(BaseHandler.java:522)
at rabbit.httpio.BlockSender.writeBuffer(BlockSender.java:90)
at rabbit.httpio.BlockSender.write(BlockSender.java:74)
at rabbit.handler.BaseHandler.bufferRead(BaseHandler.java:515)
at rabbit.httpio.ChunkHandler.handleChunkData(ChunkHandler.java:151)
at rabbit.httpio.ChunkHandler.handleData(ChunkHandler.java:60)
at rabbit.httpio.WebConnectionResourceSource.handleBlock(WebConnectionResourceSource.java:100)
at rabbit.httpio.WebConnectionResourceSource.addBlockListener(WebConnectionResourceSource.java:81)
at rabbit.handler.BaseHandler.blockSent(BaseHandler.java:522)
at rabbit.httpio.BlockSender.writeBuffer(BlockSender.java:90)
at rabbit.httpio.BlockSender.write(BlockSender.java:74)
at rabbit.handler.BaseHandler.bufferRead(BaseHandler.java:515)
at rabbit.httpio.ChunkHandler.handleChunkData(ChunkHandler.java:151)
at rabbit.httpio.ChunkHandler.handleData(ChunkHandler.java:60)
at rabbit.httpio.WebConnectionResourceSource.handleBlock(WebConnectionResourceSource.java:100)
at rabbit.httpio.WebConnectionResourceSource.addBlockListener(WebConnectionResourceSource.java:81)
at rabbit.handler.BaseHandler.blockSent(BaseHandler.java:522)
at rabbit.httpio.BlockSender.writeBuffer(BlockSender.java:90)
at rabbit.httpio.BlockSender.write(BlockSender.java:74)
at rabbit.handler.BaseHandler.bufferRead(BaseHandler.java:515)
at rabbit.httpio.ChunkHandler.handleChunkData(ChunkHandler.java:151)
at rabbit.httpio.ChunkHandler.handleData(ChunkHandler.java:60)
at rabbit.httpio.WebConnectionResourceSource.handleBlock(WebConnectionResourceSource.java:100)
at rabbit.httpio.WebConnectionResourceSource.addBlockListener(WebConnectionResourceSource.java:81)
at rabbit.handler.BaseHandler.blockSent(BaseHandler.java:522)
at rabbit.httpio.BlockSender.writeBuffer(BlockSender.java:90)
at rabbit.httpio.BlockSender.write(BlockSender.java:74)
at rabbit.handler.BaseHandler.bufferRead(BaseHandler.java:515)
at rabbit.httpio.ChunkHandler.handleChunkData(ChunkHandler.java:151)
at rabbit.httpio.ChunkHandler.handleData(ChunkHandler.java:60)
at rabbit.httpio.WebConnectionResourceSource.handleBlock(WebConnectionResourceSource.java:100)
...
(few hundred lines down, same pattern)
...
at rabbit.httpio.WebConnectionResourceSource.addBlockListener(WebConnectionResourceSource.java:81)
at rabbit.handler.BaseHandler.blockSent(BaseHandler.java:522)
at rabbit.httpio.BlockSender.writeBuffer(BlockSender.java:90)
at rabbit.httpio.BlockSender.write(BlockSender.java:74)
at rabbit.handler.BaseHandler.bufferRead(BaseHandler.java:515)
at rabbit.httpio.ChunkHandler.handleChunkData(ChunkHandler.java:151)

m.
Robert Olofsson
2010-08-24 18:51:09 UTC
Permalink
On Mon, 23 Aug 2010 10:55:49 +0100
Post by Mindaugas Žakšauskas
Has anybody ever spotted this? It happens during the runtime on some
particular URL, still haven't traced which exactly.
I have not seen such things in quite a while, but I do not really see
anything in the 4.7 ChangeLog that indicates that it is fixed. There is
the pipeline buffer overwrite, but I am not sure if that affects this
issue. If you could find any page where it happen reliably I will be
very happy.
Post by Mindaugas Žakšauskas
I'm using rabbit 4.6.
Is it possible to upgrade? the pipeline buffer overwrite can probably
cause many odd problems.

/robo
Mindaugas Žakšauskas
2010-08-24 21:11:08 UTC
Permalink
On Tue, Aug 24, 2010 at 7:51 PM, Robert Olofsson
If you could find any page where it happen reliably I will be very happy.
I might try but this has only happened twice in half a year or so.
Will try to put more effort into digging if this comes up again.
Is it possible to upgrade? the pipeline buffer overwrite can probably
cause many odd problems.
I will upgrade eventually (need to do some tests before), however you
mentioned that 4.7 doesn't touch anything related, does it?

Thanks for ideas anyway, will post more info if/when available.

m.

Loading...