Duplicate :
|
The following test failed in the JDK15 CI: vmTestbase/nsk/jvmti/ClassFileLoadHook/classfloadhk005/TestDescription.java Here's a snippet from the log file: ----------System.out:(27/2981)---------- Command line: [/mesos/work_dir/jib-master/install/jdk-15+14-517/macosx-x64-debug.jdk/jdk-15/fastdebug/bin/javac -d /mesos/work_dir/slaves/7cfa21b9-afde-4338-a459-d3e0a13ec793-S1176/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5550e061-19f6-4dc9-8903-6360937388e1/runs/7e1892ff-6157-423f-8d91-e76ce6c2472d/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/scratch/0/bin/newclass -cp /mesos/work_dir/slaves/7cfa21b9-afde-4338-a459-d3e0a13ec793-S1176/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5550e061-19f6-4dc9-8903-6360937388e1/runs/7e1892ff-6157-423f-8d91-e76ce6c2472d/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/0/vmTestbase/nsk/jvmti/ClassFileLoadHook/classfloadhk005/TestDescription.d:/mesos/work_dir/slaves/7cfa21b9-afde-4338-a459-d3e0a13ec793-S1176/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5550e061-19f6-4dc9-8903-6360937388e1/runs/7e1892ff-6157-423f-8d91-e76ce6c2472d/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/0/vmTestbase:/mesos/work_dir/slaves/7cfa21b9-afde-4338-a459-d3e0a13ec793-S1176/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5550e061-19f6-4dc9-8903-6360937388e1/runs/7e1892ff-6157-423f-8d91-e76ce6c2472d/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/classes/0/test/lib /mesos/work_dir/jib-master/install/jdk-15+14-517/src.full/open/test/hotspot/jtreg/vmTestbase/nsk/jvmti/ClassFileLoadHook/classfloadhk005/newclass/classfloadhk005r.java] [2020-03-07T07:10:01.454506Z] Gathering output for process 8583 # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00000001083b8c79, pid=8583, tid=6915 # # JRE version: Java(TM) SE Runtime Environment (15.0+14) (fastdebug build 15-ea+14-517) # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 15-ea+14-517, mixed mode, sharing, tiered, compressed oops, g1 gc, bsd-amd64) # Problematic frame: # V [libjvm.dylib+0x9ccc79] Rewriter::scan_method(Thread*, Method*, bool, bool*)+0x31 # # Core dump will be written. Default location: core.8583 # # An error report file with more information is saved as: # /mesos/work_dir/slaves/7cfa21b9-afde-4338-a459-d3e0a13ec793-S1176/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/5550e061-19f6-4dc9-8903-6360937388e1/runs/7e1892ff-6157-423f-8d91-e76ce6c2472d/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_nsk_jvmti/scratch/0/hs_err_pid8583.log # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # Current thread is 6915 Dumping core ... [2020-03-07T07:10:18.243433Z] Waiting for completion for process 8583 [2020-03-07T07:10:18.243719Z] Waiting for completion finished for process 8583 [2020-03-07T07:10:18.243814Z] Waiting for completion for process 8583 [2020-03-07T07:10:18.243861Z] Waiting for completion finished for process 8583 ----------System.err:(50/2939)---------- Here's the crashing thread's stack: --------------- T H R E A D --------------- Current thread (0x00007f86af802000): JavaThread "main" [_thread_in_vm, id=6915, stack(0x0000000106274000,0x0000000106374000)] Stack: [0x0000000106274000,0x0000000106374000], sp=0x0000000106372de0, free space=1019k Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.dylib+0x9ccc79] Rewriter::scan_method(Thread*, Method*, bool, bool*)+0x31 V [libjvm.dylib+0x9ce54d] Rewriter::rewrite_bytecodes(Thread*)+0x173 V [libjvm.dylib+0x9ce833] Rewriter::Rewriter(InstanceKlass*, constantPoolHandle const&, Array<Method*>*, Thread*)+0x161 V [libjvm.dylib+0x9ce636] Rewriter::rewrite(InstanceKlass*, Thread*)+0xa0 V [libjvm.dylib+0x504f76] InstanceKlass::rewrite_class(Thread*)+0x50 V [libjvm.dylib+0x504149] InstanceKlass::link_class_impl(Thread*)+0x3b3 V [libjvm.dylib+0x504eac] InstanceKlass::link_class(Thread*)+0x52 V [libjvm.dylib+0x5043dd] InstanceKlass::initialize_impl(Thread*)+0x3f V [libjvm.dylib+0x50435f] InstanceKlass::initialize(Thread*)+0x25 V [libjvm.dylib+0x51e3ea] InterpreterRuntime::_new(JavaThread*, ConstantPool*, int)+0xc6 j com.sun.tools.javac.comp.Flow.analyzeTree(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/TreeMaker;)V+13 jdk.compiler@15-ea j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;Ljava/util/Queue;)V+187 jdk.compiler@15-ea j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;)Ljava/util/Queue;+11 jdk.compiler@15-ea j com.sun.tools.javac.main.JavaCompiler.compile(Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Iterable;Ljava/util/Collection;)V+527 jdk.compiler@15-ea j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+597 jdk.compiler@15-ea j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@15-ea j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@15-ea j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@15-ea v ~StubRoutines::call_stub V [libjvm.dylib+0x52c738] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x3aa V [libjvm.dylib+0x5bc1da] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*)+0x104 V [libjvm.dylib+0x5c2779] jni_CallStaticVoidMethod+0x21b C [libjli.dylib+0x4882] JavaMain+0xab4 C [libjli.dylib+0x6b8a] ThreadJavaMain+0x9 C [libsystem_pthread.dylib+0x3661] _pthread_body+0x154 C [libsystem_pthread.dylib+0x350d] _pthread_body+0x0 C [libsystem_pthread.dylib+0x2bf9] thread_start+0xd Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.sun.tools.javac.comp.Flow.analyzeTree(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/TreeMaker;)V+13 jdk.compiler@15-ea j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;Ljava/util/Queue;)V+187 jdk.compiler@15-ea j com.sun.tools.javac.main.JavaCompiler.flow(Lcom/sun/tools/javac/comp/Env;)Ljava/util/Queue;+11 jdk.compiler@15-ea j com.sun.tools.javac.main.JavaCompiler.compile(Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Iterable;Ljava/util/Collection;)V+527 jdk.compiler@15-ea j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+597 jdk.compiler@15-ea j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15 jdk.compiler@15-ea j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 jdk.compiler@15-ea j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1 jdk.compiler@15-ea v ~StubRoutines::call_stub siginfo: si_signo: 11 (SIGSEGV), si_code: 0 (unknown), si_addr: 0x0000000000000000