GNU bug report logs - #53146
29.0.50; Lock up in X11 call

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <md5i <at> md5i.com>

Date: Sun, 9 Jan 2022 19:44:01 UTC

Severity: normal

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 53146 in the body.
You can then email your comments to 53146 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#53146; Package emacs. (Sun, 09 Jan 2022 19:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Welsh Duggan <md5i <at> md5i.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 09 Jan 2022 19:44:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Welsh Duggan <md5i <at> md5i.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Lock up in X11 call
Date: Sun, 09 Jan 2022 14:43:14 -0500
[Message part 1 (text/plain, inline)]
Due to what I believe is a bug in Gnome shell or a Gnome shell extension
that I have running, I am experiencing places where Emacs will lock up
completely.  

Under some unknown circumstances, when idle for a long while, sometimes
gnome shell on my system will enter the activities overview instead of
blanking the screen.  Why it does this is unknown, is likely a bug in
gnome shell or one of my gnome extensions, and is likely itself
unrelated to Emacs.  When I exit this state, though, Emacs is in a
locked-up, unpainted (blank) state and will not respond to anything
short of a SIGTERM.  Sending a SIGTERM will cause a frame to redraw, but
Emacs remains in a locked and useless state.  With a second SIGTERM,
emacs exits.

I have attached to the locked up Emacs in a gdb session.  I've done this
twice, and each time the backtrace was nearly identical, locking up in
deep within XSetICValues() in xic_set_preeditarea().  This has been
ocurring about once every two days, on average, so I can probably
recreate it, if desired.

I do not think this is necessarily a bug in Emacs, per se, but I am
hoping that someone can look at the backtrace and have some idea what is
going on.  Maybe there is a workaround that can be used.  This is not
the only program I regularly run that locks up this way.  A multitail
process I have running in an xterm ends up behaving in a similar
fashion.

Backtrace follows:

[gdb.txt (text/plain, inline)]
Thread 4 (Thread 0x7ff8ab387640 (LWP 613412) "gdbus"):
#0  0x00007ff8b12fff7f in __GI___poll (fds=0x7ff89c016880, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1  0x00007ff8b3acef1e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff8b3acf273 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8b3d582f6 in  () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ff8b3af8f5d in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff8b3278d80 in start_thread (arg=0x7ff8ab387640) at pthread_create.c:481
        ret = <optimized out>
        pd = 0x7ff8ab387640
        unwind_buf = {
          cancel_jmp_buf = {{
              jmp_buf = {140706001221184, -111059173991228371, 140706009607550, 140706009607551, 0, 140706001221184, 109254303443868717, 109236523452095533},
              mask_was_saved = 0
            }},
          priv = {
            pad = {0x0, 0x0, 0x0, 0x0},
            data = {
              prev = 0x0,
              cleanup = 0x0,
              canceltype = 0
            }
          }
        }
        not_first_call = 0
#6  0x00007ff8b130ab6f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7ff8abb88640 (LWP 613411) "dconf worker"):
#0  0x00007ff8b12fff7f in __GI___poll (fds=0x55b9211edf20, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1  0x00007ff8b3acef1e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff8b3acf03f in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8abbee52d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ff8b3af8f5d in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff8b3278d80 in start_thread (arg=0x7ff8abb88640) at pthread_create.c:481
        ret = <optimized out>
        pd = 0x7ff8abb88640
        unwind_buf = {
          cancel_jmp_buf = {{
              jmp_buf = {140706009613888, -111059173991228371, 140722626273438, 140722626273439, 0, 140706009613888, 109255403492367405, 109236523452095533},
              mask_was_saved = 0
            }},
          priv = {
            pad = {0x0, 0x0, 0x0, 0x0},
            data = {
              prev = 0x0,
              cleanup = 0x0,
              canceltype = 0
            }
          }
        }
        not_first_call = 0
#6  0x00007ff8b130ab6f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7ff8ac591640 (LWP 613344) "gmain"):
#0  0x00007ff8b12fff7f in __GI___poll (fds=0x55b9201c9be0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1  0x00007ff8b3acef1e in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff8b3acf03f in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff8b3acf091 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff8b3af8f5d in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff8b3278d80 in start_thread (arg=0x7ff8ac591640) at pthread_create.c:481
        ret = <optimized out>
        pd = 0x7ff8ac591640
        unwind_buf = {
          cancel_jmp_buf = {{
              jmp_buf = {140706020136512, -111059173991228371, 140722626293758, 140722626293759, 0, 140706020136512, 109257332469554221, 109236523452095533},
              mask_was_saved = 0
            }},
          priv = {
            pad = {0x0, 0x0, 0x0, 0x0},
            data = {
              prev = 0x0,
              cleanup = 0x0,
              canceltype = 0
            }
          }
        }
        not_first_call = 0
#6  0x00007ff8b130ab6f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ff8adef73c0 (LWP 613343) "emacs"):
#0  0x00007ff8b12fff7f in __GI___poll (fds=0x7ffc8a26ba08, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1  0x00007ff8b0e37d02 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff8b0e3a05a in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff8b4bcc028 in _XReadEvents () at /lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007ff8b4bb3245 in XIfEvent () at /lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007ff8b4bfc13f in  () at /lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007ff8b4bfce82 in  () at /lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007ff8b4bfd10c in _XimRead () at /lib/x86_64-linux-gnu/libX11.so.6
#8  0x00007ff8b4bebcab in  () at /lib/x86_64-linux-gnu/libX11.so.6
#9  0x00007ff8b4bd9555 in XSetICValues () at /lib/x86_64-linux-gnu/libX11.so.6
#10 0x000055b91efdd289 in xic_set_preeditarea (w=0x55b922836ae0, x=0, y=0) at ../../md5i/src/xfns.c:2772
        f = 0x55b9211ded78
        attr = 0x55b9311653d0
        spot = {
          x = 25,
          y = 14
        }
#11 0x000055b91efcfc78 in x_draw_window_cursor (w=0x55b922836ae0, glyph_row=0x55b9274bd810, x=0, y=0, cursor_type=HOLLOW_BOX_CURSOR, cursor_width=1, on_p=true, active_p=false) at ../../md5i/src/xterm.c:11597
        f = 0x55b9211ded78
#12 0x000055b91ef2bd77 in display_and_set_cursor (w=0x55b922836ae0, on=true, hpos=0, vpos=0, x=0, y=0) at ../../md5i/src/xdisp.c:32506
        f = 0x55b9211ded78
        new_cursor_type = 1
        new_cursor_width = 1
        active_cursor = false
        glyph_row = 0x55b9274bd810
        glyph = 0x55b92ab00e40
#13 0x000055b91ef2be9c in update_window_cursor (w=0x55b922836ae0, on=true) at ../../md5i/src/xdisp.c:32541
        hpos = 0
        vpos = 0
        row = 0x55b9274bd810
