Error

Started by CodeBunny, February 01, 2011, 13:32:03

Previous topic - Next topic

CodeBunny

The following error log was generated while LWJGL was being run. What does it mean, and how should I fix it? I don't really know how to make sense of this.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0ca48f8c, pid=3848, tid=3860
#
# JRE version: 6.0_16-b01
# Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode windows-x86 )
# Problematic frame:
# C  [OpenAL32.dll+0x18f8c]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

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

Current thread (0x0abafc00):  VMThread [stack: 0x0ac40000,0x0ac90000] [id=3860]

siginfo: ExceptionCode=0xc0000005, reading address 0x0cd3f108

Registers:
EAX=0x0cd3f108, EBX=0x7c901005, ECX=0x00000000, EDX=0x00000000
ESP=0x0ac8fbb8, EBP=0x00000000, ESI=0x0ceb3e38, EDI=0x00000000
EIP=0x0ca48f8c, EFLAGS=0x00010206

Top of Stack: (sp=0x0ac8fbb8)
0x0ac8fbb8:   0ceb2af8 0cc90020 0ceb2b20 0ca3bc26
0x0ac8fbc8:   0cc90020 0cc90020 0cc90020 7c9010ed
0x0ac8fbd8:   00000000 0ca3c23e 0ceb2b20 00000001
0x0ac8fbe8:   785837ee 0ac8fc50 00000000 0ca3c3b2
0x0ac8fbf8:   0cc90020 00000000 0ca30000 0ca3c3d6
0x0ac8fc08:   00000000 0ca3c44b 0ca49f4f 0ca30000
0x0ac8fc18:   00000000 00000001 29687bd8 00000000
0x0ac8fc28:   0ac8fc70 001a43c0 c0000005 00000001 

Instructions: (pc=0x0ca48f8c)
0x0ca48f7c:   00 51 e8 ed e9 ff ff 8b 46 08 89 7e 10 89 7e 0c
0x0ca48f8c:   8b 10 83 c4 04 50 8b 42 08 ff d0 8b 46 04 89 7e 


Stack: [0x0ac40000,0x0ac90000],  sp=0x0ac8fbb8,  free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [OpenAL32.dll+0x18f8c]

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

VM_Operation (0x00a0fad0): Exit, mode: safepoint, requested by thread 0x003a6000


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

Java Threads: ( => current thread )
  0x0c5f8400 JavaThread "AWT-Shutdown" [_thread_blocked, id=660, stack(0x0d060000,0x0d0b0000)]
  0x0af38800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3924, stack(0x0c9e0000,0x0ca30000)]
  0x0abd0800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3884, stack(0x0ae20000,0x0ae70000)]
  0x0abca400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3880, stack(0x0add0000,0x0ae20000)]
  0x0abc8c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3876, stack(0x0ad80000,0x0add0000)]
  0x0abb7400 JavaThread "Finalizer" daemon [_thread_blocked, id=3868, stack(0x0ace0000,0x0ad30000)]
  0x0abb2c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3864, stack(0x0ac90000,0x0ace0000)]
  0x003a6000 JavaThread "main" [_thread_blocked, id=3856, stack(0x009c0000,0x00a10000)]

Other Threads:
=>0x0abafc00 VMThread [stack: 0x0ac40000,0x0ac90000] [id=3860]

VM state:at safepoint (shutting down)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x003a5360] Threads_lock - owner thread: 0x0abafc00

