Project

General

Profile

Actions

Emulator Issues #5495

closed

Resident Evil Core Dumps when Pushing Boxes

Added by Kevin.S.Anthony almost 12 years ago.

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

  1. Resident Evil GBIE08

2)With Chris, Approach any pushable object in the residence and the game Core Dumps, you don't have to try and push it, all you have to do is touch it

  1. The game worked fine with Jill

4) What steps will reproduce the problem?

  1. Goto residence with chris
  2. walk into box right in front of double doors, or bookshelf in room 002
  3. Watch as game coredumps
  1. X86 Linux Dolphin 3.0-710(however i was running an older version when I first encountered the problem)

  2. I have altered every setting i could, nothing seems to stop the core dump. I also have tried two different ISO's.

Actions #1

Updated by tommyhl2.SS almost 12 years ago

System specs and memory card save to the area?

Actions #2

Updated by delroth almost 12 years ago

Can you provide a backtrace of the emulator when it crashes?

$ gdb Binaries/dolphin-emu
gdb> run
... reproduce the crash ...
gdb> thread apply backtrace

If you can, building dolphin with "cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo" will provide more useful informations for us, but a simple backtrace will help us a lot already.

Actions #3

Updated by Kevin.S.Anthony almost 12 years ago

Lenova W520 I7 extreme 16gb memory ocz ssd hdd, running ubuntu 12.04.
I can't save from this area, everytime i save, and load, i get memory card corrupt. but i can savestate.

PPCAnalyst::Flatten (address=2147522316, realsize=0x7fffba5248c4, st=0x7fffd4001d70, gpa=, fpa=0x7fffd4001efa, broken_block=@0x7fffba5248cf: false,
buffer=0x7fffd4002fa8, blockSize=32000, merged_addresses=0x7fffba524570, capacity_of_merged_addresses=32, size_of_merged_addresses=@0x7fffba5248c8: 1)
at /home/kevin/Code/floss_projects/dolphin-emu/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp:391
391 numCycles += opinfo->numCyclesMinusOne + 1

#0 PPCAnalyst::Flatten (address=2147522316, realsize=0x7fffba5248c4, st=0x7fffd4001d70, gpa=, fpa=0x7fffd4001efa, broken_block=@0x7fffba5248cf: false,
buffer=0x7fffd4002fa8, blockSize=32000, merged_addresses=0x7fffba524570, capacity_of_merged_addresses=32, size_of_merged_addresses=@0x7fffba5248c8: 1)
at /home/kevin/Code/floss_projects/dolphin-emu/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp:391
#1 0x00000000005d027f in Jit64::DoJit (this=0x7fffd4001b90, em_address=2147522300, code_buf=0x7fffd4002fa8, b=0x7fffcf714890)
at /home/kevin/Code/floss_projects/dolphin-emu/Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp:476
#2 0x00000000005d04eb in Jit64::Jit (this=0x7fffd4001b90, em_address=2147522300) at /home/kevin/Code/floss_projects/dolphin-emu/Source/Core/Core/Src/PowerPC/Jit64/Jit.cpp:417
#3 0x0000000042a00061 in ?? ()
#4 0x0000000000000003 in ?? ()
#5 0x0000000000000003 in ?? ()
#6 0x0000000000000000 in ?? ()

Actions #4

Updated by delroth almost 12 years ago

  • Status changed from New to Accepted

That's interesting, looks like the PPCAnalyst crashes because it tries to analyze an instruction which can't be decoded.

Could you try the following patch?

diff --git a/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp b/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp
index ddfec1c..943d547 100644
--- a/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp
+++ b/Source/Core/Core/Src/PowerPC/PPCAnalyst.cpp
@@ -388,6 +388,10 @@ u32 Flatten(u32 address, int *realsize, BlockStats *st, BlockRegStats *gpa,
code[i].branchTo = -1;
code[i].branchToIndex = -1;
code[i].skip = false;
+

  •                   if (!opinfo)
    
  •                           continue;
    
  •                   numCycles += opinfo->numCyclesMinusOne + 1;
    
                      code[i].wantsCR0 = false;
    

Cc-ing skidau because I don't know anything about that part of the code.

Actions #5

Updated by skidau almost 12 years ago

Kevin, would you please upload the save-state to a file sharing host and link it here?

Actions #7

Updated by allanliu87 about 11 years ago

I did a quick test with the latest build, make chris go to the status room on first floor and pushed the crate behind. Everything seems fine.

Actions #8

Updated by skidau about 11 years ago

  • Status changed from Accepted to Fixed
Actions

Also available in: Atom PDF