#14 0x000055b91ef33d39 in expose_window (w=0x55b922836ae0, fr=0x7ffc8a26d3d0) at ../../md5i/src/xdisp.c:35179
        first_overlapping_row = 0x0
        cursor_cleared_p = true
        phys_cursor_on_p = false
        r_bottom = 0
        oldbuf = 0x55b9227ef4c0
        yb = 978
        row = 0x55b9274dc510
        last_overlapping_row = 0x0
        buffer_changed = true
        f = 0x55b9211ded78
        wr = {
          x = 1,
          y = 1,
          width = 672,
          height = 995
        }
        r = {
          x = 0,
          y = 0,
          width = 672,
          height = 0
        }
        mouse_face_overwritten_p = false
#15 0x000055b91ef33dbe in expose_window_tree (w=0x55b922836ae0, r=0x7ffc8a26d3d0) at ../../md5i/src/xdisp.c:35203
        f = 0x55b9211ded78
        mouse_face_overwritten_p = false
#16 0x000055b91ef33f5e in expose_frame (f=0x55b9211ded78, x=0, y=0, w=674, h=1) at ../../md5i/src/xdisp.c:35256
        r = {
          x = 0,
          y = 0,
          width = 674,
          height = 1
        }
        mouse_face_overwritten_p = false
