3.1.0 : e0 error after loading scores

Happens for all my games (but only on device). It crashes when the scores have finished loading.

In Switchboard Shuffle, the crash only happens for the normal scoreboard (i.e. not the "daily" one, maybe because there is 0 score in the daily scoreboard?).

All of my games uses the C API.

--- crash at 2026/07/18 19:53:04---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:001a7ace    r1:001a7ac8     r2:90455afc    r3: 00000003
  r12:ffffffff    lr:9001eee9     pc:9000112e   psr: 09010000
 cfsr:00000082  hfsr:00000000  mmfar:001a7ac8  bfar: 001a7ac8
rcccsr:00000000
heap allocated: 4545504
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 20:52:42---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:00076412    r1:00076410     r2:00000002    r3: 00000000
  r12:ffffffff    lr:90019df9     pc:9000112e   psr: 01010000
 cfsr:00000082  hfsr:00000000  mmfar:00076410  bfar: 00076410
rcccsr:00000000
heap allocated: 3765792
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 21:10:27---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:001a7ace    r1:001a7ac8     r2:9045593c    r3: 00000003
  r12:ffffffff    lr:9001eee9     pc:9000112e   psr: 09010000
 cfsr:00000082  hfsr:00000000  mmfar:001a7ac8  bfar: 001a7ac8
rcccsr:00000000
heap allocated: 4545184
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 21:11:14---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:00076412    r1:00076410     r2:00000002    r3: 00000000
  r12:ffffffff    lr:90019df9     pc:9000112e   psr: 01010000
 cfsr:00000082  hfsr:00000000  mmfar:00076410  bfar: 00076410
rcccsr:00000000
heap allocated: 2782464
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 21:11:46---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:00076412    r1:00076410     r2:00000002    r3: 00000000
  r12:ffffffff    lr:90019df9     pc:9000112e   psr: 01030000
 cfsr:00000082  hfsr:00000000  mmfar:00076410  bfar: 00076410
rcccsr:00000000
heap allocated: 3173248
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 21:13:09---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:fffffff8    r1:002d5b38     r2:00000000    r3: 00000002
  r12:ffffffff    lr:9001d2e9     pc:90000ca4   psr: 41010000
 cfsr:00000082  hfsr:00000000  mmfar:002d5b38  bfar: 002d5b38
rcccsr:00000000
heap allocated: 1317568
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 21:15:52---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:fffffff8    r1:002d5b38     r2:00000000    r3: 00000002
  r12:ffffffff    lr:9001d2e9     pc:90000ca4   psr: 41010000
 cfsr:00000082  hfsr:00000000  mmfar:002d5b38  bfar: 002d5b38
rcccsr:00000000
heap allocated: 617472
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 21:16:59---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:fffffff8    r1:002d5b38     r2:00000000    r3: 00000002
  r12:ffffffff    lr:9001d2e9     pc:90000ca4   psr: 41010000
 cfsr:00000082  hfsr:00000000  mmfar:002d5b38  bfar: 002d5b38
rcccsr:00000000
heap allocated: 617472
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 21:22:03---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:90098550    r1:00000000     r2:00000000    r3: 00000000
  r12:00000010    lr:90002615     pc:9000b698   psr: 610f0000
 cfsr:00000082  hfsr:00000000  mmfar:00000004  bfar: 00000004
rcccsr:00000000
heap allocated: 646304
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/18 21:25:00---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:001a7ace    r1:001a7ac8     r2:904215dc    r3: 00000003
  r12:ffffffff    lr:9001eee9     pc:9000112e   psr: 09010000
 cfsr:00000082  hfsr:00000000  mmfar:001a7ac8  bfar: 001a7ac8
rcccsr:00000000
heap allocated: 4358400
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

NOTE: One of these crash is not related and caused by a NULL pointer because an image is missing but I was not able to identify which crashlog it is.

1 Like

I have a fix in for this and we'll hopefully get 3.1.1 out on Monday or Tuesday. If you want to work around it now, the problem is that I made a classic C blunder when I added the boardid field to PDScore: when a pointer to a single (new version with boardid) PDScore object is passed to old code it's fine because the old code doesn't know about the boardid field, no problem. But if you give it an array of structs it looks in the wrong place for the second entry and up because it thinks the element size is smaller than it is. If you recompile on the 3.1.0 SDK the problem goes away because it knows how big the struct really is.

For 3.1.1 I'm doing what I should have in the first place--the getScores() function doesn't even use the boardid in the PDScore records because boardid is in PDScoresList, so I've added a new PDListScore struct that's the same as the old PDScore (i.e. without boardid) and PDScoresList uses that instead. To pre-3.1.0 code it looks exactly the same. But if your game was compiled on 3.1.0 we give it a score list using the bigger score struct.

I don't know what the turnaround on Catalog updates is, though.. might not be worth the hassle, assuming we can get 3.1.1 out early this week :confused:

1 Like

Thanks!

I’ll wait for version 3.1.1 then, I prefer compiling with older versions of the SDK to support players who haven’t updated their system yet (there was multiple threads on Reddit about this).

1 Like

This is also happening in Boogie Loops from Season 1.

It may actually be something different, I am not sure. The game crashes at startup, no errorlog, only crashlog.


--- crash at 2026/07/22 11:21:11---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:018c0400    r1:00000100     r2:00000000    r3: 00000100
  r12:10000000    lr:240909c1     pc:2408cce8   psr: 01000000
 cfsr:00000082  hfsr:00000000  mmfar:018c040c  bfar: 018c040c
rcccsr:00000000
heap allocated: 406336
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/22 11:21:19---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:018c0400    r1:00000100     r2:00000000    r3: 00000100
  r12:10000000    lr:240909c1     pc:2408cce8   psr: 01000000
 cfsr:00000082  hfsr:00000000  mmfar:018c040c  bfar: 018c040c
rcccsr:00000000
heap allocated: 406336
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/22 11:35:15---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:018c0400    r1:00000100     r2:00000000    r3: 00000100
  r12:10000000    lr:240909c1     pc:2408cce8   psr: 01000000
 cfsr:00000082  hfsr:00000000  mmfar:018c040c  bfar: 018c040c
rcccsr:00000000
heap allocated: 406336
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0

--- crash at 2026/07/22 11:35:30---
build:ea1b8dc2-3.1.0-release.209542-gitlab-runner
   r0:018c0400    r1:00000100     r2:00000000    r3: 00000100
  r12:10000000    lr:240909c1     pc:2408cce8   psr: 01000000
 cfsr:00000082  hfsr:00000000  mmfar:018c040c  bfar: 018c040c
rcccsr:00000000
heap allocated: 406336
Lua totalbytes=0 GCdebt=0 GCestimate=0 stacksize=0