Project

General

Profile

Actions

Emulator Issues #5790

closed

Dolphin crashes on OSX when loading a save state

Added by lawsonculver over 11 years ago.

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

0%

Operating system:
OS X
Issue type:
Bug
Milestone:
3.5
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Every version of Dolphin Emu I've tried in OS X crashes when attempting to load a save game file I've just saved. I've tried 10 or so versions, including the most current version 3.0-883.

The only version that works fine is 3.0 out of the ones I've checked. I'm not sure when it stopped working. Here is the crash log (I've attached the whole thing):

Process: Dolphin [53793]
Path: /Users/USER/Desktop/Dolphin.app/Contents/MacOS/Dolphin
Identifier: com.dolphin-emulator.dolphin
Version: 3.0-883 (3.0)
Code Type: X86-64 (Native)
Parent Process: launchd [182]
User ID: 501

Date/Time: 2012-12-16 07:06:40.076 -0600
OS Version: Mac OS X 10.8.2 (12C60)
Report Version: 10

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
__TEXT 0000000000001000-000000000084c000 [ 8492K] r-x/rwx SM=COW /Users/USER/Desktop/Dolphin.app/Contents/MacOS/Dolphin

Application Specific Information:
Performing @selector(clickedAction:) from sender wxNSMenuItem 0x664ed30
abort() called

Actions #1

Updated by YuriShish over 11 years ago

On Linux dolphin can load both GC and Wii games saves.

Actions #2

Updated by delroth over 11 years ago

  • Status changed from New to Invalid

Save states are not compatible between versions. Use proper ingame saves if you want to use another version.

Actions #3

Updated by lawsonculver over 11 years ago

I didn't say I was trying to open save states between different versions. Here's what I did to test:

  1. Open version of Dolphin.
  2. Load game (in this case, I tried Wind Waker and Mario Sunshine)
  3. Save a fresh state using the new version
  4. Wait 5 seconds to make sure it finishes
  5. Attempt to load the state
  6. Crash

You guys are quick to dismiss issues... Please reopen it, as this is a valid issue.

Actions #4

Updated by rdragoon over 11 years ago

Until you give more instructions on how to reproduce it, it's not valid.

Actions #5

Updated by lawsonculver over 11 years ago

How much more detailed can I get with the steps to reproduce?

Actions #6

Updated by rdragoon over 11 years ago

I don't know, figure it out. Save states work just fine for me, and apparently everyone else.

Actions #7

Updated by lawsonculver over 11 years ago

So, you think it's all in my head?

Video of crashing: https://dl.dropbox.com/u/6717840/Crash.mov

The system it's crashing on is a 2010 Mac Pro running OS X 10.8.2. I'll attempt to reproduce the issue on my Macbook Pro and Mac Pro at work when I get there, but I think it's a little premature to dismiss my issue as if I don't know how to save/load a save state.

Actions #8

Updated by pauldacheez over 11 years ago

This issue's valid, save states are legitimately broken on OS X right now.

Actions #9

Updated by delroth over 11 years ago

  • Status changed from Invalid to Accepted
Actions #10

Updated by delroth over 11 years ago

Could you find the first revision that caused this issue?

Actions #11

Updated by lawson over 11 years ago

I'm on it (same person that entered the ticket, but I logged in with the correct Gmail account this time...

Actions #12

Updated by lawson over 11 years ago

Got it:

Dolphin Versions Tested
3.0-883 - Not working
3.0-863 - Not working
3.0-800 - Not working
3.0-750 - Not working (no overwrite error message, but loads still crash)
3.0-700 - Not working
3.0-687 - Crashes - Description: OSX build fix for BPStructs. Thanks to pauldacheez for the fix.
3.0-655 - Works
3.0-651 - Works

Between versions 655 and 687, the OSX build was failing... so there isn't one between then. I'm working on the overwrite error message version, but I'll enter a new ticket for that.

Actions #13

Updated by lawson over 11 years ago

(On a side note, the overwrite error message is fixed in the most recent build, so I won't be entering a ticket for it.)

Actions #14

Updated by dan over 11 years ago

I have the exact same issue on OS X 10.8.2, as well.

I believe this issue is being caused by a disregard for OpenGL's thread safety (or lack thereof).

When the state is being restored in DoState(), a direct call to the renderer object is being made, which is doing it's own GL calls, which then crashes the program (any GL calls cause a crash). Non-thread safe behaviour is implementation defined, and in this case, Apple have decided that this should cause a null pointer dereference.

I'm yet to go back to the source for 3.0-655 and see why that works.

Thanks,

Actions #15

Updated by delroth over 11 years ago

  • Issue type set to Bug
  • Priority set to High
  • Milestone set to 3.5
  • Operating system OS X added
Actions #16

Updated by delroth over 11 years ago

  • Status changed from Accepted to Work started

Could one of you try this version of Dolphin and tell us if it fixes the issue? http://dl.dolphin-emu.org/builds/dolphin-osx-savegame-fix-3.0-899.dmg

Actions #17

Updated by lawsonculver over 11 years ago

I just tried it... it still crashes.

Actions #19

Updated by lawsonculver over 11 years ago

It works!

Actions #20

Updated by donaciano2000 over 11 years ago

That fixes it for me as well. In attempting to find the problem I noticed it only freezes when the first load is not paused. After that all loads work paused or not.

Actions #21

Updated by degasus over 11 years ago

donaciano: Can you please attach a stack dump while freeze? I suspect to be an other bug ...

lawsonculver: Are you also affected by this bug?

Actions #22

Updated by degasus over 11 years ago

  • Status changed from Work started to Fixed

fix merged to master in 3.0-917

Actions #23

Updated by lawson over 11 years ago

From what I can tell, donaciano was only seeing crashing before the fix. Everything is working fine for me, and I've used save states dozens of times with a couple of different games with no trouble.

Actions

Also available in: Atom PDF