Project

General

Profile

Actions

Emulator Issues #1396

closed

Enabling Interpreter without game running crashes

Added by BhaaL over 14 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:

Description

What steps will reproduce the problem?

  1. Run Dolphin in Debug mode
  2. With no game running, select "JIT > Interpreter Core" or "JIT > JIT off
    (JIT core)"
  3. Crash in JitBlockCache::Clear

What is the expected output? What do you see instead?
Instead of a crash, nothing should happen.
Or even better, the menus should be disabled by default. Having them active
with no game running had me enable Interpreter before running the game,
resulting in the crash.

What version of the product are you using? On what operating system?
Rev. 4253 on WinXP Pro SP2

Please provide any additional information below.
See this patch for a possible fix:
http://pastie.org/613645
As said above, it would probably be better to disable the menus altogether,
since it also affects other things.
For example, this breaks the "Play/Pause" Button of the Debugger when
running a game. It stays disabled until you click another button, for
example "Show PC".

Actions

Also available in: Atom PDF