#17 0x000055b91efcc6cd in handle_one_xevent (dpyinfo=0x55b9212643b0, event=0x7ffc8a26dc50, finish=0x7ffc8a26dd1c, hold_quit=0x7ffc8a26dd40) at ../../md5i/src/xterm.c:8739
        inev = {
          kind = NO_EVENT,
          ie = {
            kind = NO_EVENT,
            part = scroll_bar_nowhere,
            code = 0,
            modifiers = 0,
            x = XIL(0),
            y = XIL(0),
            timestamp = 0,
            frame_or_window = XIL(0),
            arg = XIL(0)
          },
          sie = {
            kind = NO_EVENT,
            dpyinfo = 0x0,
            requestor = 0,
            selection = 0,
            target = 0,
            property = 0,
            time = 0
          }
        }
        count = 0
        do_help = 0
        nbytes = 0
        any = 0x55b9211ded78
        f = 0x55b9211ded78
        coding = {
          id = 0,
          common_flags = 0,
          mode = 0,
          src_multibyte = false,
          dst_multibyte = false,
          chars_at_source = false,
          raw_destination = false,
          annotated = false,
          eol_seen = 0,
          result = CODING_RESULT_SUCCESS,
          max_charset_id = 0,
          spec = {
            iso_2022 = {
              flags = 2317801584,
              current_invocation = {32764, 520158000},
              current_designation = {21945, 0, 0, 0},
              ctext_extended_segment_len = 29,
              single_shifting = false,
              bol = false,
              embedded_utf_8 = false,
              cmp_status = {
                state = 32764,
                method = 3005755904,
                old_form = 248,
                length = 7,
                nchars = 0,
                ncomps = 0,
                carryover = {0, 526319328, 21945, 0, 0, 65536, 0, -1977164688, 32764, -1977164768, 32764, 8, 0, 582, 0, 557480189, 21945, 48, 0, 0, 0, 0, 0, 16, 0, 0, 0, -1977164256, 32764, 0, 0, 0, 0, -1977162272, 32764, 16, 0, -1977164256, 32764, 521714797, 21945, 598, 0, 51, 2818048, 0, 0, 0, 0, 0, 0, 0, 0, -1977165248, 32764, 0, 0, 202182159, 134810123, -1322683878, 32760, 0, 671088640, -1321419776, 32760, 0, 0, 7}
              }
            },
            ccl = 0x7ffc8a26d870,
            utf_16 = {
              bom = (unknown: 0x8a26d870),
              endian = (unknown: 0x7ffc),
              surrogate = 520158000
            },
            utf_8_bom = (unknown: 0x8a26d870),
            emacs_mule = {
              cmp_status = {
                state = 2317801584,
                method = 32764,
                old_form = 48,
                length = 21945,
                nchars = 0,
                ncomps = 0,
                carryover = {0, 29, -1977164256, 32764, -1289211392, 32760, 7, 0, 0, 0, 526319328, 21945, 0, 0, 65536, 0, -1977164688, 32764, -1977164768, 32764, 8, 0, 582, 0, 557480189, 21945, 48, 0, 0, 0, 0, 0, 16, 0, 0, 0, -1977164256, 32764, 0, 0, 0, 0, -1977162272, 32764, 16, 0, -1977164256, 32764, 521714797, 21945, 598, 0, 51, 2818048, 0, 0, 0, 0, 0, 0, 0, 0, -1977165248, 32764, 0, 0, 202182159, 134810123}
              }
            },
            undecided = {
              inhibit_nbd = -1977165712,
              inhibit_ied = 32764,
              prefer_utf_8 = 48
            }
          },
          safe_charsets = 0x20 <error: Cannot access memory at address 0x20>,
          head_ascii = 16,
          detected_utf8_bytes = 94253057310722,
          detected_utf8_chars = 16,
          produced = 64,
          produced_char = 0,
          consumed = 206158430210,
          consumed_char = 0,
          src_pos = 0,
          src_pos_byte = 0,
          src_chars = 472446402651,
          src_bytes = 511101108348,
          src_object = XIL(0x2000000003),
          source = 0x0,
          dst_pos = 16,
          dst_pos_byte = 140706102164384,
          dst_bytes = 94253907470288,
          dst_object = make_fixnum(35176533592992),
          destination = 0x20 <error: Cannot access memory at address 0x20>,
          charbuf = 0xffffffffffffffff,
          charbuf_size = -1977165168,
          charbuf_used = 32764,
          carryover = "\000\000\000\000\000\000\000\000\020\314!!\271U\000\000\a\251\343\260\370\177\000\000\340\334!!\271U\000\000\000\000\000\000\000\000\000\000\377\377\377\377\377\377\377\377\000\000\000\000\001\000\000\000\204\314!!\271U\000",
          carryover_bytes = 4096,
          default_char = 0,
          detector = 0x0,
          decoder = 0x0,
          encoder = 0x7ffc8a26da80
        }
        hlinfo = 0x55b921264460
        compose_status = {
          compose_ptr = 0x0,
          chars_matched = 0
        }
        configureEvent = {
          type = -1977165232,
          xany = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622
          },
          xkey = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            root = 124554051606,
            subwindow = 140722626287680,
            time = 94253578192677,
            x = 1,
            y = 0,
            x_root = 548257493,
            y_root = 21945,
            state = 2317801664,
            keycode = 32512,
            same_screen = 0
          },
          xbutton = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            root = 124554051606,
            subwindow = 140722626287680,
            time = 94253578192677,
            x = 1,
            y = 0,
            x_root = 548257493,
            y_root = 21945,
            state = 2317801664,
            button = 32512,
            same_screen = 0
          },
          xmotion = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            root = 124554051606,
            subwindow = 140722626287680,
            time = 94253578192677,
            x = 1,
            y = 0,
            x_root = 548257493,
            y_root = 21945,
            state = 2317801664,
            is_hint = 0 '\000',
            same_screen = 0
          },
          xcrossing = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            root = 124554051606,
            subwindow = 140722626287680,
            time = 94253578192677,
            x = 1,
            y = 0,
            x_root = 548257493,
            y_root = 21945,
            mode = -1977165632,
            detail = 32512,
            same_screen = 0,
            focus = 0,
            state = 0
          },
          xfocus = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            mode = 22,
            detail = 29
          },
          xexpose = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            x = 22,
            y = 29,
            width = -1977165760,
            height = 32764,
            count = 520881957
          },
          xgraphicsexpose = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            drawable = 94253577468622,
            x = 22,
            y = 29,
            width = -1977165760,
            height = 32764,
            count = 520881957,
            major_code = 21945,
            minor_code = 1
          },
          xnoexpose = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            drawable = 94253577468622,
            major_code = 22,
            minor_code = 29
          },
          xvisibility = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            state = 22
          },
          xcreatewindow = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            parent = 94253577468622,
            window = 124554051606,
            x = -1977165760,
            y = 32764,
            width = 520881957,
            height = 21945,
            border_width = 1,
            override_redirect = 0
          },
          xdestroywindow = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            event = 94253577468622,
            window = 124554051606
          },
          xunmap = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            event = 94253577468622,
            window = 124554051606,
            from_configure = -1977165760
          },
          xmap = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            event = 94253577468622,
            window = 124554051606,
            override_redirect = -1977165760
          },
          xmaprequest = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            parent = 94253577468622,
            window = 124554051606
          },
          xreparent = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            event = 94253577468622,
            window = 124554051606,
            parent = 140722626287680,
            x = 520881957,
            y = 21945,
            override_redirect = 1
          },
          xconfigure = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            event = 94253577468622,
            window = 124554051606,
            x = -1977165760,
            y = 32764,
            width = 520881957,
            height = 21945,
            border_width = 1,
            above = 94253605568213,
            override_redirect = -1977165632
          },
          xgravity = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            event = 94253577468622,
            window = 124554051606,
            x = -1977165760,
            y = 32764
          },
          xresizerequest = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            width = 22,
            height = 29
          },
          xconfigurerequest = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            parent = 94253577468622,
            window = 124554051606,
            x = -1977165760,
            y = 32764,
            width = 520881957,
            height = 21945,
            border_width = 1,
            above = 94253605568213,
            detail = -1977165632,
            value_mask = 0
          },
          xcirculate = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            event = 94253577468622,
            window = 124554051606,
            place = -1977165760
          },
          xcirculaterequest = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            parent = 94253577468622,
            window = 124554051606,
            place = -1977165760
          },
          xproperty = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            atom = 124554051606,
            time = 140722626287680,
            state = 520881957
          },
          xselectionclear = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            selection = 124554051606,
            time = 140722626287680
          },
          xselectionrequest = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            owner = 94253577468622,
            requestor = 124554051606,
            selection = 140722626287680,
            target = 94253578192677,
            property = 1,
            time = 94253605568213
          },
          xselection = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            requestor = 94253577468622,
            selection = 124554051606,
            target = 140722626287680,
            property = 94253578192677,
            time = 1
          },
          xcolormap = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            colormap = 124554051606,
            new = -1977165760,
            state = 32764
          },
          xclient = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            message_type = 124554051606,
            format = -1977165760,
            data = {
              b = "%\a\f\037\271U\000\000\001\000\000\000\000\000\000\000Õ¾\255 ",
              s = {1829, 7948, 21945, 0, 1, 0, 0, 0, -16683, 8365},
              l = {94253578192677, 1, 94253605568213, 139640294529216, 0}
            }
          },
          xmapping = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            request = 22,
            first_keycode = 29,
            count = -1977165760
          },
          xerror = {
            type = -1977165232,
            display = 0x7ff8adef73c0,
            resourceid = 140722626287696,
            serial = 94253577566281,
            error_code = 206 '\316',
            request_code = 250 '\372',
            minor_code = 0 '\000'
          },
          xkeymap = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            window = 94253577468622,
            key_vector = "\026\000\000\000\035\000\000\000@\330&\212\374\177\000\000%\a\f\037\271U\000\000\001\000\000\000\000\000\000"
          },
          xgeneric = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            extension = 520157902,
            evtype = 21945
          },
          xcookie = {
            type = -1977165232,
            serial = 140706046768064,
            send_event = -1977165744,
            display = 0x55b91f027849 <deliver_process_signal+184>,
            extension = 520157902,
            evtype = 21945,
            cookie = 22,
            data = 0x7ffc8a26d840
          },
          pad = {140722626288208, 140706046768064, 140722626287696, 94253577566281, 94253577468622, 124554051606, 140722626287680, 94253578192677, 1, 94253605568213, 139640294529216, 0, 0, 140706132453518, 94253583739968, 13, 895, 0, 0, 844420635172781, 0, 0, 0, 72057594037927947}
        }
        next_event = {
          type = 0,
          xany = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608
          },
          xkey = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            root = 140706101340403,
            subwindow = 659,
            time = 12103423998558259,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            keycode = 0,
            same_screen = 0
          },
          xbutton = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            root = 140706101340403,
            subwindow = 659,
            time = 12103423998558259,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            button = 0,
            same_screen = 0
          },
          xmotion = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            root = 140706101340403,
            subwindow = 659,
            time = 12103423998558259,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            state = 0,
            is_hint = 0 '\000',
            same_screen = 0
          },
          xcrossing = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            root = 140706101340403,
            subwindow = 659,
            time = 12103423998558259,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 0,
            mode = 0,
            detail = 0,
            same_screen = 0,
            focus = 0,
            state = 2317801472
          },
          xfocus = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            mode = -1322243853,
            detail = 32760
          },
          xexpose = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            x = -1322243853,
            y = 32760,
            width = 659,
            height = 0,
            count = 51
          },
          xgraphicsexpose = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            drawable = 140722626288608,
            x = -1322243853,
            y = 32760,
            width = 659,
            height = 0,
            count = 51,
            major_code = 2818048,
            minor_code = 0
          },
          xnoexpose = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            drawable = 140722626288608,
            major_code = -1322243853,
            minor_code = 32760
          },
          xvisibility = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            state = -1322243853
          },
          xcreatewindow = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            parent = 140722626288608,
            window = 140706101340403,
            x = 659,
            y = 0,
            width = 51,
            height = 2818048,
            border_width = 0,
            override_redirect = 0
          },
          xdestroywindow = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            event = 140722626288608,
            window = 140706101340403
          },
          xunmap = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            event = 140722626288608,
            window = 140706101340403,
            from_configure = 659
          },
          xmap = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            event = 140722626288608,
            window = 140706101340403,
            override_redirect = 659
          },
          xmaprequest = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            parent = 140722626288608,
            window = 140706101340403
          },
          xreparent = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            event = 140722626288608,
            window = 140706101340403,
            parent = 659,
            x = 51,
            y = 2818048,
            override_redirect = 0
          },
          xconfigure = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            event = 140722626288608,
            window = 140706101340403,
            x = 659,
            y = 0,
            width = 51,
            height = 2818048,
            border_width = 0,
            above = 0,
            override_redirect = 0
          },
          xgravity = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            event = 140722626288608,
            window = 140706101340403,
            x = 659,
            y = 0
          },
          xresizerequest = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            width = -1322243853,
            height = 32760
          },
          xconfigurerequest = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            parent = 140722626288608,
            window = 140706101340403,
            x = 659,
            y = 0,
            width = 51,
            height = 2818048,
            border_width = 0,
            above = 0,
            detail = 0,
            value_mask = 0
          },
          xcirculate = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            event = 140722626288608,
            window = 140706101340403,
            place = 659
          },
          xcirculaterequest = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            parent = 140722626288608,
            window = 140706101340403,
            place = 659
          },
          xproperty = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            atom = 140706101340403,
            time = 659,
            state = 51
          },
          xselectionclear = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            selection = 140706101340403,
            time = 659
          },
          xselectionrequest = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            owner = 140722626288608,
            requestor = 140706101340403,
            selection = 659,
            target = 12103423998558259,
            property = 0,
            time = 0
          },
          xselection = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            requestor = 140722626288608,
            selection = 140706101340403,
            target = 659,
            property = 12103423998558259,
            time = 0
          },
          xcolormap = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            colormap = 140706101340403,
            new = 659,
            state = 0
          },
          xclient = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            message_type = 140706101340403,
            format = 659,
            data = {
              b = "3\000\000\000\000\000+", '\000' <repeats 12 times>,
              s = {51, 0, 0, 43, 0, 0, 0, 0, 0, 0},
              l = {12103423998558259, 0, 0, 0, 0}
            }
          },
          xmapping = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            request = -1322243853,
            first_keycode = 32760,
            count = 659
          },
          xerror = {
            type = 0,
            display = 0x7ffc8a26e280,
            resourceid = 1,
            serial = 140706101340403,
            error_code = 224 '\340',
            request_code = 219 '\333',
            minor_code = 38 '&'
          },
          xkeymap = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            window = 140722626288608,
            key_vector = "\363(0\261\370\177\000\000\223\002\000\000\000\000\000\000\063\000\000\000\000\000+\000\000\000\000\000\000\000\000"
          },
          xgeneric = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            extension = -1977164832,
            evtype = 32764
          },
          xcookie = {
            type = 0,
            serial = 140722626290304,
            send_event = 1,
            display = 0x7ff8b13028f3 <__pselect+195>,
            extension = -1977164832,
            evtype = 32764,
            cookie = 2972723443,
            data = 0x293
          },
          pad = {0, 140722626290304, 1, 140706101340403, 140722626288608, 140706101340403, 659, 12103423998558259, 0, 0, 0, 0, 140722626287616, 140722626286602, 140722626286584, 140722626286560, 0, 0, 0, 0, 140722626287504, 94253577468675, 140722626287536, 125074932632}
        }
        sa_avail = 16384
        sa_count = 5
