Skip to content

Instantly share code, notes, and snippets.

@nachanon
Created October 15, 2014 09:37
Show Gist options
  • Save nachanon/bab2e0d965ae50b505d7 to your computer and use it in GitHub Desktop.
Save nachanon/bab2e0d965ae50b505d7 to your computer and use it in GitHub Desktop.
Detailed backtrace of `mate-display-properties` crash when plugging-in second monitor (Phlips 107S66/05, connected via VGA cable)
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mate-display-properties...Reading symbols from /usr/lib/debug/.build-id/72/49f5c2bf6cc4ed29e25bfc3057bdbc64229791.debug...done.
done.
(gdb) run
Starting program: /usr/bin/mate-display-properties
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb694fb70 (LWP 3163)]
[New Thread 0xb5fffb70 (LWP 3164)]
Program received signal SIGSEGV, Segmentation fault.
0x00000004 in ?? ()
(gdb) backtrace full
#0 0x00000004 in ?? ()
No symbol table info available.
#1 0xb773ed49 in gdk_event_apply_filters (filters=<optimized out>,
event=0x81254b8, xevent=0xbffff100)
at /build/buildd-gtk+2.0_2.24.10-2-i386-Tg7Q_2/gtk+2.0-2.24.10/gdk/x11/gdkevents-x11.c:356
filter = <optimized out>
tmp_list = 0x0
result = <optimized out>
#2 gdk_event_translate (display=display@entry=0x807b0b0,
event=event@entry=0x81254b8, xevent=xevent@entry=0xbffff100,
return_exposes=return_exposes@entry=0)
at /build/buildd-gtk+2.0_2.24.10-2-i386-Tg7Q_2/gtk+2.0-2.24.10/gdk/x11/gdkevents-x11.c:1033
filter_private = 0x8080850
result = <optimized out>
window = <optimized out>
window_private = <optimized out>
filter_window = 0x8080850
window_impl = <optimized out>
return_val = 0
screen = <optimized out>
screen_x11 = <optimized out>
toplevel = <optimized out>
display_x11 = 0x807b0b0
xwindow = 175
filter_xwindow = <optimized out>
#3 0xb7740a1b in _gdk_events_queue (display=display@entry=0x807b0b0)
at /build/buildd-gtk+2.0_2.24.10-2-i386-Tg7Q_2/gtk+2.0-2.24.10/gdk/x11/gdkevents-x11.c:2310
node = 0x8104fd0
event = 0x81254b8
xevent = {type = 101, xany = {type = 101, serial = 875,
send_event = 0, display = 0x806d400, window = 175}, xkey = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
window = 175, root = 175, subwindow = 39682, time = 85568,
x = 65536, y = 1, x_root = 1366, y_root = 768, state = 361,
keycode = 203, same_screen = 1}, xbutton = {type = 101,
serial = 875, send_event = 0, display = 0x806d400, window = 175,
root = 175, subwindow = 39682, time = 85568, x = 65536, y = 1,
x_root = 1366, y_root = 768, state = 361, button = 203,
same_screen = 1}, xmotion = {type = 101, serial = 875,
send_event = 0, display = 0x806d400, window = 175, root = 175,
subwindow = 39682, time = 85568, x = 65536, y = 1, x_root = 1366,
y_root = 768, state = 361, is_hint = -53 'ห', same_screen = 1},
xcrossing = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, window = 175, root = 175, subwindow = 39682,
time = 85568, x = 65536, y = 1, x_root = 1366, y_root = 768,
mode = 361, detail = 203, same_screen = 1, focus = 0, state = 0},
xfocus = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, window = 175, mode = 175, detail = 39682},
xexpose = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, window = 175, x = 175, y = 39682,
width = 85568, height = 65536, count = 1}, xgraphicsexpose = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
drawable = 175, x = 175, y = 39682, width = 85568, height = 65536,
count = 1, major_code = 1366, minor_code = 768}, xnoexpose = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
drawable = 175, major_code = 175, minor_code = 39682},
xvisibility = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, window = 175, state = 175}, xcreatewindow = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
parent = 175, window = 175, x = 39682, y = 85568, width = 65536,
height = 1, border_width = 1366, override_redirect = 768},
xdestroywindow = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, event = 175, window = 175}, xunmap = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
event = 175, window = 175, from_configure = 39682}, xmap = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
event = 175, window = 175, override_redirect = 39682},
xmaprequest = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, parent = 175, window = 175}, xreparent = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
event = 175, window = 175, parent = 39682, x = 85568, y = 65536,
override_redirect = 1}, xconfigure = {type = 101, serial = 875,
send_event = 0, display = 0x806d400, event = 175, window = 175,
x = 39682, y = 85568, width = 65536, height = 1,
border_width = 1366, above = 768, override_redirect = 361},
xgravity = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, event = 175, window = 175, x = 39682,
y = 85568}, xresizerequest = {type = 101, serial = 875,
send_event = 0, display = 0x806d400, window = 175, width = 175,
height = 39682}, xconfigurerequest = {type = 101, serial = 875,
send_event = 0, display = 0x806d400, parent = 175, window = 175,
x = 39682, y = 85568, width = 65536, height = 1,
border_width = 1366, above = 768, detail = 361, value_mask = 203},
xcirculate = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, event = 175, window = 175, place = 39682},
xcirculaterequest = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, parent = 175, window = 175, place = 39682},
xproperty = {type = 101, serial = 875, send_event = 0,
display = 0x806d400, window = 175, atom = 175, time = 39682,
state = 85568}, xselectionclear = {type = 101, serial = 875,
send_event = 0, display = 0x806d400, window = 175,
selection = 175, time = 39682}, xselectionrequest = {type = 101,
serial = 875, send_event = 0, display = 0x806d400, owner = 175,
requestor = 175, selection = 39682, target = 85568,
property = 65536, time = 1}, xselection = {type = 101,
serial = 875, send_event = 0, display = 0x806d400,
requestor = 175, selection = 175, target = 39682,
property = 85568, time = 65536}, xcolormap = {type = 101,
serial = 875, send_event = 0, display = 0x806d400, window = 175,
colormap = 175, new = 39682, state = 85568}, xclient = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
window = 175, message_type = 175, format = 39682, data = {
b = "@N\001\000\000\000\001\000\001\000\000\000V\005\000\000\000\003\000", s = {20032, 1, 0, 1, 1, 0, 1366, 0, 768, 0}, l = {85568, 65536, 1,
1366, 768}}}, xmapping = {type = 101, serial = 875,
send_event = 0, display = 0x806d400, window = 175, request = 175,
first_keycode = 39682, count = 85568}, xerror = {type = 101,
display = 0x36b, resourceid = 0, serial = 134665216,
error_code = 175 'ฏ', request_code = 0 '\000',
minor_code = 0 '\000'}, xkeymap = {type = 101, serial = 875,
send_event = 0, display = 0x806d400, window = 175,
key_vector = "ฏ\000\000\000\002\233\000\000@N\001\000\000\000\001\000\001\000\000\000V\005\000\000\000\003\000\000i\001\000"}, xgeneric = {
type = 101, serial = 875, send_event = 0, display = 0x806d400,
extension = 175, evtype = 175}, xcookie = {type = 101,
serial = 875, send_event = 0, display = 0x806d400,
extension = 175, evtype = 175, cookie = 39682, data = 0x14e40},
pad = {101, 875, 0, 134665216, 175, 175, 39682, 85568, 65536, 1,
1366, 768, 361, 203, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0}}
xdisplay = 0x806d400
#4 0xb7740abd in gdk_event_dispatch (source=source@entry=0x80821f8,
callback=0, user_data=0x0)
at /build/buildd-gtk+2.0_2.24.10-2-i386-Tg7Q_2/gtk+2.0-2.24.10/gdk/x11/gdkevents-x11.c:2371
display = 0x807b0b0
event = <optimized out>
#5 0xb71d36d3 in g_main_dispatch (context=0x8082240)
at /build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2539
dispatch = 0xb7740a90 <gdk_event_dispatch>
was_in_call = 0
user_data = 0x0
callback = 0
cb_funcs = 0x0
cb_data = 0x0
current_source_link = {data = 0x80821f8, next = 0x0}
need_destroy = <optimized out>
source = 0x80821f8
current = 0x8115520
i = <optimized out>
#6 g_main_context_dispatch (context=context@entry=0x8082240)
at /build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3075
No locals.
#7 0xb71d3a70 in g_main_context_iterate (context=0x8082240,
block=block@entry=1, dispatch=dispatch@entry=1,
self=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at /build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3146
max_priority = 2147483647
timeout = -1
some_ready = 1
nfds = 3
allocated_nfds = <optimized out>
fds = <optimized out>
#8 0xb71d3ecb in g_main_loop_run (loop=0x81ad168)
at /build/buildd-glib2.0_2.33.12+really2.32.4-5-i386-eISom6/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3340
__PRETTY_FUNCTION__ = "g_main_loop_run"
#9 0xb7858e08 in IA__gtk_dialog_run (dialog=0x8092030)
at /build/buildd-gtk+2.0_2.24.10-2-i386-Tg7Q_2/gtk+2.0-2.24.10/gtk/gtkdialog.c:1094
ri = {dialog = 0x0, response_id = -1, loop = 0x81ad168, destroyed = 0}
was_modal = <optimized out>
response_handler = 92
unmap_handler = 93
destroy_handler = 95
delete_handler = 94
__PRETTY_FUNCTION__ = "IA__gtk_dialog_run"
#10 0x0804d912 in run_application (app=<optimized out>)
at xrandr-capplet.c:2526
builder = 0x806bc78
align = <optimized out>
error = 0x0
#11 main (argc=1, argv=0xbffff434) at xrandr-capplet.c:2573
app = <optimized out>
(gdb) generate-core-file
Saved corefile core.3160
(gdb) quit
A debugging session is active.
Inferior 1 [process 3160] will be killed.
Quit anyway? (y or n) y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment