Project

General

Profile

Actions

Emulator Issues #10557

open

Planet 51 - Invalid reads & writes at start up

Added by TrivialMan over 6 years ago. Updated about 3 years ago.

Status:
Accepted
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?

Planet 51

Game ID? (right click the game in the game list, properties, info tab)

RGAE8P

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

0756C89E30F47D4C5461B9409CC7432A

What's the problem? Describe what went wrong.

Upon booting the game a number of warnings about invalid reads and writes occur.

What steps will reproduce the problem?

Boot the game and the warning show up.

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

It is present in 5.0-5581

Is the issue present in the latest stable version?

No, it's not in 5.0

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.)

5.0-540 is the earliest build I could find with the bug

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

AMD FX-6300 Six-Core Processor
NVIDIA GeForce GTX 750 Ti
Windows 7 64-bit

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

The warning messages are, in order:

Invalid read from 0x000002f8, PC = 0x804fd54c
Invalid write to 0x000002f4, PC = 0x805a9684
Invalid write to 0x000002f8, PC = 0x805a9684
Invalid write to 0x000002f8, PC = 0x805a9684
Invalid write to 0x000002f4, PC = 0x805a9684
Invalid read from 0x000002d0, PC = 0x805a9684
Invalid read from 0x000002d4, PC = 0x805a9684
Invalid read from 0x000002f8, PC = 0x804fd54c
Invalid write to 0x000002f4, PC = 0x805a9684
Invalid write to 0x000002f8, PC = 0x805a9684
Invalid write to 0x000002f8, PC = 0x805a9684
Invalid write to 0x000002f4, PC = 0x805a9684
Invalid read from 0x000002d0, PC = 0x805a9684
Invalid read from 0x000002d4, PC = 0x805a9684


Files

dolphin.log (7.72 KB) dolphin.log TrivialMan, 09/26/2017 03:16 AM
dolphin_feb-2-20201.log (74.4 KB) dolphin_feb-2-20201.log Updated Planet 51 freeze log TrivialMan, 02/22/2021 09:11 PM
Actions #1

Updated by JMC4789 over 6 years ago

What happens if you right click the game in the gamelist and make Enable MMU a checkmark instead of a box.

Actions #2

Updated by TrivialMan over 6 years ago

With Enable MMU checked instead of boxed the game seems to hang indefinitely. Doesn't even make it to rendering the first screen.

Actions #3

Updated by JMC4789 over 6 years ago

That's what I'd expect.

Without the game, I can't really do much more, but, maybe someone who knows more about Dolphin can comment. If you go into the logs and get the crashdump that teh game provides will probably help.

Actions #4

Updated by TrivialMan over 6 years ago

Nothing is actually crashing though. The game boots fine once it gets past those instructions and when it hangs with MMU Enabled... it just hangs. Sits there for the 5 or so minutes I let it before stopping it manually. Is there a way I can get a useful log out of either of these situations?

Actions #5

Updated by JMC4789 over 6 years ago

The invalid reads are Dolphin incorrectly emulating things. The correct behavior is that the game should crash given how Dolphin is handling it. Obviously, it's handling it wrong.

We need to figure out why those invalid reads happen to have the game. If you turn on logging and let it hang, the logs will show the game's crash.

Actions #6

Updated by TrivialMan over 6 years ago

I found logging. I pasted the output here, but also just attached it in case that's too much and needs removed for readability.

