Emulator Issues #4152
closedDolphin crashed when stop button pressed
0%
Description
What steps will reproduce the problem?
- Run any game
- Press stop button to stop emulation of any game
What is the expected output? What do you see instead?
i expect emulation to be stopped, but this button crashes emu
Dolphin version with the problem? Other Dolphin version without the
problem?
r7225M and some older versions. don't know what revision brings this, but r7182 stop emulation good for sure
32-bit or 64-bit and any other build parameters?
32-bit
OS version and versions of tools/libraries used?
win xp, vc++ 2010 express, feb 2010 dxsdk
Please provide any additional information below.
call stack here: http://pastebin.com/iF8GXYpM
void Shutdown()
{
glDeleteTextures(1, &s_srcTexture);
glDeleteRenderbuffersEXT(1, &s_dstRenderBuffer);
glDeleteFramebuffersEXT(1, &s_texConvFrameBuffer); //<-- crash here
locals:
-
&s_dstRenderBuffer 0x00b40a08 unsigned int * 1 unsigned int
-
&s_texConvFrameBuffer 0x00b409f8 unsigned int * 3 unsigned int
exceptioninfo.txt:
Unhandled Exception
Code: 0xC0000005
Call stack info:
0x060EAEC6 : ?
0x0300BA00 : ?
vc++ exception: acces violation type
Updated by hatarumoroboshi almost 14 years ago
For me (WinXP 32bit) it happens only with OpenGL plugin (with DX9 I don't get a crash every time I exit like in OpenGL) and r7189 should be responsible of this.
Updated by soren.jorvang almost 14 years ago
- Status changed from New to Accepted
I am looking into the possibility of running the GPU loop in the main/GUI thread, which should get rid of many potential problems like this one.
Updated by tomman almost 14 years ago
Happens here, Linux x86_64, r7228 (without the r7205 changes, as they hang the UI here)
GDB backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 140390382941968 (LWP 12776)]
0x00007faf2885995b in wxWindow::GetLayoutDirection () from /usr/lib64/dri/fglrx_dri.so
(gdb) bt
#0 0x00007faf2885995b in wxWindow::GetLayoutDirection () from /usr/lib64/dri/fglrx_dri.so
#1 0x000000000067b3f5 in OGL::TextureConverter::Shutdown ()
#2 0x00000000006734ad in OGL::VideoBackend::Shutdown ()
#3 0x0000000000500ba9 in BootManager::Stop ()
#4 0x000000000047bd19 in CFrame::DoStop ()
#5 0x00007faf3040846f in wxEvtHandler::ProcessEventIfMatches ()
from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#6 0x00007faf3040860f in wxEventHashTable::HandleEvent () from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#7 0x00007faf30408759 in wxEvtHandler::ProcessEvent () from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#8 0x00007faf304086f0 in wxEvtHandler::ProcessEvent () from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#9 0x00007faf30ebd076 in wxWindowBase::TryParent () from /opt/wx/2.8/lib/libwx_gtk2u_core-2.8.so.0
#10 0x00007faf30408700 in wxEvtHandler::ProcessEvent () from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#11 0x00007faf309bb031 in wxAuiToolBar::OnLeftUp () from /opt/wx/2.8/lib/libwx_gtk2u_aui-2.8.so.0
#12 0x00007faf3040846f in wxEvtHandler::ProcessEventIfMatches ()
from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#13 0x00007faf3040860f in wxEventHashTable::HandleEvent () from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#14 0x00007faf30408759 in wxEvtHandler::ProcessEvent () from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#15 0x00007faf30dbc901 in wxWindow::GTKProcessEvent ()
from /opt/wx/2.8/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00007faf30dc2073 in gtk_window_button_release_callback ()
from /opt/wx/2.8/lib/libwx_gtk2u_core-2.8.so.0
#17 0x00000032a0b3313d in gtk_marshal_BOOLEAN__VOID () from /usr/lib64/libgtk-x11-2.0.so.0
#18 0x0000003d5f60af19 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#19 0x0000003d5f61a788 in g_signal_chain_from_overridden () from /lib64/libgobject-2.0.so.0
#20 0x0000003d5f61b99d in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#21 0x0000003d5f61bda3 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#22 0x00000032a0c3129e in gtk_widget_get_default_style () from /usr/lib64/libgtk-x11-2.0.so.0
#23 0x00000032a0b2c72d in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#24 0x00000032a0b2d741 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#25 0x00000032a1046b4c in gdk_add_client_message_filter () from /usr/lib64/libgdk-x11-2.0.so.0
#26 0x0000003d5ea2cf64 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#27 0x0000003d5ea2fd9d in g_main_context_check () from /lib64/libglib-2.0.so.0
#28 0x0000003d5ea300aa in g_main_loop_run () from /lib64/libglib-2.0.so.0
#29 0x00000032a0b2dad3 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#30 0x00007faf30dac69d in wxEventLoop::Run () from /opt/wx/2.8/lib/libwx_gtk2u_core-2.8.so.0
#31 0x00007faf30e3cf0b in wxAppBase::MainLoop () from /opt/wx/2.8/lib/libwx_gtk2u_core-2.8.so.0
#32 0x00007faf303a515c in wxEntry () from /opt/wx/2.8/lib/libwx_baseu-2.8.so.0
#33 0x00000000004c0d12 in main ()
Updated by Xtreme2damax almost 14 years ago
I've had this problem for a while, even with the DX9 plugin on Windows 7 x64. This does seem to be another issue than my issue. My problem is that pressing stop will hang or crash the emulator. In some cases it will stop without hanging or crashing, but starting another game will cause an instant crash.
Updated by jad.padriga almost 14 years ago
I've had this issue on all Dolphin Revisions!
Updated by tomman almost 14 years ago
FWIW, i was using r7144 before updating yesterday, and this bug wasn't there.
Updated by NeoBrainX over 13 years ago
Duplicate of issue 4236?
(actually the other way around, but 4236 is a cleaner report)
Updated by skidau over 13 years ago
- Status changed from Accepted to Duplicate
Although DX9 crashes too (after three iterations), yes, this is a duplicate of r4236.