#18 0x000055b91efcefb8 in XTread_socket (terminal=0x55b920fd16b8, hold_quit=0x7ffc8a26dd40) at ../../md5i/src/xterm.c:11261
        finish = 0
        event = {
          type = 12,
          xany = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946
          },
          xkey = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            root = 0,
            subwindow = 4294967970,
            time = 2814805601681414,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 801,
            state = 16,
            keycode = 36,
            same_screen = 1
          },
          xbutton = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            root = 0,
            subwindow = 4294967970,
            time = 2814805601681414,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 801,
            state = 16,
            button = 36,
            same_screen = 1
          },
          xmotion = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            root = 0,
            subwindow = 4294967970,
            time = 2814805601681414,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 801,
            state = 16,
            is_hint = 36 '$',
            same_screen = 1
          },
          xcrossing = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            root = 0,
            subwindow = 4294967970,
            time = 2814805601681414,
            x = 0,
            y = 0,
            x_root = 0,
            y_root = 801,
            mode = 16,
            detail = 36,
            same_screen = 1,
            focus = 0,
            state = 0
          },
          xfocus = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            mode = 0,
            detail = 0
          },
          xexpose = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            x = 0,
            y = 0,
            width = 674,
            height = 1,
            count = 6
          },
          xgraphicsexpose = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            drawable = 44041946,
            x = 0,
            y = 0,
            width = 674,
            height = 1,
            count = 6,
            major_code = 655373,
            minor_code = 0
          },
          xnoexpose = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            drawable = 44041946,
            major_code = 0,
            minor_code = 0
          },
          xvisibility = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            state = 0
          },
          xcreatewindow = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            parent = 44041946,
            window = 0,
            x = 674,
            y = 1,
            width = 6,
            height = 655373,
            border_width = 0,
            override_redirect = 0
          },
          xdestroywindow = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            event = 44041946,
            window = 0
          },
          xunmap = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            event = 44041946,
            window = 0,
            from_configure = 674
          },
          xmap = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            event = 44041946,
            window = 0,
            override_redirect = 674
          },
          xmaprequest = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            parent = 44041946,
            window = 0
          },
          xreparent = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            event = 44041946,
            window = 0,
            parent = 4294967970,
            x = 6,
            y = 655373,
            override_redirect = 0
          },
          xconfigure = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            event = 44041946,
            window = 0,
            x = 674,
            y = 1,
            width = 6,
            height = 655373,
            border_width = 0,
            above = 3440268804096,
            override_redirect = 16
          },
          xgravity = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            event = 44041946,
            window = 0,
            x = 674,
            y = 1
          },
          xresizerequest = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            width = 0,
            height = 0
          },
          xconfigurerequest = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            parent = 44041946,
            window = 0,
            x = 674,
            y = 1,
            width = 6,
            height = 655373,
            border_width = 0,
            above = 3440268804096,
            detail = 16,
            value_mask = 1
          },
          xcirculate = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            event = 44041946,
            window = 0,
            place = 674
          },
          xcirculaterequest = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            parent = 44041946,
            window = 0,
            place = 674
          },
          xproperty = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            atom = 0,
            time = 4294967970,
            state = 6
          },
          xselectionclear = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            selection = 0,
            time = 4294967970
          },
          xselectionrequest = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            owner = 44041946,
            requestor = 0,
            selection = 4294967970,
            target = 2814805601681414,
            property = 0,
            time = 3440268804096
          },
          xselection = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            requestor = 44041946,
            selection = 0,
            target = 4294967970,
            property = 2814805601681414,
            time = 0
          },
          xcolormap = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            colormap = 0,
            new = 674,
            state = 1
          },
          xclient = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            message_type = 0,
            format = 674,
            data = {
              b = "\006\000\000\000\r\000\n", '\000' <repeats 12 times>,
              s = {6, 0, 13, 10, 0, 0, 0, 0, 0, 0},
              l = {2814805601681414, 0, 3440268804096, 154618822672, 1}
            }
          },
          xmapping = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            request = 0,
            first_keycode = 0,
            count = 674
          },
          xerror = {
            type = 12,
            display = 0x31bdda,
            resourceid = 0,
            serial = 94253612841392,
            error_code = 218 '\332',
            request_code = 6 '\006',
            minor_code = 160 '\240'
          },
          xkeymap = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            window = 44041946,
            key_vector = "\000\000\000\000\000\000\000\000\242\002\000\000\001\000\000\000\006\000\000\000\r\000\n\000\000\000\000\000\000\000\000"
          },
          xgeneric = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            extension = 44041946,
            evtype = 0
          },
          xcookie = {
            type = 12,
            serial = 3259866,
            send_event = 0,
            display = 0x55b9211cb9b0,
            extension = 44041946,
            evtype = 0,
            cookie = 0,
            data = 0x1000002a2
          },
          pad = {12, 3259866, 0, 94253612841392, 44041946, 0, 4294967970, 2814805601681414, 0, 3440268804096, 154618822672, 1, 0 <repeats 12 times>}
        }
        count = 2
        event_found = true
        dpyinfo = 0x55b9212643b0
