Open mpogue2 opened 1 year ago
Oh wait! I just noticed an error message on the console, that I would bet is the cause of this crash:
Assertion failed at ../../SquareDesk-DEV/test123/audiothread.cpp:122
m_playPosition_frames < m_totalFramesInSong | 8939458 < 8939456
So, that does suggest that it's the length of the song that matters.
Latest version on @danlyke branch: fcc37585730d1cecf25bf8ac2046d60d65072ab7 works fine now with Caribbean Queen, but still crashes on Appalachian Joy, with this error message:
Assertion failed at ../../SquareDesk-DEV/test123/audiothread.cpp:122
m_playPosition_frames <= m_totalFramesInSong | 9730008 <= 9730004
I emailed you a copy of that one for testing...
@danlyke Tested on MacOS. Seemed very stable on everything I tried, until I let the song end normally, and then it crashed the AudioThread, which crashed the entire app.
This was repeatable, every time I tried, on the songs Caribbean Queen and Appalachian Joy. Interestingly, it did NOT crash on several other songs I tried (patter and singers).
Neither of these songs crash at the end on V1.0.3, so I think it's likely to be caused by the new AudioThread code. I don't see anything special about these 2 songs -- they are both 44.1kHz stereo MP3. Maybe something to do with their lengths?
The (excerpted) crash report below is not very helpful.