Emulator Issues #7484
closedDolphin 4.0-2169 causes Dolphin to crash when exiting certain games
0%
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?
- Launch Super Smash Bros. Melee
- Start a match. (This is important)
- 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.
Updated by RayDreOfficial over 10 years ago
Make sure that you have a memory card inserted.
Updated by RayDreOfficial over 10 years ago
Do not use 'GCI Folder'. You must specifically use a traditional 'Memory Card' to reproduce this.
Updated by JMC4789 over 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.
Updated by RayDreOfficial over 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.
Updated by JMC4789 over 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!
Updated by william.ribeiro.ibiapina over 10 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.
Updated by progamer96 over 10 years ago
So it's the memory card timings that have been causing all these crashes, wow
Updated by JMC4789 over 10 years ago
It's not the memory card timings; this is separate from those changes.
Updated by william.ribeiro.ibiapina over 10 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.
Updated by progamer96 over 10 years ago
hmm, odd, but it only happens after you save, so I still think it has to with saving timings..
Updated by kodiacktech over 10 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.
Updated by william.ribeiro.ibiapina over 10 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.
Updated by iori3000 over 10 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.
Updated by JMC4789 over 10 years ago
Try using GCI Folders instead of memory cards.
Updated by william.ribeiro.ibiapina over 10 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.
Updated by svenk1996 over 10 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.
Updated by RayDreOfficial about 10 years ago
Has rachelbryk been able to reproduce this?
Updated by RayDreOfficial about 10 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.
Updated by rachelbryk about 10 years ago
Yes, I know how to reproduce it. It does not happen to me.
Updated by Anonymous about 10 years ago
Updated by Anonymous about 10 years ago
Updated by RayDreOfficial about 10 years ago
Thank you! That indeed resolved the issue. I will continue testing for adverse effects.
Updated by MayImilae about 10 years ago
- Status changed from Accepted to Fix pending
- Priority set to High
- Milestone set to Current
Fixed in PR#778 -> https://github.com/dolphin-emu/dolphin/pull/778
Updated by william.ribeiro.ibiapina about 10 years ago
Good to see this issue was fixed in a PR. Was it added to a new build already?
Updated by kostamarino about 10 years ago
- Status changed from Fix pending to Fixed
Updated by jfields687 about 10 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...
Updated by Anonymous about 10 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.
Updated by jfields687 about 10 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!
Updated by JMC4789 about 10 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.
Updated by Anonymous about 10 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.
Updated by jfields687 about 10 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
Updated by william.ribeiro.ibiapina about 10 years ago
Are GCI folders still working as intended? They were a good workaround in previous builds.
Updated by jfields687 about 10 years ago
Yea, I have had no problems at all with GCI folders.