#19 0x000055b91f00f5e8 in gobble_input () at ../../md5i/src/keyboard.c:7096
        nr = 21945
        hold_quit = {
          kind = NO_EVENT,
          part = scroll_bar_nowhere,
          code = 0,
          modifiers = 0,
          x = XIL(0),
          y = XIL(0),
          timestamp = 0,
          frame_or_window = XIL(0),
          arg = XIL(0)
        }
        next = 0x55b920178760
        nread = 0
        err = false
        t = 0x55b920fd16b8
#20 0x000055b91f00fa37 in handle_async_input () at ../../md5i/src/keyboard.c:7327
        nread = 0
#21 0x000055b91f00fa56 in process_pending_signals () at ../../md5i/src/keyboard.c:7341
#22 0x000055b91f00fa96 in unblock_input_to (level=0) at ../../md5i/src/keyboard.c:7356
#23 0x000055b91f00faba in unblock_input () at ../../md5i/src/keyboard.c:7375
#24 0x000055b91f18c487 in xg_select (fds_lim=34, rfds=0x7ffc8a26e660, wfds=0x7ffc8a26e5e0, efds=0x0, timeout=0x7ffc8a26e5c0, sigmask=0x0) at ../../md5i/src/xgselect.c:195
        pselect_errno = 11
        all_rfds = {
          fds_bits = {8589934592, 0 <repeats 15 times>}
        }
        all_wfds = {
          fds_bits = {0 <repeats 16 times>}
        }
        tmo = {
          tv_sec = 4,
          tv_nsec = 993953325
        }
        tmop = 0x7ffc8a26e5c0
        context = 0x55b920ddb9e0
        have_wfds = true
        gfds_buf = {{
            fd = 9,
            events = 1,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -1977164032,
            events = 32764,
            revents = 0
          }, {
            fd = 520748563,
            events = 21945,
            revents = 0
          }, {
            fd = -1977163616,
            events = 2,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 48,
            events = 0,
            revents = 0
          }, {
            fd = 34848,
            events = 0,
            revents = 0
          }, {
            fd = 10,
            events = 0,
            revents = 0
          }, {
            fd = -1291079666,
            events = 32760,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 42256,
            revents = 59604
          }, {
            fd = -1977163744,
            events = 32764,
            revents = 0
          }, {
            fd = 712842640,
            events = 21945,
            revents = 0
          }, {
            fd = -40,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -1977163776,
            events = 32764,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -1291008024,
            events = 32760,
            revents = 0
          }, {
            fd = 526429248,
            events = 21945,
            revents = 0
          }, {
            fd = 0,
            events = 2,
            revents = 0
          }, {
            fd = 48,
            events = 0,
            revents = 0
          }, {
            fd = 34848,
            events = 0,
            revents = 0
          }, {
            fd = 520273865,
            events = 21945,
            revents = 0
          }, {
            fd = -1382180424,
            events = 32760,
            revents = 0
          }, {
            fd = -1977163936,
            events = 32764,
            revents = 0
          }, {
            fd = -1291079666,
            events = 32760,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 42256,
            revents = 59604
          }, {
            fd = -1977163600,
            events = 32764,
            revents = 0
          }, {
            fd = 712842736,
            events = 21945,
            revents = 0
          }, {
            fd = -40,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -1977163632,
            events = 32764,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -1291008024,
            events = 32760,
            revents = 0
          }, {
            fd = 555863172,
            events = 21945,
            revents = 0
          }, {
            fd = 4096,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -1977163872,
            events = 32764,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -1977163792,
            events = 32764,
            revents = 0
          }, {
            fd = 80,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -1977163568,
            events = 32764,
            revents = 0
          }, {
            fd = 2,
            events = 2,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -1977163584,
            events = 32764,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = -1977163728,
            events = 32764,
            revents = 0
          }, {
            fd = 520652251,
            events = 21945,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = -1977163424,
            events = 32764,
            revents = 0
          }, {
            fd = -1977163680,
            events = 32764,
            revents = 0
          }, {
            fd = -1322684208,
            events = 32760,
            revents = 0
          }, {
            fd = 64,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 1902898432,
            events = 37903,
            revents = 63459
          }, {
            fd = 32,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = -1977163424,
            events = 32764,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = -1977163376,
            events = 32764,
            revents = 0
          }, {
            fd = -1977163440,
            events = 32764,
            revents = 0
          }, {
            fd = -1291105322,
            events = 32760,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = -1291105005,
            events = 32760,
            revents = 0
          }, {
            fd = -398241792,
            events = 11945,
            revents = 50647
          }, {
            fd = -1197289157,
            events = 20,
            revents = 0
          }, {
            fd = -1977163552,
            events = 32512,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 24,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 712842736,
            events = 21945,
            revents = 0
          }, {
            fd = 600895168,
            events = 21945,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = 712842736,
            events = 21945,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 526384864,
            events = 21945,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 1902898432,
            events = 37903,
            revents = 63459
          }, {
            fd = -1977163440,
            events = 32512,
            revents = 0
          }, {
            fd = 2,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 0,
            revents = 0
          }, {
            fd = 526384864,
            events = 21945,
            revents = 0
          }, {
            fd = 526384864,
            events = 21945,
            revents = 0
          }, {
            fd = -1291079666,
            events = 32760,
            revents = 0
          }, {
            fd = -1977163312,
            events = 32764,
            revents = 0
          }, {
            fd = 520271788,
            events = 21945,
            revents = 0
          }, {
            fd = -1977163320,
            events = 32764,
            revents = 0
          }, {
            fd = 526384864,
            events = 21945,
            revents = 0
          }, {
            fd = -30,
            events = 0,
            revents = 0
          }, {
            fd = 1641705326,
            events = 0,
            revents = 0
          }, {
            fd = 526384864,
            events = 21945,
            revents = 0
          }, {
            fd = 31,
            events = 0,
            revents = 0
          }, {
            fd = 64,
            events = 1,
            revents = 0
          }, {
            fd = 1641705326,
            events = 0,
            revents = 0
          }, {
            fd = -1977163312,
            events = 32764,
            revents = 0
          }, {
            fd = 521398157,
            events = 21945,
            revents = 0
          }, {
            fd = -1977163272,
            events = 32764,
            revents = 0
          }, {
            fd = 526384864,
            events = 21945,
            revents = 0
          }, {
            fd = 48,
            events = 0,
            revents = 0
          }, {
            fd = 1641705326,
            events = 0,
            revents = 0
          }, {
            fd = -1977163200,
            events = 32764,
            revents = 0
          }, {
            fd = 521398756,
            events = 21945,
            revents = 0
          }, {
            fd = 571223781,
            events = 21945,
            revents = 0
          }, {
            fd = 1385447426,
            events = 931,
            revents = 0
          }, {
            fd = 549000,
            events = 0,
            revents = 0
          }, {
            fd = 1641705326,
            events = 0,
            revents = 0
          }, {
            fd = 1641705326,
            events = 0,
            revents = 0
          }, {
            fd = 152400549,
            events = 0,
            revents = 0
          }, {
            fd = 0,
            events = 0,
            revents = 0
          }, {
            fd = 1,
            events = 51712,
            revents = 15258
          }, {
            fd = 526384864,
            events = 21945,
            revents = 0
          }, {
            fd = 557480189,
            events = 21945,
            revents = 0
          }, {
            fd = 1641705326,
            events = 0,
            revents = 0
          }, {
            fd = 152400549,
            events = 0,
            revents = 0
          }, {
            fd = -1977163120,
            events = 32764,
            revents = 0
          }, {
            fd = 521398927,
            events = 21945,
            revents = 0
          }, {
            fd = -1977163144,
            events = 32764,
            revents = 0
          }, {
            fd = -1977162960,
            events = 32764,
            revents = 0
          }, {
            fd = 993953325,
            events = 0,
            revents = 0
          }, {
            fd = 4,
            events = 0,
            revents = 0
          }}
        gfds = 0x7ffc8a26de70
        gfds_size = 128
        n_gfds = 1
        retval = 1
        our_fds = 0
        max_fds = 33
        i = 34
        nfds = 1
        tmo_in_millisec = -1
        must_free = 0
        need_to_dispatch = true
