Skip to content

[Java][Gandiva] Crashed tests: Error occurred in starting fork #239

Open

Description

@asfimport

There are crashes at running test on Java Gandiva module:

  1. Able to build JNI Gandiva without problems at $PWD/arrow/java-dist/lib

  2. Run mvn command mvn -Darrow.cpp.build.dir=$PWD/arrow/java-dist/lib -Parrow-jni clean install

  3. Process finished with message:

    3.1.- maven surefire error message:

     

    [ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
    
    [ERROR] Command was /bin/sh -c cd '/Users/dsusanibar/arrow/java/gandiva' && '/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/jre/bin/java' '-jar' '/Users/dsusanibar/arrow/java/gandiva/target/surefire/surefirebooter-20221005232352974_5.jar' '/Users/dsusanibar/arrow/java/gandiva/target/surefire' '2022-10-05T23-23-52_590-jvmRun2' 'surefire-20221005232352974_2tmp' 'surefire_1-20221005232352974_4tmp'
    [ERROR] Error occurred in starting fork, check output in log
    [ERROR] Process Exit Code: 134
    [ERROR] Crashed tests:
    [ERROR] org.apache.arrow.gandiva.evaluator.FilterTest  

     

     

    3.2.- hs_err_pid.log message:

     
    {code:java}

  1. A fatal error has been detected by the Java Runtime Environment:

  1. SIGBUS (0xa) at pc=0x00000001346ed6b9, pid=41012, tid=0x0000000000000f03

  1. JRE version: Java(TM) SE Runtime Environment (8.0_231-b11) (build 1.8.0_231-b11)
  2. Java VM: Java HotSpot(TM) 64-Bit Server VM (25.231-b11 mixed mode bsd-amd64 compressed oops)
  3. Problematic frame:
  4. C [libgandiva_jni.dylib03efc768-f328-401f-9228-ab27532eff3e+0xb6b9] ProtoTypeToField(types::Field const&)+0x69

  1. If you would like to submit a bug report, please visit:

  2. http://bugreport.java.com/bugreport/crash.jsp

  3. The crash happened outside the Java Virtual Machine in native code.

  4. See problematic frame for where to report the bug.

  5. {code}
     

     

Reporter: David Dali Susanibar Arce / @davisusanibar

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

Activity

  1. asfimport commented on Oct 6, 2022

    @asfimport
    Author

    David Li / @lidavidm:
    Looks like a C++ side error then.

  2. asfimport commented on Oct 9, 2022

    @asfimport
    Author

    Jin Shang / @js8544:
    I also encountered a similar failure here: https://github.com/ursacomputing/crossbow/actions/runs/3212636429/jobs/5251977352

    However mine's unrelated to Gandiva since the failure occurs in org.apache.arrow.c.RoundtripTest and Gandiva tests were not run. The one you pasted in your comment seems to be the same error as mine.

  3. transferred this issue fromapache/arrowon Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions