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

Hotspot crash when using markcompact with C2 compiler enabled #125

Open
tianleq opened this issue Nov 19, 2021 · 0 comments
Open

Hotspot crash when using markcompact with C2 compiler enabled #125

tianleq opened this issue Nov 19, 2021 · 0 comments

Comments

@tianleq
Copy link
Collaborator

tianleq commented Nov 19, 2021

hsqldb and eclipse will crash when c2 is enabled

hsqldb:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fd73cb9f1c4, pid=7004, tid=8159
#
# JRE version: OpenJDK Runtime Environment (11.0.11) (slowdebug build 11.0.11-internal+0-adhoc..openjdk)
# Java VM: OpenJDK 64-Bit Server VM (slowdebug 11.0.11-internal+0-adhoc..openjdk, mixed mode, tiered, third-party gc, linux-amd64)
# Problematic frame:
# J 1260 c2 java.lang.StringBuffer.<init>()V java.base (7 bytes) @ 0x00007fd73cb9f1c4 [0x00007fd73cb9f140+0x0000000000000084]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /tmp/mmtk-openjdk/core.7004)
#
# An error report file with more information is saved as:
# /tmp/mmtk-openjdk/hs_err_pid7004.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#

eclipse:

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f8ec8b6494e, pid=22341, tid=22540
#
# JRE version: OpenJDK Runtime Environment (11.0.11) (fastdebug build 11.0.11-internal+0-adhoc..openjdk)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 11.0.11-internal+0-adhoc..openjdk, mixed mode, tiered, third-party gc, linux-amd64)
# Problematic frame:
# J 944 c2 java.lang.String.substring(II)Ljava/lang/String; java.base (58 bytes) @ 0x00007f8ec8b6494e [0x00007f8ec8b648a0+0x00000000000000ae]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /tmp/mmtk-openjdk/core.22341)
#
# An error report file with more information is saved as:
# /tmp/mmtk-openjdk/hs_err_pid22341.log
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
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