Subject: bug#47244: 28.0.50; SIGSEGV in long-runnning Emacs

From: Michael Welsh Duggan <[email-masked]>
Date: Fri, 19 Mar 2021 10:18:23 -0400

Eli Zaretskii <[email-masked]> writes:

>> From: Michael Welsh Duggan <[email-masked]>
>> Cc: Michael Welsh Duggan <[email-masked]>,  [email-masked],
>>   [email-masked],  [email-masked]
>> Date: Fri, 19 Mar 2021 09:37:21 -0400
>> 
>> > But maybe my fears are exaggerated.  If you set a breakpoint on
>> > Fkill_buffer with commands that say just
>> >
>> >   silent
>> >   continue
>> >   end
>> >
>> > does Emacs run reasonably fast for you to be able to work in such a
>> > session?
>> 
>> I just tested this.  It runs fast enough even without silent.  (I did
>> this to make sure I had set up the breakpoint correctly and it was being
>> triggered. 
>
> Then maybe we can try catching the culprit.  Try this:
>
>   (gdb) break buffer.c:1840 if redisplaying_p != 0
>
> This breakpoint is in this snippet from buffer.c:
>
>   /* Make this buffer not be current.  Exit if it is the sole visible
>      buffer.  */
>   if (b == current_buffer)
>     {
>       tem = Fother_buffer (buffer, Qnil, Qnil);  <<<<<<<<<<<<<<<<<<
>       Fset_buffer (tem);
>       if (b == current_buffer)
> 	return Qnil;
>     }
>
> If this breaks, I'd be interested to see the backtrace (including
> "xbacktrace" which shows the corresponding Lisp backtrace).
>
> Thanks.

That triggered really quickly.

Here's the backtraces:

#0  0x00005555555e1a61 in redisplay_internal ()
    at ../../master/src/xdisp.c:15789
        w = 0x555556b96340
        sw = 0x555556b96340
        fr = 0x555556b8ca50
        pending = false
        must_finish = true
        match_p = true
        tlbufpos = {
          charpos = 127,
          bytepos = 127
        }
        tlendpos = {
          charpos = 0,
          bytepos = 0
        }
        number_of_visible_frames = 4
        count = 3
        sf = 0x555556b8ca50
        polling_stopped_here = false
        tail = XIL(0)
        frame = XIL(0x555555d52afd)
        hscroll_retries = 0
        garbaged_frame_retries = 0
        consider_all_windows_p = false
        update_miniwindow_p = true
#1  0x00005555555e061e in redisplay () at ../../master/src/xdisp.c:15245
#2  0x00005555556e9991 in read_char
    (commandflag=1, map=XIL(0x555558a3e483), prev_event=XIL(0), used_mouse_menu=0x7fffffffdabf, end_time=0x0) at ../../master/src/keyboard.c:2496
        echo_current = false
        c = XIL(0)
        jmpcount = 93824999976800
        local_getcjmp = {{
            __jmpbuf = {93825000009536, 0, 93824999976800, 0, 0, 140737488345232, 93824994486337, 93825051609157},
            __mask_was_saved = -10032,
            __saved_mask = {
              __val = {93824994503322, 140737259960288, 140737259960240, 0, 46912259983440, 0, 140737259960288, 93824999976800, 0, 0, 140737488345344, 93824993977890, 4066572208, 93824999976800, 0, 0}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 32736, 0, 140737266320856, 0, 0, 93825051609152, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93825000009536, 93824994486337, 0, 140737488345184, 93824994507922, 140737266320856, 12884891664, 0, 32736, 93825051609152, 140737266320856, 93824995128912, 51539607552, 93825051609157, 93825051609152, 93824995129355}
            }
          }}
        tem = XIL(0)
        save = make_fixnum(23456248494472)
        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0x555555dea0a0
#3  0x00005555556f86dc in read_key_sequence
    (keybuf=0x7fffffffdcc0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false)
    at ../../master/src/keyboard.c:9484
        interrupted_kboard = 0x555555dea0a0
        interrupted_frame = 0x555556b8ca50
        key = make_fixnum(23456248516455)
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = XIL(0x555557286ce0)
        count = 3
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x555558a3e483)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x5555568a0323),
          map = XIL(0x5555568a0323),
          start = 0,
          end = 0
        }
        keytran = {
          parent = XIL(0x7ffff2c27c4b),
          map = XIL(0x7ffff2c27c4b),
          start = 0,
          end = 0
        }
        indec = {
          parent = XIL(0x5555568a0353),
          map = XIL(0x5555568a0353),
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0)
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x555558df4840
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0)
        second_event = XIL(0)
#4  0x00005555556e6c13 in command_loop_1 () at ../../master/src/keyboard.c:1353
        cmd = XIL(0x7fffffffde10)
        i = 1
        prev_modiff = 0
        prev_buffer = 0x0
        already_adjusted = false
