Emulator Issues #12410
closedMemory leak and freeze when pausing Dolphin with Threads tab open in Debugger UI
0%
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)
Updated by sepalani almost 4 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?
- https://github.com/dolphin-emu/dolphin/pull/9535
- Windows build: https://dl.dolphin-emu.org/prs/45/4d/pr-9535-dolphin-latest-x64.7z / https://dolphin.ci/#/builders/21/builds/3193
Does this issue happen outside loading screen or in other games?
Updated by JoshuaMKW almost 4 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
Updated by leoetlino almost 4 years ago
- Status changed from New to Fix pending
Updated by leoetlino almost 4 years ago
- Status changed from Fix pending to Fixed
- Fixed in set to 5.0-13712