libretro / libretro/RetroArch

Retroarch crashes when paused for a long time

Open
#10,016 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When pausing the emulator using either the "Pause Toggle" menu item in the "Command" menu or enabling the config option to pause emulation while in the background (main menu>Settings>User Interface>Don't Run in Background), then leaving everything in the paused state for an extended period of time (exact time unknown, but at least an hour, if not several), causes the whole program to completely stop running. No errors or other messages are shown in the log console when this happens.

  1. Pause the emulator
  2. Change focus to another window or minimize the RetroArch window for a long time
  3. Switch back to the RetroArch window
  4. RetroArch window can't be interacted with beyond minimizing/maximizing and must be killed

OS: Windows 7 x64
RetroArch: 1.8.2, but have seen this issue as well with 1.7.4 and 1.7.6

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 failure with the Command > Pause Toggle menu item and with “Don’t Run in Background” enabled on Windows. Leave RetroArch paused and unfocused for an extended period, then inspect the available log output when returning to the window. Done means the emulator remains interactive after the pause interval, with the regression covered by an appropriate test or reproducible diagnostic.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
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.