Project

General

Profile

Emulator Issues #11920

5.0-11297 and newer freeze upon creating memory breakpoint when using DSP LLE on same thread

Added by Minty_Meeo 8 months ago. Updated 4 months ago.

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

0%

Operating system:
Issue type:
Bug
Milestone:
Current
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
5.0-11297
Fixed in:
5.0-11836

Description

What's the problem? Describe what went wrong.

Creating a Memory Breakpoint freezes Dolphin when the DSP Emulation Engine is not in DSP HLE mode.
The commit that causes this (https://github.com/dolphin-emu/dolphin/commit/e33acc07f9b98b863f70483bac491f2d85601b4a) changed the behavior of the DSP thread when pausing emulation, so obviously that has something to do with it.

What steps will reproduce the problem?

1) Set the DSP Emulation Engine to DSP LLE Recompiler or DSP LLE Interpreter
2) Attempt to make a memory breakpoint

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-11337)

Is the issue present in the latest stable version?

No. It first appeared in 5.0-11297.

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

Operating System: Windows 7 Ultimate x64 (6.1, Build 7601)
Processor/CPU: AMD Athlon II X2 255 Processor (2 CPUs), ~3.1GHz
Video Card/GPU: NVIDIA GeForce GTX 550
Memory/RAM: Mixed DDR2. Two Samsung 1GB. Two ULTRA(?) 1GB.

History

#1 Updated by JosJuice 8 months ago

  • Regression start set to 5.0-11297
  • Regression changed from No to Yes
  • Milestone set to Current
  • Subject changed from 5.0-11297 and beyond have debugger bug to 5.0-11297 and newer freeze upon creating memory breakpoint when using DSP LLE on thread

#2 Updated by pokechu22 4 months ago

I'm getting something similar, except only DSP LLE interpreter is affected (and DSP LLE interpreter does not use a thread). It also affects anything that calls DSPLLE::PauseAndLock (which mainly comes from calls to Core::RunAsCPUThread), not just the memory breakpoint. For instance, changing any setting (including audio volume or Show FPS), attempting to change discs (unrelated to #11503), or opening the graphics settings window for the first time.

(I am able to reproduce with DSP LLE recompiler when in determinism mode (tested by recording input), since determinism mode disables the DSP LLE thread.)

#3 Updated by JosJuice 4 months ago

  • Status changed from New to Fix pending

#4 Updated by JosJuice 4 months ago

  • Subject changed from 5.0-11297 and newer freeze upon creating memory breakpoint when using DSP LLE on thread to 5.0-11297 and newer freeze upon creating memory breakpoint when using DSP LLE not on same thread
  • Operating system deleted (N/A)

#5 Updated by JosJuice 4 months ago

  • Subject changed from 5.0-11297 and newer freeze upon creating memory breakpoint when using DSP LLE not on same thread to 5.0-11297 and newer freeze upon creating memory breakpoint when using DSP LLE on same thread

#6 Updated by JosJuice 4 months ago

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

Also available in: Atom PDF