Regression: SIGSEGV running Java
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
I've Raspbian9 installed in a CHROOT on x86_64.
In the chroot,
dpkg -l | grep jdk
ii openjdk-
ii openjdk-
Building Kodi18, at a swig/groovy code generator step, java build SIGSEGVs:
cd /usr/local/
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf506b558, pid=63424, tid=0xf4980470
#
# JRE version: OpenJDK Runtime Environment (8.0_151-b12) (build 1.8.0_151-
# Java VM: OpenJDK Client VM (25.151-b12 mixed mode linux-aarch32 )
# Problematic frame:
# V [libjvm.
#
# Core dump written. Default location: /usr/local/
#
# An error report file with more information is saved as:
# /usr/local/
Compiled method (c1) 1446 35 java.io.
total in heap [0xf2742a48,
relocation [0xf2742b14,
main code [0xf2742b80,
stub code [0xf2742d40,
metadata [0xf2742db8,
scopes data [0xf2742dd0,
scopes pcs [0xf2742e7c,
dependencies [0xf2742f1c,
Compiled method (c1) 1447 35 java.io.
total in heap [0xf2742a48,
relocation [0xf2742b14,
main code [0xf2742b80,
stub code [0xf2742d40,
metadata [0xf2742db8,
scopes data [0xf2742dd0,
scopes pcs [0xf2742e7c,
dependencies [0xf2742f1c,
Compiled method (c1) 1448 35 java.io.
total in heap [0xf2742a48,
relocation [0xf2742b14,
main code [0xf2742b80,
stub code [0xf2742d40,
metadata [0xf2742db8,
scopes data [0xf2742dd0,
scopes pcs [0xf2742e7c,
dependencies [0xf2742f1c,
Compiled method (c1) 1448 35 java.io.
total in heap [0xf2742a48,
relocation [0xf2742b14,
main code [0xf2742b80,
stub code [0xf2742d40,
metadata [0xf2742db8,
scopes data [0xf2742dd0,
scopes pcs [0xf2742e7c,
dependencies [0xf2742f1c,
#
# If you would like to submit a bug report, please visit:
# http://
#
Aborted (core dumped)
Several references report similar in qemu env. Per,
Regression: SIGSEGV running Java
https:/
"Additional investigation reveals the problem has something to do with the Azul ARM32 JIT. If I run Java with -Xint to force interpreter-only mode, this problem doesn't occur."
turning ON interpreter-only mode,
cd /usr/local/
the build completes without error.
for ref,
diff of compiled vs interpreted output, 'java -XshowSettings -version' vs 'java -Xint -XshowSettings -version' :
https:/ /www.diffchecke r.com/X1dsWWYI