#25 0x000055b91f12a290 in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=XIL(0), wait_proc=0x0, just_wait_proc=0) at ../../md5i/src/process.c:5604
        tls_nfds = 0
        tls_available = {
          fds_bits = {0 <repeats 16 times>}
        }
        process_skipped = false
        wrapped = false
        channel_start = 0
        child_fd = 6
        last_read_channel = 14
        channel = 1024
        nfds = 0
        Available = {
          fds_bits = {8589934592, 0 <repeats 15 times>}
        }
        Writeok = {
          fds_bits = {0 <repeats 16 times>}
        }
        check_write = true
        check_delay = 1
        no_avail = false
        xerrno = 11
        proc = XIL(0x1)
        timeout = {
          tv_sec = 0,
          tv_nsec = 0
        }
        end_time = {
          tv_sec = 94253613173800,
          tv_nsec = 0
        }
        timer_delay = {
          tv_sec = 4,
          tv_nsec = 993953325
        }
        got_output_end_time = {
          tv_sec = 1641803491,
          tv_nsec = 155402350
        }
        wait = FOREVER
        got_some_output = -1
        prev_wait_proc_nbytes_read = 0
        retry_for_async = false
        count = 4
        now = {
          tv_sec = 0,
          tv_nsec = -1
        }
#26 0x000055b91f008912 in kbd_buffer_get_event (kbp=0x7ffc8a26e9a8, used_mouse_menu=0x7ffc8a26efef, end_time=0x0) at ../../md5i/src/keyboard.c:3905
        do_display = true
        obj = XIL(0x525b45c)
#27 0x000055b91f004d16 in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7ffc8a26ed80, used_mouse_menu=0x7ffc8a26efef) at ../../md5i/src/keyboard.c:2200
        c = XIL(0)
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        kb = 0x3a352944002
        count = 3
#28 0x000055b91f004faf in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7ffc8a26ed80, prev_event=XIL(0), used_mouse_menu=0x7ffc8a26efef) at ../../md5i/src/keyboard.c:2264
        nextevt = XIL(0)
        frame = 0x3
        terminal = 0x100000000
        events = {XIL(0x55b92c91c69d), XIL(0x55b91f60ac40), XIL(0), XIL(0), XIL(0x7ffc8a26eb98), make_fixnum(23563394350604), XIL(0), XIL(0x7ffc8a26ebc0), XIL(0x55b91f0025eb), XIL(0x55b922759753), XIL(0), XIL(0), XIL(0x7ffc8a26ebf0), XIL(0x55b91f007ec1), XIL(0), XIL(0x18a26ebf0)}
        n = 0
#29 0x000055b91f006638 in read_char (commandflag=1, map=XIL(0x55b921b6de43), prev_event=XIL(0), used_mouse_menu=0x7ffc8a26efef, end_time=0x0) at ../../md5i/src/keyboard.c:2894
        c = XIL(0)
        jmpcount = 3
        local_getcjmp = {{
            __jmpbuf = {0, 111574079895788589, 94253614790909, 48, 0, 0, 111574079822388269, 6126951879474699309},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {94253578057481, 140706033695864, 140706033695816, 94253577517429, 46452449955848, 0, 140706033695864, 94253583739968, 0, 0, 140722626293296, 94253577517429, 2905078856, 94253583739968, 0, 0}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {0 <repeats 16 times>}
            }
          }}
        tem = XIL(0)
        save = XIL(0)
        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = true
        orig_kboard = 0x55b92012bc20
#30 0x000055b91f015374 in read_key_sequence (keybuf=0x7ffc8a26f1f0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../md5i/src/keyboard.c:9753
        interrupted_kboard = 0x55b92012bc20
        interrupted_frame = 0x55b92d2a1c40
        key = XIL(0)
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = XIL(0x7ffc8a26f1d8)
        count = 3
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x55b921b6de43)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x55b920f5dfa3),
          map = XIL(0x55b920f5dfa3),
          start = 0,
          end = 0
        }
        keytran = {
          parent = XIL(0x7ff8ad9c0023),
          map = XIL(0x7ff8ad9c0023),
          start = 0,
          end = 0
        }
        indec = {
          parent = XIL(0x55b920f5dfd3),
          map = XIL(0x55b920f5dfd3),
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0)
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x55b9227ef4c0
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0)
        second_event = XIL(0)
