In a recent crash using Graal, the log was filled with JVMTI_ERROR_WRONG_PHASE errors, and the crash was in the native library:
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x000000010ab9cb20, pid=76979, tid=15619
#
# JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-2019-02-04-0504585.dean.long.jdk-jdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-2019-02-04-0504585.dean.long.jdk-jdk, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [libbytecodes003.dylib+0x6b20] ClassPrepare+0x13c
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0xa) at pc=0x000000010ab9cb20, pid=76979, tid=15619
#
# JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-2019-02-04-0504585.dean.long.jdk-jdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-2019-02-04-0504585.dean.long.jdk-jdk, mixed mode, sharing, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, bsd-amd64)
# Problematic frame:
# C [libbytecodes003.dylib+0x6b20] ClassPrepare+0x13c
#
- relates to
-
JDK-8222224 vmTestbase/nsk/jvmti/SingleStep/singlestep001/TestDescription.java fails
- Resolved