#5  0x000055555579aa34 in internal_condition_case (bfun=0x5555556e67cd <command_loop_1>, handlers=XIL(0x90), hfun=0x5555556e5f69 <cmd_error>) at ../../master/src/eval.c:1439
        val = XIL(0x5555556e3b34)
        c = 0x555555db1380
#6  0x00005555556e6495 in command_loop_2 (ignore=XIL(0)) at ../../master/src/keyboard.c:1094
        val = make_fixnum(0)
#7  0x000055555579a242 in internal_catch (tag=XIL(0xd950), func=0x5555556e6468 <command_loop_2>, arg=XIL(0)) at ../../master/src/eval.c:1189
        val = XIL(0xd950)
        c = 0x555555d9a6f0
#8  0x00005555556e6434 in command_loop () at ../../master/src/keyboard.c:1073
#9  0x00005555556e5b3a in recursive_edit_1 () at ../../master/src/keyboard.c:720
        count = 1
        val = XIL(0x7fffffffdf50)
#10 0x00005555556e5cbd in Frecursive_edit () at ../../master/src/keyboard.c:789
        count = 0
        buffer = XIL(0)
#11 0x00005555556e26ea in main (argc=2, argv=0x7fffffffe1b8) at ../../master/src/emacs.c:2050
        stack_bottom_variable = 0x7ffff617e053
        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

Lisp Backtrace:
"redisplay_internal (C function)" (0x0)
#0  Fkill_buffer (buffer_or_name=XIL(0x555556da6cd5))
    at ../../master/src/buffer.c:1840
        buffer = XIL(0x555556da6cd5)
        b = 0x555556da6cd0
        tem = XIL(0x55555570ee2b)
        m = 0x7ffffffec990
#1  0x000055555579e96e in funcall_subr
    (subr=0x555555c4c080 <Skill_buffer>, numargs=1, args=0x7ffffffeca60)
    at ../../master/src/eval.c:2987
        internal_argbuf = 
          {XIL(0x7ffff2b2d86d), XIL(0), XIL(0), XIL(0x7ffffffec9a0), XIL(0x555555cc4f80), XIL(0x1000000000), XIL(0x555555c4c080), XIL(0x7ffffffec9c8)}
        internal_args = 0x7ffffffeca60
#2  0x000055555579e582 in Ffuncall (nargs=2, args=0x7ffffffeca58)
    at ../../master/src/eval.c:2914
        fun = XIL(0x555555c4c085)
        original_fun = XIL(0x2aaa9c8bf8c0)
        funcar = make_fixnum(0)
        numargs = 1
        val = XIL(0)
        count = 35
#3  0x00005555557e9a00 in exec_byte_code
    (bytestr=XIL(0x7ffff25d43f4), vector=XIL(0x555556d4ec7d), maxdepth=make_fixnum(2), args_template=make_fixnum(0), nargs=0, args=0x7ffffffecf10)
    at ../../master/src/bytecode.c:632
        op = 1
        type = (CATCHER_ALL | unknown: 0x558181a0)
        targets = 
        const_length = 3
        bytestr_length = 10
        vectorp = 0x555556d4ec80
        quitcounter = 1 '\001'
        stack_items = 3
        sa_avail = 16350
        sa_count = 35
        alloc = 0x7ffffffeca50
        stack_base = 0x7ffffffeca50
        top = 0x7ffffffeca58
        stack_lim = 0x7ffffffeca68
        bytestr_data = 0x7ffffffeca68 "\301\300!\205\t"
        pc = 0x7ffffffeca71 "\207\376\377\377\177"
        count = 35
        result = make_fixnum(8)
#4  0x000055555579ec21 in fetch_and_exec_byte_code (fun=XIL(0x555556e58d75), syms_left=make_fixnum(0), nargs=0, args=0x7ffffffecf10) at ../../master/src/eval.c:3036
#5  0x000055555579efae in funcall_lambda (fun=XIL(0x555556e58d75), nargs=0, arg_vector=0x7ffffffecf10) at ../../master/src/eval.c:3117
        val = XIL(0x7ffffffece90)
        syms_left = make_fixnum(0)
        next = XIL(0x1)
        lexenv = XIL(0x1800000000)
        count = 35
        i = 93824994606300
        optional = false
        rest = false
#6  0x000055555579e5c6 in Ffuncall (nargs=1, args=0x7ffffffecf08) at ../../master/src/eval.c:2916
        fun = XIL(0x555556e58d75)
        original_fun = XIL(0x555556e58d75)
        funcar = XIL(0x7ffffffecec0)
        numargs = 0
        val = XIL(0x7ffffffecf20)
        count = 34
#7  0x00005555557e8f1b in bcall0 (f=XIL(0x555556e58d75)) at ../../master/src/bytecode.c:340
#8  0x00005555557a0125 in do_one_unbind (this_binding=0x7ffffffecf80, unwinding=true, bindflag=SET_INTERNAL_UNBIND) at ../../master/src/eval.c:3575
#9  0x00005555557a04de in unbind_to (count=33, value=XIL(0)) at ../../master/src/eval.c:3713
        this_binding = {
          kind = SPECPDL_UNWIND,
          unwind = {
            kind = SPECPDL_UNWIND,
            func = 0x5555557e8efe <bcall0>,
            arg = XIL(0x555556e58d75),
            eval_depth = 7
          },
          unwind_array = {
            kind = SPECPDL_UNWIND,
            nelts = 93824994938622,
            array = 0x555556e58d75
          },
          unwind_ptr = {
            kind = SPECPDL_UNWIND,
            func = 0x5555557e8efe <bcall0>,
            arg = 0x555556e58d75
          },
          unwind_int = {
            kind = SPECPDL_UNWIND,
            func = 0x5555557e8efe <bcall0>,
            arg = 1457884533
          },
          unwind_intmax = {
            kind = SPECPDL_UNWIND,
            func = 0x5555557e8efe <bcall0>,
            arg = 93825018465653
          },
          unwind_excursion = {
            kind = SPECPDL_UNWIND,
            marker = make_fixnum(23456248734655),
            window = XIL(0x555556e58d75)
          },
          unwind_void = {
            kind = SPECPDL_UNWIND,
            func = 0x5555557e8efe <bcall0>
          },
          let = {
            kind = SPECPDL_UNWIND,
            symbol = make_fixnum(23456248734655),
            old_value = XIL(0x555556e58d75),
            where = XIL(0x7),
            saved_value = XIL(0)
          },
          bt = {
            kind = SPECPDL_UNWIND,
            debug_on_exit = false,
            function = make_fixnum(23456248734655),
            args = 0x555556e58d75,
            nargs = 7
          }
        }
        quitf = XIL(0)
#10 0x00005555557e9ab1 in exec_byte_code (bytestr=XIL(0x7ffff291441c), vector=XIL(0x7ffff29140cd), maxdepth=make_fixnum(23), args_template=make_fixnum(257), nargs=1, args=0x7ffffffed730) at ../../master/src/bytecode.c:652
        op = 2
        type = (unknown: 0xf2c42280)
        const_length = 51
        bytestr_length = 494
        vectorp = 0x7ffff29140d0
        quitcounter = 44 ','
        stack_items = 24
        sa_avail = 15698
        sa_count = 32
        alloc = 0x7ffffffecfd0
        stack_base = 0x7ffffffecfd0
        top = 0x7ffffffed000
        stack_lim = 0x7ffffffed090
        bytestr_data = 0x7ffffffed090 "\211??\205\355\001\b\302p\001\031\303\304\302\"r\211q\210\305\306\002\"\216\004c\210eb\210`dW\203\345\001`ǉ\211\211g\310U\203\234\001\311\061:"
        pc = 0x7ffffffed278 "\262\001)\266\203\207"
        count = 32
        result = XIL(0xc6002383a2010007)
#11 0x000055555579ec21 in fetch_and_exec_byte_code (fun=XIL(0x7ffff291409d), syms_left=make_fixnum(257), nargs=1, args=0x7ffffffed728) at ../../master/src/eval.c:3036
#12 0x000055555579efae in funcall_lambda (fun=XIL(0x7ffff291409d), nargs=1, arg_vector=0x7ffffffed728) at ../../master/src/eval.c:3117
        val = XIL(0x7ffffffed6a0)
        syms_left = make_fixnum(257)
        next = XIL(0)
        lexenv = XIL(0x1800000000)
        count = 32
        i = 93824994606300
        optional = false
        rest = false
#13 0x000055555579e5c6 in Ffuncall (nargs=2, args=0x7ffffffed720) at ../../master/src/eval.c:2916
        fun = XIL(0x7ffff291409d)
        original_fun = XIL(0xcff0)
        funcar = XIL(0x555555cc4f80)
        numargs = 1
        val = XIL(0)
        count = 31
#14 0x000055555579de5b in call1 (fn=XIL(0xcff0), arg1=XIL(0x7ffff276d6fc)) at ../../master/src/eval.c:2774
#15 0x00005555556e8cac in help_echo_substitute_command_keys (help=XIL(0x7ffff276d6fc)) at ../../master/src/keyboard.c:2042
#16 0x00005555556f46c0 in parse_menu_item (item=XIL(0x7ffff276d6eb), inmenubar=0) at ../../master/src/keyboard.c:7700
        help = XIL(0x7ffff276d6fc)
        li = {
          tortoise = XIL(0x7ffff292d363),
          max = 2,
          n = 0,
          q = 1
        }
        def = XIL(0x555556c64823)
        tem = XIL(0xea0)
        item_string = XIL(0x9ae0)
        start = XIL(0x7ffff292d353)
        filter = XIL(0)
        keyhint = XIL(0)
        i = 8
#17 0x000055555561da4c in single_menu_item (key=XIL(0x2aaa9ca7dfa8), item=XIL(0x7ffff292d333), dummy=XIL(0), skp_v=0x7ffffffeda60) at ../../master/src/menu.c:323
        map = XIL(0x7ffffffed9e0)
        item_string = XIL(0x30)
        enabled = XIL(0x7ffff29295a3)
        res = false
        skp = 0x7ffffffeda60
