FMOD / Mac / 1.0beta Problem

Started by Schlex, June 25, 2006, 08:48:00

Previous topic - Next topic

Schlex

Hello,

I'm using lwjgl 1.0beta on Mac Os X 10.4.6 / PPC.

First, the Version of the FMOD-Lib seems to be 1.0, the classes are 1.0beta, so the Versioncheck fails. (So i commented the version check in the fmod class)

Second, I get a real bad bug. I think it is a memory issue. It is reproducible. Maybe it is a ran-out-of-memory problem?

I'm using nearly the same code like this to play Mp3/VBR.
http://svn.sourceforge.net/viewcvs.cgi/java-game-lib/trunk/LWJGL/src/java/org/lwjgl/test/fmod3/StreamPlayerMemory.java?rev=HEAD&content-type=text/vnd.viewcvs-markup

Thread 14 Crashed:
0   <<00000000>>     0xffff8810 __memcpy + 112 (cpu_capabilities.h:189)
1   liblwjgl-fmod3.jnilib              0x0a486b20 FSOUND_File_ReallyRead + 572
2   liblwjgl-fmod3.jnilib              0x0a486cec FSOUND_File_Read + 212
3   liblwjgl-fmod3.jnilib              0x0a4aa1dc FSOUND_Stream_ReadMpeg + 72
4   liblwjgl-fmod3.jnilib              0x0a48bd30 FSOUND_Stream_Read + 372
5   liblwjgl-fmod3.jnilib              0x0a48c2d8 FSOUND_Stream_Flip + 180
6   liblwjgl-fmod3.jnilib              0x0a48c460 FSOUND_Stream_Update + 164
7   liblwjgl-fmod3.jnilib              0x0a48c5bc FSOUND_Stream_UpdateThread + 96
8   ...ple.CoreServices.CarbonCore     0x90bc9260 PrivateMPEntryPoint + 76
9   libSystem.B.dylib                  0x9002ba68 _pthread_body + 96

Matzon

yes, the version got compiled as 1.0 instead of 1.0beta
This is fixed for beta2
however that error doesn't like anything related to lwjgl - perhaps it's fmod barfing on a weird mp3 file?
Can you share that mp3 file?, do you have issues with all mp3 files?

Schlex

Thats funny, i worked on other code parts of my program since yesterday (when this error happens). Now i attempt to reproduce the error, it is impossible. Good for me, bad to find the bug.

Sorry for the inconvenience caused.