Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sendaoYan opened this issue Jun 27, 2023 · 0 comments
Open

Comments

@sendaoYan
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant