Details
-
Bug
-
Resolution: Fixed
-
P2
-
11
-
b20
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8206753 | 12 | Tom Rodriguez | P2 | Resolved | Fixed | team |
JDK-8206529 | 11.0.1 | Tom Rodriguez | P2 | Resolved | Fixed | b01 |
Description
compiler/codecache/stress/UnexpectedDeoptimizationTest.java executed with Graal as JIT
crashed with SIGSEGV
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f64928d61c7, pid=3697, tid=3722
#
# JRE version: Java(TM) SE Runtime Environment (11.0) (fastdebug build 11-internal+0-2018-02-28-2224130.ekaterina.pavlova.jdk.hs)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-2018-02-28-2224130.ekaterina.pavlova.jdk.hs, mixed mode, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xedc1c7] java_lang_Class::as_Klass(oop)+0xc7
#
--------------- T H R E A D ---------------
Current thread (0x00007f648c3a3000): JavaThread "JVMCI CompilerThread1" daemon [_thread_in_vm, id=3722, stack(0x00007f6454549000,0x00007f645464a000)]
Current CompileTask:
JVMCI: 407097 45082 % ! 4 compiler.codecache.stress.Helper::callMethod @ 4 (64 bytes)
Stack: [0x00007f6454549000,0x00007f645464a000], sp=0x00007f64546471b0, free space=1016k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xedc1c7] java_lang_Class::as_Klass(oop)+0xc7
V [libjvm.so+0x1036eae] JVM_IsInterface+0x10e
J 2632 java.lang.Class.isInterface()Z java.base@11-internal (0 bytes) @ 0x00007f646eb3768d [0x00007f646eb37560+0x000000000000012d]
j jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.isInterface()Z+4 jdk.internal.vm.ci@11-internal
...
Steps to run the test:
> jtreg -vt -jdk:JDK_HS_fastdebug
-vmoptions:-XX:MaxRAMPercentage=8 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.Compiler=graal
compiler/codecache/stress/UnexpectedDeoptimizationTest.java
The failure occurred only once in automatic testing.
I tried to reproduce it but I was not able. Hopefully attached hs_err file will help.
crashed with SIGSEGV
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f64928d61c7, pid=3697, tid=3722
#
# JRE version: Java(TM) SE Runtime Environment (11.0) (fastdebug build 11-internal+0-2018-02-28-2224130.ekaterina.pavlova.jdk.hs)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-2018-02-28-2224130.ekaterina.pavlova.jdk.hs, mixed mode, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xedc1c7] java_lang_Class::as_Klass(oop)+0xc7
#
--------------- T H R E A D ---------------
Current thread (0x00007f648c3a3000): JavaThread "JVMCI CompilerThread1" daemon [_thread_in_vm, id=3722, stack(0x00007f6454549000,0x00007f645464a000)]
Current CompileTask:
JVMCI: 407097 45082 % ! 4 compiler.codecache.stress.Helper::callMethod @ 4 (64 bytes)
Stack: [0x00007f6454549000,0x00007f645464a000], sp=0x00007f64546471b0, free space=1016k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0xedc1c7] java_lang_Class::as_Klass(oop)+0xc7
V [libjvm.so+0x1036eae] JVM_IsInterface+0x10e
J 2632 java.lang.Class.isInterface()Z java.base@11-internal (0 bytes) @ 0x00007f646eb3768d [0x00007f646eb37560+0x000000000000012d]
j jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.isInterface()Z+4 jdk.internal.vm.ci@11-internal
...
Steps to run the test:
> jtreg -vt -jdk:JDK_HS_fastdebug
-vmoptions:-XX:MaxRAMPercentage=8 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.Compiler=graal
compiler/codecache/stress/UnexpectedDeoptimizationTest.java
The failure occurred only once in automatic testing.
I tried to reproduce it but I was not able. Hopefully attached hs_err file will help.
Attachments
Issue Links
- backported by
-
JDK-8206529 [Graal] compiler/codecache/stress/UnexpectedDeoptimizationTest.java crashed with SIGSEGV
- Resolved
-
JDK-8206753 [Graal] compiler/codecache/stress/UnexpectedDeoptimizationTest.java crashed with SIGSEGV
- Resolved
- duplicates
-
JDK-8202245 [Graal] JCK test api/java_util/ArrayDeque/ParallelStream.html#ParallelStream crashed with Graal
- Closed
- relates to
-
JDK-8201821 [Graal] Various exceptions and crashes running FJP JMH micros
- Closed
-
JDK-8202356 [Graal] java/lang/StackWalker/LocalsAndOperands.java crashed in G1ParScanThreadState::copy_to_survivor_space
- Resolved