Wes McKinney created ARROW-402:
----------------------------------
Summary: [Java] "refCnt gone negative" error in integration tests
Key: ARROW-402
URL: https://issues.apache.org/jira/browse/ARROW-402
Project: Apache Arrow
Issue Type: Bug
Components: Java - Vectors
Reporter: Wes McKinney
Priority: Blocker
{code}
Incompatible files
ArrowBuf[81] refCnt has gone negative. Buffer Info: ledger[45] allocator:
ROOT), isOwning: false, size: 4096, references: -1, life:
108747926538488..108747945149566, allocatorManager: [45, life:
108747926483706..108747945162893]
10:26:51.568 [main] ERROR org.apache.arrow.tools.Integration - Incompatible
files
java.lang.IllegalStateException: ArrowBuf[81] refCnt has gone negative. Buffer
Info: ledger[45] allocator: ROOT), isOwning: false, size: 4096, references: -1,
life: 108747926538488..108747945149566, allocatorManager: [45, life:
108747926483706..108747945162893]
at io.netty.buffer.ArrowBuf.release(ArrowBuf.java:275)
~[arrow-tools-0.1.1-SNAPSHOT-jar-with-dependencies.jar:na]
at io.netty.buffer.ArrowBuf.release(ArrowBuf.java:250)
~[arrow-tools-0.1.1-SNAPSHOT-jar-with-dependencies.jar:na]
at
org.apache.arrow.vector.schema.ArrowRecordBatch.close(ArrowRecordBatch.java:122)
~[arrow-tools-0.1.1-SNAPSHOT-jar-with-dependencies.jar:na]
at
org.apache.arrow.tools.Integration$Command$3.execute(Integration.java:157)
~[arrow-tools-0.1.1-SNAPSHOT-jar-with-dependencies.jar:na]
at org.apache.arrow.tools.Integration.run(Integration.java:210)
~[arrow-tools-0.1.1-SNAPSHOT-jar-with-dependencies.jar:na]
at org.apache.arrow.tools.Integration.main(Integration.java:59)
~[arrow-tools-0.1.1-SNAPSHOT-jar-with-dependencies.jar:na]
{code}
see attached arrow / json files to reproduce
{code}
java -cp
/home/wesm/code/arrow/java/tools/target/arrow-tools-0.1.1-SNAPSHOT-jar-with-dependencies.jar
org.apache.arrow.tools.Integration -a bugaboo.arrow -j bugaboo.json -c VALIDATE
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)