Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java] "refCnt gone negative" error in integration tests #16041

Closed
asfimport opened this issue Dec 2, 2016 · 2 comments
Closed

[Java] "refCnt gone negative" error in integration tests #16041

asfimport opened this issue Dec 2, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@asfimport
Copy link

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]

see attached arrow / json files to reproduce

 
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

Reporter: Wes McKinney / @wesm
Assignee: Julien Le Dem / @julienledem

Original Issue Attachments:

PRs and other links:

Note: This issue was originally created as ARROW-402. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Julien Le Dem / @julienledem:
PR: #232

@asfimport
Copy link
Author

Wes McKinney / @wesm:
resolved in 8995c92

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants