dmitry-chirkov-dremio commented on PR #967:
URL: https://github.com/apache/arrow-java/pull/967#issuecomment-4738100465
We are troubleshooting a regression that ends up in following stack:
```
(java.lang.IndexOutOfBoundsException) readerIndex: 0, writerIndex: 4
(expected: 0 <= readerIndex <= writerIndex <= capacity(0))
io.netty.buffer.AbstractByteBuf.checkIndexBounds():112
io.netty.buffer.AbstractByteBuf.writerIndex():135
io.netty.buffer.NettyArrowBuf.writerIndex():215
io.netty.buffer.NettyArrowBuf.unwrapBuffer():631
```
Our starting point is
[this](https://github.com/dremio/dremio-oss/blob/799ccbda47e6f2e1bfacf1ccbded174e00d4150a/sabot/kernel/src/main/java/com/dremio/exec/record/FragmentWritableBatch.java#L110)
Is it possible that merged changes break Netty's assumptions in
[unwrapBuffer](https://github.com/apache/arrow-java/blob/cb24576e895c0bf8e1d062e2fc82f2b53bfa2eb8/memory/memory-netty-buffer-patch/src/main/java/io/netty/buffer/NettyArrowBuf.java#L624)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]