OS 3.0.0 occasional app crash when unlocking, in groupViewController.lua

,

Hi, I'm seeing an issue in my app running on OS 3.0.0 devices. Occasionally, when I unlock the device running my app after it's been locked for a while, I get an immediate crash before the app even displays again.

Here's the stack trace (it's a hybrid C/Lua app):

groupViewController.lua:318: attempt to index a nil value (local 'groupSprite')
stack traceback:
groupViewController.lua:318: in upvalue 'layoutActiveGroupSprites'
groupViewController.lua:755: in method 'show'
main.lua:161: in function main.lua:154

It happens sporadically, maybe one out of 20 times. Any ideas?

1 Like

That was while your game was running? The stack trace there is from the Launcher. Can’t think how that would happen.. :thinking:

Hmm... maybe it had silently exited my game and restarted? Weird. I'll see if I can get it to repro while logging to the serial port.

I have the same but all the time when i try to start console. How to exit this endless looop? I cannot do antyhing

Edit: hard reset didnt help. Recovery downgrade os to previous version wthout new catalog app and it helps.. But again when i upgrade to 3.0.0 its still the same..

We've had a few reports of this and have a possible fix in the queue for 3.0.1. We've had three people test the fix and it worked for two of them. If you'd like to give it a try, please DM me your device serial number and I'll add you to the test cohort and it'll be available via Settings > Check for Updates. Or just wait a bit--I expect we'll be shipping 3.0.1 soon.

2 Likes

this bug has also happened to me but in a different flow:

I go into game library/edit folders, and if I lock the screen there the playdate crashes immediatly, sometime i will have the option to press B and see the bug, some of the times i see exactly as described here.

I have seen another bug description once, but i can’t seem to get it again to write it down. but i do get the crash consistently from locking the screen with the game library open, even cancelling the refresh, waiting a bit, chaning the view in it etc

EDIT: already on 3.0.1-beta3

still have this with 3.0.1-beta3 but during folder renaming

Still have this in 3.0.1-beta3 on my Rev A Playdate, when leaving it alone on the home screen for a long time.

I wanted to add that this was a bug 99% added with 3.0.1-beta3, at least for me, i was messing A LOT with folders before the update and had zero crashes.

@marcin85 @jsimantov @Jatas I saw the crash report come in and added a fix for it, didn't cross my mind to push a new beta. Sorry! I've done that, should be available via Check for Update now.

3.0.1-beta5 - unfortunately mine still crashing after folder rename. Moreover gui is freeze after crash reboot

3.0.1 - still i have crash during creating and renaming folders. What has changed is that I no longer have freeze after restarting

last 4 crashes:

--- crash at 2025/10/31 23:17:28---
build:e596b80b-3.0.1-beta.5-gitlab-runner
r0:00000000 r1:9017f9e0 r2:0000006f r3: 90143250
r12:240e9014 lr:240784d1 pc:240bb9ec psr: 810f0000
cfsr:00000082 hfsr:00000000 mmfar:00000000 bfar: 00000000
rcccsr:00000000
heap allocated: 1741600
Lua totalbytes=128140648 GCdebt=-127574431 GCestimate=559268 stacksize=84

--- crash at 2025/10/31 23:23:56---
build:e596b80b-3.0.1-beta.5-gitlab-runner
r0:00000000 r1:90188350 r2:0000006f r3: 90143200
r12:240e9014 lr:240784d1 pc:240bb9ec psr: 210f0000
cfsr:00000082 hfsr:00000000 mmfar:00000000 bfar: 00000000
rcccsr:00000000
heap allocated: 1839264
Lua totalbytes=128135674 GCdebt=-127574423 GCestimate=557226 stacksize=84

--- crash at 2025/11/06 12:49:45---
build:e44193e8-3.0.1-release.194549-gitlab-runner
r0:00000000 r1:90188900 r2:0000006f r3: 90143080
r12:240e9014 lr:240784d9 pc:240bb9ec psr: 810f0000
cfsr:00000082 hfsr:00000000 mmfar:00000000 bfar: 00000000
rcccsr:00000000
heap allocated: 1664736
Lua totalbytes=128138217 GCdebt=-127574431 GCestimate=560005 stacksize=84

--- crash at 2025/11/06 12:51:15---
build:e44193e8-3.0.1-release.194549-gitlab-runner
r0:00000000 r1:9000abd0 r2:00000062 r3: 90143080
r12:240e9014 lr:240784d9 pc:240bb9ec psr: 810f0000
cfsr:00000082 hfsr:00000000 mmfar:00000000 bfar: 00000000
rcccsr:00000000
heap allocated: 1590720
Lua totalbytes=128140214 GCdebt=-127574422 GCestimate=557310 stacksize=84