Emulator Issues #10394
closedResident Evil main hall crashing Dolphin
0%
Description
Game Name?
[Resident Evil]
Game ID? (right click the game in the game list, properties, info tab)
[GBIE08]
MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)
[bdd0fe3848c4ab1441dc6c9ee209426b]
What's the problem? Describe what went wrong.
[Resident Evil's main hall/first floor of the mansion crashes Dolphin.]
What steps will reproduce the problem?
[Starting a new game will crash right after the intro cut-scene, and loading a save file and then going to the first floor will also trigger the crash.]
Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?
[5.0-3977 was the last version without this error. 5.0-3981 and beyond all feature it]
What are your PC specifications? (CPU, GPU, Operating System, more)
[Operating System: Windows 8.1 x64
Processor/CPU: i5 4690k 3.9GHz
Video Card/GPU: GTX 1080ti
Memory/RAM: PNY 16GB DDR3 1866]
Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
[There's a graphical glitch present sometimes as well. It's a green stripe that extends to the center of the screen]
Files
Updated by JosJuice over 7 years ago
- Has duplicate Emulator Issues #10343: Resident Evil Remake freeze after intro added
Updated by JosJuice over 7 years ago
- Has duplicate Emulator Issues #10403: Resident evil 1 archives Wii crash (Jump target too far away) added
Updated by JosJuice over 7 years ago
- Milestone set to Current
- Regression changed from No to Yes
- Regression start set to 5.0-3981
Updated by JosJuice over 7 years ago
- Has duplicate Emulator Issues #10431: Resident Evil 1 crashes with Error added
Updated by JMC4789 about 7 years ago
- Assignee set to degasus
- Priority changed from Normal to High
Do we need to play the fallback game here? I assume this is a PIE issue?
Updated by degasus about 7 years ago
No fallback game is required here:
24:51:277 MsgHandler.cpp:92 E[*]: Warning: Jump target too far away, needs force5Bytes = true
AFAIK this is a PanicAlert, so we need a stack trace of this error message. And yes, very likely PIE issue.
Updated by degasus about 7 years ago
Based on the debugging of JMC4789:
The broken jump is here:
https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp#L422
eeDisabled is 128 bytes away, x64 only supports 127.
So it isn't really a PIE issue, but our code size increased a bit because of it. And writing a conditional exit within 127 bytes sounds risky as well.
Updated by degasus about 7 years ago
- Status changed from New to Fix pending
Updated by JosJuice about 7 years ago
- Status changed from Fix pending to Fixed
- Fixed in set to 5.0-5261