Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-402

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.2.0
    • Java
    • None

    Description

      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
      

      Attachments

        1. bugaboo.arrow
          9 kB
          Wes McKinney
        2. bugaboo.json
          29 kB
          Wes McKinney

        Issue Links

          Activity

            People

              julienledem Julien Le Dem
              wesm Wes McKinney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: