My Playtime clocks app is crashing the Simulator (1.13.4) entirely with no error message. Meanwhile, the device crashes with...
Run loop stalled for more than 10 seconds
... and then the LED lights up white.
Commenting out my playdate.sound.sequence:play line prevents the crash—which doesn't happen immediately on playing a sound, but does after playing multiple times. (The number of sounds that play before it crashes varies weirdly: the app lasts longer when scrolling my gridview by dpad instead of crank, for instance!)
Also, FWIW, the suggested :clearNotes() workaround for this memory leak is not working. The leak remains—however the crash does not happen due to memory totally filling: there is still plenty to spare.
Any troubleshooting advice? I'm trying to get a bugfix out (and a Catalog build) but the audio that seemed to work before is causing new problems, maybe with recent OS/SDK releases?
It does sound likely to be related maybe. Let me know if you'd like a copy of my project (which seems to crash more easily than the released Playtime, maybe due to working around other audio issues).
I tried adding playdate.sound.sequence:stop before my playdate.sound.sequence:play in case that might help, but it doesn't. I don't see a clear workaround in that other thread that I can apply.
I'm thinking I should maybe pause development of Playtime for a bit, pending more details or a fix. I've considered removing the existing version from Itch—but it seems OK if you avoid cranking too much on the gallery screen, and the alarm seems to play fine (except with the "Surprise" clock).