[CLOSED] Applet crashes infrequently

Started by Mickelukas, September 17, 2011, 22:33:37

Previous topic - Next topic

Mickelukas

Hi guys,

On one of the computers at my place my game crashes sometimes (sometimes after 5 minutes and sometimes after 2 hours) and an error log is written to the desktop. I'm guessing it has something to do with funky ATI drivers but I want to be sure before I blame it on them. It's a upper quality 5xxx series so it shouldn't be that it's not powerful enough seeing as it runs fine on old laptops with integrated intel cards as well.

Some googling around led me to several places where the same error was reported but no one seems to have a good idea.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x691a0860, pid=1124, tid=1396
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [atioglxx.dll+0x170860]
#
# 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 (0x04ee8000):  JavaThread "Thread-19" [_thread_in_native, id=1396, stack(0x07760000,0x077b0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0d98ffd0

Registers:
EAX=0x6a075550, EBX=0x6a09a300, ECX=0x00000003, EDX=0x00000040
ESP=0x077af7f0, EBP=0xa391aa80, ESI=0x00000003, EDI=0x6a075550
EIP=0x691a0860, EFLAGS=0x00010283

Top of Stack: (sp=0x077af7f0)
0x077af7f0:   00000001 00000000 00000005 6a09a370
0x077af800:   0109a370 691a0b05 6a074e40 0d98ff00
0x077af810:   00000001 6a09a370 00000000 077af85c
0x077af820:   6a074e40 6a074e40 6919f36c 0109a370
0x077af830:   00000000 00000000 04ee8000 077af888
0x077af840:   00000000 00000018 00000004 6a074e40
0x077af850:   3f333333 3f333333 077afcf4 077af898
0x077af860:   69197ec4 00000001 1000b234 02b0b1eb 

Instructions: (pc=0x691a0860)
0x691a0840:   c0 85 f6 76 b1 0f b7 54 45 00 89 14 87 40 3b c6
0x691a0850:   72 f3 eb a2 85 f6 76 16 8b c7 2b ef 8b ce 8b ff
0x691a0860:   d9 04 28 83 c0 04 83 e9 01 d9 58 fc 75 f2 ba 68
0x691a0870:   c6 f2 69 8d 0c b7 2b d7 8b 7c 24 20 8d 64 24 00 


Register to memory mapping:

EAX=0x6a075550 is an unknown value
EBX=0x6a09a300 is an unknown value
ECX=0x00000003 is an unknown value
EDX=0x00000040 is an unknown value
ESP=0x077af7f0 is pointing into the stack for thread: 0x04ee8000
EBP=0xa391aa80 is an unknown value
ESI=0x00000003 is an unknown value
EDI=0x6a075550 is an unknown value


Stack: [0x07760000,0x077b0000],  sp=0x077af7f0,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [atioglxx.dll+0x170860]  DrvPresentBuffers+0x124730

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

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.lwjgl.opengl.GL11.nglEnd(J)V
J  com.stateofprofit.client.j.f.du()V
J  com.stateofprofit.client.j.f.loop()V
j  com.stateofprofit.client.j.f.execute()V+29
j  com.stateofprofit.client.a.run()V+465
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x04f10800 JavaThread "Thread-13" [_thread_blocked, id=4028, stack(0x097b0000,0x09800000)]
  0x04f10400 JavaThread "Thread-14" [_thread_blocked, id=4112, stack(0x09720000,0x09770000)]
  0x04f0fc00 JavaThread "Thread-31" [_thread_blocked, id=3232, stack(0x09690000,0x096e0000)]
  0x04f0f800 JavaThread "Thread-30" [_thread_blocked, id=3424, stack(0x09600000,0x09650000)]
  0x04f0f000 JavaThread "Thread-29" [_thread_blocked, id=4588, stack(0x09570000,0x095c0000)]
  0x04f0ec00 JavaThread "Thread-28" [_thread_blocked, id=4700, stack(0x094e0000,0x09530000)]
  0x04f0e400 JavaThread "Thread-27" [_thread_blocked, id=2484, stack(0x09450000,0x094a0000)]
  0x04f0dc00 JavaThread "Thread-26" [_thread_blocked, id=4388, stack(0x093c0000,0x09410000)]
  0x04f0d800 JavaThread "Thread-25" [_thread_blocked, id=1344, stack(0x09230000,0x09280000)]
  0x04ee9800 JavaThread "Thread-24" [_thread_blocked, id=4232, stack(0x079c0000,0x07a10000)]
  0x04ee9400 JavaThread "Thread-23" [_thread_blocked, id=2896, stack(0x07910000,0x07960000)]
  0x04ee8c00 JavaThread "Thread-22" [_thread_blocked, id=2144, stack(0x07880000,0x078d0000)]
  0x04ee3c00 JavaThread "Thread-21" [_thread_blocked, id=1944, stack(0x07490000,0x074e0000)]
  0x04ee8800 JavaThread "Image Animator 1" daemon [_thread_blocked, id=4904, stack(0x077f0000,0x07840000)]
