I’m having a crash occur every time a midi finishes
playing under MacOS X. The music is set to loop (used
"-1" as the second argument to Mix_PlayMusic()) and
the crash occurs when the tune ends before it
re-starts.
The same code does not cause a crash under linux nor
windows.
Is there a known problem with SDL_mixer and midis
under MacOS X? Any way to work around it?
In case it helps anyone the exception is
EXC_BAD_INSTRUCTION. Here’s the trace for the crashing
thread:
Thread 3 Crashed:
#0 0x01877910 in 0x1877910
#1 0x90723cc8 in
HPIOThread::PerformIO(AudioTimeStamp const&)
(HPIOThread::PerformIO(AudioTimeStamp const&) + 532)
#2 0x90722e7c in HPIOThread::WorkLoop()
(HPIOThread::WorkLoop() + 1100)
#3 0x90739368 in
HPIOThread::ThreadEntry(HPIOThread*)
(HPIOThread::ThreadEntry(HPIOThread*) + 28)
#4 0x907393ac in CAPThread::Entry(CAPThread*)
(CAPThread::Entry(CAPThread*) + 48)
#5 0x900247e8 in _pthread_body (_pthread_body + 40)
Thanks.
http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.