[aarch64-port-dev ] SIGSEGV in aarch64 OpenJDK8u
Ningsheng Jian
ningsheng.jian at linaro.org
Thu Mar 23 09:32:34 UTC 2017
Hi,
We got a SIGSEGV while building Apache Ambari and Apache BigTop using
OpenJDK8u on AArch64 platform. The segfault happens while running
Apache FindBugs. I have extracted the test packages and shared them at
(with hs_err log):
http://people.linaro.org/~ningsheng.jian/test/findbugs-test.tar.gz
Just run test.sh to reproduce this issue. However, the test is large
and I am not able to reduce it.
This issue only happens on AArch64 OpenJDK8u, i.e. not on JDK9 or Oracle JDK8u.
After some bisect work, I found that the failure exists since this patch:
http://hg.openjdk.java.net/aarch64-port/jdk8u/hotspot/rev/f9b6277551dc
Reverting this patch makes the test passed. However the patch looks
good to me (though it is OpenJDK8u only patch) and I
don't think it is the direct cause for the issue.
Could you please help to look at it and provide some hints or even a fix?
log:
-----
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000ffff95425f48, pid=8074, tid=0x0000ffff9c9d5200
#
# JRE version: OpenJDK Runtime Environment (8.0_111-b14) (build
1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14)
# Java VM: OpenJDK 64-Bit Server VM (25.111-b14 mixed mode
linux-aarch64 compressed oops)
# Problematic frame:
# J 1399 C2 java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object;
(300 bytes) @ 0x0000ffff95425f48 [0x0000ffff95425e00+0x148]
#
# Core dump written. Default location:
/mnt/share/homes/ninjia02/Work/findbugs-test/core or core.8074
#
# An error report file with more information is saved as:
# /mnt/share/homes/ninjia02/Work/findbugs-test/hs_err_pid8074.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
-----
Thanks,
Ningsheng
More information about the aarch64-port-dev
mailing list