Project

General

Profile

Actions

Emulator Issues #2181

closed

Unlimited Jit Cache crashes emulator (r4891)

Added by Autoran1 about 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

Right after merging Jit/JitIl r4891 in debugger choosing Unlimited Jit
Cache leads to imidiate emu crash

Actions #1

Updated by BhaaL about 14 years ago

  • Status changed from New to Accepted

I can reproduce this, but not as you described.
r4980 crashes when:

  1. Checking Unlimited JIT Cache
  2. Running a Game (I tried this with the Wii Menu)
  3. Stopping the Game
  4. Unchecking Unlimited JIT Cache

Step 4 crashes with something that looks like a Stack Overflow inside EMM::Handler,
PRIV_INSTRUCTION is raised again and again.

Altho, the real question should be why you still need Unlimited JIT Cache?

Actions #2

Updated by skidau about 14 years ago

My understanding is that the unlimited jit cache is always enabled. I am not sure
what this option does (I didn't know it existed) but it should probably be removed
from the GUI.

Actions #3

Updated by sl1nk3.s about 14 years ago

well, i can't reproduce the crash, just enabling it doesn't cause a crash on head x64
build.
Also this hack should probably be removed, it doesn't really make sense anymore with
the iCache. (skidau > the "unlimited JIT cache" is not enabled by default, you may be
mistaking it with the icache, the unlimited JIT cache is just a bad hack introduced
to avoid some crashes when "clearing code cache" :p)

Actions #4

Updated by Anonymous about 14 years ago

IIRC, it was added to GUI (previously just being enabled at compile-time for
development) as a workaround for some SSBB crashes. I agree, it should be removed from
GUI either way.

Who will do the honors? :)

Actions #5

Updated by BhaaL about 14 years ago

Are there any games that still need unlimited JIT Cache (in GUI)?
If not, I'll take it and remove it.

Actions #6

Updated by Billiard26 almost 14 years ago

  • Status changed from Accepted to Fixed

Unlimited JIT Cache is no longer configurable.

Actions

Also available in: Atom PDF