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

Swing embedded webview crashes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • fx2.0
    • None
    • javafx
    • None
    • web

      Having the webview embedded in a swing JTabbedPane and creates a new webview/engine upon popup event soon leads to crashes

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x60b8e8ea, pid=5840, tid=940
      #
      # JRE version: 6.0_26-b03
      # Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode windows-x86 )
      # Problematic frame:
      # C [WebPaneJava.dll+0x2be8ea]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #

      --------------- T H R E A D ---------------

      Current thread (0x06dcf400): JavaThread "JavaFX Application Thread" [_thread_in_native, id=940, stack(0x07dc0000,0x07e10000)]

      siginfo: ExceptionCode=0xc0000005, reading address 0x000000d8

      Registers:
      EAX=0x00000000, EBX=0x000002fd, ECX=0x29a8b1d8, EDX=0x60b7e630
      ESP=0x07e0ecb4, EBP=0x0000000c, ESI=0x29a8b1d8, EDI=0x06dcf528
      EIP=0x60b8e8ea, EFLAGS=0x00210246

      Top of Stack: (sp=0x07e0ecb4)
      0x07e0ecb4: dd82905e 06dcf528 29a8b1d8 0000000c
      0x07e0ecc4: 000002fd 00010002 29a8027f 00000000
      0x07e0ecd4: 07e0ed28 60e5bbcd 00000000 60b8ed3d
      0x07e0ece4: 07e0ed38 29a8b1d8 dd829016 07e0eeac
      0x07e0ecf4: 29a8b1d8 09ffffd0 07e0eeac 06dcf528
      0x07e0ed04: 15772730 0000048e 000002fd 00000000
      0x07e0ed14: 06dcf528 0000052d 00000000 0000000c
      0x07e0ed24: 000002fd 07e0ee0c 60e5bc4e ffffffff

      Instructions: (pc=0x60b8e8ea)
      0x60b8e8ca: 33 c4 50 8d 44 24 20 64 a3 00 00 00 00 8b 4c 24
      0x60b8e8da: 34 33 c0 89 44 24 28 89 44 24 1c e8 56 f9 01 00
      0x60b8e8ea: 8b 80 d8 00 00 00 8b 40 18 8b 00 8b 40 08 8d 4c
      0x60b8e8fa: 24 18 51 8b c8 e8 1c fe ff ff a1 54 e5 fd 60 8b


      Register to memory mapping:

      EAX=0x00000000 is an unknown value
      EBX=0x000002fd is an unknown value
      ECX=0x29a8b1d8 is an unknown value
      EDX=0x60b7e630 is an unknown value
      ESP=0x07e0ecb4 is pointing into the stack for thread: 0x06dcf400
      EBP=0x0000000c is an unknown value
      ESI=0x29a8b1d8 is an unknown value
      EDI=0x06dcf528 is an unknown value


      Stack: [0x07dc0000,0x07e10000], sp=0x07e0ecb4, free space=315k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      C [WebPaneJava.dll+0x2be8ea] Java_com_sun_webpane_platform_PopupMenu_twkPopupClosed+0xcfa

      [error occurred during error reporting (printing native stack), id 0xc0000005]

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      J com.sun.webpane.platform.WebPage.twkProcessMouseEvent(JIIIIIIIZZZZZF)Z
      J com.sun.webpane.platform.WebPage.dispatchMouseEvent(Lcom/sun/webpane/platform/event/WCMouseEvent;)Z
      J javafx.scene.web.WebView.processMouseEvent(Ljavafx/scene/input/MouseEvent;)V
      J javafx.scene.web.WebView.access$600(Ljavafx/scene/web/WebView;Ljavafx/scene/input/MouseEvent;)V
      J javafx.scene.web.WebView$11.handle(Ljavafx/scene/input/MouseEvent;)V
      J javafx.scene.web.WebView$11.handle(Ljavafx/event/Event;)V
      J com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Ljavafx/event/Event;)V
      J com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Ljavafx/event/Event;)Ljavafx/event/Event;
      J com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;
      J javafx.scene.Node$19.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;
      J com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;
      J com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Ljavafx/event/Event;Ljavafx/event/EventDispatchChain;)Ljavafx/event/Event;
      J com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Ljavafx/event/Event;)Ljavafx/event/Event;
      J com.sun.javafx.event.EventUtil.fireEvent(Ljavafx/event/EventTarget;Ljavafx/event/Event;)Ljavafx/event/Event;
      J javafx.event.Event.fireEvent(Ljavafx/event/EventTarget;Ljavafx/event/Event;)V
      J javafx.scene.Node.fireEvent(Ljavafx/event/Event;)V
      J javafx.scene.Scene$MouseHandler.process(Ljavafx/scene/input/MouseEvent;Z)V
      J javafx.scene.Scene$MouseHandler.process(Ljavafx/scene/input/MouseEvent;)V
      J javafx.scene.Scene$MouseHandler.access$1000(Ljavafx/scene/Scene$MouseHandler;Ljavafx/scene/input/MouseEvent;)V
      J javafx.scene.Scene.impl_processMouseEvent(Ljavafx/scene/input/MouseEvent;)V
      J javafx.scene.Scene$ScenePeerListener.mouseEvent(Ljava/lang/Object;)V
      J com.sun.javafx.tk.quantum.EmbeddedScene$3.run()V
      J com.sun.javafx.application.PlatformImpl$2.run()V
      v ~StubRoutines::call_stub
      j com.sun.glass.ui.win.WinApplication._runLoop([Ljava/lang/String;Lcom/sun/glass/ui/Launchable;I)V+0
      j com.sun.glass.ui.win.WinApplication.access$100(Lcom/sun/glass/ui/win/WinApplication;[Ljava/lang/String;Lcom/sun/glass/ui/Launchable;I)V+4
      j com.sun.glass.ui.win.WinApplication$1$1.run()V+39
      j java.lang.Thread.run()V+11
      v ~StubRoutines::call_stub

      --------------- P R O C E S S ---------------

      Java Threads: ( => current thread )
        0x075e4c00 JavaThread "Disposer" daemon [_thread_blocked, id=6892, stack(0x294c0000,0x29510000)]
        0x05b1ec00 JavaThread "Prism Font Disposer" daemon [_thread_blocked, id=5256, stack(0x0a420000,0x0a470000)]
        0x05b1b800 JavaThread "Disposer" daemon [_thread_blocked, id=5264, stack(0x08600000,0x08650000)]
        0x05b1b400 JavaThread "WebPane-Timer" daemon [_thread_blocked, id=5844, stack(0x08110000,0x08160000)]
        0x01fe6000 JavaThread "DestroyJavaVM" [_thread_blocked, id=6608, stack(0x003b0000,0x00400000)]
        0x06e06800 JavaThread "Thread-4" daemon [_thread_in_native, id=6968, stack(0x04c50000,0x04ca0000)]
        0x06db0400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5716, stack(0x07f80000,0x07fd0000)]
      =>0x06dcf400 JavaThread "JavaFX Application Thread" [_thread_in_native, id=940, stack(0x07dc0000,0x07e10000)]
        0x06dddc00 JavaThread "QuantumRenderer-0" daemon [_thread_blocked, id=3544, stack(0x07d30000,0x07d80000)]
        0x05aaac00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4384, stack(0x05fe0000,0x06030000)]
        0x05aa4400 JavaThread "AWT-Shutdown" [_thread_blocked, id=2020, stack(0x05f00000,0x05f50000)]
        0x05adb000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=908, stack(0x05b70000,0x05bc0000)]
        0x04683400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5724, stack(0x04e50000,0x04ea0000)]
        0x0467e400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=6120, stack(0x04dc0000,0x04e10000)]
        0x04656800 JavaThread "_jprofiler_sampler" daemon [_thread_blocked, id=3120, stack(0x04d30000,0x04d80000)]
        0x04638400 JavaThread "_jprofiler_native_sampler" daemon [_thread_in_native, id=2468, stack(0x04bc0000,0x04c10000)]
        0x04651800 JavaThread "_jprofiler_native_comm" daemon [_thread_in_native, id=7164, stack(0x04b30000,0x04b80000)]
        0x04631c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=6368, stack(0x04aa0000,0x04af0000)]
        0x04626800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2052, stack(0x04a10000,0x04a60000)]
        0x020ad800 JavaThread "Finalizer" daemon [_thread_blocked, id=1300, stack(0x04580000,0x045d0000)]
        0x020ab400 JavaThread "Reference Handler" daemon [_thread_blocked, id=1948, stack(0x044f0000,0x04540000)]

      Other Threads:
        0x02016c00 VMThread [stack: 0x04460000,0x044b0000] [id=4548]
        0x04668800 WatcherThread [stack: 0x04ee0000,0x04f30000] [id=5552]

      VM state:not at safepoint (normal execution)

      VM Mutex/Monitor currently owned by a thread: None

      Heap
       def new generation total 78656K, used 78199K [0x10110000, 0x15660000, 0x15660000)
        eden space 69952K, 99% used [0x10110000, 0x1454a300, 0x14560000)
        from space 8704K, 95% used [0x14de0000, 0x15603cc0, 0x15660000)
        to space 8704K, 0% used [0x14560000, 0x14560000, 0x14de0000)
       tenured generation total 174784K, used 130024K [0x15660000, 0x20110000, 0x20110000)
         the space 174784K, 74% used [0x15660000, 0x1d55a2f8, 0x1d55a400, 0x20110000)
       compacting perm gen total 19712K, used 19544K [0x20110000, 0x21450000, 0x24110000)
         the space 19712K, 99% used [0x20110000, 0x214263f0, 0x21426400, 0x21450000)
      No shared spaces configured.

      Code Cache [0x022e0000, 0x02968000, 0x042e0000)
       total_blobs=3536 nmethods=3216 adapters=252 free_code_cache=26728192 largest_free_block=256

      Dynamic libraries:
      0x00400000 - 0x00424000 C:\Program Files (x86)\Java\jdk1.6.0_26\bin\javaw.exe
      0x77a90000 - 0x77c10000 C:\Windows\SysWOW64\ntdll.dll
      0x773a0000 - 0x774a0000 C:\Windows\syswow64\kernel32.dll
      0x77280000 - 0x772c6000 C:\Windows\syswow64\KERNELBASE.dll
      0x757e0000 - 0x75880000 C:\Windows\syswow64\ADVAPI32.dll
      0x75f90000 - 0x7603c000 C:\Windows\syswow64\msvcrt.dll
      0x774a0000 - 0x774b9000 C:\Windows\SysWOW64\sechost.dll
      0x75660000 - 0x75750000 C:\Windows\syswow64\RPCRT4.dll
      0x75600000 - 0x75660000 C:\Windows\syswow64\SspiCli.dll
      0x755f0000 - 0x755fc000 C:\Windows\syswow64\CRYPTBASE.dll
      0x75c20000 - 0x75d20000 C:\Windows\syswow64\USER32.dll
      0x75750000 - 0x757e0000 C:\Windows\syswow64\GDI32.dll
      0x75db0000 - 0x75dba000 C:\Windows\syswow64\LPK.dll
      0x76340000 - 0x763dd000 C:\Windows\syswow64\USP10.dll
      0x775c0000 - 0x77620000 C:\Windows\system32\IMM32.DLL
      0x774f0000 - 0x775bc000 C:\Windows\syswow64\MSCTF.dll
      0x7c340000 - 0x7c396000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\msvcr71.dll
      0x6d8a0000 - 0x6db4f000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\client\jvm.dll
      0x72690000 - 0x726c2000 C:\Windows\system32\WINMM.dll
      0x74210000 - 0x7425b000 C:\Windows\system32\apphelp.dll
      0x6d850000 - 0x6d85c000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\verify.dll
      0x6d3d0000 - 0x6d3ef000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\java.dll
      0x77360000 - 0x77365000 C:\Windows\system32\PSAPI.DLL
      0x10000000 - 0x10109000 C:\dev\JPROFI~1\bin\windows\jprofilerti.dll
      0x73630000 - 0x73637000 C:\Windows\system32\WSOCK32.dll
      0x77190000 - 0x771c5000 C:\Windows\syswow64\WS2_32.dll
      0x75d20000 - 0x75d26000 C:\Windows\syswow64\NSI.dll
      0x6d890000 - 0x6d89f000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\zip.dll
      0x73830000 - 0x7386c000 C:\Windows\system32\mswsock.dll
      0x73820000 - 0x73825000 C:\Windows\System32\wshtcpip.dll
      0x6d600000 - 0x6d609000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\management.dll
      0x6d0b0000 - 0x6d1fb000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\awt.dll
      0x73d70000 - 0x73dc1000 C:\Windows\system32\WINSPOOL.DRV
      0x763e0000 - 0x7653c000 C:\Windows\syswow64\ole32.dll
      0x73a90000 - 0x73c2e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_421189da2b7fabfc\COMCTL32.dll
      0x75a20000 - 0x75a77000 C:\Windows\syswow64\SHLWAPI.dll
      0x75f00000 - 0x75f84000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\comctl32.dll
      0x72930000 - 0x72943000 C:\Windows\system32\DWMAPI.DLL
      0x73570000 - 0x735f0000 C:\Windows\system32\uxtheme.dll
      0x6d2e0000 - 0x6d32f000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\fontmanager.dll
      0x76540000 - 0x77189000 C:\Windows\system32\shell32.dll
      0x6ab10000 - 0x6abce000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\msvcr100.dll
      0x751e0000 - 0x751ed000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\prism-d3d.dll
      0x750f0000 - 0x75114000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\mat.dll
      0x75d30000 - 0x75dab000 C:\Windows\syswow64\COMDLG32.dll
      0x772d0000 - 0x7735f000 C:\Windows\syswow64\OLEAUT32.dll
      0x07fd0000 - 0x08008000 c:\Program Files\WIDCOMM\Bluetooth Software\SysWOW64\BtMmHook.dll
      0x6d6b0000 - 0x6d6c3000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\net.dll
      0x73810000 - 0x73816000 C:\Windows\System32\wship6.dll
      0x6d6d0000 - 0x6d6d9000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\nio.dll
      0x6aac0000 - 0x6ab01000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\libxml2.dll
      0x608d0000 - 0x6105c000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\WebPaneJava.dll
      0x73d40000 - 0x73d56000 C:\Windows\system32\CRYPTSP.dll
      0x73d00000 - 0x73d3b000 C:\Windows\system32\rsaenh.dll
      0x70fa0000 - 0x70fe4000 C:\Windows\system32\DNSAPI.dll
      0x737f0000 - 0x7380c000 C:\Windows\system32\IPHLPAPI.DLL
      0x737e0000 - 0x737e7000 C:\Windows\system32\WINNSI.DLL
      0x70f90000 - 0x70f96000 C:\Windows\system32\rasadhlp.dll
      0x70f50000 - 0x70f88000 C:\Windows\System32\fwpuclnt.dll
      0x6fce0000 - 0x6fd1c000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\javafx-font.dll
      0x6d250000 - 0x6d273000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\dcpr.dll
      0x75120000 - 0x7514f000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\javafx-iio.dll
      0x771f0000 - 0x77273000 C:\Windows\syswow64\CLBCatQ.DLL
      0x6f130000 - 0x6f22b000 C:\Windows\system32\WindowsCodecs.dll
      0x75220000 - 0x75251000 C:\Windows\system32\EhStorShell.dll
      0x75880000 - 0x75a1d000 C:\Windows\syswow64\SETUPAPI.dll
      0x75a80000 - 0x75aa7000 C:\Windows\syswow64\CFGMGR32.dll
      0x771d0000 - 0x771e2000 C:\Windows\syswow64\DEVOBJ.dll
      0x6a950000 - 0x6aa45000 C:\Windows\system32\PROPSYS.dll
      0x68010000 - 0x6807f000 C:\Windows\system32\ntshrui.dll
      0x680c0000 - 0x680d9000 C:\Windows\system32\srvcli.dll
      0x68f30000 - 0x68f3b000 C:\Windows\system32\cscapi.dll
      0x680b0000 - 0x680ba000 C:\Windows\system32\slc.dll
      0x75290000 - 0x75296000 C:\Windows\system32\IconCodecService.dll
      0x73960000 - 0x73977000 C:\Windows\system32\USERENV.dll
      0x73f30000 - 0x73f3b000 C:\Windows\system32\profapi.dll
      0x70e80000 - 0x70e90000 C:\Windows\system32\NLAapi.dll
      0x70e70000 - 0x70e78000 C:\Windows\System32\winrnr.dll
      0x70e60000 - 0x70e70000 C:\Windows\system32\napinsp.dll
      0x70e40000 - 0x70e52000 C:\Windows\system32\pnrpnsp.dll
      0x70e30000 - 0x70e3d000 C:\Windows\system32\wshbth.dll
      0x6d830000 - 0x6d838000 C:\Program Files (x86)\Java\jdk1.6.0_26\jre\bin\sunmscapi.dll
      0x75ab0000 - 0x75bcc000 C:\Windows\syswow64\CRYPT32.dll
      0x77a60000 - 0x77a6c000 C:\Windows\syswow64\MSASN1.dll
      0x6b300000 - 0x6b358000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\glib-lite.dll
      0x6b2a0000 - 0x6b300000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\gstreamer-lite.dll
      0x6f260000 - 0x6f2d2000 C:\Windows\system32\DSOUND.dll
      0x75090000 - 0x750b5000 C:\Windows\system32\POWRPROF.dll
      0x750c0000 - 0x750e2000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\jfxmedia.dll
      0x6b250000 - 0x6b295000 C:\Users\rdong\.m2\repository\com\javafx\javafx\bin\fxplugins.dll
      0x68230000 - 0x6831b000 C:\Windows\system32\dbghelp.dll


      --------------- S Y S T E M ---------------

      OS: Windows 7 Build 7600

      CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht

      Memory: 4k page, physical 8312664k(3516256k free), swap 16623428k(7695808k free)

      vm_info: Java HotSpot(TM) Client VM (20.1-b02) for windows-x86 JRE (1.6.0_26-b03), built on May 4 2011 00:50:59 by "java_re" with MS VC++ 7.1 (VS2003)

      time: Wed Jun 08 03:34:18 2011
      elapsed time: 640 seconds

        1. hs_err_pid5012.log
          12 kB
        2. hs_err_pid904.log
          12 kB
        3. Test.java
          18 kB

            malenkov Sergey Malenkov (Inactive)
            rdongjfx Rick Dong (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: