Skip to content

[Spade] Deleting or uploading a game on a fresh build causes Out of Memory #3859

Description

@creeperlulu

Describe the bug
Uploading a game from the Sprig website to a Sprig hardware, or deleting a game from the Sprig hardware using the dedicated Spade feature causes a PANIC error of type "Out of Memory" in the serial console, and Spade freezes. This seems to happen on fresh builds (not prebuilt, meaning compiled by yourself from the firmware/spade folder)

To Reproduce
Steps to reproduce the behavior:

  1. Compile Spade by yourself
  2. Flash it onto your Sprig (note: it only works a certain way, see [Spade] Cleanly compiled firmware doesn't boot properly #3858)
  3. Try to upload a game to your Sprig.
  4. See a Out of Memory error in the serial log (or if you don't have a serial console, see how Spade freezes)
  5. This occurs as well if, right between flashing the proper firmware and flashing your own firmware, you upload a game, then after flashing your own firmware you try deleting the game you uploaded.

Expected behavior
Games should appear in the list or disappear from the list once uploaded or deleted.

Actual behavior
Spade freezes and gives an Out of Memory error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions