Package: emacs;
Reported by: Ken Raeburn <raeburn <at> redhat.com>
Date: Mon, 4 Apr 2022 21:21:01 UTC
Severity: normal
Found in version 28.0.92
To reply to this bug, email your comments to 54715 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
bug-gnu-emacs <at> gnu.org
:bug#54715
; Package emacs
.
(Mon, 04 Apr 2022 21:21:01 GMT) Full text and rfc822 format available.Ken Raeburn <raeburn <at> redhat.com>
:bug-gnu-emacs <at> gnu.org
.
(Mon, 04 Apr 2022 21:21:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Ken Raeburn <raeburn <at> redhat.com> To: bug-gnu-emacs <at> gnu.org Subject: 28.0.92; crash when X server died Date: Mon, 04 Apr 2022 17:19:57 -0400
I was in the midst of creating a new Emacs frame (C-x 5 2) when my X server (Xwayland) died. I’ve only been using frames on this one server, though it looks like the methods I’m using for creating them may give me a mix of $DISPLAY values of :0 and :0.0 in emacs and emacsclient invocations, which Emacs may still be treating as different displays and thus opening two connections. This might explain trying to update frames on one display when the other goes away. I’m using the emacs-lucid-28.0.92-2.fc35.x86_64 package, as packaged up at https://download.copr.fedorainfracloud.org/results/bhavin192/emacs-pretest/ , on Fedora 35. It looks like my use of daemon mode has fallen by the wayside somewhere, so losing both displays means the process exits. I had multiple IRC (rcirc) connections open, emacs server enabled, TRAMP in use, and at least one interactive shell subprocess on a remote machine. Some notable stack frames: #51: creating a new frame #41: reporting lost connection to display :0 #28: reporting lost connection to display :0.0; no frames left, kill emacs #23: calling hooks registered for kill-emacs #18: server-force-stop #14: delete-process calls into redisplay #12: redisplay (SELECTED_FRAME) calls emacs_abort #8: shut_down_emacs kills processes #7: delete-process calls into redisplay #5: redisplay calls emacs_abort (gdb) bt full #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo <at> entry=6, no_tid=no_tid <at> entry=0) at pthread_kill.c:44 tid = <optimized out> ret = 0 pd = <optimized out> old_mask = {__val = {23471232, 140312555028480, 140728384502134, 140316550674212, 0, 32, 140728384501760, 5, 140724603453473, 15838018, 1, 23586016, 8388626, 1, 8, 281479271743543}} ret = <optimized out> #1 0x00007f9dfac338f3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78 #2 0x00007f9dfabe66a6 in __GI_raise (sig=sig <at> entry=6) at ../sysdeps/posix/raise.c:26 ret = <optimized out> #3 0x0000000000423409 in terminate_due_to_signal (sig=6, backtrace_limit=<optimized out>) at ../../src/emacs.c:439 #4 0x0000000000423d4d in emacs_abort () at ../../src/sysdep.c:2282 #5 0x00000000004202a3 in redisplay_internal () at ../../src/xdisp.c:15633 w = <optimized out> sw = <optimized out> fr = <optimized out> pending = <optimized out> must_finish = <optimized out> match_p = <optimized out> tlbufpos = {charpos = <optimized out>, bytepos = <optimized out>} tlendpos = {charpos = <optimized out>, bytepos = <optimized out>} number_of_visible_frames = <optimized out> count = <optimized out> sf = <optimized out> polling_stopped_here = <optimized out> tail = <optimized out> frame = <optimized out> hscroll_retries = <optimized out> garbaged_frame_retries = <optimized out> consider_all_windows_p = <optimized out> update_miniwindow_p = <optimized out> #6 0x00000000006518d5 in redisplay_preserve_echo_area.constprop.0 (from_where=<optimized out>) at ../../src/xdisp.c:16471 count = 24 #7 0x00000000005ed9e5 in Fdelete_process (process=0x4c8d795) at ../../src/process.c:1130 symbol = <optimized out> p = 0x4c8d790 #8 0x00000000005fa275 in kill_buffer_processes (buffer=0x0) at ../../src/process.c:8121 tail = 0x84a2783 proc = <optimized out> #9 0x00000000004235b2 in shut_down_emacs (sig=6, stuff=0x0) at ../../src/emacs.c:2797 tpgrp = <optimized out> fmt = "Fatal error %d: %n%s\n" #10 0x00000000004233d4 in terminate_due_to_signal (sig=6, backtrace_limit=40) at ../../src/emacs.c:422 #11 0x0000000000423d4d in emacs_abort () at ../../src/sysdep.c:2282 #12 0x00000000004202a3 in redisplay_internal () at ../../src/xdisp.c:15633 w = <optimized out> sw = <optimized out> fr = <optimized out> pending = <optimized out> must_finish = <optimized out> match_p = <optimized out> tlbufpos = {charpos = <optimized out>, bytepos = <optimized out>} tlendpos = {charpos = <optimized out>, bytepos = <optimized out>} number_of_visible_frames = <optimized out> count = <optimized out> sf = <optimized out> polling_stopped_here = <optimized out> tail = <optimized out> frame = <optimized out> hscroll_retries = <optimized out> garbaged_frame_retries = <optimized out> consider_all_windows_p = <optimized out> update_miniwindow_p = <optimized out> #13 0x00000000006518d5 in redisplay_preserve_echo_area.constprop.0 (from_where=<optimized out>) at ../../src/xdisp.c:16471 count = 23 #14 0x00000000005ed9e5 in Fdelete_process (process=0x1d8c3bd) at ../../src/process.c:1130 symbol = <optimized out> p = 0x1d8c3b8 #15 0x000000000059cf58 in Ffuncall (nargs=2, args=0x7ffde15e74b0) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x7f9df8e41b48 <text_data_fdoc_blob+3560> funcar = <optimized out> numargs = 1 val = <optimized out> count = 22 #16 0x00007f9de9451ce6 in F7365727665722d7374617274_server_start_0 () at /usr/lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/server-0cc44189-e26f66cb.eln #17 0x000000000059cf58 in Ffuncall (nargs=3, args=0x7ffde15e7600) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x7f9df8e12098 <text_data_reloc_imp_blob+3416> funcar = <optimized out> numargs = 2 val = <optimized out> count = 21 #18 0x00007f9de9452a3f in F7365727665722d666f7263652d73746f70_server_force_stop_0 () at /usr/lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/server-0cc44189-e26f66cb.eln #19 0x000000000059cf58 in Ffuncall (nargs=1, args=0x7ffde15e7698) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x12e8200 funcar = <optimized out> numargs = 0 val = <optimized out> count = 20 #20 0x00007f9df90b3116 in F616e6f6e796d6f75732d6c616d626461_anonymous_lambda_125 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/subr-13adf6a6-f46f7f93.eln #21 0x000000000059cf58 in Ffuncall (nargs=2, args=0x7ffde15e7790) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x7f9df9952d3d funcar = <optimized out> numargs = 1 val = <optimized out> count = 19 #22 0x000000000059db10 in run_hook_wrapped_funcall (nargs=<optimized out>, args=0x7ffde15e7790) at ../../src/eval.c:2760 tmp = 0x12e8200 ret = <optimized out> #23 0x000000000059c0ad in run_hook_with_args (nargs=2, args=0x7ffde15e7790, funcall=0x59daf0 <run_hook_wrapped_funcall>) at ../../src/eval.c:2841 global_vals = <optimized out> sym = 0x93f0 val = 0x22cbdb3 ret = <optimized out> #24 0x00007f9df90b3173 in F72756e2d686f6f6b2d71756572792d6572726f722d776974682d74696d656f7574_run_hook_query_error_with_timeout_0 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/subr-13adf6a6-f46f7f93.eln #25 0x000000000059cf58 in Ffuncall (nargs=2, args=0x7ffde15e7808) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0xcd50 funcar = <optimized out> numargs = 1 val = <optimized out> count = 18 #26 0x0000000000423788 in call1 (arg1=0x93f0, fn=0xcd50) at ../../src/eval.c:2883 exit_code = <optimized out> #27 Fkill_emacs (arg=0x11a) at ../../src/emacs.c:2706 exit_code = <optimized out> #28 0x0000000000422866 in x_connection_closed (dpy=dpy <at> entry=0x511fc50, error_message=error_message <at> entry=0x7ffde15e78e8 "Connection lost to X server ':0.0'", ioerror=ioerror <at> entry=true) at ../../src/xterm.c:10240 dpyinfo = <optimized out> frame = <optimized out> tail = 0x0 idx = <optimized out> #29 0x0000000000422918 in x_io_error_quitter (display=0x511fc50) at ../../src/xterm.c:10315 buf = "Connection lost to X server ':0.0'", '\000' <repeats 22 times>, "\fEKb\000\000\000\000\367[\307\025\000\000\000\000\340y^\341\375\177\000\000\000\243\377\346C\223\017\307\312I_\341\375\177\000\000zo`", '\000' <repeats 14 times>, "\243\377\346C\223\017\307\fEKb\000\000\000\000\020\244\340\n", '\000' <repeats 20 times>, "(\244\340\n", '\000' <repeats 12 times>, "\250|^\341\375\177\000\000$\267(\376\235\177\000\000\020\244\340\n\000\000\000\000P\374\021\005\000\000\000\000"... #30 0x00007f9dfe2f5453 in _XIOError (dpy=dpy <at> entry=0x511fc50) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/XlibInt.c:1548 exit_handler = 0x7f9dfe2f1fb0 <_XDefaultIOErrorExit> exit_handler_data = 0x0 #31 0x00007f9dfe2f8d05 in _XEventsQueued (mode=<optimized out>, dpy=0x511fc50) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/xcb_io.c:435 response = <optimized out> #32 _XEventsQueued (dpy=0x511fc50, mode=<optimized out>) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/xcb_io.c:414 #33 0x00007f9dfe2e5411 in XPending (dpy=0x511fc50) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/Pending.c:55 ret_val = <optimized out> #34 0x00000000004f9f12 in XTread_socket (terminal=<optimized out>, hold_quit=0x7ffde15e7b90) at ../../src/xterm.c:9492 count = 0 event_found = false dpyinfo = 0xa78fc30 #35 0x0000000000523502 in gobble_input () at ../../src/keyboard.c:6980 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} next = 0x0 nread = 0 err = false t = 0xad81e38 #36 0x0000000000523985 in handle_async_input () at ../../src/keyboard.c:7211 nread = <optimized out> #37 process_pending_signals () at ../../src/keyboard.c:7225 #38 unblock_input_to (level=<optimized out>) at ../../src/keyboard.c:7240 #39 unblock_input_to (level=<optimized out>) at ../../src/keyboard.c:7234 #40 0x000000000042286d in totally_unblock_input () at ../../src/keyboard.c:7268 dpyinfo = <optimized out> frame = <optimized out> tail = 0x0 idx = <optimized out> #41 x_connection_closed (dpy=dpy <at> entry=0x167e4e0, error_message=error_message <at> entry=0x7ffde15e7ca8 "Connection lost to X server ':0'", ioerror=ioerror <at> entry=true) at ../../src/xterm.c:10243 dpyinfo = <optimized out> frame = <optimized out> tail = 0x0 idx = <optimized out> #42 0x0000000000422918 in x_io_error_quitter (display=0x167e4e0) at ../../src/xterm.c:10315 buf = "Connection lost to X server ':0'\000\000\000\000\000\000\000\000@}^\341\375\177\000\000\030}^\341\375\177\000\000\320{u\001\000\000\000\000\001\244(\376\235\177\000\000S\256\361\000\000\000\000\000B\266(\376\235\177\000\000\320{u\001\000\000\000\000\350{u\001\000\000\000\000\003", '\000' <repeats 15 times>, "S\256\361\000\000\000\000\000@}^\341\375\177\000\000\000\000\000\000\000\000\000\000\240}^\341\375\177", '\000' <repeats 38 times>, "\004", '\000' <repeats 11 times>... #43 0x00007f9dfe2f5453 in _XIOError (dpy=dpy <at> entry=0x167e4e0) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/XlibInt.c:1548 exit_handler = 0x7f9dfe2f1fb0 <_XDefaultIOErrorExit> exit_handler_data = 0x0 #44 0x00007f9dfe2fa677 in _XReply (dpy=0x167e4e0, rep=0x7ffde15e7e50, extra=0, discard=1) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/xcb_io.c:797 error = 0x0 c = 0x1757bd0 reply = 0x0 current = 0xaac9470 dpy_request = <optimized out> __PRETTY_FUNCTION__ = "_XReply" #45 0x00007f9dfe2ed62f in XSync (dpy=dpy <at> entry=0x167e4e0, discard=discard <at> entry=0) at /usr/src/debug/libX11-1.7.3.1-1.fc35.x86_64/src/Sync.c:44 rep = {type = 58 ':', revertTo = 0 '\000', sequenceNumber = 0, length = 0, focus = 205685472, pad1 = 0, pad2 = 82007728, pad3 = 0, pad4 = 232, pad5 = 0} #46 0x00000000004fb9db in x_catch_errors_with_handler (handler_data=0x0, handler=0x0, dpy=0x167e4e0) at ../../src/xterm.c:10015 data = 0xca71500 #47 x_catch_errors (dpy=0x167e4e0) at ../../src/xterm.c:10028 #48 set_up_x_back_buffer (f=0x4e356b0) at ../../src/xfns.c:2867 #49 0x00000000004fd8c1 in initial_set_up_x_back_buffer (f=0x4e356b0) at ../../src/xfns.c:2911 #50 0x00000000004fdd71 in x_window (f=f <at> entry=0x4e356b0, window_prompting=window_prompting <at> entry=0) at ../../src/xfns.c:3070 class_hints = {res_name = 0x4e35918 "\031\200\002\n", res_class = 0x4471f9 <window_box_height+185> "\204\300t\r\213\203\350\001"} attributes = {background_pixmap = 0, background_pixel = 0, border_pixmap = 2817498546176, border_pixel = 0, bit_gravity = 0, win_gravity = 0, backing_store = 82007728, backing_planes = 240531104, backing_pixel = 321, save_under = 640, event_mask = 240531088, do_not_propagate_mask = 140316495178400, override_redirect = -87810341, colormap = 148956176, cursor = 148956176} attribute_mask = <optimized out> shell_widget = 0xb296090 pane_widget = 0xb2c1c10 frame_widget = 0xc4282e0 al = {{name = 0x6d31e5 <XtStrings+453> "mappedWhenManaged", value = 0}, {name = 0x665e59 "showGrip", value = 0}, {name = 0x665e62 "allowResize", value = 1}, {name = 0x665e6e "resizeToPreferred", value = 1}, {name = 0x665e80 "emacsFrame", value = 82007728}, {name = 0x6d2b68 <XtShellStrings+104> "visual", value = 24458432}, {name = 0x6d30c3 <XtStrings+163> "depth", value = 24}, {name = 0x6d30ba <XtStrings+154> "colormap", value = 58}, {name = 0x6d309c <XtStrings+124> "borderWidth", value = 0}, {name = 0x22 <error: Cannot access memory at address 0x22>, value = 5914917}, {name = 0x50 <error: Cannot access memory at address 0x50>, value = 30340419}, {name = 0x24 <error: Cannot access memory at address 0x24>, value = 238313091}, {name = 0xf330 <error: Cannot access memory at address 0xf330>, value = 0}, {name = 0x0, value = 24428896}, {name = 0x0, value = 4476911}, {name = 0x7c80 <error: Cannot access memory at address 0x7c80>, value = 5914917}, {name = 0x28000000231 <error: Cannot access memory at address 0x28000000231>, value = 30340419}, {name = 0x7350 <error: Cannot access memory at address 0x7350>, value = 238313091}, {name = 0x8340 <error: Cannot access memory at address 0x8340>, value = 0}, {name = 0x0, value = 24428896}, {name = 0x0, value = 4476911}, {name = 0xe345e83 "\016", value = 24428896}, {name = 0x60 <error: Cannot access memory at address 0x60>, value = 96}, {name = 0x0, value = 4477959}, {name = 0x2 <error: Cannot access memory at address 0x2>, value = 2748779070052}} ac = 9 #51 0x0000000000503308 in Fx_create_frame (parms=0xe345e83) at ../../src/xfns.c:4037 f = 0x4e356b0 frame = 0x4e356b5 tem = <optimized out> name = <optimized out> minibuffer_only = <optimized out> undecorated = <optimized out> override_redirect = <optimized out> window_prompting = <optimized out> count = <optimized out> display = <optimized out> dpyinfo = 0x174c160 parent = <optimized out> parent_frame = <optimized out> kb = <optimized out> #52 0x00007f9df8fd1f57 in F782d6372656174652d6672616d652d776974682d6661636573_x_create_frame_with_faces_0 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/faces-b9447c93-7a9c9f1b.eln #53 0x000000000059cf58 in Ffuncall (nargs=2, args=0x7ffde15e8490) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x7f9df8971970 funcar = <optimized out> numargs = 1 val = <optimized out> count = 14 #54 0x00000000005e2ca2 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at ../../src/bytecode.c:632 op = <optimized out> type = <optimized out> const_length = <optimized out> bytestr_length = <optimized out> vectorp = 0x7f9df9399648 quitcounter = 1 '\001' stack_items = <optimized out> sa_avail = <optimized out> sa_count = <optimized out> alloc = <optimized out> stack_base = <optimized out> top = 0x7ffde15e8490 stack_lim = <optimized out> bytestr_data = 0x7ffde15e84a0 "\300\001!\207" pc = <optimized out> count = 14 result = <optimized out> targets = {0x42910f <exec_byte_code-1808545>, 0x5e4e5d <exec_byte_code+9389>, 0x5e4e54 <exec_byte_code+9380>, 0x5e2e3c <exec_byte_code+1164>, 0x5e3408 <exec_byte_code+2648>, 0x5e2e40 <exec_byte_code+1168>, 0x5e5f0b <exec_byte_code+13659>, 0x5e5eb2 <exec_byte_code+13570>, 0x5e3266 <exec_byte_code+2230>, 0x5e325d <exec_byte_code+2221>, 0x5e2db9 <exec_byte_code+1033>, 0x5e3170 <exec_byte_code+1984>, 0x5e4e4b <exec_byte_code+9371>, 0x5e2dc0 <exec_byte_code+1040>, 0x5e300b <exec_byte_code+1627>, 0x5e3179 <exec_byte_code+1993>, 0x5e334f <exec_byte_code+2463>, 0x5e3346 <exec_byte_code+2454>, 0x5e2d2e <exec_byte_code+894>, 0x5e333d <exec_byte_code+2445>, 0x5e2fab <exec_byte_code+1531>, 0x5e2d38 <exec_byte_code+904>, 0x5e32f8 <exec_byte_code+2376>, 0x5e3316 <exec_byte_code+2406>, 0x5e3373 <exec_byte_code+2499>, 0x5e336a <exec_byte_code+2490>, 0x5e2cd0 <exec_byte_code+800>, 0x5e3361 <exec_byte_code+2481>, 0x5e3358 <exec_byte_code+2472>, 0x5e2cd8 <exec_byte_code+808>, 0x5e33a3 <exec_byte_code+2547>, 0x5e337c <exec_byte_code+2508>, 0x5e2f60 <exec_byte_code+1456>, 0x5e2fa2 <exec_byte_code+1522>, 0x5e2c70 <exec_byte_code+704>, 0x5e2f99 <exec_byte_code+1513>, 0x5e2f90 <exec_byte_code+1504>, 0x5e2c78 <exec_byte_code+712>, 0x5e2f42 <exec_byte_code+1426>, 0x5e2f69 <exec_byte_code+1465>, 0x5e32c8 <exec_byte_code+2328>, 0x5e2f1b <exec_byte_code+1387>, 0x5e2c07 <exec_byte_code+599>, 0x5e2f12 <exec_byte_code+1378>, 0x5e2f09 <exec_byte_code+1369>, 0x5e2c10 <exec_byte_code+608>, 0x5e2f24 <exec_byte_code+1396>, 0x5e32d1 <exec_byte_code+2337>, 0x5e4028 <exec_byte_code+5752>, 0x5e406a <exec_byte_code+5818>, 0x5e3f1f <exec_byte_code+5487>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x5e3a7c <exec_byte_code+4300>, 0x5e3a27 <exec_byte_code+4215>, 0x5e39cf <exec_byte_code+4127>, 0x5e3977 <exec_byte_code+4039>, 0x5e391d <exec_byte_code+3949>, 0x5e30c8 <exec_byte_code+1816>, 0x5e3074 <exec_byte_code+1732>, 0x5e38da <exec_byte_code+3882>, 0x5e3125 <exec_byte_code+1909>, 0x5e3029 <exec_byte_code+1657>, 0x5e4df7 <exec_byte_code+9287>, 0x5e4db4 <exec_byte_code+9220>, 0x5e4d53 <exec_byte_code+9123>, 0x5e4ce3 <exec_byte_code+9011>, 0x5e4c59 <exec_byte_code+8873>, 0x5e4b8d <exec_byte_code+8669>, 0x5e4b39 <exec_byte_code+8585>, 0x5e4ae1 <exec_byte_code+8497>, 0x5e4a93 <exec_byte_code+8419>, 0x5e4a3a <exec_byte_code+8330>, 0x5e49df <exec_byte_code+8239>, 0x5e498b <exec_byte_code+8155>, 0x5e4937 <exec_byte_code+8071>, 0x5e48df <exec_byte_code+7983>, 0x5e488a <exec_byte_code+7898>, 0x5e4835 <exec_byte_code+7813>, 0x5e4778 <exec_byte_code+7624>, 0x5e4708 <exec_byte_code+7512>, 0x5e4698 <exec_byte_code+7400>, 0x5e4642 <exec_byte_code+7314>, 0x5e45e9 <exec_byte_code+7225>, 0x5e4590 <exec_byte_code+7136>, 0x5e4537 <exec_byte_code+7047>, 0x5e44de <exec_byte_code+6958>, 0x5e4480 <exec_byte_code+6864>, 0x5e440f <exec_byte_code+6751>, 0x5e43b4 <exec_byte_code+6660>, 0x5e433c <exec_byte_code+6540>, 0x5e42c4 <exec_byte_code+6420>, 0x5e4266 <exec_byte_code+6326>, 0x5e5737 <exec_byte_code+11655>, 0x5e2e8d <exec_byte_code+1245>, 0x5e56f6 <exec_byte_code+11590>, 0x5e569c <exec_byte_code+11500>, 0x5e55c9 <exec_byte_code+11289>, 0x5e556b <exec_byte_code+11195>, 0x5e552a <exec_byte_code+11130>, 0x5e54e4 <exec_byte_code+11060>, 0x5e549e <exec_byte_code+10990>, 0x5e5450 <exec_byte_code+10912>, 0x5e540d <exec_byte_code+10845>, 0x429113 <exec_byte_code-1808541>, 0x5e53c7 <exec_byte_code+10775>, 0x5e535c <exec_byte_code+10668>, 0x5e5316 <exec_byte_code+10598>, 0x5e5a8e <exec_byte_code+12510>, 0x5e5a3b <exec_byte_code+12427>, 0x5e59fa <exec_byte_code+12362>, 0x5e2e91 <exec_byte_code+1249>, 0x429113 <exec_byte_code-1808541>, 0x5e5990 <exec_byte_code+12256>, 0x5e594a <exec_byte_code+12186>, 0x5e5909 <exec_byte_code+12121>, 0x5e58b0 <exec_byte_code+12032>, 0x5e585a <exec_byte_code+11946>, 0x5e5d1c <exec_byte_code+13164>, 0x5e5c71 <exec_byte_code+12993>, 0x5e5b8f <exec_byte_code+12767>, 0x5e5af9 <exec_byte_code+12617>, 0x5e5da3 <exec_byte_code+13299>, 0x5e5d5d <exec_byte_code+13229>, 0x5e4f89 <exec_byte_code+9689>, 0x429113 <exec_byte_code-1808541>, 0x5e3445 <exec_byte_code+2709>, 0x5e3866 <exec_byte_code+3766>, 0x5e2fb4 <exec_byte_code+1540>, 0x5e380f <exec_byte_code+3679>, 0x5e37bb <exec_byte_code+3595>, 0x5e3767 <exec_byte_code+3511>, 0x5e34d0 <exec_byte_code+2848>, 0x5e3499 <exec_byte_code+2793>, 0x5e33c1 <exec_byte_code+2577>, 0x5e3411 <exec_byte_code+2657>, 0x5e418e <exec_byte_code+6110>, 0x5e4119 <exec_byte_code+5993>, 0x5e3fcd <exec_byte_code+5661>, 0x5e407f <exec_byte_code+5839>, 0x5e3afd <exec_byte_code+4429>, 0x5e3ca5 <exec_byte_code+4853>, 0x5e3b55 <exec_byte_code+4517>, 0x5e38a1 <exec_byte_code+3825>, 0x5e4f2f <exec_byte_code+9599>, 0x5e6075 <exec_byte_code+14021>, 0x5e6032 <exec_byte_code+13954>, 0x5e5fef <exec_byte_code+13887>, 0x5e5fa9 <exec_byte_code+13817>, 0x5e610f <exec_byte_code+14175>, 0x5e60bb <exec_byte_code+14091>, 0x5e6163 <exec_byte_code+14259>, 0x5e52c2 <exec_byte_code+10514>, 0x5e5249 <exec_byte_code+10393>, 0x5e51f5 <exec_byte_code+10309>, 0x5e51a1 <exec_byte_code+10225>, 0x5e5160 <exec_byte_code+10160>, 0x5e50e6 <exec_byte_code+10038>, 0x5e506c <exec_byte_code+9916>, 0x5e501b <exec_byte_code+9835>, 0x5e4fca <exec_byte_code+9754>, 0x5e5f5b <exec_byte_code+13739>, 0x5e580c <exec_byte_code+11868>, 0x5e5795 <exec_byte_code+11749>, 0x5e4ec4 <exec_byte_code+9492>, 0x5e4e66 <exec_byte_code+9398>, 0x429113 <exec_byte_code-1808541>, 0x5e36e1 <exec_byte_code+3377>, 0x5e368e <exec_byte_code+3294>, 0x5e363b <exec_byte_code+3211>, 0x5e35eb <exec_byte_code+3131>, 0x5e359b <exec_byte_code+3051>, 0x5e4bce <exec_byte_code+8734>, 0x5e47cd <exec_byte_code+7709>, 0x5e5627 <exec_byte_code+11383>, 0x5e5e5a <exec_byte_code+13482>, 0x5e5df7 <exec_byte_code+13383>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x5e326f <exec_byte_code+2239>, 0x5e31e9 <exec_byte_code+2105>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x5e31a0 <exec_byte_code+2032> <repeats 64 times>} #55 0x000000000059cde7 in Ffuncall (nargs=2, args=0x7ffde15e87d0) at ../../src/eval.c:3039 fun = <optimized out> original_fun = 0x7f9df93995f5 funcar = <optimized out> numargs = 1 val = <optimized out> count = 13 #56 0x000000000059d5d3 in Fapply (nargs=2, args=0x7ffde15e87d0) at ../../src/eval.c:2610 i = <optimized out> funcall_nargs = <optimized out> funcall_args = 0x0 spread_arg = 0xe345e13 fun = 0x7f9df93995f5 sa_avail = 16384 sa_count = 13 numargs = <optimized out> retval = <optimized out> #57 0x000000000059cf58 in Ffuncall (nargs=3, args=0x7ffde15e87c8) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x2d90 funcar = <optimized out> numargs = 2 val = <optimized out> count = 12 #58 0x00000000005e2ca2 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>) at ../../src/bytecode.c:632 op = <optimized out> type = <optimized out> const_length = <optimized out> bytestr_length = <optimized out> vectorp = 0x7f9df9394750 quitcounter = 1 '\001' stack_items = <optimized out> sa_avail = <optimized out> sa_count = <optimized out> alloc = <optimized out> stack_base = <optimized out> top = 0x7ffde15e87c8 stack_lim = <optimized out> bytestr_data = 0x7ffde15e8830 "\f\306\307\002\r\"\303\307\002\002\"\206)" pc = <optimized out> count = 12 result = <optimized out> targets = {0x42910f <exec_byte_code-1808545>, 0x5e4e5d <exec_byte_code+9389>, 0x5e4e54 <exec_byte_code+9380>, 0x5e2e3c <exec_byte_code+1164>, 0x5e3408 <exec_byte_code+2648>, 0x5e2e40 <exec_byte_code+1168>, 0x5e5f0b <exec_byte_code+13659>, 0x5e5eb2 <exec_byte_code+13570>, 0x5e3266 <exec_byte_code+2230>, 0x5e325d <exec_byte_code+2221>, 0x5e2db9 <exec_byte_code+1033>, 0x5e3170 <exec_byte_code+1984>, 0x5e4e4b <exec_byte_code+9371>, 0x5e2dc0 <exec_byte_code+1040>, 0x5e300b <exec_byte_code+1627>, 0x5e3179 <exec_byte_code+1993>, 0x5e334f <exec_byte_code+2463>, 0x5e3346 <exec_byte_code+2454>, 0x5e2d2e <exec_byte_code+894>, 0x5e333d <exec_byte_code+2445>, 0x5e2fab <exec_byte_code+1531>, 0x5e2d38 <exec_byte_code+904>, 0x5e32f8 <exec_byte_code+2376>, 0x5e3316 <exec_byte_code+2406>, 0x5e3373 <exec_byte_code+2499>, 0x5e336a <exec_byte_code+2490>, 0x5e2cd0 <exec_byte_code+800>, 0x5e3361 <exec_byte_code+2481>, 0x5e3358 <exec_byte_code+2472>, 0x5e2cd8 <exec_byte_code+808>, 0x5e33a3 <exec_byte_code+2547>, 0x5e337c <exec_byte_code+2508>, 0x5e2f60 <exec_byte_code+1456>, 0x5e2fa2 <exec_byte_code+1522>, 0x5e2c70 <exec_byte_code+704>, 0x5e2f99 <exec_byte_code+1513>, 0x5e2f90 <exec_byte_code+1504>, 0x5e2c78 <exec_byte_code+712>, 0x5e2f42 <exec_byte_code+1426>, 0x5e2f69 <exec_byte_code+1465>, 0x5e32c8 <exec_byte_code+2328>, 0x5e2f1b <exec_byte_code+1387>, 0x5e2c07 <exec_byte_code+599>, 0x5e2f12 <exec_byte_code+1378>, 0x5e2f09 <exec_byte_code+1369>, 0x5e2c10 <exec_byte_code+608>, 0x5e2f24 <exec_byte_code+1396>, 0x5e32d1 <exec_byte_code+2337>, 0x5e4028 <exec_byte_code+5752>, 0x5e406a <exec_byte_code+5818>, 0x5e3f1f <exec_byte_code+5487>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x5e3a7c <exec_byte_code+4300>, 0x5e3a27 <exec_byte_code+4215>, 0x5e39cf <exec_byte_code+4127>, 0x5e3977 <exec_byte_code+4039>, 0x5e391d <exec_byte_code+3949>, 0x5e30c8 <exec_byte_code+1816>, 0x5e3074 <exec_byte_code+1732>, 0x5e38da <exec_byte_code+3882>, 0x5e3125 <exec_byte_code+1909>, 0x5e3029 <exec_byte_code+1657>, 0x5e4df7 <exec_byte_code+9287>, 0x5e4db4 <exec_byte_code+9220>, 0x5e4d53 <exec_byte_code+9123>, 0x5e4ce3 <exec_byte_code+9011>, 0x5e4c59 <exec_byte_code+8873>, 0x5e4b8d <exec_byte_code+8669>, 0x5e4b39 <exec_byte_code+8585>, 0x5e4ae1 <exec_byte_code+8497>, 0x5e4a93 <exec_byte_code+8419>, 0x5e4a3a <exec_byte_code+8330>, 0x5e49df <exec_byte_code+8239>, 0x5e498b <exec_byte_code+8155>, 0x5e4937 <exec_byte_code+8071>, 0x5e48df <exec_byte_code+7983>, 0x5e488a <exec_byte_code+7898>, 0x5e4835 <exec_byte_code+7813>, 0x5e4778 <exec_byte_code+7624>, 0x5e4708 <exec_byte_code+7512>, 0x5e4698 <exec_byte_code+7400>, 0x5e4642 <exec_byte_code+7314>, 0x5e45e9 <exec_byte_code+7225>, 0x5e4590 <exec_byte_code+7136>, 0x5e4537 <exec_byte_code+7047>, 0x5e44de <exec_byte_code+6958>, 0x5e4480 <exec_byte_code+6864>, 0x5e440f <exec_byte_code+6751>, 0x5e43b4 <exec_byte_code+6660>, 0x5e433c <exec_byte_code+6540>, 0x5e42c4 <exec_byte_code+6420>, 0x5e4266 <exec_byte_code+6326>, 0x5e5737 <exec_byte_code+11655>, 0x5e2e8d <exec_byte_code+1245>, 0x5e56f6 <exec_byte_code+11590>, 0x5e569c <exec_byte_code+11500>, 0x5e55c9 <exec_byte_code+11289>, 0x5e556b <exec_byte_code+11195>, 0x5e552a <exec_byte_code+11130>, 0x5e54e4 <exec_byte_code+11060>, 0x5e549e <exec_byte_code+10990>, 0x5e5450 <exec_byte_code+10912>, 0x5e540d <exec_byte_code+10845>, 0x429113 <exec_byte_code-1808541>, 0x5e53c7 <exec_byte_code+10775>, 0x5e535c <exec_byte_code+10668>, 0x5e5316 <exec_byte_code+10598>, 0x5e5a8e <exec_byte_code+12510>, 0x5e5a3b <exec_byte_code+12427>, 0x5e59fa <exec_byte_code+12362>, 0x5e2e91 <exec_byte_code+1249>, 0x429113 <exec_byte_code-1808541>, 0x5e5990 <exec_byte_code+12256>, 0x5e594a <exec_byte_code+12186>, 0x5e5909 <exec_byte_code+12121>, 0x5e58b0 <exec_byte_code+12032>, 0x5e585a <exec_byte_code+11946>, 0x5e5d1c <exec_byte_code+13164>, 0x5e5c71 <exec_byte_code+12993>, 0x5e5b8f <exec_byte_code+12767>, 0x5e5af9 <exec_byte_code+12617>, 0x5e5da3 <exec_byte_code+13299>, 0x5e5d5d <exec_byte_code+13229>, 0x5e4f89 <exec_byte_code+9689>, 0x429113 <exec_byte_code-1808541>, 0x5e3445 <exec_byte_code+2709>, 0x5e3866 <exec_byte_code+3766>, 0x5e2fb4 <exec_byte_code+1540>, 0x5e380f <exec_byte_code+3679>, 0x5e37bb <exec_byte_code+3595>, 0x5e3767 <exec_byte_code+3511>, 0x5e34d0 <exec_byte_code+2848>, 0x5e3499 <exec_byte_code+2793>, 0x5e33c1 <exec_byte_code+2577>, 0x5e3411 <exec_byte_code+2657>, 0x5e418e <exec_byte_code+6110>, 0x5e4119 <exec_byte_code+5993>, 0x5e3fcd <exec_byte_code+5661>, 0x5e407f <exec_byte_code+5839>, 0x5e3afd <exec_byte_code+4429>, 0x5e3ca5 <exec_byte_code+4853>, 0x5e3b55 <exec_byte_code+4517>, 0x5e38a1 <exec_byte_code+3825>, 0x5e4f2f <exec_byte_code+9599>, 0x5e6075 <exec_byte_code+14021>, 0x5e6032 <exec_byte_code+13954>, 0x5e5fef <exec_byte_code+13887>, 0x5e5fa9 <exec_byte_code+13817>, 0x5e610f <exec_byte_code+14175>, 0x5e60bb <exec_byte_code+14091>, 0x5e6163 <exec_byte_code+14259>, 0x5e52c2 <exec_byte_code+10514>, 0x5e5249 <exec_byte_code+10393>, 0x5e51f5 <exec_byte_code+10309>, 0x5e51a1 <exec_byte_code+10225>, 0x5e5160 <exec_byte_code+10160>, 0x5e50e6 <exec_byte_code+10038>, 0x5e506c <exec_byte_code+9916>, 0x5e501b <exec_byte_code+9835>, 0x5e4fca <exec_byte_code+9754>, 0x5e5f5b <exec_byte_code+13739>, 0x5e580c <exec_byte_code+11868>, 0x5e5795 <exec_byte_code+11749>, 0x5e4ec4 <exec_byte_code+9492>, 0x5e4e66 <exec_byte_code+9398>, 0x429113 <exec_byte_code-1808541>, 0x5e36e1 <exec_byte_code+3377>, 0x5e368e <exec_byte_code+3294>, 0x5e363b <exec_byte_code+3211>, 0x5e35eb <exec_byte_code+3131>, 0x5e359b <exec_byte_code+3051>, 0x5e4bce <exec_byte_code+8734>, 0x5e47cd <exec_byte_code+7709>, 0x5e5627 <exec_byte_code+11383>, 0x5e5e5a <exec_byte_code+13482>, 0x5e5df7 <exec_byte_code+13383>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x5e326f <exec_byte_code+2239>, 0x5e31e9 <exec_byte_code+2105>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x429113 <exec_byte_code-1808541>, 0x5e31a0 <exec_byte_code+2032> <repeats 64 times>} #59 0x000000000059cde7 in Ffuncall (nargs=2, args=0x7ffde15e8ae0) at ../../src/eval.c:3039 fun = <optimized out> original_fun = 0x7f9df896c988 funcar = <optimized out> numargs = 1 val = <optimized out> count = 11 #60 0x00007f9df8ec5892 in F6d616b652d6672616d65_make_frame_0 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/frame-b40fc590-795a6ee7.eln #61 0x000000000059cf58 in Ffuncall (nargs=1, args=0x7ffde15e8c28) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x7f9df8a70bf8 funcar = <optimized out> numargs = 0 val = <optimized out> count = 9 #62 0x00007f9df8ec4e51 in F6d616b652d6672616d652d636f6d6d616e64_make_frame_command_0 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/frame-b40fc590-795a6ee7.eln #63 0x000000000059cf58 in Ffuncall (nargs=1, args=0x7ffde15e8e68) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x7f9df8916488 funcar = <optimized out> numargs = 0 val = <optimized out> count = 8 #64 0x000000000059cfb5 in Ffuncall_interactively (nargs=1, args=0x7ffde15e8e68) at ../../src/callint.c:260 speccount = 7 #65 0x000000000059cf58 in Ffuncall (nargs=2, args=0x7ffde15e8e60) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x75f0 funcar = <optimized out> numargs = 1 val = <optimized out> count = 6 #66 0x000000000059d588 in Fapply (nargs=nargs <at> entry=3, args=args <at> entry=0x7ffde15e8e60) at ../../src/eval.c:2606 i = <optimized out> funcall_nargs = <optimized out> funcall_args = 0x0 spread_arg = 0x0 fun = 0x75f0 sa_avail = 16384 sa_count = 6 numargs = <optimized out> retval = <optimized out> #67 0x00000000005a11bf in Fcall_interactively (function=0x7f9df8916488, record_flag=0x0, keys=0x4e35695) at ../../src/callint.c:353 funval = <optimized out> events = <optimized out> input = <optimized out> speccount = 5 arg_from_tty = false key_count = 3 record_then_fail = false save_this_command = 0x7f9df8916488 save_this_original_command = 0x7f9df8916488 save_real_this_command = 0x7f9df8916488 save_last_command = 0xa163ce0 prefix_arg = 0x0 enable = <optimized out> up_event = 0x0 form = <optimized out> specs = 0x0 sa_avail = <optimized out> string_len = <optimized out> string = <optimized out> string_end = <optimized out> next_event = <optimized out> nargs = <optimized out> args = <optimized out> visargs = <optimized out> varies = <optimized out> tem = <optimized out> val = <optimized out> #68 0x00007f9df916e0a1 in F636f6d6d616e642d65786563757465_command_execute_0 () at /usr/libexec/emacs/28.0.92/x86_64-redhat-linux-gnu/../../../../bin/../lib64/emacs/28.0.92/native-lisp/28.0.92-47b3e935/preloaded/simple-fab5b0cf-fcc5e219.eln #69 0x000000000059cf58 in Ffuncall (nargs=2, args=0x7ffde15e9030) at ../../src/eval.c:3023 fun = <optimized out> original_fun = 0x4590 funcar = <optimized out> numargs = 1 val = <optimized out> count = 4 #70 0x00000000005202f7 in call1 (arg1=<optimized out>, fn=0x4590) at ../../src/eval.c:2883 scount = 3 keybuf = {0x62, 0xd6, 0xca, 0x7ffde15e90d8, 0x4000000010000000, 0xc70f9343e6ffa300, 0x3, 0x78, 0x7ffde15e90c0, 0x0, 0x0, 0x0, 0x12e7813, 0x5a6404 <unbind_to+148>, 0xa, 0xda70, 0x30, 0x40e4595, 0x0, 0xc70f9343e6ffa300, 0x3, 0x0, 0x3, 0xc211a93, 0x7ffde15e9120, 0x51962a <cmd_error+410>, 0x0, 0x7ffde15e9508, 0x12e7813, 0x5a6404 <unbind_to+148>} i = <optimized out> cmd = <optimized out> prev_modiff = 40288 prev_buffer = 0x40e4590 already_adjusted = false #71 command_loop_1 () at ../../src/keyboard.c:1505 scount = 3 keybuf = {0x62, 0xd6, 0xca, 0x7ffde15e90d8, 0x4000000010000000, 0xc70f9343e6ffa300, 0x3, 0x78, 0x7ffde15e90c0, 0x0, 0x0, 0x0, 0x12e7813, 0x5a6404 <unbind_to+148>, 0xa, 0xda70, 0x30, 0x40e4595, 0x0, 0xc70f9343e6ffa300, 0x3, 0x0, 0x3, 0xc211a93, 0x7ffde15e9120, 0x51962a <cmd_error+410>, 0x0, 0x7ffde15e9508, 0x12e7813, 0x5a6404 <unbind_to+148>} i = <optimized out> cmd = <optimized out> prev_modiff = 40288 prev_buffer = 0x40e4590 already_adjusted = false #72 0x0000000000597f17 in internal_condition_case (bfun=0x51fe10 <command_loop_1>, handlers=<optimized out>, hfun=0x519490 <cmd_error>) at ../../src/eval.c:1450 val = <optimized out> c = 0x13e56b0 #73 0x0000000000517d6e in command_loop_2 (handlers=handlers <at> entry=0x90) at ../../src/keyboard.c:1133 val = <optimized out> #74 0x0000000000597e59 in internal_catch (tag=<optimized out>, func=0x517d40 <command_loop_2>, arg=0x90) at ../../src/eval.c:1181 val = <optimized out> c = 0x13e5580 #75 0x00000000005199f9 in command_loop () at ../../src/keyboard.c:1111 #76 0x0000000000657878 in recursive_edit_1.isra.0 () at ../../src/keyboard.c:720 count = 1 val = <optimized out> #77 0x000000000051fdfa in Frecursive_edit () at ../../src/keyboard.c:803 count = 0 buffer = <optimized out> #78 0x000000000042d024 in main (argc=1, argv=<optimized out>) at ../../src/emacs.c:2381 stack_bottom_variable = 0x0 no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = <optimized out> dump_mode = <optimized out> skip_args = 0 temacs = 0x0 attempt_load_pdump = <optimized out> rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615} lc_all = <optimized out> sockfd = <optimized out> module_assertions = <optimized out> (gdb) In GNU Emacs 28.0.92 (build 1, x86_64-redhat-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2022-03-20 built on 5bed50ec23174a34b43f6166b598ee0b Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Fedora Linux 35 (Workstation Edition) Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=lucid --with-gpm=no --with-modules --with-harfbuzz --with-cairo --with-json --with-native-compilation build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: rcirc-track-minor-mode: t display-time-mode: t desktop-save-mode: t global-edit-server-edit-mode: t which-function-mode: t icomplete-mode: t shell-dirtrack-mode: t global-hi-lock-mode: t hi-lock-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: /home/raeburn/.emacs.d/elpa/systemtap-mode-20151122.1940/systemtap-mode hides /usr/share/emacs/site-lisp/systemtap-mode /home/raeburn/.emacs.d/elpa/p4-20150721.1937/p4 hides /usr/share/emacs/site-lisp/perforce/p4 /home/raeburn/.emacs.d/elpa/transient-20211101.2251/transient hides /usr/share/emacs/28.0.92/lisp/transient Features: (shadow sort emacsbug sendmail gnus-topic nndraft nnmh nnfolder utf-7 gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache gnutls network-stream nsm mail-extr add-log markdown-mode reveal dired-aux python tramp-sh mule-util dockerfile-mode mhtml-mode css-mode color js sgml-mode facemenu ruby-mode texinfo texinfo-loaddefs rst compile perl-mode sh-script smie executable bug-reference yaml-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs conf-mode vc-git diff-mode vc-dispatcher face-remap org-element avl-tree generator ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe ol-docview doc-view jka-compr image-mode exif ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi ob-shell comp comp-cstr warnings cl-extra help-mode rcirc gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr wid-edit time desktop frameset cus-load kr-init docker-tramp tramp-cache vagrant-tramp dash tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time ls-lisp org-protocol org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 time-date ol org-keys oc org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs edit-server advice smart-quotes easy-mmode which-func imenu icomplete server term disp-table shell pcomplete ehelp comint ansi-color ring hi-lock finder-inf rx info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 654841 48233) (symbols 48 35199 4) (strings 32 139225 5483) (string-bytes 1 4550586) (vectors 16 70152) (vector-slots 8 1380556 48769) (floats 8 538 441) (intervals 56 5497 945) (buffers 992 176))
bug-gnu-emacs <at> gnu.org
:bug#54715
; Package emacs
.
(Tue, 05 Apr 2022 01:06:01 GMT) Full text and rfc822 format available.Message #8 received at 54715 <at> debbugs.gnu.org (full text, mbox):
From: Po Lu <luangruo <at> yahoo.com> To: Ken Raeburn <raeburn <at> redhat.com> Cc: 54715 <at> debbugs.gnu.org Subject: Re: bug#54715: 28.0.92; crash when X server died Date: Tue, 05 Apr 2022 09:05:19 +0800
Ken Raeburn <raeburn <at> redhat.com> writes: > I was in the midst of creating a new Emacs frame (C-x 5 2) when my X > server (Xwayland) died. I’ve only been using frames on this one server, > though it looks like the methods I’m using for creating them may give me > a mix of $DISPLAY values of :0 and :0.0 in emacs and emacsclient > invocations, which Emacs may still be treating as different displays and > thus opening two connections. This might explain trying to update > frames on one display when the other goes away. :0 and :0.0 are different X servers from the point of view of Xlib. Don't mix up display names like that: it just wastes display connections. > I’m using the emacs-lucid-28.0.92-2.fc35.x86_64 package, as packaged up > at > https://download.copr.fedorainfracloud.org/results/bhavin192/emacs-pretest/ > , on Fedora 35. It looks like my use of daemon mode has fallen by the > wayside somewhere, so losing both displays means the process exits. I > had multiple IRC (rcirc) connections open, emacs server enabled, TRAMP > in use, and at least one interactive shell subprocess on a remote > machine. > > Some notable stack frames: > #51: creating a new frame > #41: reporting lost connection to display :0 > #28: reporting lost connection to display :0.0; no frames left, kill emacs > #23: calling hooks registered for kill-emacs > #18: server-force-stop > #14: delete-process calls into redisplay > #12: redisplay (SELECTED_FRAME) calls emacs_abort > #8: shut_down_emacs kills processes > #7: delete-process calls into redisplay > #5: redisplay calls emacs_abort > #28 0x0000000000422866 in x_connection_closed (dpy=dpy <at> entry=0x511fc50, error_message=error_message <at> entry=0x7ffde15e78e8 "Connection lost to X server ':0.0'", ioerror=ioerror <at> entry=true) at ../../src/xterm.c:10240 x_connection_closed binds inhibit-redisplay to t, so redisplay cannot do anything interesting inside. > #12 0x00000000004202a3 in redisplay_internal () at ../../src/xdisp.c:15633 But this frame shows that it did try to do something, and aborted. Unfortunately, I don't see anything interesting at line 15633 in Emacs 28. Please build without optimizations and try to see exactly what called emacs_abort. Thanks.
bug-gnu-emacs <at> gnu.org
:bug#54715
; Package emacs
.
(Tue, 05 Apr 2022 12:17:01 GMT) Full text and rfc822 format available.Message #11 received at 54715 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Po Lu <luangruo <at> yahoo.com> Cc: raeburn <at> redhat.com, 54715 <at> debbugs.gnu.org Subject: Re: bug#54715: 28.0.92; crash when X server died Date: Tue, 05 Apr 2022 15:16:10 +0300
> Cc: 54715 <at> debbugs.gnu.org > Date: Tue, 05 Apr 2022 09:05:19 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org> > > > #28 0x0000000000422866 in x_connection_closed (dpy=dpy <at> entry=0x511fc50, error_message=error_message <at> entry=0x7ffde15e78e8 "Connection lost to X server ':0.0'", ioerror=ioerror <at> entry=true) at ../../src/xterm.c:10240 > > x_connection_closed binds inhibit-redisplay to t, so redisplay cannot do > anything interesting inside. True. > > #12 0x00000000004202a3 in redisplay_internal () at ../../src/xdisp.c:15633 > > But this frame shows that it did try to do something, and aborted. It looks like it aborted trying to do nothing ;-) > Unfortunately, I don't see anything interesting at line 15633 in Emacs > 28. I do see something interesting (did you look in 28.0.92 sources?): /* No redisplay if running in batch mode or frame is not yet fully initialized, or redisplay is explicitly turned off by setting Vinhibit_redisplay. */ if ((FRAME_INITIAL_P (SELECTED_FRAME ()) <<<<<<<<<<<<<<<<<<<<<<<<< && redisplay_skip_initial_frame) || !NILP (Vinhibit_redisplay)) return; Crystal ball says something is wrong with SELECTED_FRAME, and that causes the abort. My guess would be that Ken's kill-emacs-hooks were called when the X server died, and one of those hooks is unsafe, in that it causes redisplay. Or maybe we should refrain from calling redisplay_preserve_echo_area in delete-process when Emacs is shutting down due to a fatal error?
bug-gnu-emacs <at> gnu.org
:bug#54715
; Package emacs
.
(Tue, 05 Apr 2022 12:53:01 GMT) Full text and rfc822 format available.Message #14 received at 54715 <at> debbugs.gnu.org (full text, mbox):
From: Po Lu <luangruo <at> yahoo.com> To: Eli Zaretskii <eliz <at> gnu.org> Cc: raeburn <at> redhat.com, 54715 <at> debbugs.gnu.org Subject: Re: bug#54715: 28.0.92; crash when X server died Date: Tue, 05 Apr 2022 20:52:32 +0800
Eli Zaretskii <eliz <at> gnu.org> writes: > /* No redisplay if running in batch mode or frame is not yet fully > initialized, or redisplay is explicitly turned off by setting > Vinhibit_redisplay. */ > if ((FRAME_INITIAL_P (SELECTED_FRAME ()) <<<<<<<<<<<<<<<<<<<<<<<<< > && redisplay_skip_initial_frame) > || !NILP (Vinhibit_redisplay)) > return; > > Crystal ball says something is wrong with SELECTED_FRAME, and that > causes the abort. Yes, thanks. I think the problem is that selected_frame is dead. But if my reading of the code is correct, x_connection_closed calls delete_frame on all the frames on the disconnected terminal before Fkill_emacs is called (BTW, is that really right if Emacs is running as a daemon?), and delete_frame tries to find another frame to select, which in this case must be the initial frame, since there are no other terminals left. So I think the problem lies somewhere in delete_frame. Alternatively, selected_frame might have become dead before delete_frame was called on the frames in the second terminal, but I don't see how that could have happened. > My guess would be that Ken's kill-emacs-hooks were called when the X > server died, and one of those hooks is unsafe, in that it causes > redisplay. And the selected frame was something other than the initial frame when redisplay was called, which is probably what's at fault here. > Or maybe we should refrain from calling redisplay_preserve_echo_area > in delete-process when Emacs is shutting down due to a fatal error? I think this isn't supposed to happen at all, especially since Ken is running a daemon, so we shouldn't bubble wrap delete-process because of this. I will try to reproduce this again, hopefully I can get Emacs to crash on my side as well. Thanks.
bug-gnu-emacs <at> gnu.org
:bug#54715
; Package emacs
.
(Tue, 05 Apr 2022 19:11:02 GMT) Full text and rfc822 format available.Message #17 received at 54715 <at> debbugs.gnu.org (full text, mbox):
From: Ken Raeburn <raeburn <at> redhat.com> To: Po Lu <luangruo <at> yahoo.com> Cc: 54715 <at> debbugs.gnu.org Subject: Re: bug#54715: 28.0.92; crash when X server died Date: Tue, 05 Apr 2022 15:10:45 -0400
Po Lu <luangruo <at> yahoo.com> writes: > :0 and :0.0 are different X servers from the point of view of Xlib. > Don't mix up display names like that: it just wastes display > connections. I haven’t been, intentionally. I think the GNOME environment is doing it somewhere. Emacs is launched as one of my startup applications; emacsclient is run via an icon in the top bar on my screen, or a global key binding, or, occasionally, from a Firefox plugin. > Yes, thanks. I think the problem is that selected_frame is dead. But > if my reading of the code is correct, x_connection_closed calls > delete_frame on all the frames on the disconnected terminal before > Fkill_emacs is called (BTW, is that really right if Emacs is running as > a daemon?), To clarify: I used to run Emacs as a daemon (which would’ve been relevant if it meant there was another, invisible terminal frame), but apparently I stopped a while ago. That’s what I meant that my use of it had “fallen by the wayside”. (Perhaps I should’ve just not mentioned it.) So with both instances of the local display connection dead at the same time, there are no working frames left. Eli wrote: >> My guess would be that Ken's kill-emacs-hooks were called when the X >> server died, and one of those hooks is unsafe, in that it causes >> redisplay. In server-start, hooks are added to kill-emacs-hook and delete-frame-functions, among others; tramp-dump-connection-properties and org-babel-remove-temporary-directory are also on the list. But server-force-stop appears in the stack trace. It calls server-start, which calls delete-process, which calls redisplay_preserve_echo_area. Ken
bug-gnu-emacs <at> gnu.org
:bug#54715
; Package emacs
.
(Tue, 05 Apr 2022 19:25:01 GMT) Full text and rfc822 format available.Message #20 received at 54715 <at> debbugs.gnu.org (full text, mbox):
From: Eli Zaretskii <eliz <at> gnu.org> To: Ken Raeburn <raeburn <at> redhat.com> Cc: luangruo <at> yahoo.com, 54715 <at> debbugs.gnu.org Subject: Re: bug#54715: 28.0.92; crash when X server died Date: Tue, 05 Apr 2022 22:24:51 +0300
> From: Ken Raeburn <raeburn <at> redhat.com> > Date: Tue, 05 Apr 2022 15:10:45 -0400 > Cc: 54715 <at> debbugs.gnu.org > > In server-start, hooks are added to kill-emacs-hook and > delete-frame-functions, among others; tramp-dump-connection-properties > and org-babel-remove-temporary-directory are also on the list. But > server-force-stop appears in the stack trace. It calls server-start, > which calls delete-process, which calls redisplay_preserve_echo_area. Which is why I said that perhaps we shouldn't call redisplay_preserve_echo_area when we are shutting down Emacs due to a fatal error.
bug-gnu-emacs <at> gnu.org
:bug#54715
; Package emacs
.
(Wed, 06 Apr 2022 00:44:02 GMT) Full text and rfc822 format available.Message #23 received at 54715 <at> debbugs.gnu.org (full text, mbox):
From: Po Lu <luangruo <at> yahoo.com> To: Ken Raeburn <raeburn <at> redhat.com> Cc: 54715 <at> debbugs.gnu.org Subject: Re: bug#54715: 28.0.92; crash when X server died Date: Wed, 06 Apr 2022 08:43:43 +0800
Ken Raeburn <raeburn <at> redhat.com> writes: > To clarify: I used to run Emacs as a daemon (which would’ve been > relevant if it meant there was another, invisible terminal frame), but > apparently I stopped a while ago. That’s what I meant that my use of > it had “fallen by the wayside”. (Perhaps I should’ve just not > mentioned it.) So with both instances of the local display connection > dead at the same time, there are no working frames left. Ah, thanks for clarifying. I suppose there is no initial frame in that case, so Eli's proposal about not calling redisplay_preserve_echo_area seems reasonable to me.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.