I've seen this happen when you *paste* something copied from within ddd
into another window of another application (ie chromium), and "Ctrl"
seems to be capable of triggering it.

an example event which kills XtDispatchEvent() has type 2 just as the example 
given above does.
(gdb) print *event
$3 = {type = 2, xany = {type = 2, serial = 52932, send_event = 0, display = 
0x8fe110, window = 62915078}, xkey = {type = 2, serial = 52932, send_event = 0, 
display = 0x8fe110, window = 62915078, root = 205, subwindow = 0, time = 
909015716, x = 259, y = 451, x_root = 1539, y_root = 878, state = 0, keycode = 
37, same_screen = 1}, xbutton = {type = 2, serial = 52932, send_event = 0, 
display = 0x8fe110, window = 62915078, root = 205, subwindow = 0, time = 
909015716, x = 259, y = 451, x_root = 1539, y_root = 878, state = 0, button = 
37, same_screen = 1}, xmotion = {type = 2, serial = 52932, send_event = 0, 
display = 0x8fe110, window = 62915078, root = 205, subwindow = 0, time = 
909015716, x = 259, y = 451, x_root = 1539, y_root = 878, state = 0, is_hint = 
37 '%', same_screen = 1}, xcrossing = {type = 2, serial = 52932, send_event = 
0, display = 0x8fe110, window = 62915078, root = 205, subwindow = 0, time = 
909015716, x = 259, y = 451, x_root = 1539, y_root = 878, mode = 0, detail = 
37, sa
 me_screen = 1, focus = 1, state = 256}, xfocus = {type = 2, serial = 52932, 
send_event = 0, display = 0x8fe110, window = 62915078, mode = 205, detail = 0}, 
xexpose = {type = 2, serial = 52932, send_event = 0, display = 0x8fe110, window 
= 62915078, x = 205, y = 0, width = 0, height = 0, count = 909015716}, 
xgraphicsexpose = {type = 2, serial = 52932, send_event = 0, display = 
0x8fe110, drawable = 62915078, x = 205, y = 0, width = 0, height = 0, count = 
909015716, major_code = 0, minor_code = 259}, xnoexpose = {type = 2, serial = 
52932, send_event = 0, display = 0x8fe110, drawable = 62915078, major_code = 
205, minor_code = 0}, xvisibility = {type = 2, serial = 52932, send_event = 0, 
display = 0x8fe110, window = 62915078, state = 205}, xcreatewindow = {type = 2, 
serial = 52932, send_event = 0, display = 0x8fe110, parent = 62915078, window = 
205, x = 0, y = 0, width = 909015716, height = 0, border_width = 259, 
override_redirect = 451}, xdestroywindow = {type = 2, serial = 52932, send_ev
 ent = 0, display = 0x8fe110, event = 62915078, window = 205}, xunmap = {type = 
2, serial = 52932, send_event = 0, display = 0x8fe110, event = 62915078, window 
= 205, from_configure = 0}, xmap = {type = 2, serial = 52932, send_event = 0, 
display = 0x8fe110, event = 62915078, window = 205, override_redirect = 0}, 
xmaprequest = {type = 2, serial = 52932, send_event = 0, display = 0x8fe110, 
parent = 62915078, window = 205}, xreparent = {type = 2, serial = 52932, 
send_event = 0, display = 0x8fe110, event = 62915078, window = 205, parent = 0, 
x = 909015716, y = 0, override_redirect = 259}, xconfigure = {type = 2, serial 
= 52932, send_event = 0, display = 0x8fe110, event = 62915078, window = 205, x 
= 0, y = 0, width = 909015716, height = 0, border_width = 259, above = 
3770981287427, override_redirect = 0}, xgravity = {type = 2, serial = 52932, 
send_event = 0, display = 0x8fe110, event = 62915078, window = 205, x = 0, y = 
0}, xresizerequest = {type = 2, serial = 52932, send_event = 0, displ
 ay = 0x8fe110, window = 62915078, width = 205, height = 0}, xconfigurerequest 
= {type = 2, serial = 52932, send_event = 0, display = 0x8fe110, parent = 
62915078, window = 205, x = 0, y = 0, width = 909015716, height = 0, 
border_width = 259, above = 3770981287427, detail = 0, value_mask = 
4294967297}, xcirculate = {type = 2, serial = 52932, send_event = 0, display = 
0x8fe110, event = 62915078, window = 205, place = 0}, xcirculaterequest = {type 
= 2, serial = 52932, send_event = 0, display = 0x8fe110, parent = 62915078, 
window = 205, place = 0}, xproperty = {type = 2, serial = 52932, send_event = 
0, display = 0x8fe110, window = 62915078, atom = 205, time = 0, state = 
909015716}, xselectionclear = {type = 2, serial = 52932, send_event = 0, 
display = 0x8fe110, window = 62915078, selection = 205, time = 0}, 
xselectionrequest = {type = 2, serial = 52932, send_event = 0, display = 
0x8fe110, owner = 62915078, requestor = 205, selection = 0, target = 909015716, 
property = 1937030250755, time
  = 3770981287427}, xselection = {type = 2, serial = 52932, send_event = 0, 
display = 0x8fe110, requestor = 62915078, selection = 205, target = 0, property 
= 909015716, time = 1937030250755}, xcolormap = {type = 2, serial = 52932, 
send_event = 0, display = 0x8fe110, window = 62915078, colormap = 205, new = 0, 
state = 0}, xclient = {type = 2, serial = 52932, send_event = 0, display = 
0x8fe110, window = 62915078, message_type = 205, format = 0, data = {b = 
"\244z.6\000\000\000\000\003\001\000\000\303\001\000\000\003\006\000", s = 
{31396, 13870, 0, 0, 259, 0, 451, 0, 1539, 0}, l = {909015716, 1937030250755, 
3770981287427, 158913789952, 4294967297}}}, xmapping = {type = 2, serial = 
52932, send_event = 0, display = 0x8fe110, window = 62915078, request = 205, 
first_keycode = 0, count = 0}, xerror = {type = 2, display = 0xcec4, resourceid 
= 0, serial = 9429264, error_code = 6 '\006', request_code = 2 '\002', 
minor_code = 192 '\300'}, xkeymap = {type = 2, serial = 52932, send_event = 0, 
disp
 lay = 0x8fe110, window = 62915078, key_vector = "\315", '\000' <repeats 15 
times>, "\244z.6\000\000\000\000\003\001\000\000\303\001\000"}, xgeneric = 
{type = 2, serial = 52932, send_event = 0, display = 0x8fe110, extension = 
62915078, evtype = 0}, xcookie = {type = 2, serial = 52932, send_event = 0, 
display = 0x8fe110, extension = 62915078, evtype = 0, cookie = 205, data = 
0x0}, pad = {2, 52932, 0, 9429264, 62915078, 205, 0, 909015716, 1937030250755, 
3770981287427, 158913789952, 4294967297, 256, 12182128, 6214617, 0, 12657184, 
96, 64, 12658544, 6231967, 0, 12330256, 12140944}}
(gdb) 