#18 0x00005555557003a6 in map_keymap_item (fun=0x55555561d9ff <single_menu_item>, args=XIL(0), key=XIL(0x2aaa9ca7dfa8), val=XIL(0x7ffff292d333), data=0x7ffffffeda60) at ../../master/src/keymap.c:502
#19 0x000055555570051a in map_keymap_internal (map=XIL(0x555556c64823), fun=0x55555561d9ff <single_menu_item>, args=XIL(0), data=0x7ffffffeda60) at ../../master/src/keymap.c:549
        binding = XIL(0x555556c5d203)
        tail = XIL(0x555556c645f3)
#20 0x00005555557007c2 in map_keymap_canonical (map=XIL(0x555556c64823), fun=0x55555561d9ff <single_menu_item>, args=XIL(0), data=0x7ffffffeda60) at ../../master/src/keymap.c:609
#21 0x000055555561d971 in single_keymap_panes (keymap=XIL(0x7ffff29295a3), pane_name=XIL(0x7ffff2631c84), prefix=XIL(0x2aaa9c96cd20), maxdepth=10) at ../../master/src/menu.c:292
        skp = {
          pending_maps = XIL(0),
          maxdepth = 10,
          notbuttons = 0
        }
#22 0x000055555561e640 in parse_single_submenu (item_key=XIL(0x2aaa9c96cd20), item_name=XIL(0x7ffff2631c84), maps=XIL(0)) at ../../master/src/menu.c:556
        prompt = XIL(0x7ffff2631c84)
        i = 0
        mapvec = 0x7ffffffedab0
        top_level_items = false
        sa_avail = 16376
        sa_count = 31
        len = 1
#23 0x00005555556218f4 in set_frame_menubar (f=0x555556d8c360, deep_p=true) at ../../master/src/xmenu.c:794
        key = XIL(0x2aaa9c96cd20)
        string = XIL(0x7ffff2631c84)
        maps = XIL(0x555556c5da43)
        buffer = XIL(0x7ffff257c6fd)
        specpdl_count = 25
        previous_menu_items_used = 5427
        previous_items = 0x7ffffffedc20
        subitems = 9
        prev = 0x7ffff257c6f8
        menubar_widget = 0x555556f93790
        old_widget = 0x555556f93790
        id = 1
        items = XIL(0x555556d9cead)
        wv = 0x3
        first_wv = 0x7fffffff85b0
        prev_wv = 0x0
        i = 0
        submenu_start = 0x7ffffffedbf0
        submenu_end = 0x7ffffffedbc0
        submenu_top_level_items = 0x7ffffffedb70
        submenu_n_panes = 0x7ffffffedb90
#24 0x00005555555db3e4 in update_menu_bar (f=0x555556d8c360, save_match_data=false, hooks_run=true) at ../../master/src/xdisp.c:12913
        prev = 0x7ffff257c6f8
        count = 22
        window = XIL(0x555556e2e2c5)
        w = 0x555556e2e2c0
#25 0x00005555555db062 in prepare_menu_bars () at ../../master/src/xdisp.c:12799
        f = 0x555556d8c360
        w = 0x555556e2e2c0
        tail = XIL(0x5555569d0ed3)
        frame = XIL(0x555556d8c365)
        count = 21
        menu_bar_hooks_run = false
        all_windows = true
        some_windows = false
#26 0x00005555555e14d7 in redisplay_internal () at ../../master/src/xdisp.c:15661
        w = 0x555556e2e2c0
        sw = 0x555556e2e2c0
        fr = 0x555556d8c360
        pending = false
        must_finish = false
        match_p = false
        tlbufpos = {
          charpos = 139642271694850,
          bytepos = 140737488329552
        }
        tlendpos = {
          charpos = 140737488329520,
          bytepos = 93824994640165
        }
        number_of_visible_frames = 2
        count = 18
        sf = 0x555556d8c360
        polling_stopped_here = false
        tail = XIL(0)
        frame = XIL(0x555555d61a05)
        hscroll_retries = 0
        garbaged_frame_retries = 0
        consider_all_windows_p = false
        update_miniwindow_p = false
#27 0x00005555555e2e05 in redisplay_preserve_echo_area (from_where=13) at ../../master/src/xdisp.c:16382
        count = 17
#28 0x00005555557efd2d in Fdelete_process (process=XIL(0x555556da8c1d)) at ../../master/src/process.c:1090
        p = 0x555556da8c18
#29 0x000055555579e96e in funcall_subr (subr=0x555555c55e00 <Sdelete_process>, numargs=1, args=0x7fffffff9dd8) at ../../master/src/eval.c:2987
        internal_argbuf = {XIL(0x10), XIL(0x3fd0), make_fixnum(23456248621749), XIL(0x2f2704730), XIL(0x555555cc4f80), XIL(0x1000000000), XIL(0x555555c55e00), XIL(0x7fffffff9d28)}
        internal_args = 0x7fffffff9dd8
