Fatal Error: 'Deadlock in safepoint code' when native code has a shutdown handler.

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 8
    • Affects Version/s: 7
    • Component/s: hotspot
    • x86
    • windows_xp

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (safepoint.cpp:555), pid=1940, tid=4052
      # Error: Deadlock in safepoint code. Should have called back to the VM before blocking.
      #
      # Java VM: OpenJDK Client VM (14.0-b06-2008-12-04-053334.pb131437.hotspot mixed mode windows-x86 )
      # An error report file with more information is saved as:
      # D:\esc_data\coleen\webkit-build\hs_err_pid1940.log
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp


      Full Stack trace of the failure:
      Stack: [0x030c0000,0x03110000], sp=0x0310dfb0, free space=311k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0x1e5bc7];; ?report_and_die@VMError@@QAEXXZ+0x4d7
      V [jvm.dll+0xa01f8];; ?report_fatal@@YAXPBDH0@Z+0x28
      V [jvm.dll+0x1942e2];; ?block@SafepointSynchronize@@SAXPAVJavaThread@@@Z+0xe2
      V [jvm.dll+0x1ce63e];; ?check_safepoint_and_suspend_for_native_trans@JavaThread@@SAXPAV1@@Z+0x8e
      V [jvm.dll+0x115b];; ?transition_from_native@ThreadStateTransition@@SAXPAVJavaThread@@W4JavaThread
      State@@@Z+0x4b
      V [jvm.dll+0x103b5c];; _checked_jni_DeleteGlobalRef@8+0x7c
      C [WebKitJava.dll+0x23670e]
      C [ntdll.dll+0x11a7]
      C [ntdll.dll+0x23f31]
      C [kernel32.dll+0x1cd76]
      C [kernel32.dll+0x1cdee]
      C [msvcr71.dll+0x8d04]
      C [msvcr71.dll+0x8d11] <--------os::abort(true) call from ReportJNIFatalError()
      V [jvm.dll+0xed137];; ?do_object@SignatureChekker@@UAEXHH@Z+0x7
      V [jvm.dll+0x1a10b7];; ?iterate_parameters@SignatureIterator@@QAEXXZ+0x57
      V [jvm.dll+0xed31a];; ?call_helper@JavaCalls@@CAXPAVJavaValue@@PAVmethodHandle@@PAVJavaCallArgumen
      ts@@PAVThread@@@Z+0x2a
      V [jvm.dll+0x174201];; ?os_exception_wrapper@os@@SAXP6AXPAVJavaValue@@PAVmethodHandle@@PAVJavaCall
      Arguments@@PAVThread@@@Z0123@Z+0x61
      V [jvm.dll+0xed4cd];; ?call@JavaCalls@@SAXPAVJavaValue@@VmethodHandle@@PAVJavaCallArguments@@PAVTh
      read@@@Z+0x1d
      V [jvm.dll+0xf617f];; ?jni_invoke_nonstatic@@YAXPAUJNIEnv_@@PAVJavaValue@@PAV_jobject@@W4JNICallTy
      pe@@PAU_jmethodID@@PAVJNI_ArgumentPusher@@PAVThread@@@Z+0x1ef
      V [jvm.dll+0xf8f77];; _jni_CallVoidMethodV@16+0xa7
      V [jvm.dll+0x1057e9];; _checked_jni_CallVoidMethodV@16+0x99
      C [WebKitJava.dll+0x1295fc]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      j org.webkit.webcore.platform.WCWidget.twkUpdateContents(Lorg/webkit/webcore/platform/graphics/WCGraphicsContext;IIII)V+0
      j org.webkit.webcore.platform.WidgetDelegate$2.run()V+39
      j org.webkit.webcore.platform.SimplifiedWebKitFlow.invokeAndWait(Ljava/lang/Runnable;)V+7
      j org.webkit.webcore.platform.WidgetDelegate.paintComponent(Ljava/awt/Graphics;)V+47
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+274
      j javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V+467
      j javax.swing.JComponent.paint(Ljava/awt/Graphics;)V+306

            Assignee:
            Keith Mcguigan (Inactive)
            Reporter:
            Poonam Bajaj Parhar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: