Dolphin, the GameCube and Wii emulator - Forums
crash when restarting emulation - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: crash when restarting emulation (/Thread-crash-when-restarting-emulation)



crash when restarting emulation - triad - 10-18-2014

Any time I start dolphin, start up emulation (i.e. play a game, or just start it running and quit immediately), and then stop emulation, dolphin crashes the next time emulation tries to start up. 100% reproducible (on master) for the last several months.

Backtrace:
Code:
Program received signal SIGSEGV, Segmentation fault.
#0  0x000000390b13bff6 in __strcmp_ssse3 () from /lib64/libc.so.6
#1  0x00007f60776a858c in SDL_SYS_HapticOpenFromJoystick () from /lib64/libSDL2-2.0.so.0
#2  0x00007f607762f137 in SDL_HapticOpenFromJoystick_REAL () from /lib64/libSDL2-2.0.so.0
#3  0x0000000000abf438 in ciface::SDL::Joystick::Joystick (this=0x7f6064d1c1a0, joystick=<optimized out>,
    sdl_index=<optimized out>, index=<optimized out>)
    at /usr/local/src/sandbox/dolphin-emu/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp:114
#4  0x0000000000abf934 in ciface::SDL::Init (devices=std::vector of length 2, capacity 4 = {...})
    at /usr/local/src/sandbox/dolphin-emu/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp:44
#5  0x0000000000ab5fce in ControllerInterface::Initialize (this=0x1b15040 <g_controller_interface>,
    hwnd=hwnd@entry=0x3a00bb9)
    at /usr/local/src/sandbox/dolphin-emu/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp:67
#6  0x000000000059a558 in Pad::Initialize (hwnd=0x3a00bb9)
    at /usr/local/src/sandbox/dolphin-emu/Source/Core/Core/HW/GCPad.cpp:43
#7  0x0000000000559b3c in Core::EmuThread () at /usr/local/src/sandbox/dolphin-emu/Source/Core/Core/Core.cpp:360



RE: crash when restarting emulation - JMC47 - 10-18-2014

It's an SDL bug; I'm pretty sure it's reported somewhere.


RE: crash when restarting emulation - triad - 10-27-2014

(10-18-2014, 06:31 AM)JMC47 Wrote: It's an SDL bug; I'm pretty sure it's reported somewhere.

Hmm, apparently this is https://code.google.com/p/dolphin-emu/issues/detail?id=7022 ...

Is https://bugzilla.libsdl.org/show_bug.cgi?id=2648 the underlying cause? (If yes, or if there's a fix and I can point to it, I can bug people to update the system package...)


RE: crash when restarting emulation - skid - 10-27-2014

It does seem like 2648 is the underlying cause according to:

https://code.google.com/p/dolphin-emu/issues/detail?id=7723