You are not logged in.

Read the FAQ and Knowledge Base before posting.
WiFi not emulated and not supported!!
We won't make a 3DS/2DS emulator.

#1 Support » Segfault on x86_64 FC6 & backtrace » 2007-06-07 13:13:03

OddSocks
Replies: 1

Hi,

On x86_64 FC6, desmume segfaults when I open the IO Regs view windows, close them and open them a second time. I'm not sure if this is a threading issue (its an SMP system), 64bit issue or whether the problem lies in the gtk libraries but this doesn't happen on a 32bit system also running FC6 but uniprocessor. The backtrace from gdb is as follows:


(desmume:12809): Gtk-CRITICAL **: gtk_widget_destroy: assertion `GTK_IS_WIDGET (widget)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912496365744 (LWP 12809)]
0x0000003b614a1bed in gtk_combo_new () from /usr/lib64/libgtk-x11-2.0.so.0


Thread 3 (Thread 1094728000 (LWP 12813)):
#0  0x00000032a50c6147 in ioctl () from /lib64/libc.so.6
#1  0x0000003d9005d514 in _snd_pcm_hw_open () from /lib64/libasound.so.2
#2  0x0000003552e3432d in SDL_LoadObject () from /usr/lib64/libSDL-1.2.so.0
#3  0x0000003552e08b04 in SDL_AudioInit () from /usr/lib64/libSDL-1.2.so.0
#4  0x0000003552e10a37 in SDL_GetThreadID () from /usr/lib64/libSDL-1.2.so.0
#5  0x0000003552e51fe9 in SDL_ThreadID () from /usr/lib64/libSDL-1.2.so.0
#6  0x00000032a5c06305 in start_thread () from /lib64/libpthread.so.0
#7  0x00000032a50cd50d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()


Thread 2 (Thread 1084238144 (LWP 12812)):
#0  0x00000032a5c0d4a1 in nanosleep () from /lib64/libpthread.so.0
#1  0x0000003552e542a4 in SDL_Delay () from /usr/lib64/libSDL-1.2.so.0
#2  0x0000003552e542de in SDL_Delay () from /usr/lib64/libSDL-1.2.so.0
#3  0x0000003552e10a37 in SDL_GetThreadID () from /usr/lib64/libSDL-1.2.so.0
#4  0x0000003552e51fe9 in SDL_ThreadID () from /usr/lib64/libSDL-1.2.so.0
#5  0x00000032a5c06305 in start_thread () from /lib64/libpthread.so.0
#6  0x00000032a50cd50d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()


Thread 1 (Thread 46912496365744 (LWP 12809)):
#0  0x0000003b614a1bed in gtk_combo_new () from /usr/lib64/libgtk-x11-2.0.so.0
#1  0x0000003b614a2ce4 in gtk_combo_new () from /usr/lib64/libgtk-x11-2.0.so.0
#2  0x00000038f520af19 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#3  0x00000038f521abce in g_signal_chain_from_overridden () from /lib64/libgobject-2.0.so.0
#4  0x00000038f521bbd4 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#5  0x00000038f521bda3 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#6  0x0000003b61637165 in gtk_widget_hide () from /usr/lib64/libgtk-x11-2.0.so.0
#7  0x00000038f520d0d0 in g_object_run_dispose () from /lib64/libgobject-2.0.so.0
#8  0x000000000040cf67 in selected_reg (widget=0x412b460, data=0x1) at tools/ioregsView.c:349
        c = 1
        regInfosBuffer = '\0' <repeats 16 times>, "P\001<\177\000\000003\000\000\000\0009\003\004", '\0' <repeats 27 times>
#9  0x000000000040d2d9 in open (ID=<value optimized out>) at tools/ioregsView.c:446
        i = <value optimized out>
#10 0x000000000040df81 in Start_dTool (widget=<value optimized out>, data=0x3b61532550) at main.c:1334
        tool = 0
#11 0x00000038f520af19 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#12 0x00000038f521a788 in g_signal_chain_from_overridden () from /lib64/libgobject-2.0.so.0
#13 0x00000038f521bbd4 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#14 0x00000038f521bda3 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#15 0x0000003b6163423a in gtk_widget_activate () from /usr/lib64/libgtk-x11-2.0.so.0
#16 0x0000003b6153e3b0 in gtk_menu_shell_activate_item () from /usr/lib64/libgtk-x11-2.0.so.0
#17 0x0000003b6153f860 in gtk_menu_shell_append () from /usr/lib64/libgtk-x11-2.0.so.0
#18 0x0000003b615325ad in gtk_marshal_BOOLEAN__VOID () from /usr/lib64/libgtk-x11-2.0.so.0
#19 0x00000038f520af19 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#20 0x00000038f521ad98 in g_signal_chain_from_overridden () from /lib64/libgobject-2.0.so.0
#21 0x00000038f521b99d in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#22 0x00000038f521bda3 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#23 0x0000003b6163056e in gtk_widget_get_default_style () from /usr/lib64/libgtk-x11-2.0.so.0
#24 0x0000003b6152bbbd in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#25 0x0000003b6152cbd1 in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#26 0x0000003b61a467ec in gdk_add_client_message_filter () from /usr/lib64/libgdk-x11-2.0.so.0
#27 0x00000038f4e2cf64 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00000038f4e2fd9d in g_main_context_check () from /lib64/libglib-2.0.so.0
#29 0x00000038f4e300aa in g_main_loop_run () from /lib64/libglib-2.0.so.0
#30 0x0000003b6152cf63 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#31 0x0000000000410c3a in main (argc=1, argv=0x7fff3c01c5b8) at main.c:1860
        frameskipRadio_buf = "x3\000\000\000\000\000\000224@\000\000\000\000"
        my_config = {screen = {opengl = 0, soft_colour = 0}, disable_sound = 0, disable_3d = 0, nds_file = 0x0}

Board footer

Powered by FluxBB