Heap
 def new generation   total 960K, used 192K [0x02aa0000, 0x02ba0000, 0x02f80000)
  eden space 896K,  21% used [0x02aa0000, 0x02acfec8, 0x02b80000)
  from space 64K,   0% used [0x02b80000, 0x02b80180, 0x02b90000)
  to   space 64K,   0% used [0x02b90000, 0x02b90000, 0x02ba0000)
 tenured generation   total 4096K, used 3161K [0x02f80000, 0x03380000, 0x06aa0000)
   the space 4096K,  77% used [0x02f80000, 0x03296530, 0x03296600, 0x03380000)
 compacting perm gen  total 12288K, used 6930K [0x06aa0000, 0x076a0000, 0x0aaa0000)
   the space 12288K,  56% used [0x06aa0000, 0x07164848, 0x07164a00, 0x076a0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00424000 	C:\Program Files\Java\jre6\bin\javaw.exe
0x7c900000 - 0x7c9b0000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 	C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 	C:\WINDOWS\system32\RPCRT4.dll
0x77d40000 - 0x77dd0000 	C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 	C:\WINDOWS\system32\GDI32.dll
0x6c1b0000 - 0x6c1b5000 	C:\WINDOWS\system32\avgrsstx.dll
0x7c340000 - 0x7c396000 	C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d800000 - 0x6da8b000 	C:\Program Files\Java\jre6\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 	C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x1002f000 	C:\WINDOWS\system32\mt32emu.dll
0x774e0000 - 0x7761c000 	C:\WINDOWS\system32\ole32.dll
0x77c10000 - 0x77c68000 	C:\WINDOWS\system32\msvcrt.dll
0x77120000 - 0x771ac000 	C:\WINDOWS\system32\OLEAUT32.dll
0x77f60000 - 0x77fd6000 	C:\WINDOWS\system32\SHLWAPI.dll
0x6d7b0000 - 0x6d7bc000 	C:\Program Files\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000 	C:\Program Files\Java\jre6\bin\java.dll
0x6d290000 - 0x6d298000 	C:\Program Files\Java\jre6\bin\hpi.dll
0x76bf0000 - 0x76bfb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d7f0000 - 0x6d7ff000 	C:\Program Files\Java\jre6\bin\zip.dll
0x0b0c0000 - 0x0b131000 	C:\Documents and Settings\Josh\Desktop\Java Game Data\LWJGL Natives\lwjgl.dll
0x773d0000 - 0x774d2000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll
0x5ed00000 - 0x5edcc000 	C:\WINDOWS\system32\OPENGL32.dll
0x68b20000 - 0x68b40000 	C:\WINDOWS\system32\GLU32.dll
0x73760000 - 0x737a9000 	C:\WINDOWS\system32\DDRAW.dll
0x73bc0000 - 0x73bc6000 	C:\WINDOWS\system32\DCIMAN32.dll
0x77c00000 - 0x77c08000 	C:\WINDOWS\system32\VERSION.dll
0x5ad70000 - 0x5ada8000 	C:\WINDOWS\system32\uxtheme.dll
0x0b1c0000 - 0x0b1c4000 	C:\Program Files\Unlocker\UnlockerHook.dll
0x7c9c0000 - 0x7d1d4000 	C:\WINDOWS\system32\SHELL32.dll
0x69000000 - 0x694d9000 	C:\WINDOWS\system32\atioglxx.dll
0x0b2e0000 - 0x0b958000 	C:\WINDOWS\system32\atioglx1.dll
0x73b30000 - 0x73b44000 	C:\WINDOWS\system32\mscms.dll
0x73000000 - 0x73026000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x66e90000 - 0x66ed1000 	C:\WINDOWS\system32\icm32.dll
0x0ffd0000 - 0x0fff8000 	C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a73000 	C:\WINDOWS\system32\USERENV.dll
0x5b860000 - 0x5b8b4000 	C:\WINDOWS\system32\netapi32.dll
0x6d610000 - 0x6d623000 	C:\Program Files\Java\jre6\bin\net.dll
0x71ab0000 - 0x71ac7000 	C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 	C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 	C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 	C:\WINDOWS\system32\DNSAPI.dll
0x76d60000 - 0x76d79000 	C:\WINDOWS\system32\iphlpapi.dll
0x76fb0000 - 0x76fb8000 	C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 	C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 	C:\WINDOWS\system32\rasadhlp.dll
0x6d000000 - 0x6d14a000 	C:\Program Files\Java\jre6\bin\awt.dll
0x76390000 - 0x763ad000 	C:\WINDOWS\system32\IMM32.dll
0x6d230000 - 0x6d284000 	C:\Program Files\Java\jre6\bin\fontmanager.dll
0x6d630000 - 0x6d639000 	C:\Program Files\Java\jre6\bin\nio.dll
0x0ca30000 - 0x0ca6a000 	C:\Documents and Settings\Josh\Desktop\Java Game Data\LWJGL Natives\OpenAL32.dll
0x78520000 - 0x785c3000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_d08d0375\MSVCR90.dll
0x73f10000 - 0x73f6c000 	C:\WINDOWS\system32\dsound.dll
0x76c30000 - 0x76c5e000 	C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b14000 	C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 	C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000 	C:\WINDOWS\system32\IMAGEHLP.dll
0x72d20000 - 0x72d29000 	C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000 	C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000 	C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 	C:\WINDOWS\system32\midimap.dll
0x73ee0000 - 0x73ee4000 	C:\WINDOWS\system32\KsUser.dll

VM Arguments:
java_command: C:\Documents and Settings\Josh\Desktop\dead steel demo rabbit1.jar
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\;
USERNAME=Josh
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 8 stepping 6, cmov, cx8, fxsr, mmx, sse

Memory: 4k page, physical 522544k(197520k free), swap 1279604k(921816k free)

vm_info: Java HotSpot(TM) Client VM (14.2-b01) for windows-x86 JRE (1.6.0_16-b01), built on Jul 31 2009 11:26:58 by "java_re" with MS VC++ 7.1

time: Mon Jan 31 18:48:40 2011
elapsed time: 303 seconds

CodeBunny

Oh, and the error was generated on a specific computer (an older Windows XP). The program in question runs fine on multiple machines, but I'd like to know what the issue is regardless.

Mickelukas

Any idea when Josh gets this error? is it reproducable?

CodeBunny

I'm not sure, Josh was running it on a different computer, and sent the error log to me since a) I wrote the program, and b) I know more about LWJGL/OpenGL. The program in question has run fine for me and a number of other people, though, across a variety of desktops and laptops. None of the testing has been in any way thorough, however.

He tried it on a number of machines and only got this on one (it worked fine on others). There's a lot of code to sift through, and I'm not sure where to start, so I didn't post any excerpts of the code.

Fool Running

I would start by looking at the sound processing part of your code since it is crashing in OpenAL. Maybe the computer it's crashing on doesn't like OpenAL (maybe has no sound card :P)? Which version of LWJGL are you using (i.e. are you trying to use a version that had the hardware accelerated OpenAL)?
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

CodeBunny

2.6.

That's a good idea. I'll tell Josh to check the computer's sound card/driver.