libretro / libretro/RetroArch

Ozone menu driver crashes when loading large cheat files.

Open
#11,236 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cheats crash menu: ozone
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

When loading extremely large cheat files and using Ozone as the menu driver, RetroArch crashes. This doesn't occur with XMB or RGUI.

Expected behavior

Ridiculously large cheat file loads and cheats can be used in Ozone menu.

Actual behavior

Crash, unless not using Ozone.

Steps to reproduce the bug
  1. Set menu driver to Ozone and load a game. (tested with Final Fantasy III, US version)
  2. Try to load a ridiculously large cheat file, such as the one for Final Fantasy III.
  3. Crash.
Bisect Results

Tested with 1.7.6 as it's the oldest Ozone-containing and convenient package I could install. Same issue, cheat menu crashes in Ozone with huge cheat file.

Version/Commit
  • RetroArch: 1.9.0, Git version 5e551dd92b
Environment information
  • OS: Arch Linux, kernel 5.8
  • Compiler: GCC 10.1.0 64-bit

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash in the Ozone cheat menu with the large Final Fantasy III cheat file, using RetroArch 1.9.0 or the reported commit. Compare the same file under XMB and RGUI, then trace the Ozone menu driver's cheat-loading path. Done means the large file loads and cheats remain usable in Ozone without a crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.