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

Crash after playing Java game on Pogo



    • b10
    • other, x86
    • generic, other, windows_nt, windows_xp, windows_vista, windows_7



        Internet Explorer
         1.Launch Internet Explorer browser.
         2.Click on the Help tab at the top.
         3.Select About Internet Explorer which will bring up an information window.
         If version of IE displays 64-bit Edition, then it is 64-bit IE, otherwise it is a 32-bit browser.

        I play pogo on Internet explorer and the message as shown below show on my desktop as notepad. I exit any java game and this message show up. I have tried numberous times to get help with you and Pogo. They resolved that I use google chrome to play. I did that and got no message and its run perfectly. But the fact is I don't want another browser when I already have Microsoft as my default


        # A fatal error has been detected by the Java Runtime Environment:
        # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x80000000, pid=3652, tid=2764
        # JRE version: 6.0_26-b03
        # Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows-x86 )
        # Problematic frame:
        # C 0x80000000
        # 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 (0x04e0c800): JavaThread "AWT-Windows" daemon [_thread_in_native, id=2764, stack(0x052b0000,0x05300000)]
        siginfo: ExceptionCode=0xc0000005, reading address 0x80000000
        EAX=0x6d0cffff, EBX=0x00000001, ECX=0x09b1c380, EDX=0x00000004
        ESP=0x052ff9c0, EBP=0x052ff9ec, ESI=0x04e0c928, EDI=0x09b1c380
        EIP=0x80000000, EFLAGS=0x00010293
          Top of Stack: (sp=0x052ff9c0)
        0x052ff9c0: 6d09cb90 00000000 6d09c650 00000000
        0x052ff9d0: 052ffa68 00000000 04e0c928 052ff9c4
        0x052ff9e0: 052ffa80 6d0c04a8 00000001 052ffa18
        0x052ff9f0: 74cb62fa 00020472 0000981a 09b1c380
        0x052ffa00: 00000000 6d09c650 dcbaabcd 00000000
        0x052ffa10: 00000000 6d09c650 052ffa90 74cb6d3a
        0x052ffa20: 6d09c650 00020472 0000981a 09b1c380
        0x052ffa30: 00000000 79e41b45 052ffb24 052ffb1c

        Instructions: (pc=0x80000000)

        [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
        Register to memory mapping:
        EAX=0x6d0cffff is an unknown value
        EBX=0x00000001 is an unknown value
        ECX=0x09b1c380 is an unknown value
        EDX=0x00000004 is an unknown value
        ESP=0x052ff9c0 is pointing into the stack for thread: 0x04e0c800
        EBP=0x052ff9ec is pointing into the stack for thread: 0x04e0c800
        ESI=0x04e0c928 is an unknown value
        EDI=0x09b1c380 is an unknown value

        Stack: [0x052b0000,0x05300000], sp=0x052ff9c0, free space=318k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        C 0x80000000
        C [USER32.dll+0x162fa] gapfnScSendMessage+0x332
        C [USER32.dll+0x16d3a] GetThreadDesktop+0xd7
        C [USER32.dll+0x177c4] CharPrevW+0x138
        C [USER32.dll+0x1788a] DispatchMessageW+0xf
        Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
        j sun.awt.windows.WToolkit.eventLoop()V+0
        j sun.awt.windows.WToolkit.run()V+52
        j java.lang.Thread.run()V+11
        v ~StubRoutines::call_stub
        --------------- P R O C E S S ---------------
        Java Threads: ( => current thread )
          0x04fbd000 JavaThread "Image Animator 0" daemon [_thread_blocked, id=6876, stack(0x05b90000,0x05be0000)]
          0x0bc59400 JavaThread "TickTimer" daemon [_thread_blocked, id=5080, stack(0x0d1a0000,0x0d1f0000)]
          0x04fbdc00 JavaThread "ITimer" daemon [_thread_blocked, id=4252, stack(0x0b590000,0x0b5e0000)]
          0x04e2c000 JavaThread "ScrollBar" daemon [_thread_blocked, id=6624, stack(0x0c750000,0x0c7a0000)]
          0x04e2b800 JavaThread "TextField" daemon [_thread_blocked, id=6576, stack(0x0c6c0000,0x0c710000)]
          0x04e2b400 JavaThread "ScrollBar" daemon [_thread_blocked, id=6448, stack(0x0c630000,0x0c680000)]
          0x04e2ac00 JavaThread "ScrollBar" daemon [_thread_blocked, id=6020, stack(0x0c5a0000,0x0c5f0000)]
          0x04e2a400 JavaThread "ScrollBar" daemon [_thread_blocked, id=6684, stack(0x0c510000,0x0c560000)]
          0x04e2a000 JavaThread "ScrollBar" daemon [_thread_blocked, id=2004, stack(0x0c480000,0x0c4d0000)]
          0x04e29800 JavaThread "ScrollBar" daemon [_thread_blocked, id=4284, stack(0x0c3f0000,0x0c440000)]
          0x04e29400 JavaThread "TickTimer" daemon [_thread_blocked, id=6496, stack(0x0c360000,0x0c3b0000)]
          0x04e18400 JavaThread "ScrollBar" daemon [_thread_blocked, id=1000, stack(0x0a030000,0x0a080000)]
          0x04e1cc00 JavaThread "BadgeStorage" daemon [_thread_blocked, id=6308, stack(0x09f10000,0x09f60000)]
          0x04e19c00 JavaThread "SocketConnection" daemon [_thread_blocked, id=6112, stack(0x05b00000,0x05b50000)]
          0x04fbd400 JavaThread "Applet-EventThread" daemon [_thread_blocked, id=3584, stack(0x0b500000,0x0b550000)]
          0x04fbc800 JavaThread "Direct Clip" daemon [_thread_blocked, id=7160, stack(0x0b2c0000,0x0b310000)]
          0x04fbc400 JavaThread "AsynchRasterManager.avatar" daemon [_thread_blocked, id=4216, stack(0x0b010000,0x0b060000)]
          0x04fbbc00 JavaThread "Thread-31" daemon [_thread_blocked, id=6920, stack(0x0aef0000,0x0af40000)]
          0x04fbb800 JavaThread "Thread-30" daemon [_thread_blocked, id=6424, stack(0x0ae60000,0x0aeb0000)]
          0x04fbb000 JavaThread "Thread-29" daemon [_thread_blocked, id=6788, stack(0x0add0000,0x0ae20000)]
          0x04e1e000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=872, stack(0x0ad40000,0x0ad90000)]
          0x04e1d400 JavaThread "thread applet-com.pogo.game.client2.wordjong.WordjongApplet-5" [_thread_in_native, id=3752, stack(0x09fa0000,0x09ff0000)]
          0x04e1c800 JavaThread "thread applet-com.pogo.game.client2.shell.ShellApplet-4" [_thread_blocked, id=5972, stack(0x09e80000,0x09ed0000)]
          0x04e1a800 JavaThread "Applet 4 LiveConnect Worker Thread" [_thread_blocked, id=6652, stack(0x088e0000,0x08930000)]
          0x04e1c000 JavaThread "thread applet-com.pogo.game.client2.shell.ShellApplet-3" [_thread_blocked, id=5660, stack(0x085a0000,0x085f0000)]
          0x04e19400 JavaThread "AWT-EventQueue-4" [_thread_blocked, id=1288, stack(0x08730000,0x08780000)]
          0x04e19000 JavaThread "Applet 3 LiveConnect Worker Thread" [_thread_blocked, id=5356, stack(0x05340000,0x05390000)]
          0x04e16800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=2808, stack(0x055f0000,0x05640000)]
          0x04e1b400 JavaThread "ConsoleWriterThread" daemon [_thread_blocked, id=6168, stack(0x08d40000,0x08d90000)]
          0x04e1b000 JavaThread "TimerQueue" daemon [_thread_blocked, id=836, stack(0x08cb0000,0x08d00000)]
          0x04e1a000 JavaThread "Windows Tray Icon Thread" [_thread_in_native, id=6936, stack(0x08850000,0x088a0000)]
          0x04e18800 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=6000, stack(0x05c70000,0x05cc0000)]
          0x04e17c00 JavaThread "Browser Side Object Cleanup Thread" [_thread_blocked, id=6160, stack(0x05a20000,0x05a70000)]
          0x04e17400 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=6044, stack(0x05710000,0x05760000)]
          0x04e17000 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=2884, stack(0x05680000,0x056d0000)]
          0x01eba800 JavaThread "SysExecutionTheadCreator" daemon [_thread_blocked, id=1448, stack(0x04d30000,0x04d80000)]
          0x04e10000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=6732, stack(0x05560000,0x055b0000)]
          0x04e0f800 JavaThread "Java Plug-In Heartbeat Thread" [_thread_blocked, id=7092, stack(0x054d0000,0x05520000)]
        =>0x04e0c800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2764, stack(0x052b0000,0x05300000)]
          0x04e0c000 JavaThread "AWT-Shutdown" [_thread_blocked, id=6460, stack(0x05220000,0x05270000)]
          0x04e0b800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6696, stack(0x05160000,0x051b0000)]
          0x01ebf400 JavaThread "Java Plug-In Pipe Worker Thread (Client-Side)" daemon [_thread_in_native, id=5968, stack(0x05010000,0x05060000)]
          0x01e98800 JavaThread "Timer-0" [_thread_blocked, id=6772, stack(0x04ca0000,0x04cf0000)]
          0x01e8d400 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3788, stack(0x04a00000,0x04a50000)]
          0x01e56000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1108, stack(0x048e0000,0x04930000)]
          0x01e46800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=2284, stack(0x04850000,0x048a0000)]
          0x01e45800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4484, stack(0x047c0000,0x04810000)]
          0x01e42800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6392, stack(0x04730000,0x04780000)]
          0x01e3f800 JavaThread "Finalizer" daemon [_thread_blocked, id=6856, stack(0x046a0000,0x046f0000)]
          0x01e3ac00 JavaThread "Reference Handler" daemon [_thread_blocked, id=6268, stack(0x04610000,0x04660000)]
          0x0027a800 JavaThread "main" [_thread_blocked, id=2640, stack(0x00310000,0x00360000)]
        Other Threads:
          0x01dfe000 VMThread [stack: 0x01f50000,0x01fa0000] [id=3432]
          0x01e5f000 WatcherThread [stack: 0x04970000,0x049c0000] [id=6540]
        VM state:not at safepoint (normal execution)
        VM Mutex/Monitor currently owned by a thread: None
        def new generation total 8704K, used 3812K [0x2c5e0000, 0x2cf50000, 0x2f080000)
          eden space 7744K, 41% used [0x2c5e0000, 0x2c9084a8, 0x2cd70000)
          from space 960K, 60% used [0x2ce60000, 0x2cef0e60, 0x2cf50000)
          to space 960K, 0% used [0x2cd70000, 0x2cd70000, 0x2ce60000)
        tenured generation total 19180K, used 16929K [0x2f080000, 0x3033b000, 0x345e0000)
           the space 19180K, 88% used [0x2f080000, 0x30108748, 0x30108800, 0x3033b000)
        compacting perm gen total 12288K, used 5384K [0x345e0000, 0x351e0000, 0x385e0000)
           the space 12288K, 43% used [0x345e0000, 0x34b22058, 0x34b22200, 0x351e0000)
            ro space 10240K, 51% used [0x385e0000, 0x38b0dff8, 0x38b0e000, 0x38fe0000)
            rw space 12288K, 55% used [0x38fe0000, 0x3967c208, 0x3967c400, 0x39be0000)
        Code Cache [0x025d0000, 0x028e0000, 0x045d0000)
        total_blobs=1865 nmethods=1611 adapters=188 free_code_cache=30364224 largest_free_block=192
        Dynamic libraries:
        0x00400000 - 0x00424000 C:\Program Files (x86)\Java\jre6\bin\java.exe
        0x77550000 - 0x776d0000 C:\Windows\SysWOW64\ntdll.dll
        0x76440000 - 0x76550000 C:\Windows\syswow64\kernel32.dll
        0x762e0000 - 0x76326000 C:\Windows\syswow64\KERNELBASE.dll
        0x76860000 - 0x76900000 C:\Windows\syswow64\ADVAPI32.dll
        0x769c0000 - 0x76a6c000 C:\Windows\syswow64\msvcrt.dll
        0x76350000 - 0x76369000 C:\Windows\SysWOW64\sechost.dll
        0x75220000 - 0x75310000 C:\Windows\syswow64\RPCRT4.dll
        0x74c40000 - 0x74ca0000 C:\Windows\syswow64\SspiCli.dll
        0x74c30000 - 0x74c3c000 C:\Windows\syswow64\CRYPTBASE.dll
        0x72510000 - 0x7255c000 C:\Windows\system32\apphelp.dll
        0x72430000 - 0x724bd000 C:\Windows\AppPatch\AcLayers.DLL
        0x74ca0000 - 0x74da0000 C:\Windows\syswow64\USER32.dll
        0x75390000 - 0x75420000 C:\Windows\syswow64\GDI32.dll
        0x77520000 - 0x7752a000 C:\Windows\syswow64\LPK.dll
        0x76550000 - 0x765ed000 C:\Windows\syswow64\USP10.dll
        0x75600000 - 0x7624a000 C:\Windows\syswow64\SHELL32.dll
        0x74da0000 - 0x74df7000 C:\Windows\syswow64\SHLWAPI.dll
        0x76a70000 - 0x76bcc000 C:\Windows\syswow64\ole32.dll
        0x76c00000 - 0x76c8f000 C:\Windows\syswow64\OLEAUT32.dll
        0x72960000 - 0x72977000 C:\Windows\system32\USERENV.dll
        0x72c60000 - 0x72c6b000 C:\Windows\system32\profapi.dll
        0x72150000 - 0x721a1000 C:\Windows\system32\WINSPOOL.DRV
        0x72410000 - 0x72422000 C:\Windows\system32\MPR.dll
        0x75540000 - 0x755a0000 C:\Windows\system32\IMM32.DLL
        0x76370000 - 0x7643c000 C:\Windows\syswow64\MSCTF.dll
        0x7c340000 - 0x7c396000 C:\Program Files (x86)\Java\jre6\bin\msvcr71.dll
        0x6d7f0000 - 0x6da9f000 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
        0x71640000 - 0x71672000 C:\Windows\system32\WINMM.dll
        0x6d7a0000 - 0x6d7ac000 C:\Program Files (x86)\Java\jre6\bin\verify.dll
        0x6d320000 - 0x6d33f000 C:\Program Files (x86)\Java\jre6\bin\java.dll
        0x76340000 - 0x76345000 C:\Windows\system32\PSAPI.DLL
        0x6d7e0000 - 0x6d7ef000 C:\Program Files (x86)\Java\jre6\bin\zip.dll
        0x6d420000 - 0x6d426000 C:\Program Files (x86)\Java\jre6\bin\jp2native.dll
        0x6d1d0000 - 0x6d1e3000 C:\Program Files (x86)\Java\jre6\bin\deploy.dll
        0x76620000 - 0x7673d000 C:\Windows\syswow64\CRYPT32.dll
        0x76900000 - 0x7690c000 C:\Windows\syswow64\MSASN1.dll
        0x76740000 - 0x7685a000 C:\Windows\syswow64\WININET.dll
        0x75530000 - 0x75533000 C:\Windows\syswow64\Normaliz.dll
        0x75060000 - 0x75216000 C:\Windows\syswow64\iertutil.dll
        0x75420000 - 0x75530000 C:\Windows\syswow64\urlmon.dll
        0x6d6a0000 - 0x6d6e6000 C:\Program Files (x86)\Java\jre6\bin\regutils.dll
        0x72980000 - 0x72989000 C:\Windows\system32\VERSION.dll
        0x6d600000 - 0x6d613000 C:\Program Files (x86)\Java\jre6\bin\net.dll
        0x74e80000 - 0x74eb5000 C:\Windows\syswow64\WS2_32.dll
        0x76330000 - 0x76336000 C:\Windows\syswow64\NSI.dll
        0x6f880000 - 0x6f8bc000 C:\Windows\system32\mswsock.dll
        0x6f860000 - 0x6f866000 C:\Windows\System32\wship6.dll
        0x6d620000 - 0x6d629000 C:\Program Files (x86)\Java\jre6\bin\nio.dll
        0x6d000000 - 0x6d14b000 C:\Program Files (x86)\Java\jre6\bin\awt.dll
        0x71490000 - 0x7162e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
        0x72620000 - 0x726a4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll
        0x71a80000 - 0x71a93000 C:\Windows\system32\DWMAPI.DLL
        0x10000000 - 0x10008000 c:\PROGRA~2\mcafee\SITEAD~1\saHook.dll
        0x72610000 - 0x72618000 C:\Windows\system32\Secur32.dll
        0x72c80000 - 0x72cc4000 C:\Windows\system32\dnsapi.DLL
        0x72ce0000 - 0x72cfc000 C:\Windows\system32\iphlpapi.DLL
        0x72cd0000 - 0x72cd7000 C:\Windows\system32\WINNSI.DLL
        0x729e0000 - 0x729f6000 C:\Windows\system32\CRYPTSP.dll
        0x729a0000 - 0x729db000 C:\Windows\system32\rsaenh.dll
        0x67a50000 - 0x67a60000 C:\Windows\system32\NLAapi.dll
        0x66580000 - 0x66590000 C:\Windows\system32\napinsp.dll
        0x6d230000 - 0x6d27f000 C:\Program Files (x86)\Java\jre6\bin\fontmanager.dll
        0x66560000 - 0x66572000 C:\Windows\system32\pnrpnsp.dll
        0x6f830000 - 0x6f857000 C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
        0x66550000 - 0x66558000 C:\Windows\System32\winrnr.dll
        0x6f870000 - 0x6f875000 C:\Windows\System32\wshtcpip.dll
        0x6f820000 - 0x6f826000 C:\Windows\system32\rasadhlp.dll
        0x6f7e0000 - 0x6f818000 C:\Windows\System32\fwpuclnt.dll
        0x6b9a0000 - 0x6bb63000 C:\Windows\system32\d3d9.dll
        0x6b990000 - 0x6b996000 C:\Windows\system32\d3d8thk.dll
        0x6b900000 - 0x6b981000 C:\Windows\system32\aticfx32.dll
        0x6b8f0000 - 0x6b8f9000 C:\Windows\system32\atiu9pag.dll
        0x6b540000 - 0x6b8e9000 C:\Windows\system32\atiumdag.dll
        0x6b240000 - 0x6b539000 C:\Windows\system32\atiumdva.dll
        0x6d790000 - 0x6d79f000 C:\Program Files (x86)\Java\jre6\bin\unpack.dll
        0x6d510000 - 0x6d535000 C:\Program Files (x86)\Java\jre6\bin\jsound.dll
        0x6d540000 - 0x6d548000 C:\Program Files (x86)\Java\jre6\bin\jsoundds.dll
        0x670e0000 - 0x67152000 C:\Windows\system32\DSOUND.dll
        0x670b0000 - 0x670d5000 C:\Windows\system32\POWRPROF.dll
        0x74ec0000 - 0x7505d000 C:\Windows\syswow64\SETUPAPI.dll
        0x76bd0000 - 0x76bf7000 C:\Windows\syswow64\CFGMGR32.dll
        0x769a0000 - 0x769b2000 C:\Windows\syswow64\DEVOBJ.dll
        0x66ea0000 - 0x66ed9000 C:\Windows\system32\MMDevAPI.DLL
        0x71370000 - 0x71465000

        ( This report has more than 16,000 characters and has been truncated. )
        Seems like the root cause of problems is WM_DESTROY sent during cascade window destruction.

        At the moment this case is not handled by AWT properly. The reason is that WM_DESTROY is sent via Toolkit thread,
        but Java code works in EDT in parallel. So we have the situation during WM_DESTROY handling when Java code still use some native resources created in Toolkit thread. It means that we must wait until Java code frees the resources to be able free/destroy them otherwise we get invalid links to these resources and in some cases - crash.

        Moreover WM_DESTROY handler is called twice: by the System and from the AwtComponent's destructor after (DestroyHWnd method) trying to release the resources that was released before.
        I wrote the test (attached) that creates and destroys two applets by turns. That caused WM_DESTROY sent each time.
        Applets had also a long cycling in 'paint' method. In most cases that caused the crash.


          Issue Links



                bagiras Oleg Pekhovskiy (Inactive)
                webbuggrp Webbug Group
                0 Vote for this issue
                3 Start watching this issue