#30 0x000055555579e582 in Ffuncall (nargs=2, args=0x7fffffff9dd0) at ../../master/src/eval.c:2914
        fun = XIL(0x555555c55e05)
        original_fun = XIL(0x2aaa9ca9f370)
        funcar = make_fixnum(23456248621749)
        numargs = 1
        val = XIL(0)
        count = 16
#31 0x00005555557e9a00 in exec_byte_code (bytestr=XIL(0x555556536fb4), vector=XIL(0x5555564f336d), maxdepth=make_fixnum(10), args_template=make_fixnum(513), nargs=1, args=0x7fffffffa3b8) at ../../master/src/bytecode.c:632
        op = 1
        type = (CONDITION_CASE | CATCHER_ALL | unknown: 0x557101b0)
        const_length = 34
        bytestr_length = 196
        vectorp = 0x5555564f3370
        quitcounter = 3 '\003'
        stack_items = 11
        sa_avail = 16100
        sa_count = 16
        alloc = 0x7fffffff9db0
        stack_base = 0x7fffffff9db0
        top = 0x7fffffff9dd0
        stack_lim = 0x7fffffff9e08
        bytestr_data = 0x7fffffff9e08 "\305\306\002\205\a"
        pc = 0x7fffffff9ec4 "\210\305\341\004\"\262\001\207"
        count = 16
        result = XIL(0)
#32 0x000055555579ec21 in fetch_and_exec_byte_code (fun=XIL(0x5555564f3485), syms_left=make_fixnum(513), nargs=1, args=0x7fffffffa3b0) at ../../master/src/eval.c:3036
#33 0x000055555579efae in funcall_lambda (fun=XIL(0x5555564f3485), nargs=1, arg_vector=0x7fffffffa3b0) at ../../master/src/eval.c:3117
        val = XIL(0x7fffffffa2f0)
        syms_left = make_fixnum(513)
        next = XIL(0)
        lexenv = XIL(0x1800000000)
        count = 16
        i = 93824994606300
        optional = false
        rest = false
#34 0x000055555579e5c6 in Ffuncall (nargs=2, args=0x7fffffffa3a8) at ../../master/src/eval.c:2916
        fun = XIL(0x5555564f3485)
        original_fun = XIL(0x794bd0)
        funcar = XIL(0x7fffffffa350)
        numargs = 1
        val = XIL(0)
        count = 15
#35 0x00005555557e9a00 in exec_byte_code (bytestr=XIL(0x55555653fb84), vector=XIL(0x5555564f6e4d), maxdepth=make_fixnum(15), args_template=make_fixnum(1799), nargs=7, args=0x7fffffffa9a8) at ../../master/src/bytecode.c:632
        op = 1
        type = CONDITION_CASE
        const_length = 42
        bytestr_length = 233
        vectorp = 0x5555564f6e50
        quitcounter = 1 '\001'
        stack_items = 16
        sa_avail = 16023
        sa_count = 14
        alloc = 0x7fffffffa360
        stack_base = 0x7fffffffa360
        top = 0x7fffffffa3a8
        stack_lim = 0x7fffffffa3e0
        bytestr_data = 0x7fffffffa3e0 "\305", <incomplete sequence \342>
        pc = 0x7fffffffa435 "\210\202l"
        count = 14
        result = XIL(0x7fffffff94c0)
#36 0x000055555579ec21 in fetch_and_exec_byte_code (fun=XIL(0x5555564f6fa5), syms_left=make_fixnum(1799), nargs=7, args=0x7fffffffa970) at ../../master/src/eval.c:3036
#37 0x000055555579efae in funcall_lambda (fun=XIL(0x5555564f6fa5), nargs=7, arg_vector=0x7fffffffa970) at ../../master/src/eval.c:3117
        val = XIL(0x7fffffffa8f0)
        syms_left = make_fixnum(1799)
        next = XIL(0x30)
        lexenv = XIL(0x1800000000)
        count = 14
        i = 93824994606300
        optional = false
        rest = false
#38 0x000055555579e5c6 in Ffuncall (nargs=8, args=0x7fffffffa968) at ../../master/src/eval.c:2916
        fun = XIL(0x5555564f6fa5)
        original_fun = XIL(0x876290)
        funcar = XIL(0x7fffffffa950)
        numargs = 7
        val = XIL(0x555555dd01a4)
        count = 13
#39 0x00005555557e9a00 in exec_byte_code (bytestr=XIL(0x55555653fb24), vector=XIL(0x555556db15f5), maxdepth=make_fixnum(8), args_template=make_fixnum(0), nargs=0, args=0x7fffffffae80) at ../../master/src/bytecode.c:632
        op = 7
        type = (unknown: 0x5577ef7c)
        const_length = 13
        bytestr_length = 46
        vectorp = 0x555556db15f8
        quitcounter = 1 '\001'
        stack_items = 9
        sa_avail = 16266
        sa_count = 11
        alloc = 0x7fffffffa960
        stack_base = 0x7fffffffa960
        top = 0x7fffffffa968
        stack_lim = 0x7fffffffa9a8
        bytestr_data = 0x7fffffffa9a8 "r\310\016\v!q\210Ţ\203\030"
        pc = 0x7fffffffa9d4 "*\207"
        count = 11
        result = XIL(0x555556d18793)
#40 0x000055555579ec21 in fetch_and_exec_byte_code (fun=XIL(0x555556dff405), syms_left=make_fixnum(0), nargs=0, args=0x7fffffffae80) at ../../master/src/eval.c:3036
#41 0x000055555579efae in funcall_lambda (fun=XIL(0x555556dff405), nargs=0, arg_vector=0x7fffffffae80) at ../../master/src/eval.c:3117
        val = XIL(0x7fffffffadf0)
        syms_left = make_fixnum(0)
        next = XIL(0x7fffffffae20)
        lexenv = XIL(0x1800000000)
        count = 11
        i = 93824994606300
        optional = false
        rest = false
#42 0x000055555579e5c6 in Ffuncall (nargs=1, args=0x7fffffffae78) at ../../master/src/eval.c:2916
        fun = XIL(0x555556dff405)
        original_fun = XIL(0x555556dff405)
        funcar = XIL(0x5555557e84a5)
        numargs = 0
        val = XIL(0x100000000)
        count = 10
#43 0x00005555557e9a00 in exec_byte_code (bytestr=XIL(0x55555653adb4), vector=XIL(0x5555565006ed), maxdepth=make_fixnum(6), args_template=make_fixnum(257), nargs=1, args=0x7fffffffb3e8) at ../../master/src/bytecode.c:632
        op = 0
        type = CONDITION_CASE
        const_length = 5
        bytestr_length = 25
        vectorp = 0x5555565006f0
        quitcounter = 1 '\001'
        stack_items = 7
        sa_avail = 16303
        sa_count = 10
        alloc = 0x7fffffffae60
        stack_base = 0x7fffffffae60
        top = 0x7fffffffae78
        stack_lim = 0x7fffffffae98
        bytestr_data = 0x7fffffffae98 "\300\001\301\"\302\002\301\303#\210\211\205\030"
        pc = 0x7fffffffaeac "0\207\210Ç\262\377\377\377\177"
        count = 10
        result = XIL(0)
#44 0x000055555579ec21 in fetch_and_exec_byte_code (fun=XIL(0x55555650071d), syms_left=make_fixnum(257), nargs=1, args=0x7fffffffb3e0) at ../../master/src/eval.c:3036
#45 0x000055555579efae in funcall_lambda (fun=XIL(0x55555650071d), nargs=1, arg_vector=0x7fffffffb3e0) at ../../master/src/eval.c:3117
        val = XIL(0x7fffffffb2d0)
        syms_left = make_fixnum(257)
        next = XIL(0x5555557a301c)
        lexenv = XIL(0x1800000000)
        count = 10
        i = 93824994606300
        optional = false
        rest = false
#46 0x000055555579e5c6 in Ffuncall (nargs=2, args=0x7fffffffb3d8) at ../../master/src/eval.c:2916
        fun = XIL(0x55555650071d)
        original_fun = XIL(0x8735c0)
        funcar = XIL(0x555556d8c365)
        numargs = 1
        val = XIL(0)
        count = 9
#47 0x00005555557e9a00 in exec_byte_code (bytestr=XIL(0x55555653add4), vector=XIL(0x5555564f6b7d), maxdepth=make_fixnum(31), args_template=make_fixnum(514), nargs=2, args=0x7fffffffbca8) at ../../master/src/bytecode.c:632
        op = 1
        type = CONDITION_CASE
        const_length = 83
        bytestr_length = 967
        vectorp = 0x5555564f6b80
        quitcounter = 45 '-'
        stack_items = 32
        sa_avail = 15161
        sa_count = 9
        alloc = 0x7fffffffb340
        stack_base = 0x7fffffffb340
        top = 0x7fffffffb3d8
        stack_lim = 0x7fffffffb440
        bytestr_data = 0x7fffffffb440 "\305\062\306\003\306\307\002P\003\"\210\310\002\311\"\204U"
        pc = 0x7fffffffb7f7 "\266\220\060\202\305\003\201R"
        count = 9
        result = XIL(0x7fffffffb8a8)
#48 0x000055555579ec21 in fetch_and_exec_byte_code (fun=XIL(0x5555564f6e1d), syms_left=make_fixnum(514), nargs=2, args=0x7fffffffbc98) at ../../master/src/eval.c:3036
#49 0x000055555579efae in funcall_lambda (fun=XIL(0x5555564f6e1d), nargs=2, arg_vector=0x7fffffffbc98) at ../../master/src/eval.c:3117
        val = XIL(0x7fffffffbc20)
        syms_left = make_fixnum(514)
        next = XIL(0x1)
        lexenv = XIL(0x1800000000)
        count = 9
        i = 93824994606300
        optional = false
        rest = false
