Access violation problem in v0.98 (fmod)

Hello,

While experimenting jME on my office PC, I encountered this problem running HelloIntersection tutorial.
It’s related to lwjgl.

org.lwjgl.fmod3.FMODException: Unable to load fmod library
at org.lwjgl.fmod3.FMOD.create(FMOD.java:263)
at com.jmex.sound.fmod.SoundSystem.(Unknown Source)
at jmetest.TutorialGuide.HelloIntersection.setupSound(Unknown Source)
at jmetest.TutorialGuide.HelloIntersection.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.TutorialGuide.HelloIntersection.main(Unknown Source)

An unexpected error has been detected by HotSpot Virtual Machine:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x17fe353a, pid=992, tid=288

Java VM: Java HotSpot™ Client VM (1.5.0_04-b05 mixed mode, sharing)

Problematic frame:

C [lwjgl-fmod3.dll+0x353a]

An error report file with more information is saved as hs_err_pid992.log

If you would like to submit a bug report, please visit:

http://java.sun.com/webapps/bugreport/crash.jsp

OS: Windows 2000 Build 2195 Service Pack 4

I’m running version 0.98 of lwjgl.
I checked the version of my audio drivers just in case and they seem up to date.
Any clue ?

Let me know if you want me to post the entire log file or anything.

Thanks

This is a guess but it seem that it can’t find the native FMOD library.

you can get it here I think

http://fmod.org/fmoddownload.html

and I think you 3.74

yup - what zparticle said - we dont distribute fmod, due to license issues

Shouldn’t get an access violation though if it’s not present.

Cas :slight_smile:

Well I think it’s jME fault who is calling FMOD.create(), no ?

[tt
] at org.lwjgl.fmod3.FMOD.create(FMOD.java:263)
at com.jmex.sound.fmod.SoundSystem.(Unknown Source)
`

Hello

Thanks to your help, I got a bit further. Download of a separate fmod.dll is not explicit in JME starter guide. That’s why I missed that point.

Thanks again

The same thing happened to me today. Unless I missed it somewhere, wouldn’t it be a good idea to mention that you need to download FMOD since you can’t distribute it?