RetroESP32 icon indicating copy to clipboard operation
RetroESP32 copied to clipboard

UI Crashes after scrolling past ~5600 chars of rom names.

Open Gavitron opened this issue 6 months ago • 0 comments

Describe the bug I can reliably crash RetroESP32 by simply scrolling through ROMs in the main UX. I have reproduced this in both the v2.6 and v2.8 releases on an Odroid GO Anniversary edition.

To Reproduce Steps to reproduce the behavior:

  1. create a directory for NES roms on your SD card
  2. fill the rom directory with approx 500 roms. (minimum might be ~200 roms, I have 1109.)
  3. install SD card into device and boot to retroESP once startup complates:
  4. press RIGHT until the list of NES roms is displayed.
  5. press DOWN repeatedly to scroll the list.
  6. after approximately 175 roms, (or approx 5500 total chars in filenames,) the list stops scrolling, and the game title listed at the top gets corrupted.
  7. press down a few more times, the corrupted rom name changes a few times, until the whole device restarts. after device restarts:
  8. repeat step 4
  9. repeat steps 5-7, but presssing UP instead of down. 10 observe identical crash as before.

Expected behavior I should be able to scroll through all 1100+ roms.

Screenshots This is a clip showing the corruption as I scroll down

Environment

  • Hardware: Odroid Go - Anniversary Edition
  • SD Card - 16GB
  • Retro-ESP32 Version - confirmed in both 2.6 and 2.8

Additional context I have ensured I am on the latest release, and that neither the roms nor the SD filesystem are corrupt. No rom filenames contain invalid or unprintable characters. While the line-count is different when scrolling from top down or bottom-up, the approximate character count is consistent in both directions, approx 5500 chars not counting the ".nes" file suffix.

Gavitron avatar Jun 22 '25 08:06 Gavitron