`10:35:049 ConfigLoaders\BaseConfigLoader.cpp:59 N[CORE]: Disabling WC24 'standby' (shutdown to idle) to avoid 'hanging on shutdown
11:03:747 ConfigManager.cpp:76 N[BOOT]: Saving settings to {private}/Dolphin Emulator/Config/Dolphin.ini
12:12:925 ConfigManager.cpp:738 N[CORE]: Active title: Planet 51: The Game (RGAE8P)
12:12:929 ConfigLoaders\BaseConfigLoader.cpp:59 N[CORE]: Disabling WC24 'standby' (shutdown to idle) to avoid hanging on shutdown
12:12:939 Core.cpp:985 N[COMMON]: Want determinism <- false
12:13:196 Boot\Boot.cpp:302 N[BOOT]: Booting from disc: {private}/Planet 51.iso
12:13:220 HLE\HLE_OS.cpp:82 N[OSREPORT]: 812003d8->81300000|
Apploader Initialized.
12:13:221 HLE\HLE_OS.cpp:82 N[OSREPORT]: 812003f4->81300000| This Apploader built Feb 24 2009 10:02:35 for RVL
12:13:679 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - EXI release build: Jul 30 2008 19:19:33 (0x4199_60831) >>

12:13:679 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - SI release build: Jul 30 2008 19:23:33 (0x4199_60831) >>

12:13:795 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]:

12:13:795 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Revolution OS

12:13:798 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Kernel built : Feb 24 2009 01:12:18

12:13:798 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Console Type : NDEV 2.1

12:13:800 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Firmware : 53.22.31 (3/3/2010)

12:13:800 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Memory 88 MB

12:13:802 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: MEM1 Arena : 0x806d7d80 - 0x8178e8e0

12:13:802 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: MEM2 Arena : 0x90000800 - 0x935e0000

12:13:802 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - OS release build: Feb 24 2009 01:12:18 (0x4199_60831) >>

12:13:837 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - SC release build: Jul 30 2008 19:24:21 (0x4199_60831) >>

12:13:839 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - NAND release build: Sep 11 2008 17:34:00 (0x4199_60831) >>

12:13:850 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - DVD release build: Feb 24 2009 01:09:29 (0x4199_60831) >>

12:13:940 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - VI release build: Sep 11 2008 17:33:38 (0x4199_60831) >>

12:13:956 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - GX release build: Feb 24 2009 01:11:59 (0x4199_60831) >>

12:14:058 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - WPAD release build: Feb 24 2009 01:12:45 (0x4199_60831) >>

12:14:061 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - KPAD release build: Feb 24 2009 01:12:09 (0x4199_60831) >>

12:14:555 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - PAD release build: Jul 30 2008 19:23:33 (0x4199_60831) >>

12:15:722 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - AI release build: Jul 30 2008 19:18:38 (0x4199_60831) >>

12:15:723 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - AX release build: Feb 24 2009 01:09:09 (0x4199_60831) >>

12:15:726 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - DSP release build: Jul 30 2008 19:19:22 (0x4199_60831) >>

12:15:871 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: << RVL_SDK - ENC release build: Jul 30 2008 19:24:40 (0x4199_60831) >>

12:16:508 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: ------------------------- Context 0x806d7938 -------------------------

12:16:509 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r0 = 0x00000001 ( 1) r16 = 0x00000000 ( 0)

12:16:510 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r1 = 0x806d73d0 ( -2140310576) r17 = 0x00000000 ( 0)

12:16:510 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r2 = 0x806c8f20 ( -2140369120) r18 = 0x00000000 ( 0)

12:16:510 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r3 = 0x00000000 ( 0) r19 = 0x00000000 ( 0)

12:16:510 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r4 = 0x00000032 ( 50) r20 = 0x00000000 ( 0)

12:16:511 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r5 = 0x00000000 ( 0) r21 = 0x00000000 ( 0)

12:16:511 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r6 = 0x00000000 ( 0) r22 = 0x00000000 ( 0)

12:16:511 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r7 = 0x00000010 ( 16) r23 = 0x80d64d20 ( -2133439200)

12:16:511 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r8 = 0x00000000 ( 0) r24 = 0x0000000c ( 12)

12:16:511 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r9 = 0x00000000 ( 0) r25 = 0x00000012 ( 18)

12:16:512 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r10 = 0x00000000 ( 0) r26 = 0x00000000 ( 0)

12:16:512 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r11 = 0x806d7430 ( -2140310480) r27 = 0x00000000 ( 0)

12:16:512 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r12 = 0x802cf6d0 ( -2144536880) r28 = 0x806d7da0 ( -2140308064)

12:16:512 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r13 = 0x806c5e80 ( -2140381568) r29 = 0x00000000 ( 0)

12:16:513 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r14 = 0x00000000 ( 0) r30 = 0x00000000 ( 0)

12:16:513 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: r15 = 0x00000000 ( 0) r31 = 0x00000000 ( 0)

12:16:513 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: LR = 0x804fd554 CR = 0x22000488

12:16:513 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: SRR0 = 0x804fd578 SRR1 = 0x00000032

12:16:513 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: DSISR= 0x42000000 DAR = 0x000002f8

12:16:514 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]:

12:16:514 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Address: Back Chain LR Save

12:16:514 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d73d0: 0x806d73f0 0x00000001

12:16:514 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d73f0: 0x806d7400 0x8052468c

12:16:514 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7400: 0x806d7430 0x802da988

12:16:514 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7430: 0x806d7440 0x8028908c

12:16:514 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7440: 0x806d78f0 0x802cfd7c

12:16:514 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d78f0: 0x806d7910 0x802cf7e0

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7910: 0x806d7930 0x802cf714

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7930: 0x806d7c10 0x8050de34

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7c10: 0x806d7c30 0x804fca48

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7c30: 0x806d7c38 0x804ff7bc

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7c38: 0x806d7c48 0x00000000

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7c48: 0x806d7c58 0x80500454

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7c58: 0x806d7c78 0x8050fbc0

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7c78: 0x806d7d28 0x802d17d0

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7d28: 0x806d7d38 0x8000a5dc

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7d38: 0x806d7d78 0x8000f778

12:16:515 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: 0x806d7d78: 0xffffffff 0x800041a4

12:16:516 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]:

12:16:516 HW\EXI\EXI_DeviceIPL.cpp:343 N[OSREPORT]: Instruction at 0x804fd578 (read from SRR0) attempted to access invalid address 0x2f8 (read from DAR)

13:38:817 D3DBase.cpp:485 N[Video]: Successfully released all device references!
13:38:979 ConfigLoaders\BaseConfigLoader.cpp:59 N[CORE]: Disabling WC24 'standby' (shutdown to idle) to avoid hanging on shutdown`

Actions #7

Updated by JMC4789 almost 6 years ago

  • Status changed from New to Accepted

Confirmed.

Actions #8

Updated by TrivialMan about 3 years ago

Just poking this to point out that the issue still exists in 5.0-13694. Attached is another log file that contains mostly the same information as the last. It seems as though that either I didn't enable all the logging options at the time I made the earlier log, or new logging options have been created since then. I doubt it is of any further use, but it is attached as well. The IOS spam and forced shutdown information after the freeze have been trimmed from it.

Actions

Also available in: Atom PDF