0
0

Hi,

I found a crash bug in FMOD v 4.17.6 (and previous). I have a corrupt sound file, and when fmod play this, it crash.

Ok it’s not the "fmod fault" but I don’t have any error message, or anything else. The application quit with no error.

I develop in C#. And for this example I use your playstream example (and I change the path).
You can found the sound here :
[url:iqqahp2p]http://thibault33.free.fr/DossierPartage/BadSound.wav[/url:iqqahp2p]
problem in the position 4min33sec (the sound lenght = 4.45)

Please can you test with this sound and says me what can I do to prevent the crash.
I can’t verify all my sound files (50 000 files). So I have probably bad files …
Note that when I play the file with VLC, I don’t have any problems, but with WINAMP, crash.

Regards

Thibault

[code:iqqahp2p]
system.init(1, FMOD.INITFLAG.NORMAL, (IntPtr)null);

system.createSound(filePath, (FMOD.MODE._2D | FMOD.MODE.SOFTWARE | FMOD.MODE.CREATESTREAM | FMOD.MODE.LOOP_OFF), ref sound);
[/code:iqqahp2p]

  • You must to post comments
0
0

Hi,
There is no problem with this file, it is actually an mp3 file not a wav.
I played it using fmod’s playstream example and it played as expected.
Also in /examples/bin try ‘dsppluginviewer.exe’ you can load and play any sound, it plays in that app properly.

Is it possible it is a c# only issue.

  • You must to post comments
0
0

Thx for your answer.
But I tested with the dsppluginviewer.exe and the application crash too.
It’s only on the[b:26d66znb] end of the sound[/b:26d66znb]. Do not stop it before.
At[b:26d66znb] 4.33sec /4.35sec[/b:26d66znb] the application crash.

Can you retest it ?

Thx

  • You must to post comments
0
0

I make some test on other computer. And all time the dsppluginviewer.exe crash at 4.33.

So it’s not a driver / hardware problem.

Tibo

  • You must to post comments
0
0

I tested the file and just like you said, 2 seconds before the end of the song, it crashes. However, i can load and play the file with Audacity (sound editing tool) with no problems. So, its either our-bad-coding or fmod’s fault.

  • You must to post comments
0
0

It crashes in my application aswell.

  • You must to post comments
0
0

Thanks I tested the end of the file and there are some bad bits which make the mpeg decoder think there is a negative number when there should be a positive number, and it causes a crash.

I’ve patched it for the next release.

  • You must to post comments
0
0

Thanks for your help.

Tibo

  • You must to post comments
Showing 7 results
Your Answer

Please first to submit.