#31 0x000055b91f002aaf in command_loop_1 () at ../../md5i/src/keyboard.c:1394
        cmd = XIL(0x7e60)
        keybuf = {XIL(0x55b92246a5c3), make_fixnum(62), XIL(0x7ffc8a26f250), XIL(0x55b91f0c1aad), make_fixnum(23365695832064), XIL(0x7ffc8a26f270), XIL(0x55b91f60ac40), XIL(0), XIL(0), XIL(0x7ffc8a26f250), XIL(0x55b91f0b88e9), XIL(0x26ef6195), XIL(0x7ffc8a26f2b0), make_fixnum(23563394549580), XIL(0), XIL(0x3), make_fixnum(2), XIL(0xde30), XIL(0x30), XIL(0x55b926ef6195), XIL(0), XIL(0), XIL(0x55b91f60ac40), XIL(0), XIL(0), XIL(0x7ffc8a26f2d0), XIL(0x55b91f0b88e9), XIL(0x274e2ce3), XIL(0x7ffc8a26f310), XIL(0x55b91f0bc679)}
        i = 1
        prev_modiff = 205340
        prev_buffer = 0x55b9218249a0
        already_adjusted = false
#32 0x000055b91f0bc03d in internal_condition_case (bfun=0x55b91f002669 <command_loop_1>, handlers=XIL(0x90), hfun=0x55b91f001c8f <cmd_error>) at ../../md5i/src/eval.c:1492
        val = make_fixnum(23563394350604)
        c = 0x55b9200f3da0
#33 0x000055b91f002319 in command_loop_2 (handlers=XIL(0x90)) at ../../md5i/src/keyboard.c:1135
        val = make_fixnum(0)
#34 0x000055b91f0bb769 in internal_catch (tag=XIL(0xec40), func=0x55b91f0022ef <command_loop_2>, arg=XIL(0x90)) at ../../md5i/src/eval.c:1223
        val = XIL(0x7ffc8a26f410)
        c = 0x55b92017d810
#35 0x000055b91f0022bb in command_loop () at ../../md5i/src/keyboard.c:1113
#36 0x000055b91f00183b in recursive_edit_1 () at ../../md5i/src/keyboard.c:722
        count = 1
        val = XIL(0x7ffc8a26f470)
#37 0x000055b91f0019dd in Frecursive_edit () at ../../md5i/src/keyboard.c:805
        count = 0
        buffer = XIL(0)
#38 0x000055b91effe308 in main (argc=2, argv=0x7ffc8a26f6d8) at ../../md5i/src/emacs.c:2422
        stack_bottom_variable = 0x0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        rlim = {
          rlim_cur = 10022912,
          rlim_max = 18446744073709551615
        }
        lc_all = 0x0
        sockfd = -1
        module_assertions = false
[Message part 3 (text/plain, inline)]

In GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0)
 of 2022-01-04 built on miko
Repository revision: 2970dbaa32e6b33189973ce814b1b327bbbb15fa
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Debian GNU/Linux bookworm/sid

Configured using:
 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid
 --with-native-compilation 'CFLAGS=-ggdb3 -O0''

Configured features:
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 X11
XAW3D XDBE XIM XPM LUCID ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Load-path shadows:
/home/md5i/.config/emacs/elpa/transient-20211105.100/transient hides /usr/local/share/emacs/29.0.50/lisp/transient

Features:
(shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime
smime dig gnus-sum shr pixel-fill kinsoku svg gnus-group gnus-undo
gnus-start gnus-dbus gnus-cloud gnus-spec gnus-win emacsbug sendmail
flyspell ispell view pacproxy descr-text cus-edit pp cus-load time
sieve-manage sasl sasl-anonymous sasl-login sasl-plain rng-loc rng-uri
rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util sgml-mode facemenu dom python tramp-sh tramp
tramp-loaddefs trampver tramp-integration files-x tramp-compat
parse-time iso8601 ls-lisp ps-print ps-print-loaddefs ps-def lpr picture
nm dbus xml magit-submodule magit-obsolete magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
which-func imenu magit-diff smerge-mode diff diff-mode easy-mmode
git-commit log-edit pcvs-util add-log magit-core magit-autorevert
autorevert filenotify magit-margin magit-transient magit-process
with-editor shell pcomplete server magit-mode transient comp comp-cstr
warnings rx cl-extra edmacro kmacro help-mode format-spec magit-git
magit-section magit-utils crm dash nnimap nnmail gnus-int gnus-range
mail-source message yank-media rfc822 mml mml-sec epa mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader utf7 netrc nnoo gnus
wid-edit nnheader gnus-util time-date mail-utils gnus-o365-oauth2 oauth2
url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
mail-prsvr url-gw nsm rmc puny plstore generated generic-x epg rfc6068
epg-config ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help
ediff-init ediff-util dired-x dired dired-loaddefs compile
text-property-search comint ring ansi-color cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs derived
debian-el info package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache json map url-vars seq gv subr-x byte-opt
bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite emoji-zwj charscript charprop case-table
epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice
button loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
x multi-tty make-network-process native-compile emacs)


-- 
Michael Welsh Duggan
(md5i <at> md5i.com)

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53146; Package emacs. (Mon, 10 Jan 2022 00:40:02 GMT) Full text and rfc822 format available.

Message #8 received at 53146 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Michael Welsh Duggan <md5i <at> md5i.com>
Cc: 53146 <at> debbugs.gnu.org
Subject: Re: bug#53146: 29.0.50; Lock up in X11 call
Date: Mon, 10 Jan 2022 08:39:32 +0800
Michael Welsh Duggan <md5i <at> md5i.com> writes:

> Due to what I believe is a bug in Gnome shell or a Gnome shell extension
> that I have running, I am experiencing places where Emacs will lock up
> completely.  
>
> Under some unknown circumstances, when idle for a long while, sometimes
> gnome shell on my system will enter the activities overview instead of
> blanking the screen.  Why it does this is unknown, is likely a bug in
> gnome shell or one of my gnome extensions, and is likely itself
> unrelated to Emacs.  When I exit this state, though, Emacs is in a
> locked-up, unpainted (blank) state and will not respond to anything
> short of a SIGTERM.  Sending a SIGTERM will cause a frame to redraw, but
> Emacs remains in a locked and useless state.  With a second SIGTERM,
> emacs exits.
>
> I have attached to the locked up Emacs in a gdb session.  I've done this
> twice, and each time the backtrace was nearly identical, locking up in
> deep within XSetICValues() in xic_set_preeditarea().  This has been
> ocurring about once every two days, on average, so I can probably
> recreate it, if desired.

Hmm, could you try this with the following X resource applied?

  Emacs.inputStyle: none

Thanks.

Also, what version of GNOME Shell is that, and which extensions have you
installed?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53146; Package emacs. (Mon, 10 Jan 2022 06:41:01 GMT) Full text and rfc822 format available.

Message #11 received at 53146 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Michael Welsh Duggan <md5i <at> md5i.com>
Cc: 53146 <at> debbugs.gnu.org
Subject: Re: bug#53146: 29.0.50; Lock up in X11 call
Date: Mon, 10 Jan 2022 14:39:43 +0800
Po Lu <luangruo <at> yahoo.com> writes:

> Hmm, could you try this with the following X resource applied?
>
>   Emacs.inputStyle: none

Also, please try master to see if it's been fixed.  It's a bit of a stab
in the dark, but it might work.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53146; Package emacs. (Mon, 10 Jan 2022 17:36:01 GMT) Full text and rfc822 format available.

