Project

General

Profile

Actions

Emulator Issues #12856

open

Mario Kart Double Dash (GM4E01) crashes when debug UI is enabled

Added by Rena almost 3 years ago. Updated about 4 hours 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

When Dolphin's debugger is enabled, this game crashes immediately at startup:

19:26:675 Core/HLE/HLE.cpp:133 I[HLE]: Patching OSPanic 800fa034
19:26:676 Core/HLE/HLE.cpp:133 I[HLE]: Patching JUTWarningConsole_f 80074cb4
19:26:676 Core/HLE/HLE.cpp:133 I[HLE]: Patching OSReport 800f9fb4
19:26:677 Core/HLE/HLE.cpp:133 I[HLE]: Patching __DSP_debug_printf 800c4088
19:26:678 Core/HLE/HLE.cpp:133 I[HLE]: Patching vprintf 80115998
19:26:680 Core/HLE/HLE.cpp:133 I[HLE]: Patching fprintf 80115a20
19:26:682 Core/HLE/HLE.cpp:133 I[HLE]: Patching __write_console 8011b090
19:26:682 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:682 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:682 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:682 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:683 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:683 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:683 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:683 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:775 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:809 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - EXI	release build: Apr 17 2003 12:33:17 (0x2301) >>
19:26:810 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - SI	release build: Apr 17 2003 12:33:19 (0x2301) >>
19:26:817 Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:418 I[PowerPC]: DBAT updated 536 80001fff 0
19:26:821 Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:418 I[PowerPC]: DBAT updated 536 0 800001ff
19:26:822 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:822 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:822 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:822 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:825 Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:441 I[PowerPC]: IBAT updated 528 80001fff 0
19:26:825 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:825 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:825 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:825 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:26:828 Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:441 I[PowerPC]: IBAT updated 528 0 800001ff
19:26:831 Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:418 I[PowerPC]: DBAT updated 541 0 1000002
19:26:834 Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:418 I[PowerPC]: DBAT updated 540 0 810000ff
19:26:838 Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:441 I[PowerPC]: IBAT updated 533 0 1000002
19:26:842 Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp:441 I[PowerPC]: IBAT updated 532 0 810000ff
19:26:853 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: 
19:26:853 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: Dolphin OS
19:26:857 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: Kernel built : Jul 23 2003 11:27:16
19:26:861 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: Console Type : Development HW3 (10000006)
19:26:862 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: Memory 24 MB
19:26:862 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: Arena : 0x803e2300 - 0x817fece0
19:26:862 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - OS	release build: Jul 23 2003 11:27:16 (0x2301) >>
19:26:882 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - DVD	release build: Jul 23 2003 11:27:57 (0x2301) >>
19:26:916 UICommon/X11Utils.cpp:62 I[Video]: Started xdg-screensaver (PID = 16447)
19:26:917 Common/FileUtil.cpp:915 I[COMMON]: GetSysDirectory: Setting to /usr/local/share/dolphin-emu/sys/:
19:27:021 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - AR	release build: Apr 17 2003 12:33:55 (0x2301) >>
19:27:023 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - ARQ	release build: Apr 17 2003 12:33:56 (0x2301) >>
19:27:028 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - VI	release build: Apr 17 2003 12:33:22 (0x2301) >>
19:27:039 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - GX	release build: Jul 23 2003 11:27:39 (0x2301) >>
19:27:061 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - PAD	release build: Aug  6 2003 04:30:02 (0x2301) >>
19:27:068 Core/HLE/HLE_OS.cpp:39 E[MASTER]: Warning: OSPanic: : 
19:27:077 Core/HLE/HLE_OS.cpp:39 E[MASTER]: Warning: OSPanic: : 
19:27:078 Core/HLE/HLE_OS.cpp:39 E[MASTER]: Warning: OSPanic: : 
19:27:078 Core/HLE/HLE_OS.cpp:39 E[MASTER]: Warning: OSPanic: : 
19:27:091 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - DSP	release build: Apr 17 2003 12:34:16 (0x2301) >>
19:27:107 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - CARD	release build: Apr 17 2003 12:34:19 (0x2301) >>
19:27:183 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - IP	release build: Sep 29 2003 18:25:54 (0x2301) >>
19:27:188 Core/HW/EXI/EXI_DeviceIPL.cpp:306 N[OSREPORT]: << Dolphin SDK - ETH	release build: Aug  5 2003 17:18:42 (0x2301) >>
19:27:201 Core/HW/EXI/EXI_DeviceEthernet.cpp:347 I[SP1]: Software reset
19:27:201 Core/HW/EXI/BBA/TAP_Unix.cpp:62 E[SP1]: TUNSETIFF failed: Interface=Dolphin31 err=-1
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:330 N[PowerPC]: Last PC = 812fffc8 : 	---
19:27:216 Core/Debugger/Debugger_SymbolMap.cpp:102 N[PowerPC]: == STACK TRACE - SP = 8039e6b0 ==
19:27:216 Core/Debugger/Debugger_SymbolMap.cpp:111 N[PowerPC]:  * OSSetProgressiveMode  [ LR = 800fcbf0 ]
19:27:216 Core/Debugger/Debugger_SymbolMap.cpp:118 N[PowerPC]:  * SORecvFrom [ addr = 800eb968 ]
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:332 N[PowerPC]: 
IntCPU: Unknown instruction 00000000 at PC = 800fa4d0  last_PC = 812fffc8  LR = 800fcbf0
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:338 N[PowerPC]: r0: 0x800eb968 r1: 0x8039e6b0 r2: 0x803d45a0 r3: 0x803cb5b4
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:338 N[PowerPC]: r4: 0x80350000 r5: 0x80380000 r6: 0x800fcbbc r7: 0x00000008
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:338 N[PowerPC]: r8: 0x00000008 r9: 0x00000000 r10: 0x00000000 r11: 0x00009032
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:338 N[PowerPC]: r12: 0x800eb00c r13: 0x803d1420 r14: 0x00000000 r15: 0x00000000
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:338 N[PowerPC]: r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:338 N[PowerPC]: r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:338 N[PowerPC]: r24: 0x00000000 r25: 0x00000000 r26: 0x00000000 r27: 0x8037afa0
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:338 N[PowerPC]: r28: 0x80348758 r29: 0x00010000 r30: 0x00000000 r31: 0xeffffffa
19:27:216 Core/PowerPC/Interpreter/Interpreter.cpp:341 E[PowerPC]: Warning: An error occurred.


