Project

General

Profile

Actions

Emulator Issues #10394

closed

Resident Evil main hall crashing Dolphin

Added by Forscythe over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
High
Assignee:
% Done:

0%

Operating system:
N/A
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-3981
Fixed in:
5.0-5261

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

RE-error.jpg (2.33 MB) RE-error.jpg Graphical bug Forscythe, 07/08/2017 02:49 AM
dolphin.log (14.1 KB) dolphin.log Log of the crash Forscythe, 07/08/2017 02:51 AM
RE-error2.jpg (547 KB) RE-error2.jpg Dolphin crash popup Forscythe, 07/08/2017 02:55 AM
RE-error3.jpg (550 KB) RE-error3.jpg Second crash popup Forscythe, 07/08/2017 02:55 AM

Related issues 3 (0 open3 closed)

Has duplicate Emulator - Emulator Issues #10343: Resident Evil Remake freeze after introDuplicate

Actions
Has duplicate Emulator - Emulator Issues #10403: Resident evil 1 archives Wii crash (Jump target too far away)Duplicate

Actions
Has duplicate Emulator - Emulator Issues #10431: Resident Evil 1 crashes with Error Duplicate

Actions
Actions #1

Updated by JosJuice over 6 years ago

Actions #2

Updated by JosJuice over 6 years ago

Actions #3

Updated by JosJuice over 6 years ago

  • Milestone set to Current
  • Regression changed from No to Yes
  • Regression start set to 5.0-3981
Actions #4

Updated by JosJuice over 6 years ago

Actions #5

Updated by JMC4789 over 6 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?

Actions #6

Updated by degasus over 6 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.

Actions #7

Updated by degasus over 6 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.

Actions #8

Updated by degasus over 6 years ago

  • Status changed from New to Fix pending
Actions #9

Updated by JosJuice over 6 years ago

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

Also available in: Atom PDF