ryan@ryan-desktop:~$ gdb --args gnome-settings-daemon --debug --sync GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "i486-linux-gnu"... (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) break gdk_x_error Function "gdk_x_error" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (gdk_x_error) pending. (gdb) run Starting program: /usr/bin/gnome-settings-daemon --debug --sync (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] Breakpoint 2 at 0xb7ba1553: file /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkmain-x11.c, line 614. Pending breakpoint "gdk_x_error" resolved [New Thread 0xb6f26720 (LWP 8747)] ** (gnome-settings-daemon:8747): DEBUG: Successfully connected to D-Bus ** (gnome-settings-daemon:8747): DEBUG: Starting settings manager ** (gnome-settings-daemon:8747): DEBUG: Loading settings plugins from dir: /usr/lib/gnome-settings-daemon-2.0/ ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/a11y-keyboard.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/a11y-keyboard for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/background.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/background for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/clipboard.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/clipboard for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/dummy.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/dummy for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/font.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/font for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/keybindings.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/keybindings for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/keyboard.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/keyboard for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/media-keys.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/media-keys for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/mouse.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/mouse for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/screensaver.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/screensaver for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/sound.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/sound for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/typing-break.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/typing-break for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/xrandr.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/xrandr for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/xrdb.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/xrdb for changes ** (gnome-settings-daemon:8747): DEBUG: Loading plugin: /usr/lib/gnome-settings-daemon-2.0/xsettings.gnome-settings-plugin ** (gnome-settings-daemon:8747): DEBUG: Monitoring dir /apps/gnome_settings_daemon/plugins/xsettings for changes ** (gnome-settings-daemon:8747): DEBUG: GnomeSettingsModule 0x8077c00 initialising ** (gnome-settings-daemon:8747): DEBUG: Loading /usr/lib/gnome-settings-daemon-2.0/libxrandr.so ** (gnome-settings-daemon:8747): DEBUG: Registering GsdXrandrPlugin ** (gnome-settings-daemon:8747): DEBUG: Creating object of type GsdXrandrPlugin ** (gnome-settings-daemon:8747): DEBUG: GsdXrandrPlugin initializing ** (gnome-settings-daemon:8747): DEBUG: Activating xrandr plugin ** (gnome-settings-daemon:8747): DEBUG: Starting xrandr manager [Switching to Thread 0xb6f26720 (LWP 8747)] Breakpoint 2, gdk_x_error (display=0x805cf00, error=0xbfa74468) at /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkmain-x11.c:614 614 /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkmain-x11.c: No such file or directory. in /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkmain-x11.c (gdb) backtrace all No symbol "all" in current context. (gdb) backtrace full #0 gdk_x_error (display=0x805cf00, error=0xbfa74468) at /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkmain-x11.c:614 No locals. #1 0xb78ce73e in _XError (dpy=0x805cf00, rep=0x8080738) at ../../src/XlibInt.c:2905 rtn_val = event = {type = 0, xany = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129}, xkey = { type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, root = 3079495033, subwindow = 134600272, time = 106, x = -1079556920, y = -1079556924, x_root = 134600272, y_root = -1221457080, state = 3215410360, keycode = 3215410372, same_screen = -1079556856}, xbutton = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, root = 3079495033, subwindow = 134600272, time = 106, x = -1079556920, y = -1079556924, x_root = 134600272, y_root = -1221457080, state = 3215410360, button = 3215410372, same_screen = -1079556856}, xmotion = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, root = 3079495033, subwindow = 134600272, time = 106, x = -1079556920, y = -1079556924, x_root = 134600272, y_root = -1221457080, state = 3215410360, is_hint = -60 '�', same_screen = -1079556856}, xcrossing = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, ---Type to continue, or q to quit--- window = 3204880129, root = 3079495033, subwindow = 134600272, time = 106, x = -1079556920, y = -1079556924, x_root = 134600272, y_root = -1221457080, mode = -1079556936, detail = -1079556924, same_screen = -1079556856, focus = 0, state = 134598400}, xfocus = { type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, mode = -1215472263, detail = 134600272}, xexpose = { type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, x = -1215472263, y = 134600272, width = 106, height = -1079556920, count = -1079556924}, xgraphicsexpose = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, drawable = 3204880129, x = -1215472263, y = 134600272, width = 106, height = -1079556920, count = -1079556924, major_code = 134600272, minor_code = -1221457080}, xnoexpose = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, drawable = 3204880129, major_code = -1215472263, minor_code = 134600272}, xvisibility = { type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, state = -1215472263}, xcreatewindow = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, parent = 3204880129, window = 3079495033, x = 134600272, y = 106, width = -1079556920, height = -1079556924, border_width = 134600272, override_redirect = -1221457080}, xdestroywindow = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, event = 3204880129, window = 3079495033}, xunmap = {type = 0, ---Type to continue, or q to quit--- serial = 134598400, send_event = 58720257, display = 0x6b, event = 3204880129, window = 3079495033, from_configure = 134600272}, xmap = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, event = 3204880129, window = 3079495033, override_redirect = 134600272}, xmaprequest = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, parent = 3204880129, window = 3079495033}, xreparent = { type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, event = 3204880129, window = 3079495033, parent = 134600272, x = 106, y = -1079556920, override_redirect = -1079556924}, xconfigure = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, event = 3204880129, window = 3079495033, x = 134600272, y = 106, width = -1079556920, height = -1079556924, border_width = 134600272, above = 3073510216, override_redirect = -1079556936}, xgravity = { type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, event = 3204880129, window = 3079495033, x = 134600272, y = 106}, xresizerequest = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, width = -1215472263, height = 134600272}, xconfigurerequest = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, parent = 3204880129, window = 3079495033, x = 134600272, y = 106, width = -1079556920, height = -1079556924, border_width = 134600272, above = 3073510216, detail = -1079556936, value_mask = 3215410372}, xcirculate = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, ---Type to continue, or q to quit--- event = 3204880129, window = 3079495033, place = 134600272}, xcirculaterequest = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, parent = 3204880129, window = 3079495033, place = 134600272}, xproperty = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, atom = 3079495033, time = 134600272, state = 106}, xselectionclear = { type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, selection = 3079495033, time = 134600272}, xselectionrequest = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, owner = 3204880129, requestor = 3079495033, selection = 134600272, target = 106, property = 3215410376, time = 3215410372}, xselection = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, requestor = 3204880129, selection = 3079495033, target = 134600272, property = 106, time = 3215410376}, xcolormap = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, colormap = 3079495033, new = 134600272, state = 106}, xclient = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, message_type = 3079495033, format = 134600272, data = {b = "j\000\000\000�D���D��P�\005\bH\v2�", s = {106, 0, 17608, -16473, 17604, -16473, -10672, 2053, 2888, -18638}, l = {106, -1079556920, -1079556924, 134600272, -1221457080}}}, xmapping = { type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, ---Type to continue, or q to quit--- window = 3204880129, request = -1215472263, first_keycode = 134600272, count = 106}, xerror = {type = 0, display = 0x805cf00, resourceid = 58720257, serial = 107, error_code = 1 '\001', request_code = 151 '\227', minor_code = 6 '\006'}, xkeymap = {type = 0, serial = 134598400, send_event = 58720257, display = 0x6b, window = 3204880129, key_vector = "y]\215�P�\005\bj\000\000\000�D���D��P�\005\bH\v2��D��"}, pad = {0, 134598400, 58720257, 107, -1090087167, -1215472263, 134600272, 106, -1079556920, -1079556924, 134600272, -1221457080, -1079556936, -1079556924, -1079556856, 0, 134598400, 134600272, 106, 27739400, -1079556904, -1215474435, 134598400, 0}} async = next = (_XAsyncHandler *) 0x8080738 #2 0xb78d62f1 in _XReply (dpy=0x805cf00, rep=0xbfa7453c, extra=0, discard=0) at ../../src/xcb_io.c:417 ext = (_XExtension *) 0x0 ret_code = error = (xcb_generic_error_t *) 0x8080738 c = (xcb_connection_t *) 0x805d650 current = __PRETTY_FUNCTION__ = "_XReply" #3 0xb747575a in XRRGetScreenSizeRange () from /usr/lib/libXrandr.so.2 No symbol table info available. ---Type to continue, or q to quit--- #4 0xb6eed4e4 in ?? () from /usr/lib/libgnome-desktop-2.so.2 No symbol table info available. #5 0x0805cf00 in ?? () No symbol table info available. #6 0x00000052 in ?? () No symbol table info available. #7 0x08080710 in ?? () No symbol table info available. #8 0x08080718 in ?? () No symbol table info available. #9 0x08080714 in ?? () No symbol table info available. #10 0x0808071c in ?? () No symbol table info available. #11 0x00000000 in ?? () No symbol table info available. (gdb) continue Continuing. The program 'gnome-settings-daemon' received an X Window System error. This probably reflects a bug in the program. The error was 'BadRequest (invalid request code or no such operation)'. (Details: serial 107 error_code 1 request_code 151 minor_code 6) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Program exited with code 01. (gdb)