That Alien Flux works fine for me as well.
Everything compiles fine for me, but when I try to run any examples, I get an error that crashs the program. It always happens just after the alutInit() call. Here’s a run log:
ant clean run
Buildfile: build.xml
clean:
[delete] Deleting directory C:\Documents and Settings\Spockmeat\Desktop\OpenA
L_Tutorials_Bundle\lesson1\classes
init:
[mkdir] Created dir: C:\Documents and Settings\Spockmeat\Desktop\OpenAL_Tuto
rials_Bundle\lesson1\classes
compile:
[javac] Compiling 1 source file to C:\Documents and Settings\Spockmeat\Deskt
op\OpenAL_Tutorials_Bundle\lesson1\classes
run:
ALFactory.init - Native: Enter
ALFactory.init - Native: Exit
[java] Go TEAM!
[java] Entering alutInit()
ALFactory.init - Native: Enter
ALFactory.init - Native: Exit
[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(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:208)
at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:15
0)
at org.apache.tools.ant.taskdefs.Java.run(Java.java:443)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:163)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
at org.apache.tools.ant.Main.runBuild(Main.java:609)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Dynamic libraries:
0x00400000 - 0x00406000 c:\j2sdk1.4.2_02\bin\java.exe
0x77F40000 - 0x77FFA000 C:\WINDOWS\system32\ntdll.dll
0x77E40000 - 0x77F34000 C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E30000 C:\WINDOWS\system32\ADVAPI32.dll
0x77C50000 - 0x77CF4000 C:\WINDOWS\system32\RPCRT4.dll
0x77BA0000 - 0x77BF4000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 c:\j2sdk1.4.2_02\jre\bin\client\jvm.dll
0x77D00000 - 0x77D8F000 C:\WINDOWS\system32\USER32.dll
0x77C00000 - 0x77C44000 C:\WINDOWS\system32\GDI32.dll
0x76AA0000 - 0x76ACC000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 c:\j2sdk1.4.2_02\jre\bin\hpi.dll
0x00380000 - 0x0038E000 c:\j2sdk1.4.2_02\jre\bin\verify.dll
0x003B0000 - 0x003C9000 c:\j2sdk1.4.2_02\jre\bin\java.dll
0x00390000 - 0x0039D000 c:\j2sdk1.4.2_02\jre\bin\zip.dll
0x03260000 - 0x0326F000 C:\Documents and Settings\Spockmeat\Desktop\Open
AL_Tutorials_Bundle\lesson1\joal.dll
0x03290000 - 0x032A4000 C:\WINDOWS\system32\OpenAL32.dll
0x72D70000 - 0x72D79000 C:\WINDOWS\system32\wdmaud.drv
0x72D60000 - 0x72D68000 C:\WINDOWS\system32\msacm32.drv
0x77B70000 - 0x77B84000 C:\WINDOWS\system32\MSACM32.dll
0x77B60000 - 0x77B67000 C:\WINDOWS\system32\midimap.dll
0x76C10000 - 0x76C38000 C:\WINDOWS\system32\imagehlp.dll
0x6D580000 - 0x6D621000 C:\WINDOWS\system32\dbghelp.dll
0x77B90000 - 0x77B98000 C:\WINDOWS\system32\VERSION.dll
0x76B70000 - 0x76B7B000 C:\WINDOWS\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 576K, used 150K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 20% used [0x10010000, 0x10029de0, 0x10090000)
from space 64K, 73% used [0x100a0000, 0x100abcd0, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 5544K, used 4282K [0x104f0000, 0x10a5a000, 0x1401000
0)
the space 5544K, 77% used [0x104f0000, 0x1091ea28, 0x1091ec00, 0x10a5a000)
compacting perm gen total 5376K, used 5283K [0x14010000, 0x14550000, 0x1801000
0)
the space 5376K, 98% used [0x14010000, 0x14538d50, 0x14538e00, 0x14550000)
Local Time = Fri Dec 12 12:45:13 2003
Elapsed Time = 2
The exception above was detected in native code outside the VM
Java VM: Java HotSpot™ Client VM (1.4.2_02-b03 mixed mode)
An error report file has been saved as hs_err_pid2500.log.
Please refer to the file for further information.
C:\Documents and Settings\Spockmeat\Desktop\OpenAL_Tutorials_Bundle\lesson1>