apache / apache/arrow-java

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

未关闭
#239 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Type: bug
主要语言
Java
星标
94
派生
152
平均合并
3 天 16 小时
30 天内合并 PR
11

描述

There are crashes at running test on Java Gandiva module:
1. Able to build JNI Gandiva without problems at $PWD/arrow/java-dist/lib
1. Run mvn command `mvn -Darrow.cpp.build.dir=$PWD/arrow/java-dist/lib -Parrow-jni clean install`
1. Process finished with message:

3.1.- maven surefire error message:

 
```java

[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)
1. Java VM: Java HotSpot(TM) 64-Bit Server VM (25.231-b11 mixed mode bsd-amd64 compressed oops)
1. Problematic frame:
1. 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:
1. http://bugreport.java.com/bugreport/crash.jsp
1. The crash happened outside the Java Virtual Machine in native code.
1. See problematic frame for where to report the bug.
1. {code}
 

 

**Reporter**: [David Dali Susanibar Arce](https://issues.apache.org/jira/browse/ARROW-17946) / @davisusanibar

**Note**: *This issue was originally created as [ARROW-17946](https://issues.apache.org/jira/browse/ARROW-17946). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*

贡献指南

打开贡献指南

调研方向

首先,在 java/gandiva 中使用报告的 arrow.cpp.build.dir 重现 Maven 命令,并检查失败的 org.apache.arrow.gandiva.evaluator.FilterTest。读取 Surefire fork 输出和 hs_err_pid.log,尤其是 libgandiva_jni.dylib 的 ProtoTypeToField frame。完成的标准是 Gandiva 测试套件不再因报告的 SIGBUS 而崩溃。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
testing
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。