Project

General

Profile

Actions

Emulator Issues #7484

closed

Dolphin 4.0-2169 causes Dolphin to crash when exiting certain games

Added by RayDreOfficial almost 10 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?
Many, but notably Super Smash Bros. Melee

Game ID?
GALE01

What's the problem? Describe what went wrong in few words.
This build causes Dolphin to crash when exiting the emulator using the 'ESC' key.

What did you expect to happen instead?
Dolphin not to crash.

What steps will reproduce the problem?

  1. Launch Super Smash Bros. Melee
  2. Start a match. (This is important)
  3. Attempt to exit emulator using 'ESC' key.

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
4.0-2169

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
4.0-2167

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Irrelevant. Tested on multiple PCs; each rendering identical results.

Are you using the 32 or the 64 bit version of Dolphin?
64

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
No.

Actions #2

Updated by rachelbryk almost 10 years ago

I can't reproduce.

Actions #3

Updated by RayDreOfficial almost 10 years ago

Make sure that you have a memory card inserted.

Actions #4

Updated by RayDreOfficial almost 10 years ago

Do not use 'GCI Folder'. You must specifically use a traditional 'Memory Card' to reproduce this.

Actions #5

Updated by JMC4789 almost 10 years ago

Unable to reproduce. Can you give more exact instructions. Memory card A is set to a memory card. I start up Super Smash Bros. Melee. I start a versus mode match with an AI. I hit escape. The window closes properly.

Actions #6

Updated by RayDreOfficial almost 10 years ago

JMC4789, you must be 'continuing without saving'? You must create a Super Smash Bros. Melee save on the memory card, then proceed with said instructions. I can reproduce it consistently.

Actions #7

Updated by JMC4789 almost 10 years ago

  • Status changed from New to Accepted

Deleted my save and made a new one. Confirmed to crash on attempted exit. Thank you for the report!

Actions #8

Updated by william.ribeiro.ibiapina over 9 years ago

Adding for the report. I ran Dairantou Smash Brothers DX (yes, the Japanese version) with Dolphin 4.0-2229 just now. The game runs and exits perfectly fine (given the emulator's current limitations) unless the memory card is used. After any data is saved, any attempt of exit will crash Dolphin.

Actions #9

Updated by progamer96 over 9 years ago

So it's the memory card timings that have been causing all these crashes, wow

Actions #10

Updated by JMC4789 over 9 years ago

It's not the memory card timings; this is separate from those changes.

Actions #11

Updated by william.ribeiro.ibiapina over 9 years ago

That's right. The memory card timings were reportedly fixed in build 4.0-2227, and this issue occurs since build 4.0-2169.

Actions #12

Updated by progamer96 over 9 years ago

hmm, odd, but it only happens after you save, so I still think it has to with saving timings..

Actions #13

Updated by kodiacktech over 9 years ago

I can reproduce this issue in any game that writes to the memory card. If I pop up a game but it doesn't ever write to the memory card, it exits fine; however, as soon as I save, there's a very high chance that Dolphin will crash upon stopping emulation.

I thought this was an issue with timings or a problem with my build, so the first thing I did was reverted the changes from the memory card timing changes. Sure enough, the problem wasn't fixed, so I can confirm that that is not the root of the issue. Could have saved myself a few minutes if I'd have checked here first. :P

I'm running on build 4.0-2356 currently.

Actions #14

Updated by william.ribeiro.ibiapina over 9 years ago

I think it's natural that the memory card timing changes were not the root of this problem, since it already existed a few builds earlier.

Actions #15

Updated by iori3000 over 9 years ago

In my SoulCalibur2 tests,
After finishing the save of memory card then Pressing Esc go to crash.
But, No save and just press ESC no make crash in game.
So, I just guess that problem involved by memory save and exclusive full screen mode.
It was just few tests, I will do more tests next and find which option caused.

Actions #16

Updated by JMC4789 over 9 years ago

Try using GCI Folders instead of memory cards.

Actions #17

Updated by iori3000 over 9 years ago

Oh, GCI folders try doesn't make crash.

Actions #18

Updated by william.ribeiro.ibiapina over 9 years ago

Indeed. I tested just now using GCI Folders with Melee and it worked just fine. This will be the best workaround until the memory card function is fixed.

Actions #19

Updated by svenk1996 over 9 years ago

If I save a savestate before exiting dolphin doesn't crash, it only seems to crash when the last save before exiting was an ingame save.

Actions #20

Updated by RayDreOfficial over 9 years ago

Has rachelbryk been able to reproduce this?

Actions #21

Updated by rachelbryk over 9 years ago

No, not once.

Actions #22

Updated by RayDreOfficial over 9 years ago

To reproduce this, create a new memory card (NOT a GCI folder) and when prompted, create a new SSBM save on it. Start a match, then while in said match press the 'ESC' key. Also, check your SSBM MD5 hash?

Perhaps we should remove the changes which 4.0-2169 made until you can remedy this? This bug is extremely annoying, and it adds to the instability of Dolphin. If not removed, perhaps add this to 'current' milestone, because this bug has been reproduced by many others and causes Dolphin to crash; which should be avoided.

Actions #23

Updated by rachelbryk over 9 years ago

Yes, I know how to reproduce it. It does not happen to me.

Actions #27

Updated by RayDreOfficial over 9 years ago

Thank you! That indeed resolved the issue. I will continue testing for adverse effects.

Actions #28

Updated by MayImilae over 9 years ago

  • Status changed from Accepted to Fix pending
  • Priority set to High
  • Milestone set to Current
Actions #29

Updated by william.ribeiro.ibiapina over 9 years ago

Good to see this issue was fixed in a PR. Was it added to a new build already?

Actions #30

Updated by kostamarino over 9 years ago

  • Status changed from Fix pending to Fixed
Actions #31

Updated by jfields687 over 9 years ago

Rev 4.0-2632 fixes this problem, but saving to the memory card causes a MAJOR slowdown from 60FPS to around 10FPS. I tried to ignore this, but just as I was saving moments ago, it corrupted my memory card file! I am rolling back until this is fixed properly...

Actions #32

Updated by Anonymous over 9 years ago

jfields687: I also noticed the slowdown while I was making the fix for this issue. I am pretty sure the slowdown is not caused by my fix, but some memorycard changes which were introduced shortly before this fix (I haven't tracked down the exact commit - if you can do that, that would be nice).

As for corrupted memorycard, please explain a bit about what conditions are needed for it to be corrupted. I haven't seen any corruption, and I'm not sure how that could be happening.

Actions #33

Updated by jfields687 over 9 years ago

I got the revision right before this one (4.0.2628) and I have no problems saving except for the original problem of crashing when closing. I have saved many times before my card corrupted, I was playing Luigi's Mansion. During the save I got a message that it could not be saved and when I tried again it said my memory card needed formatted. Luckily I was able to use the memory card manager and export my saves, but I guess it corrupted because of the major slowdown? I noticed that there is a huge delay before the memory card is actually written to after you save in game, as much as 30 seconds. Thanks for the reply!

Actions #34

Updated by JMC4789 over 9 years ago

The slowdown for memory cards is caused by the read speeds thing. The way Dolphin handles memcard reads is so messed up that even though we told it the right speeds, it just gets stuck at around 1/3rd the speed of console.

Actions #35

Updated by Anonymous over 9 years ago

jfields687: yes there is a huge delay before writing the memcard to file. This is intentional and is OK. The memcard will also be written again whenever you stop emulation, so you don't need to wait for dolphin to display the yellow text, if that's what you're thinking. Maybe we should just disable this text as it's not really important anyways.

"I got a message that it could not be saved" - did dolphin say this, or the game? I might try to fix the slowdown in the future, but as JMC says, I'm sure that isn't my fault :p However, if you can tell me how to reproduce some corruption issue, I will take a look at that.

Actions #36

Updated by jfields687 over 9 years ago

Ok, good to hear that the delay is intentional. Also, that message was in game, not dolphin. I will do what I can to reproduce it again, but I think it will take many times for it to happen again. If it helps, when I used the memory card manager, all I saw was strange unicode or something in place of where my Luigi's Mansion save was supposed to be. I should have gotten a screenshot. I appreciate the responses and will do what I can to help out! Thanks

Actions #37

Updated by william.ribeiro.ibiapina over 9 years ago

Are GCI folders still working as intended? They were a good workaround in previous builds.

Actions #38

Updated by jfields687 over 9 years ago

Yea, I have had no problems at all with GCI folders.

Actions

Also available in: Atom PDF