Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8149789

SIGSEGV in CompileTask::print

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b110

      Description

      SIEGSEGV in CompileTask::print with the following stack trace:

      Stack: [0xffffffff60a00000,0xffffffff60b00000], sp=0xffffffff60afcd40, free space=1011k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x855fe4] void CompileTask::print(outputStream*,const char*,bool,bool)+0x4;; __1cLCompileTaskFprint6MpnMoutputStream_pkcbb_v_+0x4
      V [libjvm.so+0x11a9fd0] void Threads::print_threads_compiling(outputStream*,char*,int)+0x170;; __1cHThreadsXprint_threads_compiling6FpnMoutputStream_pci_v_+0x170
      V [libjvm.so+0x847c2c] void CompileBroker::print_compile_queues(outputStream*)+0x6c;; __1cNCompileBrokerUprint_compile_queues6FpnMoutputStream__v_+0x6c
      V [libjvm.so+0x8f8af0] void DCmd::parse_and_execute(DCmdSource,outputStream*,const char*,char,Thread*)+0x2d0;; __1cEDCmdRparse_and_execute6FnKDCmdSource_pnMoutputStream_pkccpnGThread__v_+0x2d0
      V [libjvm.so+0xebda20] jmm_ExecuteDiagnosticCommand+0x1c0;; jmm_ExecuteDiagnosticCommand+0x1c0
      C [libmanagement_ext.so+0x2c18] Java_com_sun_management_internal_DiagnosticCommandImpl_executeDiagnosticCommand+0x38;; Java_com_sun_management_internal_DiagnosticCommandImpl_executeDiagnosticCommand+0x38
      J 490 com.sun.management.internal.DiagnosticCommandImpl.executeDiagnosticCommand(Ljava/lang/String;)Ljava/lang/String; (0 bytes) @ 0xffffffff6c820a34 [0xffffffff6c8208e0+0x0000000000000154]
      j com.sun.management.internal.DiagnosticCommandImpl.access$000(Lcom/sun/management/internal/DiagnosticCommandImpl;Ljava/lang/String;)Ljava/lang/String;+2
      j com.sun.management.internal.DiagnosticCommandImpl$Wrapper.execute([Ljava/lang/String;)Ljava/lang/String;+35
      j com.sun.management.internal.DiagnosticCommandImpl.invoke(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+84
      j com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+28
      j com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object;+13
      j DcmdMBeanPermissionsTest.invokeOperation(Ljavax/management/MBeanServer;Ljavax/management/ObjectName;Ljavax/management/MBeanOperationInfo;)Z+22
      j DcmdMBeanPermissionsTest.testOperation(Ljavax/management/MBeanServer;LDcmdMBeanPermissionsTest$CustomSecurityManager;Ljavax/management/ObjectName;Ljavax/management/MBeanOperationInfo;)V+127
      j DcmdMBeanPermissionsTest.main([Ljava/lang/String;)V+227
      v ~StubRoutines::call_stub
      V [libjvm.so+0xadfaec] void JavaCalls::call_helper(JavaValue*,const methodHandle&,JavaCallArguments*,Thread*)+0x3ac;; __1cJJavaCallsLcall_helper6FpnJJavaValue_rknMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0x3ac
      V [libjvm.so+0x107b0cc] oopDesc*invoke(instanceKlassHandle,methodHandle,Handle,bool,objArrayHandle,BasicType,objArrayHandle,bool,Thread*)+0xe5c;; __1cGinvoke6FnTinstanceKlassHandle_nMmethodHandle_nGHandle_bnOobjArrayHandle_nJBasicType_3bpnGThread__pnHoopDesc__+0xe5c
      V [libjvm.so+0x107b690] oopDesc*Reflection::invoke_method(oopDesc*,Handle,objArrayHandle,Thread*)+0x1e0;; __1cKReflectionNinvoke_method6FpnHoopDesc_nGHandle_nOobjArrayHandle_pnGThread__2_+0x1e0
      V [libjvm.so+0xc6cce8] JVM_InvokeMethod+0x378;; JVM_InvokeMethod+0x378
      C [libjava.so+0x19598] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x18;; Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x18
      j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+1605
      j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
      j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100
      j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+56
      j com.sun.javatest.regtest.agent.MainWrapper$MainThread.run()V+60
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub
      V [libjvm.so+0xadfaec] void JavaCalls::call_helper(JavaValue*,const methodHandle&,JavaCallArguments*,Thread*)+0x3ac;; __1cJJavaCallsLcall_helper6FpnJJavaValue_rknMmethodHandle_pnRJavaCallArguments_pnGThread__v_+0x3ac
      V [libjvm.so+0xadea0c] void JavaCalls::call_virtual(JavaValue*,KlassHandle,Symbol*,Symbol*,JavaCallArguments*,Thread*)+0x11c;; __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_pnGSymbol_5pnRJavaCallArguments_pnGThread__v_+0x11c
      V [libjvm.so+0xadea84] void JavaCalls::call_virtual(JavaValue*,Handle,KlassHandle,Symbol*,Symbol*,Thread*)+0x54;; __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_pnGSymbol_6pnGThread__v_+0x54
      V [libjvm.so+0xc5dbd0] void thread_entry(JavaThread*,Thread*)+0xe0;; __1cMthread_entry6FpnKJavaThread_pnGThread__v_+0xe0
      V [libjvm.so+0x119fcfc] void JavaThread::thread_main_inner()+0xdc;; __1cKJavaThreadRthread_main_inner6M_v_+0xdc
      V [libjvm.so+0x119fbf0] void JavaThread::run()+0x3f0;; __1cKJavaThreadDrun6M_v_+0x3f0
      V [libjvm.so+0xfadb94] java_start+0x2f4;; java_start+0x2f4
      C [libc.so.1+0xe4af0] _lwp_start+0x8;; _lwp_start+0x8

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neliasso Nils Eliasson
                Reporter:
                jgeorge Jini George (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: