Subject: 31.0.50; Segfault when closing an Emacs frame

From: Visuwesh <[email-masked]>
Date: Tue, 18 Mar 2025 17:51:47 +0530

[ The segfaulted Emacs has the same build details as the one I'm reporting
  the bug from.  ]

When closing an Emacs frame, I encountered a segfault.  The frame that I
closed was showing a PDF view buffer, there were a lavish amount of
frames open in other workspaces (~10 including the frame that caused the
segfault).  The dead process is still open in GDB.

P.S. I am experiencing quite a lot of crashes in the past few months.
     Is Emacs not known to work reliably with gcc-14 (14.2.0)?

Backtrace below:

    Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
    0x0000555555809f96 in flush_frame (f=0x55555e10ccd8) at /home/viz/lib/ports/emacs/src/frame.h:1896
    1896	  struct redisplay_interface *rif = FRAME_RIF (f);
    (gdb) bt
    #0  0x0000555555809f96 in flush_frame (f=0x55555e10ccd8) at /home/viz/lib/ports/emacs/src/frame.h:1896
    #1  EmacsFrameExpose (widget=<optimized out>, event=<optimized out>, region=<optimized out>) at widget.c:496
    #2  0x00007ffff7cfad13 in XtDispatchEventToWidget () at /lib/x86_64-linux-gnu/libXt.so.6
    #3  0x00007ffff7cfb533 in ??? () at /lib/x86_64-linux-gnu/libXt.so.6
    #4  0x00007ffff7cfb6c1 in XtDispatchEvent () at /lib/x86_64-linux-gnu/libXt.so.6
    #5  0x00005555556a14a9 in handle_one_xevent (dpyinfo=dpyinfo@entry=0x555558132c60, event=event@entry=0x7fffffffcfd0, finish=finish@entry=0x7fffffffcfcc, hold_quit=hold_quit@entry=0x7fffffffd0c0) at xterm.c:25573
    #6  0x00005555556ad82d in XTread_socket (terminal=<optimized out>, hold_quit=0x7fffffffd0c0) at xterm.c:25735
    #7  0x00005555556da001 in gobble_input () at keyboard.c:7926
    #8  0x00005555556dd0b5 in handle_async_input () at keyboard.c:8172
    #9  process_pending_signals () at keyboard.c:8186
    #10 unblock_input_to (level=0) at keyboard.c:8201
    #11 unblock_input_to (level=<optimized out>) at keyboard.c:8195
    #12 unblock_input () at keyboard.c:8220
    #13 0x0000555555809d59 in xg_select (fds_lim=<optimized out>, rfds=rfds@entry=0x7fffffffd930, wfds=wfds@entry=0x7fffffffd9b0, efds=efds@entry=0x0, timeout=timeout@entry=0x7fffffffd800, sigmask=sigmask@entry=0x0) at xgselect.c:282
    #14 0x00005555557b86bd in wait_reading_process_output (time_limit=time_limit@entry=97, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at process.c:5793
    #15 0x00005555555b467b in sit_for (timeout=timeout@entry=0x186, reading=reading@entry=true, display_option=display_option@entry=1) at dispnew.c:6936
    #16 0x00005555556e286b in read_char (commandflag=1, map=map@entry=0x5555610600f3, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7fffffffe16b, end_time=end_time@entry=0x0) at /home/viz/lib/ports/emacs/src/lisp.h:704
    #17 0x00005555556e3e6d in read_key_sequence (keybuf=keybuf@entry=0x7fffffffe2a0, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, disable_text_conversion_p=false) at keyboard.c:10757
    #18 0x00005555556e5b14 in command_loop_1 () at keyboard.c:1424
    #19 0x000055555575e3c7 in internal_condition_case (bfun=bfun@entry=0x5555556e5960 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x5555556d8ac0 <cmd_error>) at eval.c:1602
    #20 0x00005555556d0abe in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1163
    #21 0x000055555575e321 in internal_catch (tag=tag@entry=0x12420, func=func@entry=0x5555556d0a90 <command_loop_2>, arg=arg@entry=0x90) at eval.c:1282
    #22 0x00005555556d0a53 in command_loop () at keyboard.c:1141
    #23 0x00005555556d8661 in recursive_edit_1 () at keyboard.c:749
    #24 0x00005555556d89f0 in Frecursive_edit () at keyboard.c:832
    #25 0x00005555555a7e95 in main (argc=4, argv=0x7fffffffe718) at emacs.c:2562
    (gdb) bt full
    #0  0x0000555555809f96 in flush_frame (f=0x55555e10ccd8) at /home/viz/lib/ports/emacs/src/frame.h:1896
            rif = <optimized out>
            rif = <optimized out>
    #1  EmacsFrameExpose (widget=<optimized out>, event=<optimized out>, region=<optimized out>) at widget.c:496
            ew = <optimized out>
            f = 0x55555e10ccd8
    #2  0x00007ffff7cfad13 in XtDispatchEventToWidget () at /lib/x86_64-linux-gnu/libXt.so.6
    #3  0x00007ffff7cfb533 in ??? () at /lib/x86_64-linux-gnu/libXt.so.6
    #4  0x00007ffff7cfb6c1 in XtDispatchEvent () at /lib/x86_64-linux-gnu/libXt.so.6
    #5  0x00005555556a14a9 in handle_one_xevent (dpyinfo=dpyinfo@entry=0x555558132c60, event=event@entry=0x7fffffffcfd0, finish=finish@entry=0x7fffffffcfcc, hold_quit=hold_quit@entry=0x7fffffffd0c0) at xterm.c:25573
            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 = 0x555558132d58
            compose_status = {
              compose_ptr = 0x0,
              chars_matched = 0
            }
            configureEvent = {
              type = 0,
              xany = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408
              },
              xkey = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                root = 0,
                subwindow = 4607182418800017408,
                time = 0,
                x = 16449785,
                y = 16711933,
                x_root = 0,
                y_root = 0,
                state = 0,
                keycode = 0,
                same_screen = 0
              },
              xbutton = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                root = 0,
                subwindow = 4607182418800017408,
                time = 0,
                x = 16449785,
                y = 16711933,
                x_root = 0,
                y_root = 0,
                state = 0,
                button = 0,
                same_screen = 0
              },
              xmotion = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                root = 0,
                subwindow = 4607182418800017408,
                time = 0,
                x = 16449785,
                y = 16711933,
                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 = 4607182418800017408,
                root = 0,
                subwindow = 4607182418800017408,
                time = 0,
                x = 16449785,
                y = 16711933,
                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 = 4607182418800017408,
                mode = 0,
                detail = 0
              },
              xexpose = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                x = 0,
                y = 0,
                width = 0,
                height = 1072693248,
                count = 0
              },
              xgraphicsexpose = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                drawable = 4607182418800017408,
                x = 0,
                y = 0,
                width = 0,
                height = 1072693248,
                count = 0,
                major_code = 0,
                minor_code = 16449785
              },
              xnoexpose = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                drawable = 4607182418800017408,
                major_code = 0,
                minor_code = 0
              },
              xvisibility = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                state = 0
              },
              xcreatewindow = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                parent = 4607182418800017408,
                window = 0,
                x = 0,
                y = 1072693248,
                width = 0,
                height = 0,
                border_width = 16449785,
                override_redirect = 16711933
              },
              xdestroywindow = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                event = 4607182418800017408,
                window = 0
              },
              xunmap = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                event = 4607182418800017408,
                window = 0,
                from_configure = 0
              },
              xmap = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                event = 4607182418800017408,
                window = 0,
                override_redirect = 0
              },
              xmaprequest = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                parent = 4607182418800017408,
                window = 0
              },
              xreparent = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                event = 4607182418800017408,
                window = 0,
                parent = 4607182418800017408,
                x = 0,
                y = 0,
                override_redirect = 16449785
              },
              xconfigure = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                event = 4607182418800017408,
                window = 0,
                x = 0,
                y = 1072693248,
                width = 0,
                height = 0,
                border_width = 16449785,
                above = 0,
                override_redirect = 0
              },
              xgravity = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                event = 4607182418800017408,
                window = 0,
                x = 0,
                y = 1072693248
              },
              xresizerequest = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                width = 0,
                height = 0
              },
              xconfigurerequest = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                parent = 4607182418800017408,
                window = 0,
                x = 0,
                y = 1072693248,
                width = 0,
                height = 0,
                border_width = 16449785,
                above = 0,
                detail = 0,
                value_mask = 0
              },
              xcirculate = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                event = 4607182418800017408,
                window = 0,
                place = 0
              },
              xcirculaterequest = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                parent = 4607182418800017408,
                window = 0,
                place = 0
              },
              xproperty = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                atom = 0,
                time = 4607182418800017408,
                state = 0
              },
              xselectionclear = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                selection = 0,
                time = 4607182418800017408
              },
              xselectionrequest = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                owner = 4607182418800017408,
                requestor = 0,
                selection = 4607182418800017408,
                target = 0,
                property = 71777205704392953,
                time = 0
              },
              xselection = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                requestor = 4607182418800017408,
                selection = 0,
                target = 4607182418800017408,
                property = 0,
                time = 71777205704392953
              },
              xcolormap = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                colormap = 0,
                new = 0,
                state = 1072693248
              },
              xclient = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                message_type = 0,
                format = 0,
                data = {
                  b = "\000\000\000\000\000\000\000\000\371\000\373\000\375\000\377\000\000\000\000",
                  s = {0, 0, 0, 0, 249, 251, 253, 255, 0, 0},
                  l = {0, 71777205704392953, 0, 0, 0}
                }
              },
              xmapping = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                window = 4607182418800017408,
                request = 0,
                first_keycode = 0,
                count = 0
              },
              xerror = {
                type = 0,
                display = 0x0,
                resourceid = 4607182418800017408,
                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 = 4607182418800017408,
                key_vector = '\000' <repeats 14 times>, "\360?\000\000\000\000\000\000\000\000\371\000\373\000\375\000\377"
              },
              xgeneric = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                extension = 0,
                evtype = 1072693248
              },
              xcookie = {
                type = 0,
                serial = 0,
                send_event = 0,
                display = 0x0,
                extension = 0,
                evtype = 1072693248,
                cookie = 0,
                data = 0x3ff0000000000000
              },
              pad = {0, 0, 4607182418800017408, 0, 4607182418800017408, 0, 4607182418800017408, 0, 71777205704392953, 0 <repeats 11 times>, 4691283957843, 31, 1088, 0}
            }
            next_event = {
              type = 0,
              xany = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                window = 0
              },
              xkey = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                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 = 1179670597,
                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 = 1179670597,
                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 = 1179670597,
                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 = 1179670597,
                display = 0x0,
                window = 0,
                mode = 0,
                detail = 0
              },
              xexpose = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                window = 0,
                x = 0,
                y = 0,
                width = 0,
                height = 0,
                count = 0
              },
              xgraphicsexpose = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                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 = 1179670597,
                display = 0x0,
                drawable = 0,
                major_code = 0,
                minor_code = 0
              },
              xvisibility = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                window = 0,
                state = 0
              },
              xcreatewindow = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                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 = 1179670597,
                display = 0x0,
                event = 0,
                window = 0
              },
              xunmap = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                event = 0,
                window = 0,
                from_configure = 0
              },
              xmap = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                event = 0,
                window = 0,
                override_redirect = 0
              },
              xmaprequest = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                parent = 0,
                window = 0
              },
              xreparent = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                event = 0,
                window = 0,
                parent = 0,
                x = 0,
                y = 0,
                override_redirect = 0
              },
              xconfigure = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                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 = 1179670597,
                display = 0x0,
                event = 0,
                window = 0,
                x = 0,
                y = 0
              },
              xresizerequest = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                window = 0,
                width = 0,
                height = 0
              },
              xconfigurerequest = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                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 = 1179670597,
                display = 0x0,
                event = 0,
                window = 0,
                place = 0
              },
              xcirculaterequest = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                parent = 0,
                window = 0,
                place = 0
              },
              xproperty = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                window = 0,
                atom = 0,
                time = 0,
                state = 0
              },
              xselectionclear = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                window = 0,
                selection = 0,
                time = 0
              },
              xselectionrequest = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                owner = 0,
                requestor = 0,
                selection = 0,
                target = 0,
                property = 0,
                time = 0
              },
              xselection = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                requestor = 0,
                selection = 0,
                target = 0,
                property = 0,
                time = 0
              },
              xcolormap = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                window = 0,
                colormap = 0,
                new = 0,
                state = 0
              },
              xclient = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                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 = 1179670597,
                display = 0x0,
                window = 0,
                request = 0,
                first_keycode = 0,
                count = 0
              },
              xerror = {
                type = 0,
                display = 0x0,
                resourceid = 1179670597,
                serial = 0,
                error_code = 0 '\000',
                request_code = 0 '\000',
                minor_code = 0 '\000'
              },
              xkeymap = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                window = 0,
                key_vector = '\000' <repeats 31 times>
              },
              xgeneric = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                extension = 0,
                evtype = 0
              },
              xcookie = {
                type = 0,
                serial = 0,
                send_event = 1179670597,
                display = 0x0,
                extension = 0,
                evtype = 0,
                cookie = 0,
                data = 0x0
              },
              pad = {0, 0, 1179670597, 0 <repeats 20 times>, 140737349083534}
            }
            coding = <optimized out>
            use_copy = <optimized out>
            copy = {
              type = -1395292640,
              xany = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32
              },
              xkey = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                root = 17501837052233687552,
                subwindow = 93825019940704,
                time = 5198083588124,
                x = 0,
                y = 0,
                x_root = -164550422,
                y_root = 32767,
                state = 4294954512,
                keycode = 32767,
                same_screen = 12
              },
              xbutton = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                root = 17501837052233687552,
                subwindow = 93825019940704,
                time = 5198083588124,
                x = 0,
                y = 0,
                x_root = -164550422,
                y_root = 32767,
                state = 4294954512,
                button = 32767,
                same_screen = 12
              },
              xmotion = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                root = 17501837052233687552,
                subwindow = 93825019940704,
                time = 5198083588124,
                x = 0,
                y = 0,
                x_root = -164550422,
                y_root = 32767,
                state = 4294954512,
                is_hint = -1 '\377',
                same_screen = 12
              },
              xcrossing = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                root = 17501837052233687552,
                subwindow = 93825019940704,
                time = 5198083588124,
                x = 0,
                y = 0,
                x_root = -164550422,
                y_root = 32767,
                mode = -12784,
                detail = 32767,
                same_screen = 12,
                focus = 0,
                state = 1459359584
              },
              xfocus = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                mode = -14114304,
                detail = -220003311
              },
              xexpose = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                x = -14114304,
                y = -220003311,
                width = 1459359584,
                height = 21845,
                count = 1173159964
              },
              xgraphicsexpose = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                drawable = 32,
                x = -14114304,
                y = -220003311,
                width = 1459359584,
                height = 21845,
                count = 1173159964,
                major_code = 1210,
                minor_code = 0
              },
              xnoexpose = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                drawable = 32,
                major_code = -14114304,
                minor_code = -220003311
              },
              xvisibility = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                state = -14114304
              },
              xcreatewindow = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                parent = 32,
                window = 17501837052233687552,
                x = 1459359584,
                y = 21845,
                width = 1173159964,
                height = 1210,
                border_width = 0,
                override_redirect = 0
              },
              xdestroywindow = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                event = 32,
                window = 17501837052233687552
              },
              xunmap = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                event = 32,
                window = 17501837052233687552,
                from_configure = 1459359584
              },
              xmap = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                event = 32,
                window = 17501837052233687552,
                override_redirect = 1459359584
              },
              xmaprequest = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                parent = 32,
                window = 17501837052233687552
              },
              xreparent = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                event = 32,
                window = 17501837052233687552,
                parent = 93825019940704,
                x = 1173159964,
                y = 1210,
                override_redirect = 0
              },
              xconfigure = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                event = 32,
                window = 17501837052233687552,
                x = 1459359584,
                y = 21845,
                width = 1173159964,
                height = 1210,
                border_width = 0,
                above = 140737323804906,
                override_redirect = -12784
              },
              xgravity = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                event = 32,
                window = 17501837052233687552,
                x = 1459359584,
                y = 21845
              },
              xresizerequest = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                width = -14114304,
                height = -220003311
              },
              xconfigurerequest = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                parent = 32,
                window = 17501837052233687552,
                x = 1459359584,
                y = 21845,
                width = 1173159964,
                height = 1210,
                border_width = 0,
                above = 140737323804906,
                detail = -12784,
                value_mask = 12
              },
              xcirculate = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                event = 32,
                window = 17501837052233687552,
                place = 1459359584
              },
              xcirculaterequest = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                parent = 32,
                window = 17501837052233687552,
                place = 1459359584
              },
              xproperty = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                atom = 17501837052233687552,
                time = 93825019940704,
                state = 1173159964
              },
              xselectionclear = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                selection = 17501837052233687552,
                time = 93825019940704
              },
              xselectionrequest = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                owner = 32,
                requestor = 17501837052233687552,
                selection = 93825019940704,
                target = 5198083588124,
                property = 0,
                time = 140737323804906
              },
              xselection = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                requestor = 32,
                selection = 17501837052233687552,
                target = 93825019940704,
                property = 5198083588124,
                time = 0
              },
              xcolormap = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                colormap = 17501837052233687552,
                new = 1459359584,
                state = 21845
              },
              xclient = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                message_type = 17501837052233687552,
                format = 1459359584,
                data = {
                  b = "\034\000\355E\272\004\000\000\000\000\000\000\000\000\000\000\352(", <incomplete sequence \366>,
                  s = {28, 17901, 1210, 0, 0, 0, 0, 0, 10474, -2511},
                  l = {5198083588124, 0, 140737323804906, 140737488342544, 12}
                }
              },
              xmapping = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                request = -14114304,
                first_keycode = -220003311,
                count = 1459359584
              },
              xerror = {
                type = -1395292640,
                display = 0x24,
                resourceid = 140737324677824,
                serial = 18446744073709551056,
                error_code = 32 ' ',
                request_code = 0 '\000',
                minor_code = 0 '\000'
              },
              xkeymap = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                window = 32,
                key_vector = "\000\242(\377\021\004\343\362`\017\374VUU\000\000\034\000\355E\272\004\000\000\000\000\000\000\000\000\000"
              },
              xgeneric = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                extension = 32,
                evtype = 0
              },
              xcookie = {
                type = -1395292640,
                serial = 36,
                send_event = -163677504,
                display = 0xfffffffffffffdd0,
                extension = 32,
                evtype = 0,
                cookie = 4280852992,
                data = 0x555556fc0f60
              },
              pad = {93826460255776, 36, 140737324677824, -560, 32, -944907021475864064, 93825019940704, 5198083588124, 0, 140737323804906, 140737488342544, 12, 93825019940704, 140737349084916, 0, 93825019945008, 0, -1, 93825019940820, 4096, 0, 0, 140737488342528, 1}
            }
            dx = 0
            dy = 0
            sa_avail = <optimized out>
            sa_count = {
              bytes = <optimized out>
            }
    #6  0x00005555556ad82d in XTread_socket (terminal=<optimized out>, hold_quit=0x7fffffffd0c0) at xterm.c:25735
            finish = 0
            event = {
              type = 12,
              xany = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444
              },
              xkey = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                root = 0,
                subwindow = 4548370368384,
                time = 0,
                x = 367733734,
                y = 0,
                x_root = 973145452,
                y_root = 0,
                state = 1930085552,
                keycode = 0,
                same_screen = 1930022352
              },
              xbutton = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                root = 0,
                subwindow = 4548370368384,
                time = 0,
                x = 367733734,
                y = 0,
                x_root = 973145452,
                y_root = 0,
                state = 1930085552,
                button = 0,
                same_screen = 1930022352
              },
              xmotion = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                root = 0,
                subwindow = 4548370368384,
                time = 0,
                x = 367733734,
                y = 0,
                x_root = 973145452,
                y_root = 0,
                state = 1930085552,
                is_hint = 0 '\000',
                same_screen = 1930022352
              },
              xcrossing = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                root = 0,
                subwindow = 4548370368384,
                time = 0,
                x = 367733734,
                y = 0,
                x_root = 973145452,
                y_root = 0,
                mode = 1930085552,
                detail = 0,
                same_screen = 1930022352,
                focus = 0,
                state = 0
              },
              xfocus = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                mode = 0,
                detail = 0
              },
              xexpose = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                x = 0,
                y = 0,
                width = 1920,
                height = 1059,
                count = 0
              },
              xgraphicsexpose = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                drawable = 35845444,
                x = 0,
                y = 0,
                width = 1920,
                height = 1059,
                count = 0,
                major_code = 0,
                minor_code = 367733734
              },
              xnoexpose = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                drawable = 35845444,
                major_code = 0,
                minor_code = 0
              },
              xvisibility = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                state = 0
              },
              xcreatewindow = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                parent = 35845444,
                window = 0,
                x = 1920,
                y = 1059,
                width = 0,
                height = 0,
                border_width = 367733734,
                override_redirect = 0
              },
              xdestroywindow = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                event = 35845444,
                window = 0
              },
              xunmap = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                event = 35845444,
                window = 0,
                from_configure = 1920
              },
              xmap = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                event = 35845444,
                window = 0,
                override_redirect = 1920
              },
              xmaprequest = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                parent = 35845444,
                window = 0
              },
              xreparent = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                event = 35845444,
                window = 0,
                parent = 4548370368384,
                x = 0,
                y = 0,
                override_redirect = 367733734
              },
              xconfigure = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                event = 35845444,
                window = 0,
                x = 1920,
                y = 1059,
                width = 0,
                height = 0,
                border_width = 367733734,
                above = 973145452,
                override_redirect = 1930085552
              },
              xgravity = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                event = 35845444,
                window = 0,
                x = 1920,
                y = 1059
              },
              xresizerequest = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                width = 0,
                height = 0
              },
              xconfigurerequest = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                parent = 35845444,
                window = 0,
                x = 1920,
                y = 1059,
                width = 0,
                height = 0,
                border_width = 367733734,
                above = 973145452,
                detail = 1930085552,
                value_mask = 1930022352
              },
              xcirculate = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                event = 35845444,
                window = 0,
                place = 1920
              },
              xcirculaterequest = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                parent = 35845444,
                window = 0,
                place = 1920
              },
              xproperty = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                atom = 0,
                time = 4548370368384,
                state = 0
              },
              xselectionclear = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                selection = 0,
                time = 4548370368384
              },
              xselectionrequest = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                owner = 35845444,
                requestor = 0,
                selection = 4548370368384,
                target = 0,
                property = 367733734,
                time = 973145452
              },
              xselection = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                requestor = 35845444,
                selection = 0,
                target = 4548370368384,
                property = 0,
                time = 367733734
              },
              xcolormap = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                colormap = 0,
                new = 1920,
                state = 1059
              },
              xclient = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                message_type = 0,
                format = 1920,
                data = {
                  b = "\000\000\000\000\000\000\000\000\346+\353\025\000\000\000\000l\005\001:",
                  s = {0, 0, 0, 0, 11238, 5611, 0, 0, 1388, 14849},
                  l = {0, 367733734, 973145452, 1930085552, 1930022352}
                }
              },
              xmapping = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                request = 0,
                first_keycode = 0,
                count = 1920
              },
              xerror = {
                type = 12,
                display = 0x21145ed,
                resourceid = 0,
                serial = 93825021088816,
                error_code = 68 'D',
                request_code = 245 '\365',
                minor_code = 34 '"'
              },
              xkeymap = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                window = 35845444,
                key_vector = "\000\000\000\000\000\000\000\000\200\a\000\000#\004\000\000\000\000\000\000\000\000\000\000\346+\353\025\000\000\000"
              },
              xgeneric = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                extension = 35845444,
                evtype = 0
              },
              xcookie = {
                type = 12,
                serial = 34686445,
                send_event = 0,
                display = 0x5555570d9430,
                extension = 35845444,
                evtype = 0,
                cookie = 0,
                data = 0x42300000780
              },
              pad = {12, 34686445, 0, 93825021088816, 35845444, 0, 4548370368384, 0, 367733734, 973145452, 1930085552, 1930022352, 0, 3, -3651143872899186156, -5812129240220433777, 140736135113536, 32, 81, 93825101893920, 140737324677984, 93825099029408, 0, 93824993480000}
            }
            count = 0
            event_found = true
            dpyinfo = 0x555558132c60
    #7  0x00005555556da001 in gobble_input () at keyboard.c:7926
            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 = 0x5555559b9bd0
            nread = 0
            err = <optimized out>
            t = 0x555555cd31f8
    #8  0x00005555556dd0b5 in handle_async_input () at keyboard.c:8172
            nread = <optimized out>
    #9  process_pending_signals () at keyboard.c:8186
    #10 unblock_input_to (level=0) at keyboard.c:8201
    #11 unblock_input_to (level=<optimized out>) at keyboard.c:8195
    #12 unblock_input () at keyboard.c:8220
    #13 0x0000555555809d59 in xg_select (fds_lim=<optimized out>, rfds=rfds@entry=0x7fffffffd930, wfds=wfds@entry=0x7fffffffd9b0, efds=efds@entry=0x0, timeout=timeout@entry=0x7fffffffd800, sigmask=sigmask@entry=0x0) at xgselect.c:282
            pselect_errno = 11
            all_rfds = {
              fds_bits = {4096, 0 <repeats 15 times>}
            }
            all_wfds = {
              fds_bits = {0 <repeats 16 times>}
            }
            tmo = {
              tv_sec = 0,
              tv_nsec = 0
            }
            tmop = 0x7fffffffd800
            context = 0x555555c85110
            have_wfds = <optimized out>
            gfds_buf = {{
                fd = 6,
                events = 1,
                revents = 0
              }, {
                fd = -245204141,
                events = 32767,
                revents = 0
              }, {
                fd = 1435229696,
                events = 21845,
                revents = 0
              }, {
                fd = 301989888,
                events = 0,
                revents = 16384
              }, {
                fd = 68832,
                events = 0,
                revents = 0
              }, {
                fd = 1433802783,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 576,
                events = 0,
                revents = 0
              }, {
                fd = 576,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 1434745976,
                events = 21845,
                revents = 0
              }, {
                fd = 1588690349,
                events = 21845,
                revents = 0
              }, {
                fd = 1433794196,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 11,
                events = 0,
                revents = 0
              }, {
                fd = 46128,
                events = 0,
                revents = 0
              }, {
                fd = 2084106915,
                events = 21845,
                revents = 0
              }, {
                fd = 1588690349,
                events = 21845,
                revents = 0
              }, {
                fd = 46128,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = -11280,
                events = 32767,
                revents = 0
              }, {
                fd = 1,
                events = 0,
                revents = 0
              }, {
                fd = -11376,
                events = 32767,
                revents = 0
              }, {
                fd = 2084087763,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 1433815076,
                events = 21845,
                revents = 0
              }, {
                fd = 1436261877,
                events = 21845,
                revents = 0
              }, {
                fd = 1433814703,
                events = 21845,
                revents = 0
              }, {
                fd = -245268464,
                events = 32767,
                revents = 0
              }, {
                fd = 576,
                events = 0,
                revents = 0
              }, {
                fd = 1436261877,
                events = 21845,
                revents = 0
              }, {
                fd = 2084106915,
                events = 21845,
                revents = 0
              }, {
                fd = 1,
                events = 0,
                revents = 0
              }, {
                fd = 8632512,
                events = 0,
                revents = 0
              }, {
                fd = -11104,
                events = 32767,
                revents = 0
              }, {
                fd = -245268400,
                events = 0,
                revents = 0
              }, {
                fd = -245268397,
                events = 32767,
                revents = 0
              }, {
                fd = 301989888,
                events = 0,
                revents = 16384
              }, {
                fd = -1666664056,
                events = 10922,
                revents = 0
              }, {
                fd = 1433801208,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 3,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = -245268461,
                events = 32767,
                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 = 524288,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = -225289355,
                events = 32767,
                revents = 0
              }, {
                fd = 1,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = -245268400,
                events = 0,
                revents = 0
              }, {
                fd = -245268397,
                events = 32767,
                revents = 0
              }, {
                fd = 301989888,
                events = 0,
                revents = 16384
              }, {
                fd = -1666664056,
                events = 10922,
                revents = 0
              }, {
                fd = 8632512,
                events = 0,
                revents = 0
              }, {
                fd = 1433805471,
                events = 21845,
                revents = 0
              }, {
                fd = -10880,
                events = 32767,
                revents = 0
              }, {
                fd = 512,
                events = 0,
                revents = 0
              }, {
                fd = -10880,
                events = 32767,
                revents = 0
              }, {
                fd = -245268413,
                events = 32767,
                revents = 0
              }, {
                fd = 1435228736,
                events = 21845,
                revents = 0
              }, {
                fd = 1433802783,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 480,
                events = 0,
                revents = 0
              }, {
                fd = 480,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 1434745976,
                events = 21845,
                revents = 0
              }, {
                fd = 1588690349,
                events = 21845,
                revents = 0
              }, {
                fd = 1433794196,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 11,
                events = 0,
                revents = 0
              }, {
                fd = 46128,
                events = 0,
                revents = 0
              }, {
                fd = -244936781,
                events = 32767,
                revents = 0
              }, {
                fd = 1588690349,
                events = 21845,
                revents = 0
              }, {
                fd = 46128,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = -10768,
                events = 32767,
                revents = 0
              }, {
                fd = 1,
                events = 0,
                revents = 0
              }, {
                fd = -10864,
                events = 32767,
                revents = 0
              }, {
                fd = 2084106915,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 1433815076,
                events = 21845,
                revents = 0
              }, {
                fd = 2084107075,
                events = 21845,
                revents = 0
              }, {
                fd = 1433814703,
                events = 21845,
                revents = 0
              }, {
                fd = -245268368,
                events = 32767,
                revents = 0
              }, {
                fd = 480,
                events = 0,
                revents = 0
              }, {
                fd = 2084107075,
                events = 21845,
                revents = 0
              }, {
                fd = 1482994293,
                events = 21845,
                revents = 0
              }, {
                fd = 387625845,
                events = 0,
                revents = 0
              }, {
                fd = 725539429,
                events = 0,
                revents = 0
              }, {
                fd = 1,
                events = 0,
                revents = 0
              }, {
                fd = 2084078800,
                events = 0,
                revents = 0
              }, {
                fd = -10608,
                events = 32767,
                revents = 0
              }, {
                fd = 1434220475,
                events = 21845,
                revents = 0
              }, {
                fd = 1,
                events = 0,
                revents = 0
              }, {
                fd = -164778343,
                events = 32767,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 2,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 612374155,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 1433252107,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = -10608,
                events = 0,
                revents = 0
              }, {
                fd = 2084078336,
                events = 21845,
                revents = 0
              }, {
                fd = 1444993965,
                events = 21845,
                revents = 0
              }, {
                fd = 2084078803,
                events = 21845,
                revents = 0
              }, {
                fd = 2084078496,
                events = 21845,
                revents = 0
              }, {
                fd = 1742299918,
                events = 0,
                revents = 0
              }, {
                fd = 612374155,
                events = 0,
                revents = 0
              }, {
                fd = 1,
                events = 0,
                revents = 0
              }, {
                fd = 2084078803,
                events = 21845,
                revents = 0
              }, {
                fd = 2084078723,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 1434745976,
                events = 21845,
                revents = 0
              }, {
                fd = 0,
                events = 0,
                revents = 0
              }, {
                fd = 1,
                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
    #14 0x00005555557b86bd in wait_reading_process_output (time_limit=time_limit@entry=97, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at process.c:5793
            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 = 35
            channel = 1024
            nfds = <optimized out>
            Available = {
              fds_bits = {4096, 0 <repeats 15 times>}
            }
            Writeok = {
              fds_bits = {0 <repeats 16 times>}
            }
            check_write = true
            check_delay = <optimized out>
            no_avail = <optimized out>
            xerrno = -164550422
            proc = <optimized out>
            timeout = {
              tv_sec = 0,
              tv_nsec = 274460571
            }
            end_time = {
              tv_sec = 1742300015,
              tv_nsec = 612361694
            }
            timer_delay = {
              tv_sec = <optimized out>,
              tv_nsec = <optimized out>
            }
            got_output_end_time = {
              tv_sec = 1742300015,
              tv_nsec = 612361694
            }
            wait = <optimized out>
            got_some_output = -1
            prev_wait_proc_nbytes_read = 0
            retry_for_async = <optimized out>
            count = {
              bytes = <optimized out>
            }
            now = {
              tv_sec = <optimized out>,
              tv_nsec = <optimized out>
            }
    #15 0x00005555555b467b in sit_for (timeout=timeout@entry=0x186, reading=reading@entry=true, display_option=display_option@entry=1) at dispnew.c:6936
            sec = 97
            nsec = 0
            do_display = true
            curbuf_eq_winbuf = true
            nbytes = <optimized out>
    #16 0x00005555556e286b in read_char (commandflag=1, map=map@entry=0x5555610600f3, prev_event=0x0, used_mouse_menu=used_mouse_menu@entry=0x7fffffffe16b, end_time=end_time@entry=0x0) at /home/viz/lib/ports/emacs/src/lisp.h:704
            tem0 = <optimized out>
            timeout = 97
            count1 = {
              bytes = <optimized out>
            }
            delay_level = <optimized out>
            buffer_size = <optimized out>
            c = <optimized out>
            local_getcjmp = {{
                __jmpbuf = {1, -8550547702854708671, 0, 0, 0, 0, -2593201783819988415, -8550561543428763071},
                __mask_was_saved = 0,
                __saved_mask = {
                  __val = {576619, 576620, 128, 128, 0, 0, 93824995327096, 93825149271469, 93824994375316, 2, 93824994296209, 11, 93825096105328, 93825087760032, 93824994296626, 99789344}
                }
              }}
            save_jump = {{
                __jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0},
                __mask_was_saved = 0,
                __saved_mask = {
                  __val = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 93824994375224, 0, 0, 2, 93824993791488, 140737488345776}
                }
              }}
            tem = <optimized out>
            save = <optimized out>
            previous_echo_area_message = 0x0
            also_record = 0x0
            reread = false
            recorded = false
            polling_stopped_here = false
            orig_kboard = 0x5555561925e0
            retry = <optimized out>
            jmpcount = {
              bytes = <optimized out>
            }
            c_volatile = 0x0
    #17 0x00005555556e3e6d in read_key_sequence (keybuf=keybuf@entry=0x7fffffffe2a0, prompt=prompt@entry=0x0, dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, disable_text_conversion_p=false) at keyboard.c:10757
            interrupted_kboard = 0x5555561925e0
            interrupted_frame = <optimized out>
            key = <optimized out>
            used_mouse_menu = false
            echo_local_start = 0
            last_real_key_start = <optimized out>
            keys_local_start = 0
            new_binding = <optimized out>
            count = {
              bytes = <optimized out>
            }
            t = <optimized out>
            echo_start = 0
            keys_start = 0
            current_binding = 0x5555610600f3
            first_unbound = 31
            mock_input = <optimized out>
            used_mouse_menu_history = {false <repeats 30 times>}
            fkey = {
              parent = 0x7ffff4f52b73,
              map = <optimized out>,
              start = 0,
              end = 0
            }
            keytran = {
              parent = 0x7ffff2bb6a9b,
              map = <optimized out>,
              start = 0,
              end = 0
            }
            indec = {
              parent = 0x7ffff4f52b83,
              map = <optimized out>,
              start = 0,
              end = 0
            }
            shift_translated = <optimized out>
            delayed_switch_frame = <optimized out>
            original_uppercase = <optimized out>
            original_uppercase_position = <optimized out>
            disabled_conversion = <optimized out>
            starting_buffer = <optimized out>
            fake_prefixed_keys = 0x0
            first_event = 0x0
            second_event = <optimized out>
    #18 0x00005555556e5b14 in command_loop_1 () at keyboard.c:1424
            cmd = <optimized out>
            keybuf = {0x555561065cb3, 0x55559b843723, 0x19e, 0x60, 0x60, 0x0, 0x0, 0x555555847c78, 0x55555e906d45, 0x55555575f694 <unbind_to+244>, 0x7fffffffea20, 0x55558ed75933, 0xb, 0x112e0, 0x30, 0x55555e906d45, 0x2aaa9d066480, 0x55558ed75933, 0x60, 0x7fffffffe370, 0x7fffffffea20, 0x7fffffffe540, 0x4, 0x5555556d8c19 <cmd_error+345>, 0x0, 0x0, 0x7ffff19ff000, 0x5555558acb10 <main_thread+496>, 0xb, 0xb430}
            i = <optimized out>
            last_pt = <optimized out>
            prev_modiff = 11327
            prev_buffer = 0x555559edebf0
    #19 0x000055555575e3c7 in internal_condition_case (bfun=bfun@entry=0x5555556e5960 <command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x5555556d8ac0 <cmd_error>) at eval.c:1602
            val = <optimized out>
            c = 0x555555a03ab0
    #20 0x00005555556d0abe in command_loop_2 (handlers=handlers@entry=0x90) at keyboard.c:1163
            val = <optimized out>
    #21 0x000055555575e321 in internal_catch (tag=tag@entry=0x12420, func=func@entry=0x5555556d0a90 <command_loop_2>, arg=arg@entry=0x90) at eval.c:1282
            val = <optimized out>
            c = 0x555555a029d0
    #22 0x00005555556d0a53 in command_loop () at keyboard.c:1141
    #23 0x00005555556d8661 in recursive_edit_1 () at keyboard.c:749
            count = {
              bytes = <optimized out>
            }
            val = <optimized out>
    #24 0x00005555556d89f0 in Frecursive_edit () at keyboard.c:832
            count = {
              bytes = <optimized out>
            }
            buffer = <optimized out>
    #25 0x00005555555a7e95 in main (argc=4, argv=0x7fffffffe718) at emacs.c:2562
            stack_bottom_variable = 0xcf0
            old_argc = <optimized out>
            no_loadup = false
            junk = 0x0
            dname_arg = 0x7fffffffea50 "vz"
            ch_to_dir = 0x0
            original_pwd = <optimized out>
            dump_mode = <optimized out>
            skip_args = 1
            temacs = 0x0
            attempt_load_pdump = <optimized out>
            only_version = false
            rlim = {
              rlim_cur = 10022912,
              rlim_max = 18446744073709551615
            }
            lc_all = <optimized out>
            sockfd = -1
            module_assertions = <optimized out>

In GNU Emacs 31.0.50 (build 39, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.2, Xaw scroll bars) of 2025-03-11 built on astatine
Repository revision: 7ba62284137ba162df16f55c75bda4d56da7dfe7
Repository branch: master
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --with-sound=alsa --with-x-toolkit=lucid --without-xaw3d
 --without-gconf --without-libsystemd --with-cairoCFLAGS=-g3'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM
XINERAMA XINPUT2 XPM XRANDR LUCID ZLIB

Important settings:
  value of $LC_MONETARY: ta_IN.UTF-8
  value of $LC_NUMERIC: ta_IN.UTF-8
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:
  gpm-mouse-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  tab-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: linux
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort icons mail-extr emacsbug lisp-mnt message mailcap
yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache
epa derived epg rfc6068 epg-config gnus-util text-property-search
time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils misearch multi-isearch cl-extra help-mode vc-git
diff-mode track-changes easy-mmode vc vc-dispatcher bug-reference
thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs files-x gdb-mi bindat byte-opt gv bytecomp
byte-compile cl-seq cl-loaddefs cl-lib gud comint subr-x ansi-osc
ansi-color ring t-mouse term/linux rmc iso-transl tooltip cconv eldoc
paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode
mwheel term/x-win x-win term/common-win x-dnd touch-screen 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 nadvice seq simple cl-generic
indonesian philippine 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 abbrev obarray oclosure cl-preloaded button loaddefs
theme-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
xinput2 x multi-tty move-toolbar make-network-process tty-child-frames
emacs)

Memory information:
((conses 16 180377 15039) (symbols 48 10477 0) (strings 32 30350 2293)
 (string-bytes 1 1050633) (vectors 16 14790)
 (vector-slots 8 137608 6812) (floats 8 41 525)
 (intervals 56 8543 124) (buffers 984 20))