After discussion on IRC, it looks like an issue specific to the intel drivers.
I've attached a backtrace for the issue on my laptop. -- bye, pabs http://wiki.debian.org/PaulWise
$ gdb --args desmume --sync GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... (gdb) br gdk_x_error Make breakpoint pending on future shared library load? (y or [n]) Breakpoint 1 (gdk_x_error) pending. (gdb) r Starting program: /usr/games/desmume --sync [Thread debugging using libthread_db enabled] [New Thread 0x7f61fffd56f0 (LWP 1936)] [New Thread 0x418ac950 (LWP 1943)] [New Thread 0x408af950 (LWP 1944)] [Switching to Thread 0x7f61fffd56f0 (LWP 1936)] Breakpoint 1, gdk_x_error (display=0x699b420, error=0x7fff08109d50) at /scratch/build-area/gtk+2.0-2.12.11/gdk/x11/gdkmain-x11.c:613 in /scratch/build-area/gtk+2.0-2.12.11/gdk/x11/gdkmain-x11.c (gdb) bt full #0 gdk_x_error (display=0x699b420, error=0x7fff08109d50) at /scratch/build-area/gtk+2.0-2.12.11/gdk/x11/gdkmain-x11.c:613 No locals. #1 0x00007f61fc66335c in _XError (dpy=0x699b420, rep=0x6d8e0f0) at ../../src/XlibInt.c:2912 rtn_val = <value optimized out> event = {type = 0, xany = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997}, xkey = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, root = 140733328694852, subwindow = 0, time = 0, x = -60702720, y = 32609, x_root = -1056310, y_root = 32609, state = 5, keycode = 0, same_screen = 0}, xbutton = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, root = 140733328694852, subwindow = 0, time = 0, x = -60702720, y = 32609, x_root = -1056310, y_root = 32609, state = 5, button = 0, same_screen = 0}, xmotion = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, root = 140733328694852, subwindow = 0, time = 0, x = -60702720, y = 32609, x_root = -1056310, y_root = 32609, state = 5, is_hint = 0 '\0', same_screen = 0}, xcrossing = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, root = 140733328694852, subwindow = 0, time = 0, x = -60702720, y = 32609, x_root = -1056310, y_root = 32609, mode = 5, detail = 0, same_screen = 0, focus = 0, state = 114568992}, xfocus = { type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, mode = 135306820, detail = 32767}, xexpose = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, x = 135306820, y = 32767, width = 0, height = 0, count = 0}, xgraphicsexpose = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, drawable = 101027997, x = 135306820, y = 32767, width = 0, height = 0, count = 0, major_code = 0, minor_code = -60702720}, xnoexpose = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, drawable = 101027997, major_code = 135306820, minor_code = 32767}, xvisibility = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, state = 135306820}, xcreatewindow = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, parent = 101027997, window = 140733328694852, x = 0, y = 0, width = 0, height = 0, border_width = -60702720, override_redirect = 32609}, xdestroywindow = { type = 0, serial = 110736416, send_event = 92274751, display = 0x206, event = 101027997, window = 140733328694852}, xunmap = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, event = 101027997, window = 140733328694852, from_configure = 0}, xmap = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, event = 101027997, window = 140733328694852, override_redirect = 0}, xmaprequest = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, parent = 101027997, window = 140733328694852}, xreparent = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, event = 101027997, window = 140733328694852, parent = 0, x = 0, y = 0, override_redirect = -60702720}, xconfigure = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, event = 101027997, window = 140733328694852, x = 0, y = 0, width = 0, height = 0, border_width = -60702720, above = 140058882466250, override_redirect = 5}, xgravity = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, event = 101027997, window = 140733328694852, x = 0, y = 0}, xresizerequest = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, width = 135306820, height = 32767}, xconfigurerequest = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, parent = 101027997, window = 140733328694852, x = 0, y = 0, width = 0, height = 0, border_width = -60702720, above = 140058882466250, detail = 5, value_mask = 0}, xcirculate = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, event = 101027997, window = 140733328694852, place = 0}, xcirculaterequest = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, parent = 101027997, window = 140733328694852, place = 0}, xproperty = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, atom = 140733328694852, time = 0, state = 0}, xselectionclear = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, selection = 140733328694852, time = 0}, xselectionrequest = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, owner = 101027997, requestor = 140733328694852, selection = 0, target = 0, property = 140058822819840, time = 140058882466250}, xselection = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, requestor = 101027997, selection = 140733328694852, target = 0, property = 0, time = 140058822819840}, xcolormap = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, colormap = 140733328694852, new = 0, state = 0}, xclient = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, message_type = 140733328694852, format = 0, data = { b = "\000\000\000\000\000\000\000\000\000�a�a\177\000\000����", s = {0, 0, 0, 0, -16384, -927, 32609, 0, -7734, -17}, l = {0, 140058822819840, 140058882466250, 5, 0}}}, xmapping = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, request = 135306820, first_keycode = 32767, count = 0}, xerror = { type = 0, display = 0x699b420, resourceid = 92274751, serial = 518, error_code = 157 '\235', request_code = 144 '\220', minor_code = 5 '\005'}, xkeymap = {type = 0, serial = 110736416, send_event = 92274751, display = 0x206, window = 101027997, key_vector = "D\236\020\b�\177", '\0' <repeats 19 times>, "�a�a\177\000"}, pad = { 140733193388032, 110736416, 92274751, 518, 101027997, 140733328694852, 0, 0, 140058822819840, 140058882466250, 5, 0, 114568992, 140058823142496, 140058822856472, 0, 110736416, 140058882490386, 0, 110736160, 518, 114876656, 110736416, 114568992}} async = <value optimized out> next = (_XAsyncHandler *) 0x699b420 #2 0x00007f61fc66b1b3 in _XReply (dpy=0x699b420, rep=0x7fff08109e44, extra=0, discard=0) at ../../src/xcb_io.c:425 ext = (_XExtension *) 0x0 ret_code = <value optimized out> error = (xcb_generic_error_t *) 0x6d8e0f0 c = <value optimized out> current = <value optimized out> __PRETTY_FUNCTION__ = "_XReply" #3 0x00007f61fd3f96c7 in SendMakeCurrentRequest (dpy=0x699b420, opcode=144 '\220', gc_id=92274752, gc_tag=0, draw=92274751, read=92274751, reply=0x7fff08109f00) at glxext.c:1610 ret = <value optimized out> #4 0x00007f61fd3f9aed in MakeContextCurrent (dpy=0x699b420, draw=92274751, read=92274751, gc=0x6d4ca50) at glxext.c:1684 reply = {type = 0 '\0', unused = 157 '\235', sequenceNumber = 518, length = 92274751, contextTag = 59768837, pad2 = 0, pad3 = 8199008, pad4 = 0, pad5 = 3314086768, pad6 = 32767} oldGC = (const GLXContext) 0x7f61fd64dee0 opcode = 80 'P' oldOpcode = 144 '\220' bindReturnValue = <value optimized out> #5 0x00007f61fd91a39c in gdk_gl_pixmap_impl_x11_make_context_current (draw=0x6ad2e40, read=<value optimized out>, glcontext=0x6d420f0) at gdkglpixmap-x11.c:294 glconfig = (GdkGLConfig *) 0x6c74460 glxpixmap = 140733328694608 glxcontext = (GLXContext) 0x82 __PRETTY_FUNCTION__ = "gdk_gl_pixmap_impl_x11_make_context_current" #6 0x000000000040e9ff in begin_opengl_region_gdk_3d () at gdk_3Demu.c:128 No locals. #7 0x000000000042bb13 in init_openGL () at opengl_collector_3Demu.c:2055 No locals. #8 0x000000000042c50c in init_3Dgl_collect () at opengl_collector_3Demu.c:2330 i = 1024 #9 0x0000000000412b9b in common_gtk_main (my_config=0x7fff0810a230) at main.c:2012 use_null_3d = 0 i = 1 limiter_timer = (SDL_TimerID) 0x6d4ad70 pVBox = (GtkWidget *) 0x69a9110 pMenuBar = (GtkWidget *) 0x6b85860 pMenu = (GtkWidget *) 0x6c67de0 pSubMenu = (GtkWidget *) 0x7f61fff04012 pMenuItem = (GtkWidget *) 0x6c6db30 pSubMenuItem = (GtkWidget *) 0x0 accel_group = (GtkAccelGroup *) 0x6ab4200 glconfig = (GdkGLConfig *) 0x69a86a0 glcontext = (GdkGLContext *) 0x7fff0810a22c arm9_gdb_stub = (gdbstub_handle_t) 0x7fff0810a220 arm7_gdb_stub = (gdbstub_handle_t) 0x40b9a0 arm9_memio = (struct armcpu_memory_iface *) 0x67c080 arm7_memio = (struct armcpu_memory_iface *) 0x67c0e0 arm9_ctrl_iface = (struct armcpu_ctrl_iface *) 0x7f61ffefe1ca arm7_ctrl_iface = (struct armcpu_ctrl_iface *) 0x7f61fdb38000 fw_config = {ds_type = NDS_FW_DS_TYPE_FAT, fav_colour = 7 '\a', birth_month = 6 '\006', birth_day = 23 '\027', nickname = {121, 111, 112, 121, 111, 112, 0, 0, 0, 0}, nickname_len = 6 '\006', message = {68, 101, 83, 109, 117, 77, 69, 32, 109, 97, 107, 101, 115, 32, 121, 111, 117, 32, 104, 97, 112, 112, 121, 33, 0, 0}, message_len = 24 '\030', language = 1 '\001', touch_cal = {{adc_x = 512, adc_y = 512, screen_x = 32 ' ', screen_y = 32 ' '}, {adc_x = 3584, adc_y = 2048, screen_x = 224 '�', screen_y = 128 '\200'}}} mEmulation = (GtkWidget *) 0x6c67280 mFrameskip = (GtkWidget *) 0x6c67420 mFrameskip_Radio = {0x6c6b8e0, 0x6c6b990, 0x6c6ba40, 0x6c6baf0, 0x6c6bba0, 0x6c6bc50, 0x6c6bd00, 0x6c6bdb0, 0x6c6be60, 0x6c6bf10} mGraphics = (GtkWidget *) 0x6c675c0 mSize = (GtkWidget *) 0x6c67760 mSize_Radio = {0x7f62000efce8, 0x6c6d010, 0x6c6d0c0, 0x6c6d170} mLayers = (GtkWidget *) 0x6c67900 mLayers_Radio = {0x6c6d220, 0x6c6d2d0, 0x6c6d380, 0x6c6d430, 0x6c6d4e0, 0x6c6d590, 0x6c6d640, 0x6c6d6f0, 0x6c6e030, 0x6c6e0e0} mConfig = (GtkWidget *) 0x6c67aa0 #10 0x0000000000412da4 in main (argc=1, argv=0x7fff0810a338) at main.c:2107 my_config = {screen = {opengl = 0, soft_colour = 0}, disable_sound = 0, disable_3d = 0, disable_limiter = 0, arm9_gdb_port = 0, arm7_gdb_port = 0, firmware_language = -1, nds_file = 0x0, cflash_disk_image_file = 0x0} (gdb) quit The program is running. Exit anyway? (y or n)
signature.asc
Description: This is a digitally signed message part