* bug#65205: 30.0.50; hangs xim when ibus goes away
@ 2023-08-10 12:32 Madhu
2023-08-10 12:57 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 1 reply; 3+ messages in thread
From: Madhu @ 2023-08-10 12:32 UTC (permalink / raw)
To: 65205
[-- Attachment #1: Type: Text/Plain, Size: 1088 bytes --]
Emacs hangs in xlib's Ximread (when the ibus daemon goes away and I
think in other some situations even not using ibus but just xkb). I'm
attaching a full backtrace which may be more verbose than
desired. Maybe it is possible to work around this case, or suggest
something some way xlib could handle it. -- Madhu
In GNU Emacs 30.0.50 (build 4, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.17.8, Xaw3d scroll bars) of 2023-07-20
Windowing system distributor 'The X.Org Foundation', version 11.0.12201007
System Description: Gentoo/Linux
Configured using:
'configure --with-x-toolkit=athena --with-native-compilation -C'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM
XINPUT2 XPM LUCID ZLIB
Important settings:
value of $LC_COLLATE: C
value of $LANG: en_US.utf8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
[-- Attachment #2: emacs-gdb-xim.out --]
[-- Type: Text/Plain, Size: 50381 bytes --]
(gdb) bt full
#0 0x00007f2afdcc3eef in __GI___poll
(fds=fds@entry=0x7ffcbd3647f8, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
sc_ret = -516
sc_cancel_oldtype = 0
#1 0x00007f2b01b90cd2 in poll
(__timeout=-1, __nfds=1, __fds=0x7ffcbd3647f8)
at /usr/include/bits/poll2.h:39
ret = <optimized out>
fd = {fd = 11, events = 1, revents = 0}
#2 _xcb_conn_wait
(c=c@entry=0x22fb660, cond=cond@entry=0x22fb6a0, vector=vector@entry=0x0, count=count@entry=0x0)
at /usr/src/debug/x11-libs/libxcb-1.15-r1/libxcb-1.15/src/xcb_conn.c:508
ret = <optimized out>
fd = {fd = 11, events = 1, revents = 0}
#3 0x00007f2b01b92f7a in xcb_wait_for_event (c=0x22fb660)
at /usr/src/debug/x11-libs/libxcb-1.15-r1/libxcb-1.15/src/xcb_in.c:703
ret = <optimized out>
#4 0x00007f2b01bf2c40 in _XReadEvents (dpy=dpy@entry=0x23b3a10)
at /usr/src/debug/x11-libs/libX11-1.8.5/libX11-1.8.5/src/xcb_io.c:482
event = <optimized out>
response = <optimized out>
serial = 35199
#5 0x00007f2b01bda8b9 in XIfEvent (dpy=0x23b3a10, event=event@entry=0x7ffcbd364a10, predicate=predicate@entry=0x7f2b01c204f0 <_CheckCMEvent>, arg=arg@entry=0x7d732e0 "\300\305\316\001+\177") at /usr/src/debug/x11-libs/libX11-1.8.5/libX11-1.8.5/src/IfEvent.c:73
qelt = <optimized out>
prev = <optimized out>
qe_serial = 35198
#6 0x00007f2b01c20e6f in _XimXRead (im=0x7d732e0, recv_buf=0x7ffcbd365630 "", buf_len=2048, ret_len=0x7ffcbd364b3c) at /usr/src/debug/x11-libs/libX11-1.8.5/libX11-1.8.5/modules/im/ximcp/imTrX.c:477
ev = 0x7ffcbd364a10
event = {type = 0, xany = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0}, xkey = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, keycode = 0, same_screen = 0}, xbutton = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, button = 0, same_screen = 0}, xmotion = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, is_hint = 0 '\000', same_screen = 0}, xcrossing = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, mode = 0, detail = 0, same_screen = 0, focus = 0, state = 0}, xfocus = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, mode = 0, detail = 0}, xexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, x = 0, y = 0, width = 0, height = 0, count = 0}, xgraphicsexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, drawable = 0, x = 0, y = 0, width = 0, height = 0, count = 0, major_code = 0, minor_code = 0}, xnoexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, drawable = 0, major_code = 0, minor_code = 0}, xvisibility = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, state = 0}, xcreatewindow = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, override_redirect = 0}, xdestroywindow = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0}, xunmap = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, from_configure = 0}, xmap = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, override_redirect = 0}, xmaprequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0}, xreparent = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, parent = 0, x = 0, y = 0, override_redirect = 0}, xconfigure = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, above = 0, override_redirect = 0}, xgravity = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, x = 0, y = 0}, xresizerequest = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, width = 0, height = 0}, xconfigurerequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, above = 0, detail = 0, value_mask = 0}, xcirculate = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, place = 0}, xcirculaterequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, place = 0}, xproperty = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, atom = 0, time = 0, state = 0}, xselectionclear = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, selection = 0, time = 0}, xselectionrequest = {type = 0, serial = 0, send_event = 0, display = 0x0, owner = 0, requestor = 0, selection = 0, target = 0, property = 0, time = 0}, xselection = {type = 0, serial = 0, send_event = 0, display = 0x0, requestor = 0, selection = 0, target = 0, property = 0, time = 0}, xcolormap = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, colormap = 0, new = 0, state = 0}, xclient = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, message_type = 0, format = 0, data = {b = '\000' <repeats 19 times>, s = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, l = {0, 0, 0, 0, 0}}}, xmapping = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, request = 0, first_keycode = 0, count = 0}, xerror = {type = 0, display = 0x0, resourceid = 0, serial = 0, error_code = 0 '\000', request_code = 0 '\000', minor_code = 0 '\000'}, xkeymap = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, key_vector = '\000' <repeats 31 times>}, xgeneric = {type = 0, serial = 0, send_event = 0, display = 0x0, extension = 0, evtype = 0}, xcookie = {type = 0, serial = 0, send_event = 0, display = 0x0, extension = 0, evtype = 0, cookie = 0, data = 0x0}, pad = {0 <repeats 24 times>}}
len = 0
spec = <optimized out>
arg = <optimized out>
#7 0x00007f2b01c21944 in _XimReadData (im=im@entry=0x7d732e0, len=len@entry=0x7ffcbd364bae, buf=buf@entry=0x7ffcbd365630 "", buf_size=buf_size@entry=2048) at /usr/src/debug/x11-libs/libX11-1.8.5/libX11-1.8.5/modules/im/ximcp/imTransR.c:165
hold_buf = <optimized out>
tmp = <optimized out>
data_len = 0
packet_size = <optimized out>
ret_len = 32555
i = <optimized out>
#8 0x00007f2b01c21b94 in _XimRead (im=im@entry=0x7d732e0, len=len@entry=0x7ffcbd364c3e, buf=buf@entry=0x7ffcbd365630 "", buf_size=buf_size@entry=2048, predicate=predicate@entry=0x7f2b01c103f0 <_XimSetICValuesCheck>, arg=arg@entry=0x7d7dc30 "`\305\316\001+\177") at /usr/src/debug/x11-libs/libX11-1.8.5/libX11-1.8.5/modules/im/ximcp/imTransR.c:235
read_len = 0
ret_code = <optimized out>
#9 0x00007f2b01c1153e in _XimProtoSetICValues (xic=0x7d7dc30, arg=<optimized out>) at /usr/src/debug/x11-libs/libX11-1.8.5/libX11-1.8.5/modules/im/ximcp/imDefIc.c:779
ic = 0x7d7dc30
im = <optimized out>
ic_values = {input_style = 1032, client_window = 4207511, focus_window = 4207511, filter_events = 0, geometry_callback = {client_data = 0x0, callback = 0x0}, res_name = 0x0, res_class = 0x0, destroy_callback = {client_data = 0x0, callback = 0x0}, preedit_state_notify_callback = {client_data = 0x0, callback = 0x0}, string_conversion_callback = {client_data = 0x0, callback = 0x5351d0 <xic_string_conversion_callback>}, string_conversion = {length = 0, feedback = 0x0, encoding_is_wchar = 0, string = {mbs = 0x0, wcs = 0x0}}, reset_state = 0, hotkey = 0x0, hotkey_state = 0, preedit_attr = {area = {x = 0, y = 0, width = 0, height = 0}, area_needed = {x = 0, y = 0, width = 0, height = 0}, spot_location = {x = 322, y = 337}, colormap = 0, std_colormap = 0, foreground = 0, background = 0, background_pixmap = 0, fontset = 0x0, line_spacing = 0, cursor = 0, start_callback = {client_data = 0x0, callback = 0x0}, done_callback = {client_data = 0x0, callback = 0x0}, draw_callback = {client_data = 0x0, callback = 0x0}, caret_callback = {client_data = 0x0, callback = 0x0}, preedit_state = 0, state_notify_callback = {client_data = 0x0, callback = 0x0}}, status_attr = {area = {x = 0, y = 0, width = 0, height = 0}, area_needed = {x = 0, y = 0, width = 0, height = 0}, colormap = 0, std_colormap = 0, foreground = 0, background = 0, background_pixmap = 0, fontset = 0x0, line_spacing = 0, cursor = 0, start_callback = {client_data = 0x0, callback = 0x0}, done_callback = {client_data = 0x0, callback = 0x0}, draw_callback = {client_data = 0x0, callback = 0x0}}}
len = 24
buf_s = 0x7ffcbd364e34
tmp = <optimized out>
tmp_buf32 = {327734, 65542, 12, 524632, 262498, 22085954, 0 <repeats 506 times>}
tmp_buf = 0x7ffcbd364e30 "6"
buf = 0x7ffcbd364e30 "6"
buf_size = 2048
data = <optimized out>
ret_len = 12
total = 12
arg_ret = 0x0
reply32 = {0 <repeats 512 times>}
reply = 0x7ffcbd365630 ""
preply = 0x0
ret_code = <optimized out>
flag = 0
name = <optimized out>
tmp_name = <optimized out>
#10 0x00007f2b01bff8fb in XSetICValues (ic=0x7d7dc30) at /usr/src/debug/x11-libs/libX11-1.8.5/libX11-1.8.5/src/xlibi18n/ICWrap.c:336
var = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7ffcbd365f70, reg_save_area = 0x7ffcbd365ea0}}
total_count = 1
args = 0x38fc3f0
ret = <optimized out>
#11 0x0000000000539d2f in xic_set_preeditarea (w=<optimized out>, x=<optimized out>, y=<optimized out>) at ../../src/xfns.c:3241
f = 0x5cd8cc8
attr = 0x4399c30
spot = {x = 322, y = 337}
#12 0x0000000000487fc7 in display_and_set_cursor (w=w@entry=0x6edb930, on=on@entry=true, hpos=27, vpos=11, x=297, y=<optimized out>) at ../../src/xdisp.c:33574
f = 0x5cd8cc8
new_cursor_type = <optimized out>
new_cursor_width = 1
active_cursor = <optimized out>
glyph_row = <optimized out>
glyph = <optimized out>
#13 0x000000000048b317 in update_window_cursor (w=w@entry=0x6edb930, on=on@entry=true) at ../../src/xdisp.c:33609
hpos = <optimized out>
vpos = <optimized out>
row = <optimized out>
#14 0x00000000004967d4 in expose_window (w=w@entry=0x6edb930, fr=fr@entry=0x7ffcbd366158) at ../../src/xdisp.c:36257
first_overlapping_row = <optimized out>
cursor_cleared_p = <optimized out>
phys_cursor_on_p = false
oldbuf = 0x2a60d88
yb = 393
row = <optimized out>
last_overlapping_row = 0x0
buffer_changed = <optimized out>
f = <optimized out>
wr = {x = 1, y = 1, width = 1132, height = 418}
r = {x = 16, y = 0, width = 1116, height = 393}
mouse_face_overwritten_p = false
#15 0x0000000000496b1c in expose_window_tree (w=0x6edb930, r=r@entry=0x7ffcbd366158) at ../../src/xdisp.c:36281
f = 0x5cd8cc8
mouse_face_overwritten_p = false
#16 0x0000000000496b5c in expose_window_tree (w=0x79f1ee8, r=r@entry=0x7ffcbd366158) at ../../src/xdisp.c:36280
f = 0x5cd8cc8
mouse_face_overwritten_p = false
#17 0x0000000000496bdc in expose_frame (f=f@entry=0x5cd8cc8, x=<optimized out>, y=<optimized out>, w=<optimized out>, h=<optimized out>) at ../../src/xdisp.c:36334
r = {x = 17, y = 1, width = 1117, height = 393}
mouse_face_overwritten_p = false
#18 0x000000000068f98f in EmacsFrameExpose (widget=<optimized out>, event=<optimized out>, region=<optimized out>) at ../../src/widget.c:494
ew = <optimized out>
f = 0x5cd8cc8
#19 0x00007f2b01d49e6f in XtDispatchEventToWidget (widget=widget@entry=0x491baa0, event=event@entry=0x7ffcbd3668e0) at /usr/src/debug/x11-libs/libXt-1.2.1/libXt-1.2.1/src/Event.c:841
p = <optimized out>
was_dispatched = 0 '\000'
call_tm = 0 '\000'
cont_to_disp = 1 '\001'
mask = 32768
app = <optimized out>
#20 0x00007f2b01d4a63b in _XtDefaultDispatcher (event=0x7ffcbd3668e0) at /usr/src/debug/x11-libs/libXt-1.2.1/libXt-1.2.1/src/Event.c:1381
widget = 0x491baa0
grabType = <optimized out>
pdi = <optimized out>
grabList = <optimized out>
was_dispatched = 0 '\000'
app = <optimized out>
#21 0x00007f2b01d4a7e3 in XtDispatchEvent (event=event@entry=0x7ffcbd3668e0) at /usr/src/debug/x11-libs/libXt-1.2.1/libXt-1.2.1/src/Event.c:1480
was_dispatched = <optimized out>
safe = <optimized out>
dispatch_level = 1
starting_count = 0
pd = <optimized out>
time = <optimized out>
dispatch = <optimized out>
app = 0x1a6e7b0
#22 0x0000000000520a36 in handle_one_xevent (dpyinfo=<optimized out>, event=<optimized out>, finish=<optimized out>, hold_quit=<optimized out>) at ../../src/xterm.c:25125
inev = {kind = NO_EVENT, ie = {kind = NO_EVENT, part = scroll_bar_nowhere, code = 0, modifiers = 0, x = 0x0, y = 0x0, timestamp = 0, frame_or_window = 0x0, arg = 0x0, device = 0x30}, sie = {kind = NO_EVENT, dpyinfo = 0x0, requestor = 0, selection = 0, target = 0, property = 0, time = 0}}
count = 0
do_help = <optimized out>
gen_help_device = <optimized out>
gen_help_time = <optimized out>
nbytes = 0
any = <optimized out>
f = <optimized out>
mouse_frame = <optimized out>
hlinfo = <optimized out>
compose_status = {compose_ptr = 0x0, chars_matched = 0}
configureEvent = {type = 0, xany = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0}, xkey = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, keycode = 3220176896, same_screen = 0}, xbutton = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, button = 3220176896, same_screen = 0}, xmotion = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, is_hint = 0 '\000', same_screen = 0}, xcrossing = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, mode = 0, detail = -1074790400, same_screen = 0, focus = 0, state = 0}, xfocus = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, mode = 0, detail = 0}, xexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, x = 0, y = 0, width = 0, height = 0, count = 0}, xgraphicsexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, drawable = 0, x = 0, y = 0, width = 0, height = 0, count = 0, major_code = 0, minor_code = 0}, xnoexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, drawable = 0, major_code = 0, minor_code = 0}, xvisibility = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, state = 0}, xcreatewindow = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, override_redirect = 0}, xdestroywindow = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0}, xunmap = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, from_configure = 0}, xmap = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, override_redirect = 0}, xmaprequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0}, xreparent = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, parent = 0, x = 0, y = 0, override_redirect = 0}, xconfigure = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, above = 0, override_redirect = 0}, xgravity = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, x = 0, y = 0}, xresizerequest = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, width = 0, height = 0}, xconfigurerequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, above = 0, detail = 0, value_mask = 0}, xcirculate = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, place = 0}, xcirculaterequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, place = 0}, xproperty = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, atom = 0, time = 0, state = 0}, xselectionclear = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, selection = 0, time = 0}, xselectionrequest = {type = 0, serial = 0, send_event = 0, display = 0x0, owner = 0, requestor = 0, selection = 0, target = 0, property = 0, time = 0}, xselection = {type = 0, serial = 0, send_event = 0, display = 0x0, requestor = 0, selection = 0, target = 0, property = 0, time = 0}, xcolormap = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, colormap = 0, new = 0, state = 0}, xclient = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, message_type = 0, format = 0, data = {b = '\000' <repeats 19 times>, s = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, l = {0, 0, 0, -4616189618054758400, 0}}}, xmapping = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, request = 0, first_keycode = 0, count = 0}, xerror = {type = 0, display = 0x0, resourceid = 0, serial = 0, error_code = 0 '\000', request_code = 0 '\000', minor_code = 0 '\000'}, xkeymap = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, key_vector = '\000' <repeats 31 times>}, xgeneric = {type = 0, serial = 0, send_event = 0, display = 0x0, extension = 0, evtype = 0}, xcookie = {type = 0, serial = 0, send_event = 0, display = 0x0, extension = 0, evtype = 0, cookie = 0, data = 0x0}, pad = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -4616189618054758400, 0, 0, 139822623428538, 140723482944960, 11, 0, 139822689236911, 4691283957843, 31, 1088, 0, 0, 0}}
next_event = {type = 0, xany = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0}, xkey = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, keycode = 0, same_screen = -37364932}, xbutton = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, button = 0, same_screen = -37364932}, xmotion = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, state = 0, is_hint = 0 '\000', same_screen = -37364932}, xcrossing = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 0, y = 0, x_root = 0, y_root = 0, mode = 0, detail = 0, same_screen = -37364932, focus = 32554, state = 0}, xfocus = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, mode = 0, detail = 0}, xexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, x = 0, y = 0, width = 0, height = 0, count = 0}, xgraphicsexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, drawable = 0, x = 0, y = 0, width = 0, height = 0, count = 0, major_code = 0, minor_code = 0}, xnoexpose = {type = 0, serial = 0, send_event = 0, display = 0x0, drawable = 0, major_code = 0, minor_code = 0}, xvisibility = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, state = 0}, xcreatewindow = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, override_redirect = 0}, xdestroywindow = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0}, xunmap = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, from_configure = 0}, xmap = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, override_redirect = 0}, xmaprequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0}, xreparent = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, parent = 0, x = 0, y = 0, override_redirect = 0}, xconfigure = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, above = 0, override_redirect = 0}, xgravity = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, x = 0, y = 0}, xresizerequest = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, width = 0, height = 0}, xconfigurerequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 0, above = 0, detail = 0, value_mask = 139822622956348}, xcirculate = {type = 0, serial = 0, send_event = 0, display = 0x0, event = 0, window = 0, place = 0}, xcirculaterequest = {type = 0, serial = 0, send_event = 0, display = 0x0, parent = 0, window = 0, place = 0}, xproperty = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, atom = 0, time = 0, state = 0}, xselectionclear = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, selection = 0, time = 0}, xselectionrequest = {type = 0, serial = 0, send_event = 0, display = 0x0, owner = 0, requestor = 0, selection = 0, target = 0, property = 0, time = 0}, xselection = {type = 0, serial = 0, send_event = 0, display = 0x0, requestor = 0, selection = 0, target = 0, property = 0, time = 0}, xcolormap = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, colormap = 0, new = 0, state = 0}, xclient = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, message_type = 0, format = 0, data = {b = '\000' <repeats 19 times>, s = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, l = {0, 0, 0, 0, 139822622956348}}}, xmapping = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, request = 0, first_keycode = 0, count = 0}, xerror = {type = 0, display = 0x0, resourceid = 0, serial = 0, error_code = 0 '\000', request_code = 0 '\000', minor_code = 0 '\000'}, xkeymap = {type = 0, serial = 0, send_event = 0, display = 0x0, window = 0, key_vector = '\000' <repeats 31 times>}, xgeneric = {type = 0, serial = 0, send_event = 0, display = 0x0, extension = 0, evtype = 0}, xcookie = {type = 0, serial = 0, send_event = 0, display = 0x0, extension = 0, evtype = 0, cookie = 0, data = 0x0}, pad = {0 <repeats 11 times>, 139822622956348, 0, 0, 32, 7, 1179670597, -2392702707748660635, 2, 16, 64, 0, 206158430210, 0}}
coding = <optimized out>
use_copy = <optimized out>
copy = {type = 0, xany = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341}, xkey = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, root = 18446744073709550232, subwindow = 137438953488, time = 351107693, x = 734, y = 288, x_root = 70884400, y_root = 0, state = 36681312, keycode = 0, same_screen = 1752891407}, xbutton = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, root = 18446744073709550232, subwindow = 137438953488, time = 351107693, x = 734, y = 288, x_root = 70884400, y_root = 0, state = 36681312, button = 0, same_screen = 1752891407}, xmotion = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, root = 18446744073709550232, subwindow = 137438953488, time = 351107693, x = 734, y = 288, x_root = 70884400, y_root = 0, state = 36681312, is_hint = 0 '\000', same_screen = 1752891407}, xcrossing = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, root = 18446744073709550232, subwindow = 137438953488, time = 351107693, x = 734, y = 288, x_root = 70884400, y_root = 0, mode = 36681312, detail = 0, same_screen = 1752891407, focus = 4194341, state = 0}, xfocus = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, mode = -1384, detail = -1}, xexpose = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, x = -1384, y = -1, width = 16, height = 32, count = 351107693}, xgraphicsexpose = {type = 0, serial = 0, send_event = 1134, display = 0x35f, drawable = 4194341, x = -1384, y = -1, width = 16, height = 32, count = 351107693, major_code = 0, minor_code = 734}, xnoexpose = {type = 0, serial = 0, send_event = 1134, display = 0x35f, drawable = 4194341, major_code = -1384, minor_code = -1}, xvisibility = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, state = -1384}, xcreatewindow = {type = 0, serial = 0, send_event = 1134, display = 0x35f, parent = 4194341, window = 18446744073709550232, x = 16, y = 32, width = 351107693, height = 0, border_width = 734, override_redirect = 288}, xdestroywindow = {type = 0, serial = 0, send_event = 1134, display = 0x35f, event = 4194341, window = 18446744073709550232}, xunmap = {type = 0, serial = 0, send_event = 1134, display = 0x35f, event = 4194341, window = 18446744073709550232, from_configure = 16}, xmap = {type = 0, serial = 0, send_event = 1134, display = 0x35f, event = 4194341, window = 18446744073709550232, override_redirect = 16}, xmaprequest = {type = 0, serial = 0, send_event = 1134, display = 0x35f, parent = 4194341, window = 18446744073709550232}, xreparent = {type = 0, serial = 0, send_event = 1134, display = 0x35f, event = 4194341, window = 18446744073709550232, parent = 137438953488, x = 351107693, y = 0, override_redirect = 734}, xconfigure = {type = 0, serial = 0, send_event = 1134, display = 0x35f, event = 4194341, window = 18446744073709550232, x = 16, y = 32, width = 351107693, height = 0, border_width = 734, above = 70884400, override_redirect = 36681312}, xgravity = {type = 0, serial = 0, send_event = 1134, display = 0x35f, event = 4194341, window = 18446744073709550232, x = 16, y = 32}, xresizerequest = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, width = -1384, height = -1}, xconfigurerequest = {type = 0, serial = 0, send_event = 1134, display = 0x35f, parent = 4194341, window = 18446744073709550232, x = 16, y = 32, width = 351107693, height = 0, border_width = 734, above = 70884400, detail = 36681312, value_mask = 18014559176163343}, xcirculate = {type = 0, serial = 0, send_event = 1134, display = 0x35f, event = 4194341, window = 18446744073709550232, place = 16}, xcirculaterequest = {type = 0, serial = 0, send_event = 1134, display = 0x35f, parent = 4194341, window = 18446744073709550232, place = 16}, xproperty = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, atom = 18446744073709550232, time = 137438953488, state = 351107693}, xselectionclear = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, selection = 18446744073709550232, time = 137438953488}, xselectionrequest = {type = 0, serial = 0, send_event = 1134, display = 0x35f, owner = 4194341, requestor = 18446744073709550232, selection = 137438953488, target = 351107693, property = 1236950581982, time = 70884400}, xselection = {type = 0, serial = 0, send_event = 1134, display = 0x35f, requestor = 4194341, selection = 18446744073709550232, target = 137438953488, property = 351107693, time = 1236950581982}, xcolormap = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, colormap = 18446744073709550232, new = 16, state = 32}, xclient = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, message_type = 18446744073709550232, format = 16, data = {b = "mz\355\024\000\000\000\000\336\002\000\000 \001\000\000\060\234\071\004", s = {31341, 5357, 0, 0, 734, 0, 288, 0, -25552, 1081}, l = {351107693, 1236950581982, 70884400, 36681312, 18014559176163343}}}, xmapping = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, request = -1384, first_keycode = -1, count = 16}, xerror = {type = 0, display = 0x0, resourceid = 1134, serial = 863, error_code = 37 '%', request_code = 0 '\000', minor_code = 64 '@'}, xkeymap = {type = 0, serial = 0, send_event = 1134, display = 0x35f, window = 4194341, key_vector = "\230\372\377\377\377\377\377\377\020\000\000\000 \000\000\000mz\355\024\000\000\000\000\336\002\000\000 \001\000"}, xgeneric = {type = 0, serial = 0, send_event = 1134, display = 0x35f, extension = 4194341, evtype = 0}, xcookie = {type = 0, serial = 0, send_event = 1134, display = 0x35f, extension = 4194341, evtype = 0, cookie = 4294965912, data = 0x2000000010}, pad = {0, 0, 1134, 863, 4194341, -1384, 137438953488, 351107693, 1236950581982, 70884400, 36681312, 18014559176163343, 0, 139822623428538, 140723482945344, 11, 0, 139822689236911, 36685616, 0, -1, 4294967296, 36681428, 4096}}
dx = 0
dy = 0
sa_avail = <optimized out>
sa_count = {bytes = <optimized out>}
#23 0x000000000052c9c1 in XTread_socket (terminal=<optimized out>, hold_quit=0x7ffcbd3669d0) at ../../src/xterm.c:25287
finish = 0
event = {type = 12, xany = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511}, xkey = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, root = 4294967313, subwindow = 1687922148445, time = 1687922147335, x = 0, y = 372, x_root = 4207569, y_root = 0, state = 0, keycode = 36, same_screen = 1}, xbutton = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, root = 4294967313, subwindow = 1687922148445, time = 1687922147335, x = 0, y = 372, x_root = 4207569, y_root = 0, state = 0, button = 36, same_screen = 1}, xmotion = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, root = 4294967313, subwindow = 1687922148445, time = 1687922147335, x = 0, y = 372, x_root = 4207569, y_root = 0, state = 0, is_hint = 36 '$', same_screen = 1}, xcrossing = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, root = 4294967313, subwindow = 1687922148445, time = 1687922147335, x = 0, y = 372, x_root = 4207569, y_root = 0, mode = 0, detail = 36, same_screen = 1, focus = 0, state = 37572888}, xfocus = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, mode = 17, detail = 1}, xexpose = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, x = 17, y = 1, width = 1117, height = 393, count = 7}, xgraphicsexpose = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, drawable = 4207511, x = 17, y = 1, width = 1117, height = 393, count = 7, major_code = 393, minor_code = 0}, xnoexpose = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, drawable = 4207511, major_code = 17, minor_code = 1}, xvisibility = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, state = 17}, xcreatewindow = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, parent = 4207511, window = 4294967313, x = 1117, y = 393, width = 7, height = 393, border_width = 0, override_redirect = 372}, xdestroywindow = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, event = 4207511, window = 4294967313}, xunmap = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, event = 4207511, window = 4294967313, from_configure = 1117}, xmap = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, event = 4207511, window = 4294967313, override_redirect = 1117}, xmaprequest = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, parent = 4207511, window = 4294967313}, xreparent = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, event = 4207511, window = 4294967313, parent = 1687922148445, x = 7, y = 393, override_redirect = 0}, xconfigure = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, event = 4207511, window = 4294967313, x = 1117, y = 393, width = 7, height = 393, border_width = 0, above = 4207569, override_redirect = 0}, xgravity = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, event = 4207511, window = 4294967313, x = 1117, y = 393}, xresizerequest = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, width = 17, height = 1}, xconfigurerequest = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, parent = 4207511, window = 4294967313, x = 1117, y = 393, width = 7, height = 393, border_width = 0, above = 4207569, detail = 0, value_mask = 1}, xcirculate = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, event = 4207511, window = 4294967313, place = 1117}, xcirculaterequest = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, parent = 4207511, window = 4294967313, place = 1117}, xproperty = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, atom = 4294967313, time = 1687922148445, state = 7}, xselectionclear = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, selection = 4294967313, time = 1687922148445}, xselectionrequest = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, owner = 4207511, requestor = 4294967313, selection = 1687922148445, target = 1687922147335, property = 1597727834112, time = 4207569}, xselection = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, requestor = 4207511, selection = 4294967313, target = 1687922148445, property = 1687922147335, time = 1597727834112}, xcolormap = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, colormap = 4294967313, new = 1117, state = 393}, xclient = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, message_type = 4294967313, format = 1117, data = {b = "\a\000\000\000\211\001\000\000\000\000\000\000t\001\000\000\321\063@", s = {7, 0, 393, 0, 0, 0, 372, 0, 13265, 64}, l = {1687922147335, 1597727834112, 4207569, 154618822656, 1}}}, xmapping = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, request = 17, first_keycode = 1, count = 1117}, xerror = {type = 12, display = 0xa687b, resourceid = 0, serial = 37435920, error_code = 151 '\227', request_code = 51 '3', minor_code = 64 '@'}, xkeymap = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, window = 4207511, key_vector = "\021\000\000\000\001\000\000\000]\004\000\000\211\001\000\000\a\000\000\000\211\001\000\000\000\000\000\000t\001\000"}, xgeneric = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, extension = 4207511, evtype = 0}, xcookie = {type = 12, serial = 682107, send_event = 0, display = 0x23b3a10, extension = 4207511, evtype = 0, cookie = 17, data = 0x1890000045d}, pad = {12, 682107, 0, 37435920, 4207511, 4294967313, 1687922148445, 1687922147335, 1597727834112, 4207569, 154618822656, 1, 37572888, 44018788, 0, 6632431, 0, 2, 12884901888, 44018788, 24288, 116242736, 4294967302, 0}}
count = 1
event_found = true
dpyinfo = 0x233f2d0
#24 0x0000000000558141 in gobble_input () at ../../src/keyboard.c:7448
nr = <optimized out>
hold_quit = {kind = NO_EVENT, part = scroll_bar_nowhere, code = 0, modifiers = 0, x = 0x0, y = 0x0, timestamp = 0, frame_or_window = 0x0, arg = 0x0, device = 0x30}
next = 0xd0f880
nread = 0
err = <optimized out>
t = 0x14496a0
#25 0x000000000055b275 in handle_async_input () at ../../src/keyboard.c:7679
nread = <optimized out>
#26 process_pending_signals () at ../../src/keyboard.c:7693
#27 unblock_input_to (level=0) at ../../src/keyboard.c:7708
#28 unblock_input_to (level=<optimized out>) at ../../src/keyboard.c:7702
#29 unblock_input () at ../../src/keyboard.c:7727
#30 0x000000000068dc59 in xg_select (fds_lim=<optimized out>, rfds=rfds@entry=0x7ffcbd367230, wfds=<optimized out>, efds=0x0, timeout=<optimized out>, sigmask=<optimized out>) at ../../src/xgselect.c:298
pselect_errno = 11
all_rfds = {fds_bits = {2048, 0 <repeats 15 times>}}
all_wfds = {fds_bits = {0 <repeats 16 times>}}
tmo = {tv_sec = 0, tv_nsec = 206158430224}
tmop = 0x7ffcbd367100
context = <optimized out>
have_wfds = <optimized out>
gfds_buf = {{fd = 6, events = 1, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 111777232, events = 0, revents = 0}, {fd = 16, events = 0, revents = 0}, {fd = 111777216, events = 0, revents = 0}, {fd = 32, events = 0, revents = 0}, {fd = 32, events = 0, revents = 0}, {fd = 1707886, events = 32555, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -1120506512, events = 32764, revents = 0}, {fd = 75099056, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -1120506544, events = 32764, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 1768752, events = 32555, revents = 0}, {fd = -1120506400, events = 32764, revents = 0}, {fd = 1707886, events = 32555, revents = 0}, {fd = 36681312, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -1120506416, events = 32764, revents = 0}, {fd = 72034432, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -1120506448, events = 32764, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 1768752, events = 32555, revents = 0}, {fd = 36681428, events = 0, revents = 0}, {fd = 4096, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -1120506336, events = 32764, revents = 0}, {fd = -1120506656, events = 32764, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -1120506576, events = 32764, revents = 0}, {fd = 80, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -1120506336, events = 32764, revents = 0}, {fd = -1120506288, events = 32764, revents = 0}, {fd = 12727872, events = 0, revents = 0}, {fd = -1120506352, events = 32764, revents = 0}, {fd = -1120506240, events = 32764, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 1684750, events = 32555, revents = 0}, {fd = 381681664, events = 23856, revents = 19874}, {fd = -37364583, events = 32554, revents = 0}, {fd = -35947392, events = 32554, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -1120506240, events = 32764, revents = 0}, {fd = -1120506192, events = 32764, revents = 0}, {fd = 12727872, events = 0, revents = 0}, {fd = -1120506256, events = 32764, revents = 0}, {fd = 1684452, events = 32555, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 1684750, events = 32555, revents = 0}, {fd = 381681664, events = 23856, revents = 19874}, {fd = 1626, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 124, events = 119, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 62600656, events = 0, revents = 0}, {fd = 2, events = 65535, revents = 65535}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 32764, revents = 0}, {fd = 2, events = 1, revents = 0}, {fd = 72034432, events = 0, revents = 0}, {fd = 53876931, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 12727872, events = 0, revents = 0}, {fd = 1707886, events = 32555, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 0, events = 10240, revents = 61035}, {fd = 72034432, events = 0, revents = 0}, {fd = 72034432, events = 0, revents = 0}, {fd = -30, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 12727872, events = 0, revents = 0}, {fd = 12727872, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 1642638, events = 32555, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -727379968, events = 232, revents = 0}, {fd = 53876723, events = 0, revents = 0}, {fd = 5715094, events = 0, revents = 0}, {fd = 53876928, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 53876723, events = 0, revents = 0}, {fd = 6589295, events = 0, revents = 0}, {fd = 53876931, events = 0, revents = 0}, {fd = 30, events = 0, revents = 0}, {fd = -1120505952, events = 32764, revents = 0}, {fd = 6594221, events = 0, revents = 0}, {fd = -1386250238, events = 27939, revents = 0}, {fd = 1385447426, events = 931, revents = 0}, {fd = 497082268, events = 0, revents = 0}, {fd = 5608176, events = 0, revents = 0}, {fd = 13, events = 0, revents = 0}, {fd = 715874545, events = 0, revents = 0}, {fd = -150892496, events = 32554, revents = 0}, {fd = 1691669033, events = 0, revents = 0}, {fd = 224020029, events = 0, revents = 0}, {fd = 13, events = 0, revents = 0}, {fd = 715874545, events = 0, revents = 0}, {fd = 64245653, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 53876931, events = 0, revents = 0}, {fd = 53876819, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1691669033, events = 0, revents = 0}, {fd = 721102297, events = 0, revents = 0}, {fd = 30, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}}
gfds = <optimized out>
gfds_size = <optimized out>
n_gfds = <optimized out>
retval = 1
our_fds = 0
max_fds = <optimized out>
i = <optimized out>
nfds = 1
tmo_in_millisec = -1
must_free = <optimized out>
need_to_dispatch = true
#31 0x000000000063a8bb in wait_reading_process_output (time_limit=time_limit@entry=0, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=<optimized out>, wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, just_wait_proc=<optimized out>) at ../../src/process.c:5703
tls_nfds = 0
tls_available = {fds_bits = {0 <repeats 16 times>}}
process_skipped = <optimized out>
wrapped = <optimized out>
channel_start = <optimized out>
child_fd = <optimized out>
last_read_channel = 20
channel = 1024
nfds = <optimized out>
Available = {fds_bits = {2048, 0 <repeats 15 times>}}
Writeok = {fds_bits = {0 <repeats 16 times>}}
check_write = true
check_delay = <optimized out>
no_avail = <optimized out>
xerrno = 0
proc = <optimized out>
timeout = {tv_sec = 0, tv_nsec = 497082268}
end_time = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
timer_delay = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
got_output_end_time = {tv_sec = 1691769033, tv_nsec = 224025793}
wait = <optimized out>
got_some_output = <optimized out>
prev_wait_proc_nbytes_read = <optimized out>
retry_for_async = <optimized out>
count = {bytes = <optimized out>}
now = {tv_sec = <optimized out>, tv_nsec = <optimized out>}
#32 0x0000000000559dce in kbd_buffer_get_event (end_time=<optimized out>, used_mouse_menu=<optimized out>, kbp=<synthetic pointer>) at ../../src/keyboard.c:4016
do_display = <optimized out>
obj = <optimized out>
str = <optimized out>
had_pending_selection_requests = false
c = 0x0
save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 12 times>, 6142968, 2, 5569360, 140723482943840}}}}
kb = 0x1a27350
count = {bytes = <optimized out>}
#33 read_event_from_main_queue (end_time=<optimized out>, local_getcjmp=0x7ffcbd3678c0, used_mouse_menu=0x7ffcbd367b5b) at ../../src/keyboard.c:2283
c = 0x0
save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 12 times>, 6142968, 2, 5569360, 140723482943840}}}}
kb = 0x1a27350
count = {bytes = <optimized out>}
#34 0x000000000055f868 in read_decoded_event_from_main_queue (used_mouse_menu=<optimized out>, prev_event=<optimized out>, local_getcjmp=<optimized out>, end_time=<optimized out>) at ../../src/keyboard.c:2346
nextevt = <optimized out>
frame = <optimized out>
terminal = <optimized out>
events = {0x7fe0543, 0x0, 0x30, 0x1, 0x7f2af6d85db0, 0x652cf0 <validate_interval_range+112>, 0x0, 0x2a60d8d, 0x287, 0x64cb70 <balance_possible_root_interval+16>, 0x286, 0x64dee0 <find_interval+32>, 0xa1e, 0x287, 0x0, 0x652fe0 <Ftext_properties_at+32>}
n = 0
c = <optimized out>
local_getcjmp = {{__jmpbuf = {1, 5023174398787714635, 0, 0, 140723482950768, 0, -5022466944447414709, 5023174034433900107}, __mask_was_saved = 0, __saved_mask = {__val = {1, 288, 140723482950096, 16059365832, 96, 96, 0, 0, 38832, 44436872, 6063690, 11, 38079152, 9, 6064075, 33980611}}}}
save_jump = {{__jmpbuf = {1, 4833, 0, 8589934593, 0, 0, 0, 140723482950216}, __mask_was_saved = 0, __saved_mask = {__val = {107141043, 139822517674276, 135468899, 139822503533427, 48, 135469027, 0, 48, 5681873, 60960, 5, 0, 17020688, 139822402206368, 16425888, 281474980529488}}}}
tem = <optimized out>
save = <optimized out>
previous_echo_area_message = 0x0
also_record = 0x0
reread = false
recorded = false
polling_stopped_here = true
orig_kboard = 0x1a27350
#35 read_char (commandflag=1, map=0x8131803, prev_event=0x0, used_mouse_menu=0x7ffcbd367b5b, end_time=0x0) at ../../src/keyboard.c:2977
c = <optimized out>
local_getcjmp = {{__jmpbuf = {1, 5023174398787714635, 0, 0, 140723482950768, 0, -5022466944447414709, 5023174034433900107}, __mask_was_saved = 0, __saved_mask = {__val = {1, 288, 140723482950096, 16059365832, 96, 96, 0, 0, 38832, 44436872, 6063690, 11, 38079152, 9, 6064075, 33980611}}}}
save_jump = {{__jmpbuf = {1, 4833, 0, 8589934593, 0, 0, 0, 140723482950216}, __mask_was_saved = 0, __saved_mask = {__val = {107141043, 139822517674276, 135468899, 139822503533427, 48, 135469027, 0, 48, 5681873, 60960, 5, 0, 17020688, 139822402206368, 16425888, 281474980529488}}}}
tem = <optimized out>
save = <optimized out>
previous_echo_area_message = 0x0
also_record = 0x0
reread = false
recorded = false
polling_stopped_here = true
orig_kboard = 0x1a27350
#36 0x0000000000561c27 in read_key_sequence (keybuf=<optimized out>, prompt=0x0, dont_downcase_last=<optimized out>, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../src/keyboard.c:10105
interrupted_kboard = 0x1a27350
key = <optimized out>
used_mouse_menu = false
echo_local_start = 0
last_real_key_start = 0
keys_local_start = 0
new_binding = <optimized out>
t = 0
echo_start = 0
keys_start = 0
current_binding = 0x8131803
first_unbound = 31
mock_input = 0
used_mouse_menu_history = {false <repeats 30 times>}
fkey = {parent = 0x7f2af5636ee3, map = 0x7f2af5636ee3, start = 0, end = 0}
keytran = {parent = 0x7f2af7f8b023, map = 0x7f2af7f8b023, start = 0, end = 0}
indec = {parent = 0x7f2af5636ef3, map = 0x7f2af5636ef3, start = 0, end = 0}
shift_translated = <optimized out>
delayed_switch_frame = <optimized out>
original_uppercase = <optimized out>
original_uppercase_position = <optimized out>
dummyflag = false
fake_prefixed_keys = 0x0
first_event = 0x0
second_event = <optimized out>
#37 0x0000000000563ac7 in command_loop_1 () at ../../src/keyboard.c:1384
cmd = <optimized out>
keybuf = {0x62, 0x18e, 0x1ce, 0x3, 0xa0, 0x60, 0x60, 0x0, 0x0, 0xf630, 0x0, 0x5dbda2 <unbind_to+562>, 0xb, 0xf630, 0x30, 0x2e25abd, 0x1f6bee5, 0x80579e3, 0x60, 0x7ffcbd367d40, 0x0, 0x0, 0x0, 0x556f9b <cmd_error+347>, 0x0, 0x0, 0x0, 0x9d20, 0x0, 0x7f2af77f470d}
i = <optimized out>
last_pt = <optimized out>
prev_modiff = 2010
prev_buffer = 0x2a60d88
#38 0x00000000005da9a7 in internal_condition_case (bfun=bfun@entry=0x563920 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x556e40 <cmd_error>) at ../../src/eval.c:1486
val = <optimized out>
c = 0xd5ad90
#39 0x000000000054f99a in command_loop_2 (handlers=handlers@entry=0x90) at ../../src/keyboard.c:1133
val = <optimized out>
#40 0x00000000005da901 in internal_catch (tag=tag@entry=0x105f0, func=func@entry=0x54f980 <command_loop_2>, arg=arg@entry=0x90) at ../../src/eval.c:1209
val = <optimized out>
c = 0xd53890
#41 0x000000000054f93f in command_loop () at ../../src/keyboard.c:1111
#42 0x00000000005569f1 in recursive_edit_1 () at ../../src/keyboard.c:720
val = <optimized out>
#43 0x0000000000556d6e in Frecursive_edit () at ../../src/keyboard.c:803
buffer = <optimized out>
#44 0x000000000042b8d0 in main (argc=<optimized out>, argv=0x7ffcbd3680c8) at ../../src/emacs.c:2554
stack_bottom_variable = 0x0
no_loadup = false
junk = 0x0
dname_arg = 0x0
ch_to_dir = 0x0
original_pwd = <optimized out>
dump_mode = <optimized out>
skip_args = 1
temacs = 0x0
attempt_load_pdump = <optimized out>
only_version = <optimized out>
rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
lc_all = <optimized out>
sockfd = -1
module_assertions = <optimized out>
(gdb)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#65205: 30.0.50; hangs xim when ibus goes away
2023-08-10 12:32 bug#65205: 30.0.50; hangs xim when ibus goes away Madhu
@ 2023-08-10 12:57 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-12 7:06 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-08-10 12:57 UTC (permalink / raw)
To: Madhu; +Cc: 65205
Madhu <enometh@meer.net> writes:
> Emacs hangs in xlib's Ximread (when the ibus daemon goes away and I
> think in other some situations even not using ibus but just xkb). I'm
> attaching a full backtrace which may be more verbose than
> desired. Maybe it is possible to work around this case, or suggest
> something some way xlib could handle it. -- Madhu
This is a twenty-five year old bug in the sample Xlib's implementation
of the X protocol XIM transport. If an input method crashes, its
transfer window is destroyed by the X server, while Xlib thoughtlessly
continues waiting for events to be delivered from it...
We can do nothing about this problem except ask the I-Bus developers to
fix their crashes. Meanwhile, you can disable XIM
Emacs.useXIM: false
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#65205: 30.0.50; hangs xim when ibus goes away
2023-08-10 12:57 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-08-12 7:06 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2023-08-12 7:06 UTC (permalink / raw)
To: Po Lu; +Cc: enometh, 65205-done
> Cc: 65205@debbugs.gnu.org
> Date: Thu, 10 Aug 2023 20:57:28 +0800
> From: Po Lu via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Madhu <enometh@meer.net> writes:
>
> > Emacs hangs in xlib's Ximread (when the ibus daemon goes away and I
> > think in other some situations even not using ibus but just xkb). I'm
> > attaching a full backtrace which may be more verbose than
> > desired. Maybe it is possible to work around this case, or suggest
> > something some way xlib could handle it. -- Madhu
>
> This is a twenty-five year old bug in the sample Xlib's implementation
> of the X protocol XIM transport. If an input method crashes, its
> transfer window is destroyed by the X server, while Xlib thoughtlessly
> continues waiting for events to be delivered from it...
>
> We can do nothing about this problem except ask the I-Bus developers to
> fix their crashes. Meanwhile, you can disable XIM
>
> Emacs.useXIM: false
Thanks, I've now added an entry about this to etc/PROBLEMS, and I'm
closing this bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-12 7:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10 12:32 bug#65205: 30.0.50; hangs xim when ibus goes away Madhu
2023-08-10 12:57 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-12 7:06 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).