Emulator Issues #4244
closedFatal frame 4 crash
0%
Description
What steps will reproduce the problem?
- run fatal frame 4 ()
- load from third slot of memory card that attached here.
- enter the closest door. There is a ladder down and two more doors. left and right.
- choose the left one that leading to another room with thing where u need to switch rumbles in a box on the wall, make switches to be like that: "up up down down up".
- after switched u will see the ghost enter another door follow it.
- walk until the end of the path, pick up lens and back to where u from - when u try to open the door the ghost will attack u, finish it and when it done the game will crash...
What is the expected output? What do you see instead?
game must continue to run, instead of crashing
Dolphin version with the problem? Other Dolphin version without the
problem?
with problem - all, without - all remains
32-bit or 64-bit and any other build parameters?
32-bit
OS version and versions of tools/libraries used?
win xp 32-bit. vc++ 2010 express. dxsdk feb 2010
Please provide any additional information below.
i captured this crash in fatal frame 4, but i think other games would crash too, if this function get called second time. as i see (but maybe i am wrong) this thing calls only at game startup, i never saw it called second time in other games.
code:
void CCPU::Run()
{
Host_UpdateDisasmDialog();
while (true)
{
reswitch:
switch (PowerPC::GetState())
{
case PowerPC::CPU_RUNNING:
//1: enter a fast runloop
PowerPC::RunLoop(); //<-- green pointer here (but actually i tracked down this crash deeper in RunLoop() at calling Host_UpdateDisasmDialog())
break;
call stack:
yellow> 144aff99()
green> Dolphin.exe!CCPU::Run() String 59 + 0x13 byte C++
Dolphin.exe!Core::CpuThread() String 359 C++
Dolphin.exe!std::thread::RunAndDelete<std::thread::Func<void (__cdecl*)(void)> >(void * param) String 267 C++
Dolphin.exe!_callthreadstartex() String 314 + 0x6 byte C
Dolphin.exe!_threadstartex(void * ptd) String 292 + 0x5 byte C
kernel32.dll!7c80b729()
exception type: acces violation at reading