Project

General

Profile

Emulator Issues #12715

Dolphin crashes when fetching instruction from invalid physical address

Added by Adamillo about 1 month ago. Updated about 1 month ago.

Status:
New
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

Game Name?

Sonic Colors

Game ID? (right click the game in the game list, Properties, Info tab)

SNCP8P

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

977acab35b84ce8b0e3420574a8acde5

What's the problem? Describe what went wrong.

With the Sonic Unleashed high poly model mod when you try to load a Level with the mod active the game crashes because it runs out of RAM as it would do on console. This kind of crash shouldn't crash Dolphin entirely. However this isn't the case with the Gameland levels. When you try to load a Gameland level with the mod Dolphin closes entirely. This is definitely not an intended response and this does not happen with the interpreter.

What steps will reproduce the problem?

Boot the game with the Sonic Unleashed high poly Sonic model mod active and head over to the gameland planet. Here, just load any Gameland level, and Dolphin should crash.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-15377

Is the issue present in the latest stable version?

On stable 5.0 the game can't boot while the mod is active

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

N/A

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

N/A

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

CPU: Intel i5-7360U 2.30GHz
GPU: Intel Iris Plus Graphics 640
RAM: 8GB

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Here are the stack traces:

DolphinD.exe!Common::swap32(const unsigned char * data) Line 116 C++
DolphinD.exe!Memory::Read_U32(unsigned int address) Line 573 C++
DolphinD.exe!PowerPC::InstructionCache::ReadInstruction(unsigned int addr) Line 184 C++
DolphinD.exe!PowerPC::TryReadInstruction(unsigned int address) Line 461 C++
DolphinD.exe!PPCAnalyst::PPCAnalyzer::Analyze(unsigned int address, PPCAnalyst::CodeBlock * block, std::vectorPPCAnalyst::CodeOp,std::allocator<PPCAnalyst::CodeOp> * buffer, unsigned __int64 block_size) Line 772 C++
DolphinD.exe!Jit64::Jit(unsigned int em_address, bool clear_cache_and_retry_on_failure) Line 827 C++
DolphinD.exe!Jit64::Jit(unsigned int em_address) Line 766 C++
DolphinD.exe!JitTrampoline(JitBase & jit, unsigned int em_address) Line 20 C++
[External Code]

History

#1 Updated by Adamillo about 1 month ago

Forgot to mention it's running on Windows 10

#2 Updated by JosJuice about 1 month ago

  • Subject changed from Dolphin closes after the game runs out of RAM to Dolphin crashes when fetching instruction from invalid physical address

Also available in: Atom PDF