This message is for JOAL developers only.
I get JOAL working fine on my laptop if I use OpenAL from Creative’s FTP site (not www-site). But here’s an exception that I get with the “wrong” www-site creative files:
I suggest everyone loads files from the FTP site and try again JOAL.
Buildfile: build.xml
init:
compile:
run:
[java] Go TEAM!
[java] Entering alutInit()
[java] In alutInit(): Device Name = null
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x0
Function=[Unknown.]
Library=(N/A)
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at net.java.games.joal.ALCImpl.openDeviceNative(Native Method)
at net.java.games.joal.ALCImpl.alcOpenDevice(ALCImpl.java:53)
at net.java.games.joal.util.ALut.alutInit(ALut.java:75)
at SingleStaticSource.main(SingleStaticSource.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:196)
at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:133)
at org.apache.tools.ant.taskdefs.Java.run(Java.java:661)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:168)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:77)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
at org.apache.tools.ant.Main.runBuild(Main.java:632)
at org.apache.tools.ant.Main.startAnt(Main.java:183)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
Dynamic libraries:
0x00400000 - 0x00406000 c:\j2sdk1.4.2_03\bin\java.exe
0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
0x77DC0000 - 0x77E5C000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x78086000 C:\WINDOWS\system32\RPCRT4.dll
0x77C00000 - 0x77C53000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 c:\j2sdk1.4.2_03\jre\bin\client\jvm.dll
0x77D30000 - 0x77DBC000 C:\WINDOWS\system32\USER32.dll
0x77C60000 - 0x77CA0000 C:\WINDOWS\system32\GDI32.dll
0x76B30000 - 0x76B5C000 C:\WINDOWS\System32\WINMM.dll
0x5D2A0000 - 0x5D2A7000 C:\WINDOWS\System32\serwvdrv.dll
0x5B5D0000 - 0x5B5D7000 C:\WINDOWS\System32\umdmxfrm.dll
0x10000000 - 0x10007000 c:\j2sdk1.4.2_03\jre\bin\hpi.dll
0x003E0000 - 0x003EE000 c:\j2sdk1.4.2_03\jre\bin\verify.dll
0x008A0000 - 0x008B9000 c:\j2sdk1.4.2_03\jre\bin\java.dll
0x003F0000 - 0x003FD000 c:\j2sdk1.4.2_03\jre\bin\zip.dll
0x032B0000 - 0x032BF000 C:\lesson1\joal.dll
0x032E0000 - 0x032F4000 C:\WINDOWS\System32\OpenAL32.dll
0x72CF0000 - 0x72CF9000 C:\WINDOWS\System32\wdmaud.drv
0x72CE0000 - 0x72CE8000 C:\WINDOWS\System32\msacm32.drv
0x77BD0000 - 0x77BE4000 C:\WINDOWS\System32\MSACM32.dll
0x77BC0000 - 0x77BC7000 C:\WINDOWS\System32\midimap.dll
0x76C80000 - 0x76CA2000 C:\WINDOWS\system32\imagehlp.dll
0x6DAB0000 - 0x6DB2D000 C:\WINDOWS\system32\DBGHELP.dll
0x77BF0000 - 0x77BF7000 C:\WINDOWS\system32\VERSION.dll
0x76BE0000 - 0x76BEB000 C:\WINDOWS\System32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 193K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 26% used [0x10010000, 0x100327b8, 0x10090000)
from space 64K, 87% used [0x100a0000, 0x100adf28, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 624K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 44% used [0x104f0000, 0x1058c108, 0x1058c200, 0x10650000)
compacting perm gen total 5120K, used 4997K [0x14010000, 0x14510000, 0x18010000)
the space 5120K, 97% used [0x14010000, 0x144f1460, 0x144f1600, 0x14510000)
Local Time = Tue Feb 17 12:36:15 2004
Elapsed Time = 2
The exception above was detected in native code outside the VM
Java VM: Java HotSpot™ Client VM (1.4.2_03-b02 mixed mode)
An error report file has been saved as hs_err_pid1540.log.
Please refer to the file for further information.
ALFactory.init - Native: Enter
ALFactory.init - Native: Exit
ALFactory.init - Native: Enter
ALFactory.init - Native: Exit
Whereas on my desktop (nforce) I get no exceptions with the “wrong” OpenAL package, it just hangs. Desktop also works fine with the package that I get from the creative’s ftp site.
PS. www.openal.org points to “wrong” non-working OpenAL packages. At least this is the case with JOAL.