Test java/lang/Continuation/LiveFramesDriver.java crashes when executed with vthread wrapper.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (open/src/hotspot/share/runtime/vframe.inline.hpp:79), pid=28946, tid=28963
# assert(_reg_map.cont() == (oop)__null || (_cont() == _reg_map.cont())) failed: map.cont: 0x00000000e080d910 vframeStream: 0x0000000000000000
#
# JRE version: Java(TM) SE Runtime Environment (15.0) (fastdebug build 15-internal+0-2020-03-23-2230433.lmesnik.loom)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-internal+0-2020-03-23-2230433.lmesnik.loom, interpreted mode, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x875fc9] vframeStreamCommon::next()+0x399
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/scratch/0/core.28946)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Dtest.class.path.prefix=/home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/classes/0/java/lang/Continuation/LiveFramesDriver.d:/home/lmesnik/ws/loom/open/test/jdk/java/lang/Continuation -Dtest.file=/home/lmesnik/ws/loom/open/test/jdk/java/lang/Continuation/LiveFramesDriver.java -Dtest.src=/home/lmesnik/ws/loom/open/test/jdk/java/lang/Continuation -Dtest.src.path=/home/lmesnik/ws/loom/open/test/jdk/java/lang/Continuation -Dtest.classes=/home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/classes/0/java/lang/Continuation/LiveFramesDriver.d -Dtest.class.path=/home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/classes/0/java/lang/Continuation/LiveFramesDriver.d -Dtest.vm.opts=-Xmx512m -XX:MaxRAMPercentage=6 -ea -esa -Dmain.wrapper=Virtual -Dtest.tool.vm.opts=-J-Xmx512m -J-XX:MaxRAMPercentage=6 -J-ea -J-esa -J-Dmain.wrapper=Virtual -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/home/lmesnik/ws/loom/build/linux-x64/images/jdk -Dcompile.jdk=/home/lmesnik/ws/loom/build/linux-x64/images/jdk -Dtest.timeout.factor=4.0 -Dtest.root=/home/lmesnik/ws/loom/open/test/jdk -Dtest.nativepath=/home/lmesnik/ws/loom/build/linux-x64/images/test/jdk/jtreg/native -Dtest.patch.path= --patch-module=java.base=/home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/classes/0/java/lang/Continuation/LiveFramesDriver.d/patches/java.base -Xmx512m -XX:MaxRAMPercentage=6 -ea -esa -Dmain.wrapper=Virtual -Djava.library.path=/home/lmesnik/ws/loom/build/linux-x64/images/test/jdk/jtreg/native -XX:+UnlockDiagnosticVMOptions -Xint -XX:+UseContinuationLazyCopy com.sun.javatest.regtest.agent.MainWrapper /home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/java/lang/Continuation/LiveFramesDriver.d/main.1.jta
Host: lmesnik-linux, Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 8 cores, 31G, Ubuntu 18.04.4 LTS
Time: Wed Mar 25 20:21:32 2020 PDT elapsed time: 0.377258 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x00007fc18c704800): JavaThread "ForkJoinPool-1-worker-3" daemon [_thread_in_vm, id=28963, stack(0x00007fc16d7f7000,0x00007fc16d8f8000)]
Stack: [0x00007fc16d7f7000,0x00007fc16d8f8000], sp=0x00007fc16d8eed50, free space=991k
Thread 0x00007fc18c704800 [28963]
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x875fc9] vframeStreamCommon::next()+0x399
V [libjvm.so+0xfd174d] java_lang_Throwable::fill_in_stack_trace(Handle, Handle, methodHandle const&, Thread*)+0x8ad
V [libjvm.so+0xfd1fb7] java_lang_Throwable::fill_in_stack_trace(Handle, Handle, methodHandle const&)+0x57
V [libjvm.so+0x11212d8] JVM_FillInStackTrace+0x138
C [libjava.so+0x12d61] Java_java_lang_Throwable_fillInStackTrace+0x11
j java.lang.Throwable.fillInStackTrace(Ljava/lang/ContinuationScope;I)Ljava/lang/Throwable;+0 java.base@15-internal
j java.lang.Throwable.fillInStackTrace(Ljava/lang/ContinuationScope;)Ljava/lang/Throwable;+17 java.base@15-internal
j java.lang.Throwable.fillInStackTrace()Ljava/lang/Throwable;+2 java.base@15-internal
j java.lang.Throwable.<init>(Ljava/lang/String;)V+24 java.base@15-internal
j java.lang.Error.<init>(Ljava/lang/String;)V+2 java.base@15-internal
j java.lang.LinkageError.<init>(Ljava/lang/String;)V+2 java.base@15-internal
j java.lang.IncompatibleClassChangeError.<init>(Ljava/lang/String;)V+2 java.base@15-internal
j java.lang.NoSuchMethodError.<init>(Ljava/lang/String;)V+2 java.base@15-internal
v ~StubRoutines::call_stub 0x00007fc17f1509ca
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (open/src/hotspot/share/runtime/vframe.inline.hpp:79), pid=28946, tid=28963
# assert(_reg_map.cont() == (oop)__null || (_cont() == _reg_map.cont())) failed: map.cont: 0x00000000e080d910 vframeStream: 0x0000000000000000
#
# JRE version: Java(TM) SE Runtime Environment (15.0) (fastdebug build 15-internal+0-2020-03-23-2230433.lmesnik.loom)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-internal+0-2020-03-23-2230433.lmesnik.loom, interpreted mode, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x875fc9] vframeStreamCommon::next()+0x399
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/scratch/0/core.28946)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Dtest.class.path.prefix=/home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/classes/0/java/lang/Continuation/LiveFramesDriver.d:/home/lmesnik/ws/loom/open/test/jdk/java/lang/Continuation -Dtest.file=/home/lmesnik/ws/loom/open/test/jdk/java/lang/Continuation/LiveFramesDriver.java -Dtest.src=/home/lmesnik/ws/loom/open/test/jdk/java/lang/Continuation -Dtest.src.path=/home/lmesnik/ws/loom/open/test/jdk/java/lang/Continuation -Dtest.classes=/home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/classes/0/java/lang/Continuation/LiveFramesDriver.d -Dtest.class.path=/home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/classes/0/java/lang/Continuation/LiveFramesDriver.d -Dtest.vm.opts=-Xmx512m -XX:MaxRAMPercentage=6 -ea -esa -Dmain.wrapper=Virtual -Dtest.tool.vm.opts=-J-Xmx512m -J-XX:MaxRAMPercentage=6 -J-ea -J-esa -J-Dmain.wrapper=Virtual -Dtest.compiler.opts= -Dtest.java.opts= -Dtest.jdk=/home/lmesnik/ws/loom/build/linux-x64/images/jdk -Dcompile.jdk=/home/lmesnik/ws/loom/build/linux-x64/images/jdk -Dtest.timeout.factor=4.0 -Dtest.root=/home/lmesnik/ws/loom/open/test/jdk -Dtest.nativepath=/home/lmesnik/ws/loom/build/linux-x64/images/test/jdk/jtreg/native -Dtest.patch.path= --patch-module=java.base=/home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/classes/0/java/lang/Continuation/LiveFramesDriver.d/patches/java.base -Xmx512m -XX:MaxRAMPercentage=6 -ea -esa -Dmain.wrapper=Virtual -Djava.library.path=/home/lmesnik/ws/loom/build/linux-x64/images/test/jdk/jtreg/native -XX:+UnlockDiagnosticVMOptions -Xint -XX:+UseContinuationLazyCopy com.sun.javatest.regtest.agent.MainWrapper /home/lmesnik/ws/loom/build/linux-x64/test-support/jtreg_open_test_jdk_java_lang_Continuation_LiveFramesDriver_java/java/lang/Continuation/LiveFramesDriver.d/main.1.jta
Host: lmesnik-linux, Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 8 cores, 31G, Ubuntu 18.04.4 LTS
Time: Wed Mar 25 20:21:32 2020 PDT elapsed time: 0.377258 seconds (0d 0h 0m 0s)
--------------- T H R E A D ---------------
Current thread (0x00007fc18c704800): JavaThread "ForkJoinPool-1-worker-3" daemon [_thread_in_vm, id=28963, stack(0x00007fc16d7f7000,0x00007fc16d8f8000)]
Stack: [0x00007fc16d7f7000,0x00007fc16d8f8000], sp=0x00007fc16d8eed50, free space=991k
Thread 0x00007fc18c704800 [28963]
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x875fc9] vframeStreamCommon::next()+0x399
V [libjvm.so+0xfd174d] java_lang_Throwable::fill_in_stack_trace(Handle, Handle, methodHandle const&, Thread*)+0x8ad
V [libjvm.so+0xfd1fb7] java_lang_Throwable::fill_in_stack_trace(Handle, Handle, methodHandle const&)+0x57
V [libjvm.so+0x11212d8] JVM_FillInStackTrace+0x138
C [libjava.so+0x12d61] Java_java_lang_Throwable_fillInStackTrace+0x11
j java.lang.Throwable.fillInStackTrace(Ljava/lang/ContinuationScope;I)Ljava/lang/Throwable;+0 java.base@15-internal
j java.lang.Throwable.fillInStackTrace(Ljava/lang/ContinuationScope;)Ljava/lang/Throwable;+17 java.base@15-internal
j java.lang.Throwable.fillInStackTrace()Ljava/lang/Throwable;+2 java.base@15-internal
j java.lang.Throwable.<init>(Ljava/lang/String;)V+24 java.base@15-internal
j java.lang.Error.<init>(Ljava/lang/String;)V+2 java.base@15-internal
j java.lang.LinkageError.<init>(Ljava/lang/String;)V+2 java.base@15-internal
j java.lang.IncompatibleClassChangeError.<init>(Ljava/lang/String;)V+2 java.base@15-internal
j java.lang.NoSuchMethodError.<init>(Ljava/lang/String;)V+2 java.base@15-internal
v ~StubRoutines::call_stub 0x00007fc17f1509ca
- relates to
-
JDK-8241329 Support execution of jtreg tests in virtual threads
-
- Resolved
-