grabw_top->w->core.depth is 0 in *dispatch(), but i've seen it 1 also

an attempt is made to create a new XtWindow based on

(gdb) print grabw_top
$4 = (GrabData *) 0xbc5a90
(gdb) graph display *grabw_top
(gdb) print grabw_top->w
$5 = (Widget) 0xca9760
(gdb) print *(grabw_top->w)
$6 = {core = {self = 0xcb5920, widget_class = 0x7ffff6275938 <main_arena+472>, 
parent = 0x20740000001a0064, xrm_name = 1965059956, being_destroyed = 115 's', 
destroy_callbacks = 0x616e206570797420, constraints = 0x6e61000000000000, x = 
18064, y = 169, width = 0, height = 0, border_width = 31, managed = 0 '\000', 
sensitive = 0 '\000', ancestor_sensitive = 2 '\002', event_table = 
0x62640000001a0064, tm = {translations = 0x222029, proc_table = 0xca9860, 
current_state = 0x0, lastEventTime = 11095824}, accelerators = 
0x3600020000001f, border_pixel = 1704036, border_pixmap = 0, popup_list = 0x0, 
num_popups = 0, name = 0x0, screen = 0x30, colormap = 0, window = 13277200, 
depth = 0, background_pixel = 5831856, background_pixmap = 0, visible = -63 
'\301', mapped_when_managed = 0 '\000'}}

and store it in xany.window, but before it can get there, an attempt to
create a _XtWindowedAncestor fails:

and the name is the same as the parent, or 0x0

(gdb) print *obj
$1 = {core = {self = 0xcb5920, widget_class = 0x7ffff6275938 <main_arena+472>, 
parent = 0x20740000001a0064, xrm_name = 1965059956, being_destroyed = 115 's', 
destroy_callbacks = 0x616e206570797420, constraints = 0x6e61000000000000, x = 
18064, y = 169, width = 0, height = 0, border_width = 31, managed = 0 '\000', 
sensitive = 0 '\000', ancestor_sensitive = 2 '\002', event_table = 
0x62640000001a0064, tm = {translations = 0x222029, proc_table = 0xca9860, 
current_state = 0x0, lastEventTime = 11095824}, accelerators = 
0x3600020000001f, border_pixel = 1704036, border_pixmap = 0, popup_list = 0x0, 
num_popups = 0, name = 0x0, screen = 0x30, colormap = 0, window = 13277200, 
depth = 0, background_pixel = 5831856, background_pixmap = 0, visible = -63 
'\301', mapped_when_managed = 0 '\000'}}

either way: grabw_top is an internal variable to motif, ddd doesn't seem
to touch it much except through motif

** Also affects: motif (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1354961

Title:
  segfault in 0x00007ffff725a7dd in _XtWindowedAncestor () from
  /usr/lib/x86_64-linux-gnu/libXt.so.6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ddd/+bug/1354961/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to