LWJGL Beta 3, Windows XP, strange bug...

Started by MarneusCalgarXP, October 03, 2006, 20:47:36

Previous topic - Next topic


Quote from: MarneusCalgarXP on October 03, 2006, 20:47:36
When I code a simple class

import org.lwjgl.fmod3.FMOD;
import org.lwjgl.fmod3.FMODException;

public class SimplestFMODgreat day to you all

	public SimplestFMOD()
			// Create fmod.
		} catch (FMODException e)

	public static void main(String args[])
		new SimplestFMOD();

and launch it with argument


I get the following error:

FMODException: Unable to load fmod library
	at org.lwjgl.fmod3.FMOD.create(FMOD.java:272)
	at chman.chap1.fmod.SimplestFMOD.<init>(SimplestFMOD.java:18)
	at chman.chap1.fmod.SimplestFMOD.main(SimplestFMOD.java:32)

and it generated a file hs_err_pid1700.log

# An unexpected error has been detected by HotSpot Virtual Machine:
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x10003343, pid=1700, tid=3560
# Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
# Problematic frame:
# C  [lwjgl-fmod3.dll+0x3343]

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

Current thread (0x00365f48):  JavaThread "main" [_thread_in_native, id=3560]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000024

EAX=0x00000000, EBX=0x26a9f398, ECX=0x00000040, EDX=0x00007d00
ESP=0x0006fa1c, EBP=0x0006fa58, ESI=0x26a9f398, EDI=0x00365f48
EIP=0x10003343, EFLAGS=0x00010293

Top of Stack: (sp=0x0006fa1c)
0x0006fa1c:   00000040 00000000 00a8826f 00366008
0x0006fa2c:   0006fa60 00007d00 00000040 00000000
0x0006fa3c:   0006fa3c 26a9f398 0006fa70 26aa8700
0x0006fa4c:   00000000 26a9f398 0006fa68 0006fa90
0x0006fa5c:   00a82a7b 26aa8690 00a86430 00000000
0x0006fa6c:   00000040 00007d00 0006fa74 26a84875
0x0006fa7c:   0006fa9c 26a86798 00000000 26a84910
0x0006fa8c:   0006fa9c 0006fabc 00a82923 22af53f0 

Instructions: (pc=0x10003343)
0x10003333:   14 8b 4c 24 10 8b 54 24 0c 50 a1 e8 05 02 10 51
0x10003343:   8b 48 24 52 ff d1 c2 14 00 cc cc cc cc 8b 44 24 

Stack: [0x00030000,0x00070000),  sp=0x0006fa1c,  free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [lwjgl-fmod3.dll+0x3343]
j  chman.chap1.fmod.SimplestFMOD.<init>()V+21
j  chman.chap1.fmod.SimplestFMOD.main([Ljava/lang/String;)V+3
v  ~StubRoutines::call_stub
V  [jvm.dll+0x86401]
V  [jvm.dll+0xdb172]
V  [jvm.dll+0x862d2]
V  [jvm.dll+0x8d2a2]
C  [javaw.exe+0x14c5]
C  [javaw.exe+0x3151]
C  [kernel32.dll+0x16fd7]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.fmod3.FSound.FSOUND_Init(III)Z+0
j  chman.chap1.fmod.SimplestFMOD.<init>()V+21
j  chman.chap1.fmod.SimplestFMOD.main([Ljava/lang/String;)V+3
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x00a1eb00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3892]
  0x00364ee8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3016]
  0x0036fb88 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2860]
  0x009f1fc0 JavaThread "Finalizer" daemon [_thread_blocked, id=3080]
  0x009f0ad8 JavaThread "Reference Handler" daemon [_thread_blocked, id=3072]
=>0x00365f48 JavaThread "main" [_thread_in_native, id=3560]

Other Threads:
  0x009ee1e0 VMThread [id=3568]
  0x00a1fd18 WatcherThread [id=1892]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

 def new generation   total 576K, used 142K [0x22a80000, 0x22b20000, 0x22f60000)
  eden space 512K,  15% used [0x22a80000, 0x22a93938, 0x22b00000)
  from space 64K, 100% used [0x22b10000, 0x22b20000, 0x22b20000)
  to   space 64K,   0% used [0x22b00000, 0x22b00000, 0x22b10000)
 tenured generation   total 1408K, used 88K [0x22f60000, 0x230c0000, 0x26a80000)
   the space 1408K,   6% used [0x22f60000, 0x22f76050, 0x22f76200, 0x230c0000)
 compacting perm gen  total 8192K, used 164K [0x26a80000, 0x27280000, 0x2aa80000)
   the space 8192K,   2% used [0x26a80000, 0x26aa9000, 0x26aa9000, 0x27280000)
    ro space 8192K,  67% used [0x2aa80000, 0x2afdd9f8, 0x2afdda00, 0x2b280000)
    rw space 12288K,  46% used [0x2b280000, 0x2b823808, 0x2b823a00, 0x2be80000)

Dynamic libraries:
0x00400000 - 0x0040d000 	C:\jdk1.5.0_07\bin\javaw.exe
0x7c910000 - 0x7c9c7000 	F:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c904000 	F:\WINDOWS\system32\kernel32.dll
0x77da0000 - 0x77e4c000 	F:\WINDOWS\system32\ADVAPI32.dll
0x77e50000 - 0x77ee1000 	F:\WINDOWS\system32\RPCRT4.dll
0x77d10000 - 0x77da0000 	F:\WINDOWS\system32\USER32.dll
0x77ef0000 - 0x77f37000 	F:\WINDOWS\system32\GDI32.dll
0x77be0000 - 0x77c38000 	F:\WINDOWS\system32\MSVCRT.dll
0x6d730000 - 0x6d8c7000 	C:\jdk1.5.0_07\jre\bin\client\jvm.dll
0x76ae0000 - 0x76b0f000 	F:\WINDOWS\system32\WINMM.dll
0x6d2f0000 - 0x6d2f8000 	C:\jdk1.5.0_07\jre\bin\hpi.dll
0x76ba0000 - 0x76bab000 	F:\WINDOWS\system32\PSAPI.DLL
0x6d700000 - 0x6d70c000 	C:\jdk1.5.0_07\jre\bin\verify.dll
0x6d370000 - 0x6d38d000 	C:\jdk1.5.0_07\jre\bin\java.dll
0x6d720000 - 0x6d72f000 	C:\jdk1.5.0_07\jre\bin\zip.dll
0x10000000 - 0x10025000 	C:\lwjgl-1.0beta3\native\win32\lwjgl-fmod3.dll

VM Arguments:
jvm_args: -Djava.library.path=C:\lwjgl-1.0beta3\native\win32
java_command: chman.chap1.fmod.SimplestFMOD
Launcher Type: SUN_STANDARD

Environment Variables:
F:\WINDOWS\system32;F:\WINDOWS;F:\WINDOWS\System32\Wbem;F:\Program Files\Fichiers communs\Ulead Systems\MPEG;
F:\Program Files\ESTsoft\ALZip\;F:\Program Files\Fichiers communs\Adobe\AGL;C:\lwjgl-1.0beta3\native\win32;
F:\Program Files\ESTsoft\ALZip\
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 10, AuthenticAMD

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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2

Memory: 4k page, physical 1572328k(923776k free), swap 2991364k(2241804k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for windows-x86, built on May  3 2006 01:04:38 by "java_re" with MS VC++ 6.0

Did I do something wrong ?
Height Growth
Weight Loss
Hair Loss


not sure - try the latest version (1.1.4)