=>0x04ee8000 JavaThread "Thread-19" [_thread_in_native, id=1396, stack(0x07760000,0x077b0000)]
  0x04ee7c00 JavaThread "Thread-18" [_thread_in_native, id=4456, stack(0x076d0000,0x07720000)]
  0x04ee7400 JavaThread "Thread-17" [_thread_blocked, id=4172, stack(0x07640000,0x07690000)]
  0x04ee6800 JavaThread "Thread-15" [_thread_blocked, id=2736, stack(0x07520000,0x07570000)]
  0x04ee5000 JavaThread "thread applet-org.lwjgl.util.applet.AppletLoader-1" [_thread_blocked, id=2640, stack(0x06c40000,0x06c90000)]
  0x04ee5400 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=4424, stack(0x06cd0000,0x06d20000)]
  0x04ee4800 JavaThread "Applet 1 LiveConnect Worker Thread" [_thread_blocked, id=2880, stack(0x05650000,0x056a0000)]
  0x04ee4000 JavaThread "Browser Side Object Cleanup Thread" [_thread_blocked, id=4228, stack(0x06b40000,0x06b90000)]
  0x04ee3400 JavaThread "Windows Tray Icon Thread" [_thread_in_native, id=3100, stack(0x05ab0000,0x05b00000)]
  0x04ee3000 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=2444, stack(0x05a20000,0x05a70000)]
  0x04ee2800 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=1856, stack(0x05990000,0x059e0000)]
  0x04ee1c00 JavaThread "SysExecutionTheadCreator" daemon [_thread_blocked, id=3960, stack(0x05150000,0x051a0000)]
  0x0075e800 JavaThread "Java Plug-In Heartbeat Thread" [_thread_blocked, id=2704, stack(0x05870000,0x058c0000)]
  0x04edb000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3488, stack(0x057e0000,0x05830000)]
  0x04ed8400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4276, stack(0x055c0000,0x05610000)]
  0x04ed7c00 JavaThread "AWT-Shutdown" [_thread_blocked, id=3368, stack(0x05530000,0x05580000)]
  0x04ed7400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4552, stack(0x054a0000,0x054f0000)]
  0x04ecec00 JavaThread "Java Plug-In Pipe Worker Thread (Client-Side)" daemon [_thread_in_native, id=4064, stack(0x053c0000,0x05410000)]
  0x00752800 JavaThread "Timer-0" [_thread_blocked, id=1496, stack(0x050c0000,0x05110000)]
  0x00727c00 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=4084, stack(0x04be0000,0x04c30000)]
  0x0070ec00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4768, stack(0x04ac0000,0x04b10000)]
  0x00701c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=4920, stack(0x04a30000,0x04a80000)]
  0x006fe800 JavaThread "Attach Listener" daemon [_thread_blocked, id=4972, stack(0x049a0000,0x049f0000)]
  0x006fb800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3964, stack(0x04910000,0x04960000)]
  0x006f5800 JavaThread "Finalizer" daemon [_thread_blocked, id=4068, stack(0x04880000,0x048d0000)]
  0x006f4000 JavaThread "Reference Handler" daemon [_thread_blocked, id=344, stack(0x02150000,0x021a0000)]
  0x007aa000 JavaThread "main" [_thread_blocked, id=3112, stack(0x00430000,0x00480000)]

Other Threads:
  0x006b7800 VMThread [stack: 0x02100000,0x02150000] [id=1900]
  0x00718000 WatcherThread [stack: 0x04b50000,0x04ba0000] [id=3648]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 157248K, used 48756K [0x14560000, 0x1f000000, 0x1f000000)
  eden space 139776K,  33% used [0x14560000, 0x1732dd78, 0x1cde0000)
  from space 17472K,  10% used [0x1def0000, 0x1e0bf3f0, 0x1f000000)
  to   space 17472K,   0% used [0x1cde0000, 0x1cde0000, 0x1def0000)
 tenured generation   total 349568K, used 81221K [0x1f000000, 0x34560000, 0x34560000)
   the space 349568K,  23% used [0x1f000000, 0x23f515b8, 0x23f51600, 0x34560000)
 compacting perm gen  total 12288K, used 5860K [0x34560000, 0x35160000, 0x38560000)
   the space 12288K,  47% used [0x34560000, 0x34b19320, 0x34b19400, 0x35160000)
    ro space 10240K,  51% used [0x38560000, 0x38a8dff8, 0x38a8e000, 0x38f60000)
    rw space 12288K,  55% used [0x38f60000, 0x395fc208, 0x395fc400, 0x39b60000)

