Blocks :
|
|
Duplicate :
|
|
Relates :
|
Crash while using JMC JMC 8.0.0 with latest JDK 16 or with JDK 11.0.9 b07. Steps to Reproduce : 1. Use JMC 8.0.0 latest build and extract the same. 2. Launch JMC with additional arguments "~/pathtojmc/jmc -vm $JDK16_HOME/bin -consoleLog -debug" 3. Open a running JVM instance in the "JVM browser" and Using Mouse Right click select "Start JMX Console" 4. "JVM browser" , Right click and select "Start Flight Recording" , (Optional) reduce the "Recording time" to "10 s" instead of 1 m (default), and click on "Next" and "Finish", Wait for recording to complete. 5. Close the JMC application. (Will have the call stack as attached in this bug) 6. If this doesn't crash, then instead of closing the application, Repeat the step 4 many times to re-produce the crash. (Leads to crash with details mentioned in JDK-8258031) Note: Crash only on Ubuntu 18.04 / 20.04, OEL 7.6 and SUSE linux , Not in Windows or Mac OS Some Part of the call stack is mentioned below and complete call stack is attached. # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007ff09219d905, pid=15665, tid=15672 # # JRE version: Java(TM) SE Runtime Environment (16.0+27) (build 16-ea+27-1884) # Java VM: Java HotSpot(TM) 64-Bit Server VM (16-ea+27-1884, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64) # Problematic frame: # C [libpthread.so.0+0xf905] pthread_getcpuclockid+0x5 # # 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 /home/guruhb/ade/temp/8b05/core.15665) # # JFR recording file will be written. Location: /home/guruhb/ade/temp/8b05/hs_err_pid15665.jfr # # 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 ------------ ... --------------- T H R E A D --------------- Current thread (0x00007ff08c170860): VMThread "VM Thread" [stack: 0x00007ff057170000,0x00007ff057270000] [id=15672] Stack: [0x00007ff057170000,0x00007ff057270000], sp=0x00007ff05726e908, free space=1018k Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libpthread.so.0+0xf905] pthread_getcpuclockid+0x5 V [libjvm.so+0xd71571] Thread::print_on(outputStream*, bool) const+0x41 V [libjvm.so+0xd76ea0] Threads::print_on(outputStream*, bool, bool, bool, bool)+0x190 V [libjvm.so+0xdf9e6a] VM_Operation::evaluate()+0xea V [libjvm.so+0xdfb745] VMThread::evaluate_operation(VM_Operation*)+0xb5 V [libjvm.so+0xdfbb68] VMThread::inner_execute(VM_Operation*)+0x1c8 V [libjvm.so+0xdfbe2f] VMThread::run()+0xbf V [libjvm.so+0xd7801d] Thread::call_run()+0xfd V [libjvm.so+0xbd0347] thread_native_entry(Thread*)+0xe7
|