libretro / libretro/RetroArch

PSP: Pressing the menu combo often hangs

Open
#10,247 8 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

Description

While in a core, pressing the menu combo button(s) to return to the menu will often instead cause RetroArch to completely freeze. The screen still shows the core but it will be frozen. The only option is to press the PSP home button and completely exit RetroArch; no other buttons work.

This happens to me on average once every play session of ~30 minutes. The only times it occured while I was doing development, I didn't have any breakpoints set and Ctrl+C in gdb wasn't able to stop the process, so I'm not sure at what point in the code this is happening. Maybe some kind of race condition?

Expected behavior

RetroArch should switch to the menu.

Actual behavior

RetroArch stays frozen at the core.

Steps to reproduce the bug

Unfortunately I haven't been able to consistently reproduce this. The best way to reproduce is to play for 30 minutes or so and return to the menu frequently. Save state spamming helps :)

Bisect Results

N/A

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.8.4 (but this has been happening as far as I can remember, at least back until 1.7.7)
Environment information
  • OS: PSP
  • Compiler: gcc

Thanks!

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 with the PSP menu-combination handling and the path taken when returning from a core to the menu; the issue provides no file or test entry point. Use a debugger while repeatedly switching menus during extended play, and consider the report resolved only when the menu combo consistently returns to the menu without freezing.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
game-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.