libretro / libretro/RetroArch

[XSS/X] Selecting "Close Content" causes RA to Crash, making it impossible to create Game/Core overrides

Open
#11,989 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core bugs - not retroarch bugs platform: xbox series
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

On Xbox One or Series S/X consoles, selecting "Close Content" on certain Cores causes RA to Crash, making it impossible to create Game/Core overrides on FlyCast, DuckStation, Dolphin and their games. Seems to mainly occur with anything that uses Hardware Acceleration.

Expected behavior

Either for "Close Content" to NOT crash, or for "Save Core Overrides" / "Save Game Overrides" to actually save the config file without having to select "Close Content" for the file to write.

Actual behavior

After configuring a Core and selecting the option "Save Core Overrides" or "Save Game Overrides", then selecting "Close Content" causes RetroArch to crash to dashboard on FlyCast, DuckStation, Dolphin, and possibly others.

Steps to reproduce the bug
  1. Load any game on FlyCast, DuckStation or Dolphin
  2. Open the Quick Menu and select "Close Content"
  3. Witness RetroArch Crashing

OR

  1. Load any game on FlyCast, DuckStation or Dolphin
  2. Open the Quick Menu, change a number of Core Options
  3. Select "Create Game Options File"
  4. Navigate to Overrides and select "Save Core Overrides" or "Save Game Overrides".
  5. Select "Close Content" to apply changes, and witness RetroArch Crash.
  6. Attempt to load the game again to find that none of your changes have applied.
Bisect Results

This has always been a problem on Xbox One/Series consoles.

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.9.0
  • Build Date: Jan 7 2021
  • Compiler MSVC (1928) 64 bit
Environment information

Xbox One/S/X and Xbox Series S/X consoles.

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 Quick Menu "Close Content" crash on Xbox One/Series S/X with FlyCast, DuckStation, or Dolphin, then trace the close-content and override-saving paths. Done means closing content no longer crashes and the saved core or game override is present when the game is loaded again.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
game-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.