Code Cache  [0x02880000, 0x02be0000, 0x04880000)
 total_blobs=1463 nmethods=1185 adapters=214 free_code_cache=30031936 largest_free_block=128

Dynamic libraries:
0x00400000 - 0x00424000 	C:\Program Files (x86)\Java\jre6\bin\java.exe
0x77ab0000 - 0x77c30000 	C:\Windows\SysWOW64\ntdll.dll
0x75e90000 - 0x75fa0000 	C:\Windows\syswow64\kernel32.dll
0x76e30000 - 0x76e76000 	C:\Windows\syswow64\KERNELBASE.dll
0x76c90000 - 0x76d30000 	C:\Windows\syswow64\ADVAPI32.dll
0x764d0000 - 0x7657c000 	C:\Windows\syswow64\msvcrt.dll
0x75e50000 - 0x75e69000 	C:\Windows\SysWOW64\sechost.dll
0x76d40000 - 0x76e30000 	C:\Windows\syswow64\RPCRT4.dll
0x751a0000 - 0x75200000 	C:\Windows\syswow64\SspiCli.dll
0x75190000 - 0x7519c000 	C:\Windows\syswow64\CRYPTBASE.dll
0x73db0000 - 0x73dfc000 	C:\Windows\system32\apphelp.dll
0x720a0000 - 0x7212d000 	C:\Windows\AppPatch\AcLayers.DLL
0x76210000 - 0x76310000 	C:\Windows\syswow64\USER32.dll
0x77150000 - 0x771e0000 	C:\Windows\syswow64\GDI32.dll
0x771e0000 - 0x771ea000 	C:\Windows\syswow64\LPK.dll
0x75fa0000 - 0x7603d000 	C:\Windows\syswow64\USP10.dll
0x75200000 - 0x75e4a000 	C:\Windows\syswow64\SHELL32.dll
0x76990000 - 0x769e7000 	C:\Windows\syswow64\SHLWAPI.dll
0x76b30000 - 0x76c8c000 	C:\Windows\syswow64\ole32.dll
0x76a40000 - 0x76acf000 	C:\Windows\syswow64\OLEAUT32.dll
0x72fc0000 - 0x72fd7000 	C:\Windows\system32\USERENV.dll
0x72fb0000 - 0x72fbb000 	C:\Windows\system32\profapi.dll
0x73910000 - 0x73961000 	C:\Windows\system32\WINSPOOL.DRV
0x72020000 - 0x72032000 	C:\Windows\system32\MPR.dll
0x76e80000 - 0x76ee0000 	C:\Windows\system32\IMM32.DLL
0x76730000 - 0x767fc000 	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
0x73990000 - 0x739c2000 	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
0x77a80000 - 0x77a85000 	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
0x76860000 - 0x7697d000 	C:\Windows\syswow64\CRYPT32.dll
0x76720000 - 0x7672c000 	C:\Windows\syswow64\MSASN1.dll
0x76fa0000 - 0x770ba000 	C:\Windows\syswow64\WININET.dll
0x76d30000 - 0x76d33000 	C:\Windows\syswow64\Normaliz.dll
0x76310000 - 0x764c8000 	C:\Windows\syswow64\iertutil.dll
0x76100000 - 0x76210000 	C:\Windows\syswow64\urlmon.dll
0x6d6a0000 - 0x6d6e6000 	C:\Program Files (x86)\Java\jre6\bin\regutils.dll
0x73b70000 - 0x73b79000 	C:\Windows\system32\VERSION.dll
0x6d600000 - 0x6d613000 	C:\Program Files (x86)\Java\jre6\bin\net.dll
0x76ee0000 - 0x76f15000 	C:\Windows\syswow64\WS2_32.dll
0x76980000 - 0x76986000 	C:\Windows\syswow64\NSI.dll
0x74e20000 - 0x74e5c000 	C:\Windows\system32\mswsock.dll
0x75050000 - 0x75056000 	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
0x73220000 - 0x733be000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x72160000 - 0x721e4000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_none_ec83dffa859149af\comctl32.dll
0x72080000 - 0x72093000 	C:\Windows\system32\DWMAPI.DLL
0x72ba0000 - 0x72c20000 	C:\Windows\system32\uxtheme.dll
0x71c90000 - 0x71c98000 	C:\Windows\system32\Secur32.dll
0x6d230000 - 0x6d27f000 	C:\Program Files (x86)\Java\jre6\bin\fontmanager.dll
0x74fe0000 - 0x75024000 	C:\Windows\system32\dnsapi.DLL
0x739e0000 - 0x739fc000 	C:\Windows\system32\iphlpapi.DLL
0x739d0000 - 0x739d7000 	C:\Windows\system32\WINNSI.DLL
0x6d1a0000 - 0x6d1c3000 	C:\Program Files (x86)\Java\jre6\bin\dcpr.dll
0x75060000 - 0x75065000 	C:\Windows\System32\wshtcpip.dll
0x74df0000 - 0x74e17000 	C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x74fd0000 - 0x74fd6000 	C:\Windows\system32\rasadhlp.dll
0x74d20000 - 0x74d58000 	C:\Windows\System32\fwpuclnt.dll
0x73970000 - 0x73986000 	C:\Windows\system32\CRYPTSP.dll
0x738d0000 - 0x7390b000 	C:\Windows\system32\rsaenh.dll
0x75080000 - 0x75090000 	C:\Windows\system32\NLAapi.dll
0x73a20000 - 0x73a30000 	C:\Windows\system32\napinsp.dll
0x73a00000 - 0x73a12000 	C:\Windows\system32\pnrpnsp.dll
0x73780000 - 0x73788000 	C:\Windows\System32\winrnr.dll
0x6d440000 - 0x6d465000 	C:\Program Files (x86)\Java\jre6\bin\jpeg.dll
0x10000000 - 0x1004b000 	C:\Users\Marilin\AppData\Local\Temp\lwjglcache\stateofprofit.com\State of Profit\natives\lwjgl.dll
0x70ab0000 - 0x70b78000 	C:\Windows\system32\OPENGL32.dll
0x73750000 - 0x73772000 	C:\Windows\system32\GLU32.dll
0x71830000 - 0x71917000 	C:\Windows\system32\DDRAW.dll
0x73a30000 - 0x73a36000 	C:\Windows\system32\DCIMAN32.dll
0x76580000 - 0x7671d000 	C:\Windows\syswow64\SETUPAPI.dll
0x76040000 - 0x76067000 	C:\Windows\syswow64\CFGMGR32.dll
0x75e70000 - 0x75e82000 	C:\Windows\syswow64\DEVOBJ.dll
0x6d350000 - 0x6d356000 	C:\Program Files (x86)\Java\jre6\bin\jawt.dll
0x73550000 - 0x73557000 	C:\Windows\system32\atiglpxx.dll
0x69030000 - 0x6a1b3000 	C:\Windows\system32\atioglxx.dll
0x73540000 - 0x7354b000 	C:\Windows\system32\atigktxx.dll
0x748d0000 - 0x7497d000 	C:\Windows\system32\aticfx32.dll
0x07570000 - 0x075b1000 	C:\Windows\system32\atiadlxy.dll
0x72f90000 - 0x72f9d000 	C:\Windows\system32\WTSAPI32.dll
0x76830000 - 0x7685d000 	C:\Windows\syswow64\WINTRUST.dll
0x71ba0000 - 0x71c8b000 	C:\Windows\system32\dbghelp.dll

