2.7.2 Rev B crash on first network access after long period of idleness

With 2.7.2, I am seeing a crash when entering Settings App after a long period of idleness:

--- crash at 2025/05/04 02:34:56---
build:2bdbf57d-2.7.2-release.184824-buildbot
   r0:900e96d0    r1:00001388     r2:00040480    r3: 00040480
  r12:0000000a    lr:2405ff49     pc:2408f606   psr: a10f0000
 cfsr:00008200  hfsr:40000000  mmfar:00040480  bfar: 00040480
rcccsr:00000000
heap allocated: 1088960
Lua totalbytes=128396451 GCdebt=-127574516 GCestimate=432104 stacksize=84

I found that Settings App is not unique, for example here is a similar crash from Angle Pop:

--- crash at 2025/05/03 22:55:38---
build:2bdbf57d-2.7.2-release.184824-buildbot
   r0:90a5f440    r1:00001388     r2:00ffff1f    r3: 00ffff1f
  r12:20010f90    lr:2405ff49     pc:2408f606   psr: a90f0000
 cfsr:00008200  hfsr:40000000  mmfar:00ffff1f  bfar: 00ffff1f
rcccsr:00000000
heap allocated: 11340256
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

The common theme is: after some long period of idleness (after device sync with server, perhaps), the first network access will cause a crash at pc:2408f606. With Settings App it's immediate, with Angel Pop it only happens at time of death. Demo video at Playdate Squad server:

Workaround: before playing any game, enter Settings App to get my daily crash.

See also:

I have created this new thread because the old thread is marked as resolved, but it seems very similar to the old problem.

2 Likes

I also experience crashes when entering Settings app (most likely after period of idleness as well).
Not sure if it's related or not, but after updating to 2.7.2 the connectivity seems to be broken:

  • Trying to refresh game list returns an error "Server could not be reached. Please try again later."
  • "Checking for updates..." ends with "Error: Update check failed (1)" (instead of "up to date" message).
  • Sometimes PD will refresh/check for updates indefinitely, without returning error.
  • S1 Week 10 games didn't land on my device, though they are up on the manage page.
1 Like

I move around a lot and what I've realized I have to do is manually go into settings to switch Wi-Fi networks because it will always try to connect to the one I was using previously.

I tried several networks (different ISPs, landline and mobile), didn't help.
Strangely enough, haven't been experiencing any crashes since my last message.

I am still getting those crashes at pc:2408f606, although they are not necessarily once a day anymore. Demo: Playdate crash · GitHub

--- crash at 2025/05/16 20:25:54---
build:2bdbf57d-2.7.2-release.184824-buildbot
   r0:905e4db0    r1:00001388     r2:c00000aa    r3: c00000aa
  r12:0000000a    lr:2405ff49     pc:2408f606   psr: 810f0000
 cfsr:01000000  hfsr:40000000  mmfar:00000000  bfar: 00000000
rcccsr:00000000
heap allocated: 6231776
Lua totalbytes=709000 GCdebt=-171722 GCestimate=354581 stacksize=80

For variety, this time I ran Root Bear. Previously it was Angel Pop and Settings App, basically anything with network access.

I haven't seen another crash of this sort ever since upgrading to 2.7.3.

2 Likes

Well, that's strange.
I've updated to 2.7.3, didn't help. Then i downgraded to 2.6.2, and it didn't help either.
Then i turned Playdate off and put it away for several days, and tried updating to 2.7.3 once again, and suddenly network problems are no more.

1 Like