Message #14 received at 53146 <at> debbugs.gnu.org (full text, mbox):

From: Michael Welsh Duggan <mwd <at> md5i.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53146 <at> debbugs.gnu.org
Subject: Re: bug#53146: 29.0.50; Lock up in X11 call
Date: Mon, 10 Jan 2022 12:35:13 -0500
Po Lu <luangruo <at> yahoo.com> writes:

> Michael Welsh Duggan <md5i <at> md5i.com> writes:
>
>> Due to what I believe is a bug in Gnome shell or a Gnome shell extension
>> that I have running, I am experiencing places where Emacs will lock up
>> completely.  
>>
>> Under some unknown circumstances, when idle for a long while, sometimes
>> gnome shell on my system will enter the activities overview instead of
>> blanking the screen.  Why it does this is unknown, is likely a bug in
>> gnome shell or one of my gnome extensions, and is likely itself
>> unrelated to Emacs.  When I exit this state, though, Emacs is in a
>> locked-up, unpainted (blank) state and will not respond to anything
>> short of a SIGTERM.  Sending a SIGTERM will cause a frame to redraw, but
>> Emacs remains in a locked and useless state.  With a second SIGTERM,
>> emacs exits.
>>
>> I have attached to the locked up Emacs in a gdb session.  I've done this
>> twice, and each time the backtrace was nearly identical, locking up in
>> deep within XSetICValues() in xic_set_preeditarea().  This has been
>> ocurring about once every two days, on average, so I can probably
>> recreate it, if desired.
>
> Hmm, could you try this with the following X resource applied?
>
>   Emacs.inputStyle: none
>
> Thanks.
>
> Also, what version of GNOME Shell is that, and which extensions have you
> installed?

Gnome 41.2.  The extension I believe might be involved is
vertical-overview
<URL:https://github.com/RensAlthuis/vertical-overview>.  Might be
triggered when screen blanking happens while there is a fullscreen
window in a desktop, possibly when the desktop is not the current
desktop.  I'm running for a while without this extension in order to try
and determine if is a prerequisite for the failure.

Po Lu <luangruo <at> yahoo.com> writes:

> Po Lu <luangruo <at> yahoo.com> writes:
>
>> Hmm, could you try this with the following X resource applied?
>>
>>   Emacs.inputStyle: none
>
> Also, please try master to see if it's been fixed.  It's a bit of a stab
> in the dark, but it might work.

I'll try that in another day or so.  Thanks.

-- 
Michael Welsh Duggan
(md5i <at> md5i.com)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53146; Package emacs. (Mon, 10 Jan 2022 17:37:02 GMT) Full text and rfc822 format available.

Message #17 received at 53146 <at> debbugs.gnu.org (full text, mbox):

From: Michael Welsh Duggan <mwd <at> md5i.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53146 <at> debbugs.gnu.org
Subject: Re: bug#53146: 29.0.50; Lock up in X11 call
Date: Mon, 10 Jan 2022 12:36:34 -0500
Po Lu <luangruo <at> yahoo.com> writes:

> Michael Welsh Duggan <md5i <at> md5i.com> writes:
>
>> Due to what I believe is a bug in Gnome shell or a Gnome shell extension
>> that I have running, I am experiencing places where Emacs will lock up
>> completely.  
>>
>> Under some unknown circumstances, when idle for a long while, sometimes
>> gnome shell on my system will enter the activities overview instead of
>> blanking the screen.  Why it does this is unknown, is likely a bug in
>> gnome shell or one of my gnome extensions, and is likely itself
>> unrelated to Emacs.  When I exit this state, though, Emacs is in a
>> locked-up, unpainted (blank) state and will not respond to anything
>> short of a SIGTERM.  Sending a SIGTERM will cause a frame to redraw, but
>> Emacs remains in a locked and useless state.  With a second SIGTERM,
>> emacs exits.
>>
>> I have attached to the locked up Emacs in a gdb session.  I've done this
>> twice, and each time the backtrace was nearly identical, locking up in
>> deep within XSetICValues() in xic_set_preeditarea().  This has been
>> ocurring about once every two days, on average, so I can probably
>> recreate it, if desired.
>
> Hmm, could you try this with the following X resource applied?
>
>   Emacs.inputStyle: none
>
> Thanks.
>
> Also, what version of GNOME Shell is that, and which extensions have you
> installed?

Gnome 41.2.  The extension I believe might be involved is
vertical-overview
<URL:https://github.com/RensAlthuis/vertical-overview>.  Might be
triggered when screen blanking happens while there is a fullscreen
window in a desktop, possibly when the desktop is not the current
desktop.  I'm running for a while without this extension in order to try
and determine if is a prerequisite for the failure.

Po Lu <luangruo <at> yahoo.com> writes:

> Po Lu <luangruo <at> yahoo.com> writes:
>
>> Hmm, could you try this with the following X resource applied?
>>
>>   Emacs.inputStyle: none
>
> Also, please try master to see if it's been fixed.  It's a bit of a stab
> in the dark, but it might work.

I'll try that in another day or so.  Thanks.

-- 
Michael Welsh Duggan
(md5i <at> md5i.com)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#53146; Package emacs. (Thu, 13 Jan 2022 02:14:02 GMT) Full text and rfc822 format available.

Message #20 received at 53146 <at> debbugs.gnu.org (full text, mbox):

From: Michael Welsh Duggan <mwd <at> md5i.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 53146 <at> debbugs.gnu.org
Subject: Re: bug#53146: 29.0.50; Lock up in X11 call
Date: Wed, 12 Jan 2022 21:13:28 -0500
Po Lu <luangruo <at> yahoo.com> writes:

> Po Lu <luangruo <at> yahoo.com> writes:
>
>> Hmm, could you try this with the following X resource applied?
>>
>>   Emacs.inputStyle: none
>
> Also, please try master to see if it's been fixed.  It's a bit of a stab
> in the dark, but it might work.

I can confirm that the change you made does fix this problem.  Thanks!

-- 
Michael Welsh Duggan
(md5i <at> md5i.com)




Reply sent to Po Lu <luangruo <at> yahoo.com>:
You have taken responsibility. (Thu, 13 Jan 2022 03:13:02 GMT) Full text and rfc822 format available.

Notification sent to Michael Welsh Duggan <md5i <at> md5i.com>:
bug acknowledged by developer. (Thu, 13 Jan 2022 03:13:02 GMT) Full text and rfc822 format available.

Message #25 received at 53146-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Michael Welsh Duggan <mwd <at> md5i.com>
Cc: 53146-done <at> debbugs.gnu.org
Subject: Re: bug#53146: 29.0.50; Lock up in X11 call
Date: Thu, 13 Jan 2022 11:12:25 +0800
Michael Welsh Duggan <mwd <at> md5i.com> writes:

>> Also, please try master to see if it's been fixed.  It's a bit of a stab
>> in the dark, but it might work.

> I can confirm that the change you made does fix this problem.  Thanks!

Great, I'm closing this bug.  Thanks for testing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Feb 2022 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.