Project

General

Profile

Actions

Emulator Issues #12410

closed

Memory leak and freeze when pausing Dolphin with Threads tab open in Debugger UI

Added by JoshuaMKW about 3 years ago. Updated about 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-13712

Description

Game Name?

Super Mario Sunshine

Game ID? (right click the game in the game list, Properties, Info tab)

GMSE01

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

0c6d2edae9fdf40dfc410ff1623e4119

What's the problem? Describe what went wrong.

Right before a level starts, pausing/loading breakpoints/etc causes a memory leak and freeze in Dolphin when the Threads tab is open in the Debugger UI

What steps will reproduce the problem?

Pause the emulation about half a second before the level begins during the blackscreen, either with breakpoints or the pause button or whatever, and a freeze will occur

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes, 5.0-13616

Is the issue present in the latest stable version?

No

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

What are your PC specifications? (CPU, GPU, Operating System, more)

AMD Ryzen 5 3600x
Nvidia GeForce GTX 1650
Windows 10
32gb 3200mhz RAM
1TB M.2 SSD

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Actions #1

Updated by sepalani about 3 years ago

When Dolphin is paused and the Threads widget is open, it will rescan the memory to update itself with the appropriate values.

If it gets stuck but doesn't crash/close Dolphin, then there is maybe a loop in the active threads chain.

Is the issue fixed if you grab the Dolphin build from this PR?

Does this issue happen outside loading screen or in other games?

Actions #2

Updated by JoshuaMKW about 3 years ago

The issue does appear to be resolved in the new PR!

A loop in the threads chain is probably it honestly, especially since your changes seem to have fixed the bug.

I've had the issue happen mid game before, it's just I had a consistent setup with the loading screen :P

Actions #3

Updated by leoetlino about 3 years ago

  • Status changed from New to Fix pending
Actions #4

Updated by leoetlino about 3 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-13712
Actions

Also available in: Atom PDF