IntCPU: Unknown instruction 00000000 at PC = 800fa4d0  last_PC = 812fffc8  LR = 800fcbf0


  Condition: 0
  File: /home/rena/projects/dolphin/dolphin/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp
  Line: 341
  Function: unknown_instruction

Ignore and continue?

When debug UI is turned off, the game works fine. Other games don't seem to have any problems. No hacks/cheats/patches are turned on.

Version: 5.0.16116-dirty (just built today)
System: Artix Linux x64

Actions #1

Updated by Anonymous over 2 years ago

I'm assuming this happens because of the HLE patches you are applying. When I run this title in debugger, generate symbols from signature database, and patch hle functions, dolphin shows this:

59:52:237 Core\HLE\HLE.cpp:133 I[HLE]: Patching OSPanic 800e80f8
59:52:237 Core\HLE\HLE.cpp:133 I[HLE]: Patching OSReport 800e8078
59:52:240 Core\HLE\HLE.cpp:133 I[HLE]: Patching ___blank 800b3344
59:52:240 Core\HLE\HLE.cpp:133 I[HLE]: Patching ___blank 800f07b0
59:52:240 Core\HLE\HLE.cpp:133 I[HLE]: Patching ___blank 80112194

...which differs from yours. can you just try clearing out those patches? How did you generate them?

Actions #2

Updated by JMC4789 about 2 years ago

  • Status changed from New to Invalid

No response.

Actions #3

Updated by Rena 2 days ago

Sorry, I somehow forgot all about this. It still happens with today's build. It also happens if any Gecko (but not AR) codes are enabled (with or without the debug UI). With no cheats enabled and debug UI disabled, the game works.

I don't know what these HLE patches are.

Actions #4

Updated by JosJuice about 4 hours ago

  • Status changed from Invalid to New
Actions

Also available in: Atom PDF