VM Arguments:
jvm_args: -D__jvm_launched=43374567443 -Xbootclasspath/a:C:\\PROGRA~2\\Java\\jre6\\lib\\deploy.jar;C:\\PROGRA~2\\Java\\jre6\\lib\\javaws.jar;C:\\PROGRA~2\\Java\\jre6\\lib\\plugin.jar -Dsun.awt.warmup=true -Xms512M -Dsun.awt.noerasebackground=true -Dsun.java2d.noddraw=true -Dsun.java2d.opengl=false -Dsun.java2d.d3d=false -Dsun.plugin2.jvm.args=-D__jvm_launched=43374567443 "-Xbootclasspath/a:C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\deploy.jar;C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\javaws.jar;C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\lib\\\\plugin.jar" "-Djava.class.path=C:\\\\PROGRA~2\\\\Java\\\\jre6\\\\classes" -Dsun.awt.warmup=true --- -- -Xms512M -Dsun.awt.noerasebackground=true -Dsun.java2d.noddraw=true -Dsun.java2d.opengl=false -Dsun.java2d.d3d=false 
java_command: sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid3388_pipe3,read_pipe_name=jpi2_pid3388_pipe2
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Program Files (x86)\Internet Explorer;;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows Live\Shared
USERNAME=Marilin
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel



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

OS: Windows 7 Build 7601 Service Pack 1

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

Memory: 4k page, physical 6282296k(4675468k free), swap 12562744k(10228800k 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: Sat Sep 17 20:37:08 2011
elapsed time: 295 seconds


Kind regards,
Mike

princec


Mickelukas

Thanks, will do :) It's always in the same part of the drawing code so I'll prioritize that part to be changed over to VBO (most of the engine already is). The vertices are changing every 32 ms or something though and don't want to recreate the VBO every 2 frames, maybe look into display lists.

Mike