Project

General

Profile

Actions

Emulator Issues #5356

closed

SSBB crashes when "Insert SD card" is ticked

Added by Anonymous over 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

When loading Super Smash Bros Brawl with an SD card inserted (as an SD.raw file in /User/Wii/), the game crashes in the following scenarios:
-At the end of a versus match: if one of the players has chosen the character Snake, exactly when the match ends, Dolphin crashes (freeze, no error message).
-At the beginning of a versus match: if one of the players has chosen the character Olimar; as soon as the relevant apparition animation starts (which is during the loading, before anything appears on screen, if Player 1 is human and using Olimar), Dolphin crashes, with the error message:
"ERROR: Compiling at 0. LR=8077c3a8 CTR=00000000".

I am somewhat uncertain of the exact reproducibility conditions. It happens 100% of the time if it's the first match after launching the game. In later matches, it doesn't necessarily crash.

Switching "Insert SD card" off fixes the issue, and switching it back on leads to crashes again, even if the SD card is empty.
Changing other settings does not seem to have any effect (for instance, this happens both with and without Gecko codes activated).

This happens on all versions of Dolphin I've tried (3.0 onwards, 32 and 64bit, up to and including 3.0-589).

Note: this also seems tied to being able to save. Indeed, from Dolphin 3.0-460 onwards (see revision 6fe495e1aa77730b7d26ee64a89c6ecb2ec20449), if launching Brawl through Gecko OS (which is not what I was describing above), the game is unable to create a save file (complaining "There is not enough available space in Wii system memory." [...]) and in this case the crashes do not occur. Using versions prior to 3.0-460 (including 3.0-459), the savefile can be created, and the crashes happen again (even if no savefile exists and you refuse to create one at launch).


Related issues 2 (0 open2 closed)

Has duplicate Emulator - Emulator Issues #5480: Super Smash Bros. BRAWL Characters crash DolphinDuplicate

Actions
Has duplicate Emulator - Emulator Issues #6340: Brawl freezes to choose Mr. Game & Watch in the PAL versionDuplicate

Actions
Actions #1

Updated by Anonymous over 12 years ago

Sorry, I should point out this is the NTSC version, ie RSBE01.
It seems the same issue happens in PAL version, RSBP01, using different characters:
-Zelda/Sheik, Ness, Lucas at startup.
-Game & Watch, King Dedede and Lucas at end of match.

Switching "Insert SD card" off fixes the problem.

Actions #2

Updated by parlane over 12 years ago

Are you compiling yourself? I think I will need to get SSBB :(

Actions #3

Updated by Anonymous over 12 years ago

No, I'm not compiling myself. Anything I can do to help?

Actions #4

Updated by parlane over 12 years ago

Prob not then :D

Actions #5

Updated by parlane over 12 years ago

Actually if you know how to add arguments to the shortcut or run it from command line with /D ?

Then log all fileio operations :D

Actions #6

Updated by Anonymous over 12 years ago

OK, I compiled a DebugFast version of Dolphin and recorded all FileIO and SD operations. I attached the corresponding log.

Actions #7

Updated by Anonymous over 12 years ago

OK, I've attached another log. These are the file IO and file monitor operations that happen at the end of a match. This is what happens at the end of a match, when there is no crash. When there is a crash, Dolphin logs the first two lines of the attached log, and then stops and crashes.

Actions #8

Updated by skidau over 12 years ago

Issue 5480 has been merged into this issue.

Actions #9

Updated by DangeresqueVI almost 12 years ago

Just curious, has anyone found a fix for this yet? The problem still exists as of 3.0-878.

Actions #10

Updated by DangeresqueVI almost 12 years ago

I found the revision when this bug appeared if it helps. The bug showed up between Dolphin-win-x64-r4801 and Dolphin-win-x64-r4812 (Sorry It wont let link to the specific files, but they're both on SS's skydrive https://skydrive.live.com/?cid=F76F2C2B2...35891B!105).
The thing is, there was no sd card option in 4801, but there was in 4812. What I think this means is that the original sd card code had the bug or it showed up between 4801 and 4812.

Actions #12

Updated by Billiard26 over 11 years ago

  • Status changed from New to Accepted
  • Issue type set to Bug
Actions #13

Updated by mongolianmiller over 11 years ago

Problem CONTINUES to exist in version 3.5 stable release. Until the issue is resolved, I'm having to tell people to not use Olimar or Snake for their battles. Major loss, considering Snake is such a fun player.

Is there no way to correct the issue at hand? What on earth is causing it?

Actions #14

Updated by Amigarafault over 11 years ago

Something I noticed: when using a virtual SD card loaded with Project M 2.5b (http://projectm.dantarion.com), the same crash after a fight that occurs for Snake and Olimar now happens when using Charizard and Ivysaur, which isn't something that happened before using that mod. From a quick search it seems that others are having the same issues. Beats me.

Actions #15

Updated by DangeresqueVI over 11 years ago

@Amigaraf: Yeah I had the same experience with 2.5b, I would go and fix it but I can only write java :(
This bug probably wont get fixed anytime soon (I inquired about it on the forums a few months ago).

Actions #16

Updated by skidau over 11 years ago

Issue 6340 has been merged into this issue.

Actions #17

Updated by Autoran1 about 11 years ago

  • Status changed from Accepted to Fixed

Tested with SD Card and problematic characters whatever it was this is no longer an issue

Actions #18

Updated by Billiard26 about 11 years ago

  • Status changed from Fixed to Questionable

I still experience this issue in ra279001472265689f1a9959f60f6b3643893e6ee.

  1. Enable "Insert SD Card" before launching the game.
  2. Launch NTSC Brawl.
  3. Start a game with Olimar.
Actions #19

Updated by JMC4789 about 11 years ago

  • Status changed from Questionable to Accepted

Definitely not fixed.

Actions #20

Updated by DangeresqueVI about 11 years ago

Not fixed here too.

Actions #21

Updated by mongolianmiller about 11 years ago

Here neither.

Actions #22

Updated by comexk about 11 years ago

  • Status changed from Accepted to Fixed

Should be fixed by r4add0f55e046c4fd2943e96da127b4940543ac84.

Actions #23

Updated by mongolianmiller about 11 years ago

Can anyone confirm this as being finally fixed?

Actions #24

Updated by Anonymous about 11 years ago

I've tried the NTSC version, and it works fine with SD card inserted, no crashes. Thanks comex.

Actions #25

Updated by JMC4789 about 11 years ago

Also can confirm it's no longer crashing. Going to try out Project M in dolphin.

Actions #26

Updated by DangeresqueVI about 11 years ago

Dude you're the best. I would make a post on smashboards if they weren't still being ddos'd :(

Actions #27

Updated by celeste about 11 years ago

Confirmed fixed, BUT the fix opened up a different can of worms: Loading Gecko OS with these new builds results in a BLACK SCREEN.

Gecko OS is required for running Project M, or utilizing your own character mods through the sd.raw (via Gecko codes, as many already know here).

Any reasoning for this? Can anyone successfully load Gecko OS on these latest builds?

Actions #28

Updated by JMC4789 about 11 years ago

It's a separate issue that's already been reported. It wasn't caused by this fix to my knowledge.

Actions

Also available in: Atom PDF