#50 0x000055555579e5c6 in Ffuncall (nargs=3, args=0x7fffffffbc90) at ../../master/src/eval.c:2916
        fun = XIL(0x5555564f6e1d)
        original_fun = XIL(0x873290)
        funcar = XIL(0)
        numargs = 2
        val = XIL(0)
        count = 8
#51 0x000055555579d89f in Fapply (nargs=2, args=0x7fffffffbd40) at ../../master/src/eval.c:2544
        i = 3
        funcall_nargs = 3
        funcall_args = 0x7fffffffbc90
        spread_arg = XIL(0)
        fun = XIL(0x5555564f6e1d)
        sa_avail = 16360
        sa_count = 8
        numargs = 2
        retval = XIL(0)
#52 0x000055555579de09 in apply1 (fn=XIL(0x873290), arg=XIL(0x555556d186f3)) at ../../master/src/eval.c:2760
#53 0x00005555557fa958 in read_process_output_call (fun_and_args=XIL(0x555556d186e3)) at ../../master/src/process.c:5930
#54 0x000055555579ad70 in internal_condition_case_1 (bfun=0x5555557fa92a <read_process_output_call>, arg=XIL(0x555556d186e3), handlers=XIL(0x90), hfun=0x5555557fa95a <read_process_output_error_handler>) at ../../master/src/eval.c:1463
        val = XIL(0x555556da8c1d)
        c = 0x555555dc0550
#55 0x00005555557fb24a in read_and_dispose_of_process_output (p=0x555556da8c18, chars=0x7fffffffbe50 "-env GJS_DEBUG_TOPICS=JS&_ERROR;JS&_LOG -env USER=md5i -env XDG_SESSION_TYPE=wayland -env SHLVL=0 -env HOME=/home/md5i -env DESKTOP_SESSION=gnome -env GIO_LAUNCHED_DESKTOP_FILE=/home/md5i/.local/share"..., nbytes=1383, coding=0x555555eccd50) at ../../master/src/process.c:6153
        outstream = XIL(0x873290)
        text = XIL(0x555556db8a84)
        outer_running_asynch_code = false
        waiting = -1
#56 0x00005555557fae68 in read_process_output (proc=XIL(0x555556da8c1d), channel=4) at ../../master/src/process.c:6063
        nbytes = 1383
        p = 0x555556da8c18
        coding = 0x555555eccd50
        carryover = 0
        readmax = 4096
        count = 5
        odeactivate = XIL(0)
        chars = 0x7fffffffbe50 "-env GJS_DEBUG_TOPICS=JS&_ERROR;JS&_LOG -env USER=md5i -env XDG_SESSION_TYPE=wayland -env SHLVL=0 -env HOME=/home/md5i -env DESKTOP_SESSION=gnome -env GIO_LAUNCHED_DESKTOP_FILE=/home/md5i/.local/share"...
        sa_avail = 12224
        sa_count = 5
#57 0x00005555557fa1a3 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 ../../master/src/process.c:5749
        nread = -2011028988
        process_skipped = false
        child_fd = 6
        channel = 4
        nfds = 1
        Available = {
          fds_bits = {16, 0 <repeats 15 times>}
        }
        Writeok = {
          fds_bits = {0 <repeats 16 times>}
        }
        check_write = true
        check_delay = 0
        no_avail = false
        xerrno = 2
        proc = XIL(0x555556da8c1d)
        timeout = {
          tv_sec = 40,
          tv_nsec = 613408153
        }
        end_time = {
          tv_sec = 140737488343328,
          tv_nsec = 93824994634785
        }
        timer_delay = {
          tv_sec = 40,
          tv_nsec = 613408153
        }
        got_output_end_time = {
          tv_sec = 1616263190,
          tv_nsec = 619007247
        }
        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
        }
#58 0x00005555556ecbfd in kbd_buffer_get_event (kbp=0x7fffffffd478, used_mouse_menu=0x7fffffffdabf, end_time=0x0) at ../../master/src/keyboard.c:3869
        do_display = true
        obj = XIL(0x24e5275c)
#59 0x00005555556e8f68 in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffd850, used_mouse_menu=0x7fffffffdabf) at ../../master/src/keyboard.c:2159
        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
#60 0x00005555556e9201 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffd850, prev_event=XIL(0), used_mouse_menu=0x7fffffffdabf) at ../../master/src/keyboard.c:2223
        nextevt = XIL(0)
        frame = 0x0
        terminal = 0x1556ff75f
        events = {XIL(0x555556ae1d5d), XIL(0x555555cc4f80), XIL(0), XIL(0), XIL(0x7fffffffd668), XIL(0x5555556e3c40), XIL(0), XIL(0x7fffffffd690), XIL(0x5555556e685b), XIL(0x555556d18eb3), XIL(0), XIL(0), XIL(0x7fffffffd6c0), make_fixnum(23456248475707), XIL(0), XIL(0x1ffffd6c0)}
        n = 0
#61 0x00005555556ea809 in read_char (commandflag=1, map=XIL(0x555556d18ed3), prev_event=XIL(0), used_mouse_menu=0x7fffffffdabf, end_time=0x0) at ../../master/src/keyboard.c:2833
        c = XIL(0)
        jmpcount = 3
        local_getcjmp = {{
            __jmpbuf = {0, -8377641525854313018, 93824992490624, 0, 0, 0, -8377641526313589306, -2384103731268917818},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93824994503983, 140737259836008, 140737259835960, 0, 46912259801784, 0, 140737259836008, 93825000034176, 0, 0, 140737488345344, 93824993978237, 4066447928, 93825000034176, 0, 0}
            }
          }}
        save_jump = {{
            __jmpbuf = {0, 32880, 140737488345232, 140737266328160, 140737488345200, 140737259226872, 140737259226872, 0},
            __mask_was_saved = 0,
            __saved_mask = {
              __val = {93825000067056, 93824994486998, 0, 140737488345184, 93824994508583, 140737266328160, 12884891664, 0, 32880, 140737259226872, 140737266328160, 93824995129573, 51539607552, 140737259226877, 140737259226872, 93824995130016}
            }
          }}
        tem = XIL(0)
        save = XIL(0x5555556fe77d)
        previous_echo_area_message = XIL(0)
        also_record = XIL(0)
        reread = false
        recorded = false
        polling_stopped_here = true
        orig_kboard = 0x555555d07730
#62 0x00005555556f8848 in read_key_sequence (keybuf=0x7fffffffdcc0, prompt=XIL(0), dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at ../../master/src/keyboard.c:9491
        interrupted_kboard = 0x555555d07730
        interrupted_frame = 0x555555d61a00
        key = XIL(0)
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = XIL(0)
        count = 3
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = XIL(0x555556d18ed3)
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {
          parent = XIL(0x555555d65f43),
          map = XIL(0x555555d65f43),
          start = 0,
          end = 0
        }
        keytran = {
          parent = XIL(0x7ffff2c29383),
          map = XIL(0x7ffff2c29383),
          start = 0,
          end = 0
        }
        indec = {
          parent = XIL(0x555555d65f33),
          map = XIL(0x555555d65f33),
          start = 0,
          end = 0
        }
        shift_translated = false
        delayed_switch_frame = XIL(0)
        original_uppercase = XIL(0)
        original_uppercase_position = -1
        dummyflag = false
        starting_buffer = 0x7ffff257c6f8
        fake_prefixed_keys = XIL(0)
        first_event = XIL(0)
        second_event = XIL(0)
#63 0x00005555556e6d1f in command_loop_1 () at ../../master/src/keyboard.c:1353
        cmd = XIL(0x7fffffffde10)
        i = 0
        prev_modiff = 0
        prev_buffer = 0x0
        already_adjusted = false
#64 0x000055555579acc9 in internal_condition_case (bfun=0x5555556e68d9 <command_loop_1>, handlers=XIL(0x90), hfun=0x5555556e6075 <cmd_error>) at ../../master/src/eval.c:1439
        val = XIL(0x5555556e3c40)
        c = 0x555555dc03e0
#65 0x00005555556e65a1 in command_loop_2 (ignore=XIL(0)) at ../../master/src/keyboard.c:1094
        val = XIL(0)
#66 0x000055555579a4d7 in internal_catch (tag=XIL(0xd9e0), func=0x5555556e6574 <command_loop_2>, arg=XIL(0)) at ../../master/src/eval.c:1189
        val = XIL(0xd9e0)
        c = 0x555555da9710
#67 0x00005555556e6540 in command_loop () at ../../master/src/keyboard.c:1073
#68 0x00005555556e5c46 in recursive_edit_1 () at ../../master/src/keyboard.c:720
        count = 1
        val = XIL(0x7fffffffdf50)
#69 0x00005555556e5dc9 in Frecursive_edit () at ../../master/src/keyboard.c:789
        count = 0
        buffer = XIL(0)
#70 0x00005555556e27f6 in main (argc=2, argv=0x7fffffffe1b8) at ../../master/src/emacs.c:2050
        stack_bottom_variable = 0x7ffff617e053
        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

Lisp Backtrace:
"kill-buffer" (0xfffeca60)
0x56e58d70 PVEC_COMPILED
"substitute-command-keys" (0xfffed728)
"redisplay_internal (C function)" (0x0)
"delete-process" (0xffff9dd8)
"server-delete-client" (0xffffa3b0)
"server-execute" (0xffffa970)
0x56dff400 PVEC_COMPILED
"server-execute-continuation" (0xffffb3e0)
"server-process-filter" (0xffffbc98)

-- 
Michael Welsh Duggan
([email-masked])