Ever since I upgraded to FMOD 3.7, I’ve been noticing a lot of crashes.
The only thing I really changed was the open streams because of
the changes with the api. ever since then my program encounters several
crashes when either starting or stopping a stream.
I really don’t have much more info because nothing was really changed
and debugging is very difficult because I cannot predict when it will crash.
I had simmilar problems before when switching to an NT class machine
from a windows 98 machine. But the problem was fixed because the crash
was consistant when calling GetSpectrum while a stream was unloaded.
I can’t really give any more details.
Maybe some one else has had the same problems?
- nci asked 14 years ago
I’m not sure if it’s a fmod error, but when playing for a long time, my player crashes. This is immediatelly after/when loading a song(stream), as I can see from the current player state (Spectrum still ‘working’ without any music data and remaining song time not yet displayed) and the log file.
If I remember right, that problem may really have started when changing/updating to v. 3.70, and so my player works both with versions 3.6x (and older?) and 3.70 (3.7x), I’d prefer to use 3.7x for best compatibility/speed, and maybe discontinue support for older versions and get rid of my own tag-reading funktions.
So, I’ll test my programm further, to assure it really crashes at that point, and it’s really an fmod error. May take some time, as that problem occurs after several hours. I’ll also download the new fmod.dll mentioned by bret / fmod (http://18.104.22.168/files/fmod.dll).
Anyway two questions:
1. Is the latest (unofficial test-) version always found here?
2. When will fmod 3.71 be released? (note that I’ve already subscribed)
Hmm, well, the newer version is better. When I stopped a stream I crashed
once. but I can’t seem to get it to crash again. It was mostly happening
with MIDI. I could start and stop MIDI severalk times, then It would crash.
I was using Micro$ofts MIDI software synth. I installed a new driver called
WinGroove and It still crashed (though MIDI playback was extremely
enhanced). When It crashes, the song that was previously playing would
still play, but the new song that was loaded would be the acuall file that
FMOD would be playing, but no sound from this file would play. After a few
more attempts to open a new file it would crash.
This is all I know so far.
It seems the new version may have fixed it. Maybe
I think I figured out the problem.
I was calling FMUSIC_Stop and FSOUND_Stream_Stop.
The reason for this was to stop any file that was playing.
The program crashed when calling FMUSIC_GetType to see what
was playing. If it is a stream, shouldn’t it return type NONE? But
all it did was crash. same thing happened when I called FMUSIC_Stop
when playing a stream. A few lines of code fixed the problem.
But I’m just wondering why it crashed on both of these calls and
not just fail to execute the API?
Please login first to submit.