dragonwell8 icon indicating copy to clipboard operation
dragonwell8 copied to clipboard

[upstream]jvm crash at "Klass::external_name() const" with -Xcomp option

Open sendaoYan opened this issue 1 year ago • 0 comments

test command:

unzip 536-checker-needs-access-check.zip
cd 536-checker-needs-access-check
rm -rf classes
mkdir -p classes
javac -g -Xlint:-options -source 1.8 -target 1.8 -cp classes/ -sourcepath src/ -d classes src/Main.java src/other/InaccessibleClass.java src/other/InaccessibleClassProxy.java src/other2/GetInaccessibleClass.java
javac -g -Xlint:-options -source 1.8 -target 1.8 -cp classes/ -sourcepath src2/ -d classes src2/other/InaccessibleClass.java
java -Xcomp -cp classes/ Main

result:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f2ea79f7603, pid=1233714, tid=0x00007f2ea949c700
#
# JRE version: OpenJDK Runtime Environment (8.0_372-b07) (build 1.8.0_372-b07)
# Java VM: OpenJDK 64-Bit Server VM (25.372-b07 compiled mode linux-amd64 compressed oops)
# Problematic frame:
# V  [libjvm.so+0x7f7603]  Klass::external_name() const+0x23
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/yansendao/tmp/536-checker-needs-access-check/hs_err_pid1233714.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#
Aborted (core dumped)

536-checker-needs-access-check.zip hs_err_pid1233714.log

sendaoYan avatar Jun 27 '23 03:06 sendaoYan