all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
@ 2023-09-22 10:22 Benjamin Schwehn
  2023-09-22 12:22 ` Eli Zaretskii
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Benjamin Schwehn @ 2023-09-22 10:22 UTC (permalink / raw)
  To: 66151

Hi,
I have emacs daemon reproducibly crashing in this scenario:

- emacs running as daemon via systemd user service
- running "emacsclient -nc" via ssh -X session
- stop X server on client machine or cut network connection between
 client and server
- run emacsclient -nc again

Result:
emacs window opens for about a second, then the daemon crashes. The
daemon then automatically restarts via the systemd service and once it
is up again, emacsclient works fine again.

Log in journalctl:

11:10:18 emacs[267232]: Backtrace:
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x1a81e1)[0x5584b348c1e1]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x51635)[0x5584b3335635]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x5206d)[0x5584b333606d]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x2edfb1)[0x5584b35d1fb1]
11:10:18 emacs[267232]:
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f21b6fc5520]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x138684)[0x5584b341c684]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x2c1a7c)[0x5584b35a5a7c]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x2c2e9b)[0x5584b35a6e9b]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x228234)[0x5584b350c234]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x228147)[0x5584b350c147]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x21897d)[0x5584b34fc97d]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x228147)[0x5584b350c147]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x218e55)[0x5584b34fce55]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x228147)[0x5584b350c147]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x217ccd)[0x5584b34fbccd]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x228147)[0x5584b350c147]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x228147)[0x5584b350c147]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x229045)[0x5584b350d045]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x226da3)[0x5584b350ada3]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x22991d)[0x5584b350d91d]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x224a73)[0x5584b3508a73]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x224c7c)[0x5584b3508c7c]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x226da3)[0x5584b350ada3]
11:10:18 emacs[267232]:
/usr/local/lib/emacs/29.1.50/native-lisp/29.1.50-962049e0/server-0cc44189-b99afbb0.eln(F7365727665722d65786563757465_server_execute_0+0x868)[0x7f21b06b7fc8]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x224fe2)[0x5584b3508fe2]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x2720d7)[0x5584b35560d7]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x226da3)[0x5584b350ada3]
11:10:18 emacs[267232]:
/usr/local/lib/emacs/29.1.50/native-lisp/29.1.50-962049e0/server-0cc44189-b99afbb0.eln(F7365727665722d657865637574652d636f6e74696e756174696f6e_server_execute_continuation_0+0x>
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x226da3)[0x5584b350ada3]
11:10:18 emacs[267232]:
/usr/local/lib/emacs/29.1.50/native-lisp/29.1.50-962049e0/server-0cc44189-b99afbb0.eln(F7365727665722d70726f636573732d66696c746572_server_process_filter_0+0xe33)[0x7f21b06b5e3>
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x226da3)[0x5584b350ada3]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x227410)[0x5584b350b410]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x27c3d1)[0x5584b35603d1]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x2231dc)[0x5584b35071dc]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x27cad6)[0x5584b3560ad6]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x283701)[0x5584b3567701]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x19401a)[0x5584b347801a]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x195e03)[0x5584b3479e03]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x1a0bc5)[0x5584b3484bc5]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x18c30d)[0x5584b347030d]
11:10:18 emacs[267232]: /usr/local/bin/emacs(+0x223147)[0x5584b3507147]
11:10:18 emacs[267232]: ...
11:10:18 systemd[907]: emacs.service: Main process exited,
code=dumped, status=11/SEGV
11:10:18 systemd[907]: emacs.service: Failed with result 'core-dump'.
11:10:18 systemd[907]: emacs.service: Consumed 48.123s CPU time.
11:10:19 systemd[907]: emacs.service: Scheduled restart job, restart
counter is at 1.
11:10:19 systemd[907]: Stopped Emacs text editor.
11:10:19 systemd[907]: emacs.service: Consumed 48.123s CPU time.


sed -n 's/.*(\(.*\)).*$/\1/p' /tmp/emacscrashlog |\
    addr2line -C -f -i -p -e /usr/local/bin/emacs

emacs_backtrace at /home/ben/install/emacs/emacs/src/sysdep.c:2304
terminate_due_to_signal at /home/ben/install/emacs/emacs/src/emacs.c:458
deliver_process_signal at /home/ben/install/emacs/emacs/src/sysdep.c:1741
 (inlined by) deliver_fatal_signal at
/home/ben/install/emacs/emacs/src/sysdep.c:1789
deliver_thread_signal.constprop.0 at
/home/ben/install/emacs/emacs/src/sysdep.c:1765
?? ??:0
make_lisp_ptr at /home/ben/install/emacs/emacs/src/lisp.h:1364
 (inlined by) realize_default_face at
/home/ben/install/emacs/emacs/src/xfaces.c:5802
 (inlined by) realize_basic_faces at
/home/ben/install/emacs/emacs/src/xfaces.c:5736
recompute_basic_faces at /home/ben/install/emacs/emacs/src/xfaces.c:682
 (inlined by) recompute_basic_faces at
/home/ben/install/emacs/emacs/src/xfaces.c:677
 (inlined by) free_realized_fontsets at
/home/ben/install/emacs/emacs/src/fontset.c:1345
Fset_fontset_font at /home/ben/install/emacs/emacs/src/fontset.c:1696
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2515
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
 (inlined by) FletX at /home/ben/install/emacs/emacs/src/eval.c:958
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
 (inlined by) Flet at /home/ben/install/emacs/emacs/src/eval.c:1026
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
 (inlined by) funcall_lambda at /home/ben/install/emacs/emacs/src/eval.c:3233
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
funcall_nil at /home/ben/install/emacs/emacs/src/eval.c:2679
run_hook_with_args at /home/ben/install/emacs/emacs/src/eval.c:2822
Frun_hooks at /home/ben/install/emacs/emacs/src/eval.c:2700 (discriminator 3)
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
?? ??:0
funcall_subr at /home/ben/install/emacs/emacs/src/eval.c:3046
exec_byte_code at /home/ben/install/emacs/emacs/src/bytecode.c:809
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
?? ??:0
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
safe_free at /home/ben/install/emacs/emacs/src/lisp.h:5373
 (inlined by) Fapply at /home/ben/install/emacs/emacs/src/eval.c:2668
read_process_output_call at /home/ben/install/emacs/emacs/src/process.c:6071
internal_condition_case_1 at /home/ben/install/emacs/emacs/src/eval.c:1500
read_and_dispose_of_process_output at
/home/ben/install/emacs/emacs/src/process.c:6300
 (inlined by) read_process_output at
/home/ben/install/emacs/emacs/src/process.c:6204
wait_reading_process_output at /home/ben/install/emacs/emacs/src/process.c:5889
kbd_buffer_get_event at /home/ben/install/emacs/emacs/src/keyboard.c:4012
read_event_from_main_queue at /home/ben/install/emacs/emacs/src/keyboard.c:2280
 (inlined by) read_decoded_event_from_main_queue at
/home/ben/install/emacs/emacs/src/keyboard.c:2343
 (inlined by) read_char at /home/ben/install/emacs/emacs/src/keyboard.c:2973
read_key_sequence at
/home/ben/install/emacs/emacs/src/keyboard.c:10087 (discriminator 3)
command_loop_1 at /home/ben/install/emacs/emacs/src/keyboard.c:1384
internal_condition_case at /home/ben/install/emacs/emacs/src/eval.c:1476


Maybe something related to font rendering? Please let me know what I
cando to help track this issue down further.
I had hoped using lucid would help, but the issue is the same as when
building emacs with gtk.

Thanks,Ben

from report-emacs-bug:

In GNU Emacs 29.1.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.16.0, Xaw scroll bars) of 2023-09-22 built on g1devvap01
Repository revision: c966e7ec381fa32ad09dab4329d5ad27d87b5b98
Repository branch: emacs-29
Windowing system distributor 'Moba/X', version 11.0.11603000
System Description: Ubuntu 22.04.3 LTS

Configured using:
 'configure --with-native-compilation=aot --with-tree-sitter
 --with-x-toolkit=lucid --with-json --without-xaw3d --with-sound=no
 --enable-link-time-optimization'

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

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  evil-traces-mode: t
  projectile-mode: t
  +emacs-lisp-non-package-mode: t
  flyspell-lazy-mode: t
  flyspell-mode: t
  evil-org-mode: t
  org-auto-tangle-mode: t
  +word-wrap-mode: t
  org-indent-mode: t
  solaire-global-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  doom-modeline-mode: t
  which-key-mode: t
  savehist-mode: t
  better-jumper-mode: t
  better-jumper-local-mode: t
  company-box-mode: t
  global-company-mode: t
  company-mode: t
  vertico-mode: t
  all-the-icons-completion-mode: t
  marginalia-mode: t
  evil-goggles-mode: t
  evil-escape-mode: t
  evil-snipe-override-mode: t
  evil-snipe-mode: t
  evil-snipe-override-local-mode: t
  evil-snipe-local-mode: t
  recentf-mode: t
  save-place-mode: t
  global-so-long-mode: t
  global-git-commit-mode: t
  shell-dirtrack-mode: t
  server-mode: t
  gcmh-mode: t
  global-hl-line-mode: t
  hl-line-mode: t
  winner-mode: t
  smartparens-global-mode: t
  smartparens-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  flycheck-popup-tip-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  editorconfig-mode: t
  org-roam-db-autosync-mode: t
  whitespace-mode: t
  global-evil-surround-mode: t
  evil-surround-mode: t
  eros-mode: t
  vi-tilde-fringe-mode: t
  display-line-numbers-mode: t
  persistent-scratch-autosave-mode: t
  evil-mode: t
  evil-local-mode: t
  windmove-mode: t
  +popup-mode: t
  override-global-mode: t
  general-override-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  window-divider-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  visual-line-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/ben/.emacs.d/.local/straight/build-29.1.50/emacsql-sqlite/emacsql-sqlite
hides /home/ben/.emacs.d/.local/straight/build-29.1.50/emacsql/emacsql-sqlite
/home/ben/.emacs.d/.local/straight/build-29.1.50/jsonrpc/jsonrpc hides
/usr/local/share/emacs/29.1.50/lisp/jsonrpc
/home/ben/.emacs.d/.local/straight/build-29.1.50/external-completion/external-completion
hides /usr/local/share/emacs/29.1.50/lisp/external-completion
/home/ben/.emacs.d/.local/straight/build-29.1.50/transient/transient
hides /usr/local/share/emacs/29.1.50/lisp/transient
/home/ben/.emacs.d/.local/straight/build-29.1.50/use-package/use-package-delight
hides /usr/local/share/emacs/29.1.50/lisp/use-package/use-package-delight
/home/ben/.emacs.d/.local/straight/build-29.1.50/use-package/use-package
hides /usr/local/share/emacs/29.1.50/lisp/use-package/use-package
/home/ben/.emacs.d/.local/straight/build-29.1.50/use-package/use-package-diminish
hides /usr/local/share/emacs/29.1.50/lisp/use-package/use-package-diminish
/home/ben/.emacs.d/.local/straight/build-29.1.50/use-package/use-package-lint
hides /usr/local/share/emacs/29.1.50/lisp/use-package/use-package-lint
/home/ben/.emacs.d/.local/straight/build-29.1.50/use-package/use-package-ensure
hides /usr/local/share/emacs/29.1.50/lisp/use-package/use-package-ensure
/home/ben/.emacs.d/.local/straight/build-29.1.50/bind-key/bind-key
hides /usr/local/share/emacs/29.1.50/lisp/use-package/bind-key
/home/ben/.emacs.d/.local/straight/build-29.1.50/use-package/use-package-core
hides /usr/local/share/emacs/29.1.50/lisp/use-package/use-package-core
/home/ben/.emacs.d/.local/straight/build-29.1.50/use-package/use-package-jump
hides /usr/local/share/emacs/29.1.50/lisp/use-package/use-package-jump
/home/ben/.emacs.d/.local/straight/build-29.1.50/use-package/use-package-bind-key
hides /usr/local/share/emacs/29.1.50/lisp/use-package/use-package-bind-key
/home/ben/.emacs.d/.local/straight/build-29.1.50/xref/xref hides
/usr/local/share/emacs/29.1.50/lisp/progmodes/xref
/home/ben/.emacs.d/.local/straight/build-29.1.50/eglot/eglot hides
/usr/local/share/emacs/29.1.50/lisp/progmodes/eglot
/home/ben/.emacs.d/.local/straight/build-29.1.50/project/project hides
/usr/local/share/emacs/29.1.50/lisp/progmodes/project
/home/ben/.emacs.d/.local/straight/build-29.1.50/flymake/flymake hides
/usr/local/share/emacs/29.1.50/lisp/progmodes/flymake
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-calc hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-calc
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-maxima hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-maxima
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-mhe hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-mhe
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-goto hides
/usr/local/share/emacs/29.1.50/lisp/org/org-goto
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-koma-letter
hides /usr/local/share/emacs/29.1.50/lisp/org/ox-koma-letter
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-core hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-core
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-R hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-R
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-awk hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-awk
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-archive hides
/usr/local/share/emacs/29.1.50/lisp/org/org-archive
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-mobile hides
/usr/local/share/emacs/29.1.50/lisp/org/org-mobile
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-ruby hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-ruby
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/oc-bibtex hides
/usr/local/share/emacs/29.1.50/lisp/org/oc-bibtex
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-emacs-lisp
hides /usr/local/share/emacs/29.1.50/lisp/org/ob-emacs-lisp
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-lilypond hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-lilypond
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-js hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-js
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-agenda hides
/usr/local/share/emacs/29.1.50/lisp/org/org-agenda
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-clock hides
/usr/local/share/emacs/29.1.50/lisp/org/org-clock
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-attach-git
hides /usr/local/share/emacs/29.1.50/lisp/org/org-attach-git
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-icalendar
hides /usr/local/share/emacs/29.1.50/lisp/org/ox-icalendar
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-clojure hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-clojure
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-org hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-org
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-texinfo hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-texinfo
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-macro hides
/usr/local/share/emacs/29.1.50/lisp/org/org-macro
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-colview hides
/usr/local/share/emacs/29.1.50/lisp/org/org-colview
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-ditaa hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-ditaa
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-lua hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-lua
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-octave hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-octave
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-eshell hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-eshell
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-footnote
hides /usr/local/share/emacs/29.1.50/lisp/org/org-footnote
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-keys hides
/usr/local/share/emacs/29.1.50/lisp/org/org-keys
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-md hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-md
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-groovy hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-groovy
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-table hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-table
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-pcomplete
hides /usr/local/share/emacs/29.1.50/lisp/org/org-pcomplete
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-datetree
hides /usr/local/share/emacs/29.1.50/lisp/org/org-datetree
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox hides
/usr/local/share/emacs/29.1.50/lisp/org/ox
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-version hides
/usr/local/share/emacs/29.1.50/lisp/org/org-version
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-html hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-html
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-entities
hides /usr/local/share/emacs/29.1.50/lisp/org/org-entities
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-loaddefs
hides /usr/local/share/emacs/29.1.50/lisp/org/org-loaddefs
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-ctags hides
/usr/local/share/emacs/29.1.50/lisp/org/org-ctags
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-fold hides
/usr/local/share/emacs/29.1.50/lisp/org/org-fold
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-macs hides
/usr/local/share/emacs/29.1.50/lisp/org/org-macs
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-duration
hides /usr/local/share/emacs/29.1.50/lisp/org/org-duration
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-ref hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-ref
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-lisp hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-lisp
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-screen hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-screen
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-habit hides
/usr/local/share/emacs/29.1.50/lisp/org/org-habit
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-doi hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-doi
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-num hides
/usr/local/share/emacs/29.1.50/lisp/org/org-num
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-cycle hides
/usr/local/share/emacs/29.1.50/lisp/org/org-cycle
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-refile hides
/usr/local/share/emacs/29.1.50/lisp/org/org-refile
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-publish hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-publish
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-inlinetask
hides /usr/local/share/emacs/29.1.50/lisp/org/org-inlinetask
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/oc-csl hides
/usr/local/share/emacs/29.1.50/lisp/org/oc-csl
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-ocaml hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-ocaml
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-attach hides
/usr/local/share/emacs/29.1.50/lisp/org/org-attach
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob hides
/usr/local/share/emacs/29.1.50/lisp/org/ob
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-java hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-java
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/oc hides
/usr/local/share/emacs/29.1.50/lisp/org/oc
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-lob hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-lob
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/oc-biblatex hides
/usr/local/share/emacs/29.1.50/lisp/org/oc-biblatex
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-eshell hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-eshell
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-persist hides
/usr/local/share/emacs/29.1.50/lisp/org/org-persist
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org hides
/usr/local/share/emacs/29.1.50/lisp/org/org
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-tangle hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-tangle
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-latex hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-latex
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-beamer hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-beamer
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-sql hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-sql
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-capture hides
/usr/local/share/emacs/29.1.50/lisp/org/org-capture
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-python hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-python
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-list hides
/usr/local/share/emacs/29.1.50/lisp/org/org-list
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-sqlite hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-sqlite
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-id hides
/usr/local/share/emacs/29.1.50/lisp/org/org-id
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-timer hides
/usr/local/share/emacs/29.1.50/lisp/org/org-timer
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-scheme hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-scheme
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-plot hides
/usr/local/share/emacs/29.1.50/lisp/org/org-plot
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-man hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-man
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-eval hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-eval
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-feed hides
/usr/local/share/emacs/29.1.50/lisp/org/org-feed
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-processing
hides /usr/local/share/emacs/29.1.50/lisp/org/ob-processing
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-odt hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-odt
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-org hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-org
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-latex hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-latex
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-crypt hides
/usr/local/share/emacs/29.1.50/lisp/org/org-crypt
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-dot hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-dot
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-faces hides
/usr/local/share/emacs/29.1.50/lisp/org/org-faces
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-gnuplot hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-gnuplot
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-haskell hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-haskell
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/oc-natbib hides
/usr/local/share/emacs/29.1.50/lisp/org/oc-natbib
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-css hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-css
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-sed hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-sed
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-julia hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-julia
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-shell hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-shell
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-matlab hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-matlab
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-forth hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-forth
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-compat hides
/usr/local/share/emacs/29.1.50/lisp/org/org-compat
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ox-ascii hides
/usr/local/share/emacs/29.1.50/lisp/org/ox-ascii
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-bbdb hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-bbdb
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-table hides
/usr/local/share/emacs/29.1.50/lisp/org/org-table
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-fortran hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-fortran
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-sass hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-sass
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-man hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-man
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-exp hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-exp
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-rmail hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-rmail
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-makefile hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-makefile
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-w3m hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-w3m
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-irc hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-irc
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-indent hides
/usr/local/share/emacs/29.1.50/lisp/org/org-indent
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/oc-basic hides
/usr/local/share/emacs/29.1.50/lisp/org/oc-basic
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-protocol
hides /usr/local/share/emacs/29.1.50/lisp/org/org-protocol
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-docview hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-docview
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-lint hides
/usr/local/share/emacs/29.1.50/lisp/org/org-lint
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-bibtex hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-bibtex
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-comint hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-comint
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-tempo hides
/usr/local/share/emacs/29.1.50/lisp/org/org-tempo
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-element hides
/usr/local/share/emacs/29.1.50/lisp/org/org-element
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-gnus hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-gnus
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-mouse hides
/usr/local/share/emacs/29.1.50/lisp/org/org-mouse
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-fold-core
hides /usr/local/share/emacs/29.1.50/lisp/org/org-fold-core
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-C hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-C
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-info hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-info
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol-eww hides
/usr/local/share/emacs/29.1.50/lisp/org/ol-eww
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ol hides
/usr/local/share/emacs/29.1.50/lisp/org/ol
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-plantuml hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-plantuml
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/org-src hides
/usr/local/share/emacs/29.1.50/lisp/org/org-src
/home/ben/.emacs.d/.local/straight/build-29.1.50/org/ob-perl hides
/usr/local/share/emacs/29.1.50/lisp/org/ob-perl
/home/ben/.emacs.d/.local/straight/build-29.1.50/eldoc/eldoc hides
/usr/local/share/emacs/29.1.50/lisp/emacs-lisp/eldoc

Features:
(shadow sort mail-extr emacsbug adaptive-wrap ob-shell
rainbow-delimiters company-shell evil-collection-sh-script sh-script
smie npm-mode json-mode json-snatcher smartparens-javascript
js-mode-expansions js c-ts-common treesit smartparens-c
cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs consult-flycheck
evil-collection-consult consult ucs-normalize evil-collection-evil-mc
evil-mc evil-mc-command-execute evil-mc-command-record
evil-mc-cursor-make evil-mc-region evil-mc-cursor-state evil-mc-undo
evil-mc-vars evil-mc-known-commands evil-mc-common company-ispell
company-yasnippet company-dabbrev evil-traces evil-ex image-file
image-converter copilot copilot-balancer jsonrpc projectile project
ibuf-ext evil-collection-ibuffer ibuffer ibuffer-loaddefs executable
magit-bookmark evil-collection-bookmark bookmark delsel tabify
hide-mode-line timezone orgit org-roam-dailies git-gutter-fringe
fringe-helper git-gutter evil-collection-vc-git vc-git vc-dispatcher
jka-compr disp-table org-eldoc org-crypt flyspell-lazy flyspell ispell
toc-org evil-org org-auto-tangle org-indent vertico-directory
cursor-sensor vertico-repeat mule-util oc-basic org-tempo tempo
org-habit ol-bibtex bibtex auto-minor-mode doom-themes-ext-treemacs
doom-themes-ext-org solaire-mode face-remap modus-operandi-theme
modus-themes evil-collection-magit-todos magit-todos pcre2el rxt
re-builder async evil-collection-grep grep evil-collection-compile
compile magit-autoloads evil-collection-magit magit-submodule
magit-obsolete magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode evil-collection-diff-mode diff-mode magit-core
magit-autorevert autorevert filenotify magit-margin magit-transient
magit-process magit-mode doom-snippets doom-snippets-lib
evil-collection-elisp-mode yasnippet elisp-mode doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path
f f-shortdoc s evil-collection-which-key which-key savehist
better-jumper company-box company-box-doc frame-local company-box-icons
company-capf company evil-collection-vertico vertico orderless
all-the-icons-completion all-the-icons all-the-icons-faces data-material
data-weathericons data-octicons data-fileicons data-faicons
data-alltheicons marginalia evil-goggles pulse color evil-easymotion
evil-escape evil-snipe recentf tree-widget saveplace
evil-collection-so-long so-long git-commit magit-git magit-base crm
with-editor shell transient server evil-collection-log-edit log-edit
pcvs-util add-log gcmh hl-line winner smartparens-config
smartparens-text smartparens undo-tree diff queue flycheck-popup-tip
evil-collection-popup popup flycheck-cask flycheck-package package-lint
evil-collection-imenu imenu evil-collection-finder finder finder-inf
lisp-mnt evil-collection-package-menu doom-packages package url-handlers
evil-collection-flycheck flycheck ws-butler editorconfig
editorconfig-core editorconfig-core-handle editorconfig-fnmatch
anki-editor ox-dnd ox-pandoc ht ox-org ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icalendar ox-ascii ox-md ox-html table ox-publish
ox vigenere request org-contacts org-agenda gnus-art mm-uu mml2015
mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku
url-file svg dom browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap
nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int
gnus-range message sendmail mailcap yank-media puny rfc822 mml mml-sec
evil-collection-epa epa epg rfc6068 epg-config mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev
gmm-utils mailheader gnus-win evil-collection-gnus gnus nnheader
mail-utils range mm-util mail-prsvr gnus-util text-property-search
the-org-mode-expansions evil-collection-org evil-collection-org-roam
org-roam-migrate org-roam-log org-roam-mode org-roam-capture org-roam-id
org-roam-node org-roam-db emacsql-sqlite-builtin sqlite org-roam-utils
org-roam-compat org-roam org-capture org-attach emacsql-sqlite
emacsql-sqlite-common emacsql emacsql-compiler
evil-collection-magit-section magit-section dash smartparens-org org-yt
org-element org-persist xdg org-id org-refile org ob ob-tangle ob-ref
ob-lob ob-table org-macro org-src ob-comint org-pcomplete pcomplete
evil-collection-comint comint ansi-osc ansi-color org-list org-footnote
org-faces org-entities time-date noutline outline ob-emacs-lisp
org-table org-keys org-loaddefs find-func evil-collection-calendar
cal-menu calendar cal-loaddefs avl-tree generator ol oc ob-exp
whitespace git-link url-util url-parse auth-source eieio eieio-core
password-cache json map url-vars evil-collection-dired dired
dired-loaddefs evil-embrace evil-surround embrace expand-region
text-mode-expansions er-basic-expansions expand-region-core
expand-region-custom eros vi-tilde-fringe highlight-numbers parent-mode
display-line-numbers hl-todo compat dtrt-indent evil-collection-custom
cus-edit cus-load wid-edit evil-collection annalist persistent-scratch
let-alist ob-core org-cycle org-fold org-fold-core org-compat ob-eval
org-version org-macs format-spec derived evil evil-integration evil-maps
evil-commands reveal evil-jumps evil-command-window evil-search
evil-types evil-macros evil-repeat evil-states evil-core byte-opt advice
evil-common windmove calc calc-loaddefs calc-macs thingatpt rect
evil-digraphs evil-vars ring edmacro kmacro use-package-bind-key
bind-key comp comp-cstr warnings icons doom-editor doom-projects doom-ui
easy-mmode doom-keybinds pp cl-extra help-mode use-package-core bytecomp
byte-compile general rx doom-start doom-modules cl-seq doom doom-lib
cl-macs cl-loaddefs cl-lib pcase gv jansson dynamic-modules subr-x rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type 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 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 make-network-process native-compile
emacs)

Memory information:
((conses 16 1367135 93856)
 (symbols 48 84475 1)
 (strings 32 305623 26480)
 (string-bytes 1 12390027)
 (vectors 16 181428)
 (vector-slots 8 3776904 120599)
 (floats 8 2065 803)
 (intervals 56 3989 1021)
 (buffers 984 31))





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 10:22 bug#66151: 29.1.50; daemon crashing after X forwarding disconnects Benjamin Schwehn
@ 2023-09-22 12:22 ` Eli Zaretskii
  2023-09-22 13:12   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-04-09 15:02 ` bug#66151: George P
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 29+ messages in thread
From: Eli Zaretskii @ 2023-09-22 12:22 UTC (permalink / raw)
  To: Benjamin Schwehn, Po Lu; +Cc: 66151

> From: Benjamin Schwehn <bschwehn@gmail.com>
> Date: Fri, 22 Sep 2023 12:22:08 +0200
> 
> Hi,
> I have emacs daemon reproducibly crashing in this scenario:
> 
> - emacs running as daemon via systemd user service
> - running "emacsclient -nc" via ssh -X session
> - stop X server on client machine or cut network connection between
>  client and server
> - run emacsclient -nc again
> 
> Result:
> emacs window opens for about a second, then the daemon crashes. The
> daemon then automatically restarts via the systemd service and once it
> is up again, emacsclient works fine again.

Does this happen with any emacsclient command in this situation?  What
if you don't use -c, for example, or use -t instead?

From this backtrace:

> deliver_thread_signal.constprop.0 at
> /home/ben/install/emacs/emacs/src/sysdep.c:1765
> ?? ??:0
> make_lisp_ptr at /home/ben/install/emacs/emacs/src/lisp.h:1364
>  (inlined by) realize_default_face at
> /home/ben/install/emacs/emacs/src/xfaces.c:5802
>  (inlined by) realize_basic_faces at
> /home/ben/install/emacs/emacs/src/xfaces.c:5736

The segfault seems to be caused by the frame's output_data.x being
NULL or invalid.  Po Lu, is this caused by stopping the server or
cutting the network connection between client and server?  If so, is
there any remedy?  Perhaps the server should exit gracefully in this
case?

Btw, I don't quite understand this part:

> recompute_basic_faces at /home/ben/install/emacs/emacs/src/xfaces.c:682
>  (inlined by) recompute_basic_faces at
> /home/ben/install/emacs/emacs/src/xfaces.c:677
>  (inlined by) free_realized_fontsets at
> /home/ben/install/emacs/emacs/src/fontset.c:1345
> Fset_fontset_font at /home/ben/install/emacs/emacs/src/fontset.c:1696

Why do we need to call set-fontset-font here?  What kind of
emacsclient command line causes this?





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 12:22 ` Eli Zaretskii
@ 2023-09-22 13:12   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-09-22 13:16     ` Eli Zaretskii
  0 siblings, 1 reply; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-22 13:12 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66151, Benjamin Schwehn

Eli Zaretskii <eliz@gnu.org> writes:

>> deliver_thread_signal.constprop.0 at
>> /home/ben/install/emacs/emacs/src/sysdep.c:1765
>> ?? ??:0
>> make_lisp_ptr at /home/ben/install/emacs/emacs/src/lisp.h:1364
>>  (inlined by) realize_default_face at
>> /home/ben/install/emacs/emacs/src/xfaces.c:5802
>>  (inlined by) realize_basic_faces at
>> /home/ben/install/emacs/emacs/src/xfaces.c:5736
>
> The segfault seems to be caused by the frame's output_data.x being
> NULL or invalid.  Po Lu, is this caused by stopping the server or
> cutting the network connection between client and server?  If so, is
> there any remedy?

The cause is the network connection being cut.  If a display disconnect
transpires while Emacs is operating on live frames connected to that
display, Emacs will crash, as the Xlib error handler deletes such frames
promptly.  There are no simple solutions or means of circumventing this
problem.

> Btw, I don't quite understand this part:
>
>> recompute_basic_faces at /home/ben/install/emacs/emacs/src/xfaces.c:682
>>  (inlined by) recompute_basic_faces at
>> /home/ben/install/emacs/emacs/src/xfaces.c:677
>>  (inlined by) free_realized_fontsets at
>> /home/ben/install/emacs/emacs/src/fontset.c:1345
>> Fset_fontset_font at /home/ben/install/emacs/emacs/src/fontset.c:1696
>
> Why do we need to call set-fontset-font here?  What kind of
> emacsclient command line causes this?

I don't know, but the answer to that question might yield some
information that could concievably be used to avoid the set of
circumstances which precipitated this particular crash.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 13:12   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-09-22 13:16     ` Eli Zaretskii
  2023-09-22 14:28       ` Benjamin Schwehn
  0 siblings, 1 reply; 29+ messages in thread
From: Eli Zaretskii @ 2023-09-22 13:16 UTC (permalink / raw)
  To: Po Lu; +Cc: 66151, bschwehn

> From: Po Lu <luangruo@yahoo.com>
> Cc: Benjamin Schwehn <bschwehn@gmail.com>,  66151@debbugs.gnu.org
> Date: Fri, 22 Sep 2023 21:12:49 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> deliver_thread_signal.constprop.0 at
> >> /home/ben/install/emacs/emacs/src/sysdep.c:1765
> >> ?? ??:0
> >> make_lisp_ptr at /home/ben/install/emacs/emacs/src/lisp.h:1364
> >>  (inlined by) realize_default_face at
> >> /home/ben/install/emacs/emacs/src/xfaces.c:5802
> >>  (inlined by) realize_basic_faces at
> >> /home/ben/install/emacs/emacs/src/xfaces.c:5736
> >
> > The segfault seems to be caused by the frame's output_data.x being
> > NULL or invalid.  Po Lu, is this caused by stopping the server or
> > cutting the network connection between client and server?  If so, is
> > there any remedy?
> 
> The cause is the network connection being cut.  If a display disconnect
> transpires while Emacs is operating on live frames connected to that
> display, Emacs will crash, as the Xlib error handler deletes such frames
> promptly.  There are no simple solutions or means of circumventing this
> problem.

I think in this case there were no live frames connected to the
display, only the initial (non-GUI) daemon frame.  Benjamin, is that
true?

> > Btw, I don't quite understand this part:
> >
> >> recompute_basic_faces at /home/ben/install/emacs/emacs/src/xfaces.c:682
> >>  (inlined by) recompute_basic_faces at
> >> /home/ben/install/emacs/emacs/src/xfaces.c:677
> >>  (inlined by) free_realized_fontsets at
> >> /home/ben/install/emacs/emacs/src/fontset.c:1345
> >> Fset_fontset_font at /home/ben/install/emacs/emacs/src/fontset.c:1696
> >
> > Why do we need to call set-fontset-font here?  What kind of
> > emacsclient command line causes this?
> 
> I don't know, but the answer to that question might yield some
> information that could concievably be used to avoid the set of
> circumstances which precipitated this particular crash.

Yes, which is why I asked Benjamin to try to provide that information ;-)





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 13:16     ` Eli Zaretskii
@ 2023-09-22 14:28       ` Benjamin Schwehn
  2023-09-22 15:07         ` Eli Zaretskii
  0 siblings, 1 reply; 29+ messages in thread
From: Benjamin Schwehn @ 2023-09-22 14:28 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Po Lu, 66151

Thanks a lot for helping me with this!

> > - emacs running as daemon via systemd user service
> > - running "emacsclient -nc" via ssh -X session
> > - stop X server on client machine or cut network connection between
> >  client and server
> > - run emacsclient -nc again
> >
> > Result:
> > emacs window opens for about a second, then the daemon crashes.
>
> Does this happen with any emacsclient command in this situation?  What
> if you don't use -c, for example, or use -t instead?

emacsclient -t also causes the crash, with this backtrace (looks the same to me)

emacs_backtrace at /home/ben/install/emacs/emacs/src/sysdep.c:2304
terminate_due_to_signal at /home/ben/install/emacs/emacs/src/emacs.c:458
deliver_process_signal at /home/ben/install/emacs/emacs/src/sysdep.c:1741
 (inlined by) deliver_fatal_signal at
/home/ben/install/emacs/emacs/src/sysdep.c:1789
deliver_thread_signal.constprop.0 at
/home/ben/install/emacs/emacs/src/sysdep.c:1765
?? ??:0
make_lisp_ptr at /home/ben/install/emacs/emacs/src/lisp.h:1364
 (inlined by) realize_default_face at
/home/ben/install/emacs/emacs/src/xfaces.c:5802
 (inlined by) realize_basic_faces at
/home/ben/install/emacs/emacs/src/xfaces.c:5736
recompute_basic_faces at /home/ben/install/emacs/emacs/src/xfaces.c:682
 (inlined by) recompute_basic_faces at
/home/ben/install/emacs/emacs/src/xfaces.c:677
 (inlined by) free_realized_fontsets at
/home/ben/install/emacs/emacs/src/fontset.c:1345
Fset_fontset_font at /home/ben/install/emacs/emacs/src/fontset.c:1696
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2515
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
 (inlined by) Flet at /home/ben/install/emacs/emacs/src/eval.c:1026
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
 (inlined by) prog_ignore at /home/ben/install/emacs/emacs/src/eval.c:447
 (inlined by) Fwhile at /home/ben/install/emacs/emacs/src/eval.c:1047
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
 (inlined by) Flet at /home/ben/install/emacs/emacs/src/eval.c:1026
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2593
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2449
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2593
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
 (inlined by) funcall_lambda at /home/ben/install/emacs/emacs/src/eval.c:3233
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
funcall_nil at /home/ben/install/emacs/emacs/src/eval.c:2679
run_hook_with_args at /home/ben/install/emacs/emacs/src/eval.c:2822
Frun_hooks at /home/ben/install/emacs/emacs/src/eval.c:2700 (discriminator 3)
eval_sub at /home/ben/install/emacs/emacs/src/eval.c:2472
Fprogn at /home/ben/install/emacs/emacs/src/eval.c:436
 (inlined by) funcall_lambda at /home/ben/install/emacs/emacs/src/eval.c:3233
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
funcall_nil at /home/ben/install/emacs/emacs/src/eval.c:2679
run_hook_with_args at /home/ben/install/emacs/emacs/src/eval.c:2822
Frun_hooks at /home/ben/install/emacs/emacs/src/eval.c:2700 (discriminator 3)
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
?? ??:0
funcall_subr at /home/ben/install/emacs/emacs/src/eval.c:3046
exec_byte_code at /home/ben/install/emacs/emacs/src/bytecode.c:809
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
?? ??:0
Ffuncall at /home/ben/install/emacs/emacs/src/eval.c:2997
safe_free at /home/ben/install/emacs/emacs/src/lisp.h:5373
 (inlined by) Fapply at /home/ben/install/emacs/emacs/src/eval.c:2668

> > >> deliver_thread_signal.constprop.0 at
> > >> /home/ben/install/emacs/emacs/src/sysdep.c:1765
> > >> ?? ??:0
> > >> make_lisp_ptr at /home/ben/install/emacs/emacs/src/lisp.h:1364
> > >>  (inlined by) realize_default_face at
> > >> /home/ben/install/emacs/emacs/src/xfaces.c:5802
> > >>  (inlined by) realize_basic_faces at
> > >> /home/ben/install/emacs/emacs/src/xfaces.c:5736
> > >
> > > The segfault seems to be caused by the frame's output_data.x being
> > > NULL or invalid.  Po Lu, is this caused by stopping the server or
> > > cutting the network connection between client and server?  If so, is
> > > there any remedy?
> >
> > The cause is the network connection being cut.  If a display disconnect
> > transpires while Emacs is operating on live frames connected to that
> > display, Emacs will crash, as the Xlib error handler deletes such frames
> > promptly.  There are no simple solutions or means of circumventing this
> > problem.
>
> I think in this case there were no live frames connected to the
> display, only the initial (non-GUI) daemon frame.  Benjamin, is that
> true?

The crash is triggered when a live frame was connected when the network
connection was cut, but the crash happens only later, the next time I open a
frame.  But I am not fully sure I correctly understand the question. Let me try
to explain better the circumstances:

I have emacs running in server mode on a VM. I have a windows machine running an
X server. Both machines are connected via a VPN which somtimes loses connection.
The issues comes after this connection loss. To reproduce I do this:

1. ssh -X into the machine and run emacsclient -nc. Emacs frame opens on the
   client (windows) machine.
2. While the frame is open, I disconnect (C-d, C-c in the terminal that has the
   ssh -X connection).
3. I reconnect to the server via ssh. At this point, the emacs server process
   has not yet crashed.
4. I run emacsclient -nc
5. On the client machine, an emacs frame opens and does some initial draw, then
   the server process crashes

If in step 4, I run emacclient -t instead, the server process also crashes. I
can't see an initial draw happening in this case.

If in step 2, I first close the frame, then disconnect, the crash in step 5 does
not happen (neither for -nc nor -t) and opening a frame works fine.

It's not a terrible issue for me, but annoyingly happens every time the VPN
connection is lost (~twice a day) and I have emacs open (~all the time :)).

Thanks, Ben





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 14:28       ` Benjamin Schwehn
@ 2023-09-22 15:07         ` Eli Zaretskii
  2023-09-22 16:51           ` Benjamin Schwehn
  0 siblings, 1 reply; 29+ messages in thread
From: Eli Zaretskii @ 2023-09-22 15:07 UTC (permalink / raw)
  To: Benjamin Schwehn; +Cc: luangruo, 66151

> From: Benjamin Schwehn <bschwehn@gmail.com>
> Date: Fri, 22 Sep 2023 16:28:40 +0200
> Cc: Po Lu <luangruo@yahoo.com>, 66151@debbugs.gnu.org
> 
> > Does this happen with any emacsclient command in this situation?  What
> > if you don't use -c, for example, or use -t instead?
> 
> emacsclient -t also causes the crash, with this backtrace (looks the same to me)
> 
> emacs_backtrace at /home/ben/install/emacs/emacs/src/sysdep.c:2304
> terminate_due_to_signal at /home/ben/install/emacs/emacs/src/emacs.c:458
> deliver_process_signal at /home/ben/install/emacs/emacs/src/sysdep.c:1741
>  (inlined by) deliver_fatal_signal at
> /home/ben/install/emacs/emacs/src/sysdep.c:1789
> deliver_thread_signal.constprop.0 at
> /home/ben/install/emacs/emacs/src/sysdep.c:1765
> ?? ??:0
> make_lisp_ptr at /home/ben/install/emacs/emacs/src/lisp.h:1364
>  (inlined by) realize_default_face at
> /home/ben/install/emacs/emacs/src/xfaces.c:5802

So this means we are somehow handling the original GUI frame.

> The crash is triggered when a live frame was connected when the network
> connection was cut, but the crash happens only later, the next time I open a
> frame. But I am not fully sure I correctly understand the question. Let me try
> to explain better the circumstances:
> 
> I have emacs running in server mode on a VM. I have a windows machine running an
> X server. Both machines are connected via a VPN which somtimes loses connection.
> The issues comes after this connection loss. To reproduce I do this:
> 
> 1. ssh -X into the machine and run emacsclient -nc. Emacs frame opens on the
>    client (windows) machine.
> 2. While the frame is open, I disconnect (C-d, C-c in the terminal that has the
>    ssh -X connection).
> 3. I reconnect to the server via ssh. At this point, the emacs server process
>    has not yet crashed.
> 4. I run emacsclient -nc
> 5. On the client machine, an emacs frame opens and does some initial draw, then
>    the server process crashes
> 
> If in step 4, I run emacclient -t instead, the server process also crashes. I
> can't see an initial draw happening in this case.
> 
> If in step 2, I first close the frame, then disconnect, the crash in step 5 does
> not happen (neither for -nc nor -t) and opening a frame works fine.

I think this confirms what Po Lu was saying: Emacs cannot recover when
you close the connection while some frame using that connection is
still on display.  You should close all such frames before
disconnecting.

> It's not a terrible issue for me, but annoyingly happens every time the VPN
> connection is lost (~twice a day) and I have emacs open (~all the time :)).

Why is the VPN connection lost so frequently?





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 15:07         ` Eli Zaretskii
@ 2023-09-22 16:51           ` Benjamin Schwehn
  2023-09-22 23:42             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 29+ messages in thread
From: Benjamin Schwehn @ 2023-09-22 16:51 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: luangruo, 66151

On Fri, 22 Sept 2023 at 17:07, Eli Zaretskii <eliz@gnu.org> wrote:

> I think this confirms what Po Lu was saying: Emacs cannot recover when
> you close the connection while some frame using that connection is
> still on display.  You should close all such frames before
> disconnecting.

Ok, sounds like there is no easy fix, thanks for the explanation!

I am curious though, before switching to lucid, emacs logged this during startup
as systemd service:

Warning: due to a long standing Gtk+ bug
https://gitlab.gnome.org/GNOME/gtk/issues/221
Emacs might crash when run in daemon mode and the X11 connection is
unexpectedly lost.
Using an Emacs configured with --with-x-toolkit=lucid does not have
this problem.

Do you happen to know what (if any) difference using lucid or gtk does in this
use case?

> > It's not a terrible issue for me, but annoyingly happens every time the VPN
> > connection is lost (~twice a day) and I have emacs open (~all the time :)).
>
> Why is the VPN connection lost so frequently?

Well, it is a work provided setup I have no control over. Half the disconnects
are due to me missing the mandatory re-authentication every x hours, the other
half I don't know.

I had quickly experimented with xpra (https://github.com/Xpra-org/xpra), which
should keep a persistent X11 connection. But it increased latency too much for
my liking.

Ben





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 16:51           ` Benjamin Schwehn
@ 2023-09-22 23:42             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-09-22 23:42 UTC (permalink / raw)
  To: Benjamin Schwehn; +Cc: 66151, Eli Zaretskii

Benjamin Schwehn <bschwehn@gmail.com> writes:

> difference using lucid or gtk does in this use case?

There is a good chance of recovery if a display connection is cut within
a non-GTK build, so long as the disconnect transpires while Emacs is
reading input, rather than operating on a frame connected to that
display.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151:
  2023-09-22 10:22 bug#66151: 29.1.50; daemon crashing after X forwarding disconnects Benjamin Schwehn
  2023-09-22 12:22 ` Eli Zaretskii
@ 2024-04-09 15:02 ` George P
  2024-04-09 15:16 ` bug#66151: 29.1.50; daemon crashing after X forwarding disconnects George P
  2024-04-09 20:36 ` George P
  3 siblings, 0 replies; 29+ messages in thread
From: George P @ 2024-04-09 15:02 UTC (permalink / raw)
  To: 66151

[-- Attachment #1: Type: text/plain, Size: 1810 bytes --]

Hi,

I am able to reproduce this bug without launching a new emacsclient. Steps
to reproduce:

- Start emacs daemon.
- Connect using emacsclient -c.
- Connect remotely to the daemon and run another emacsclient -c using X
forwarding.
- Crash the X forwarding connection created in the previous step.
- Go back to the emacsclient running locally on the daemon and run
(set-fontset-font
t '(#xe000 . #xf8ff) "Symbols Nerd Font Mono")

The reason that Ben was seeing a crash with a new emacsclient is because he
is using Doom (an Emacs framework) that attached a function to
server-after-make-hook that called set-fontset-font in the above way. As
Eli said, there is really no good reason to run such a hook after the first
frame, and this behavior has been fixed in Doom. (To Ben: try upgrading
Doom and see if it fixes your issue, if not let me know!)

Surprisingly, the segfault still happens even if i explicitly call
delete-frame on the dead frame before calling set-fontset-font. Also, I am
unable to reproduce this bug without Doom (i.e. launching the daemon with
-Q).

I am confused as to why emacs doesn't automatically clean up frames that
have been disconnected like this. If emacs survives a crash of the X
server, it should be able to identify that the display is dead (e.g. by
checking the validity of output_data.x) and remove it from the
(frame-list), preventing any subsequent commands from acting on these
frames. It has to do something more than what delete-frame does, as that
does not fix the issue (even though it removes the frame from the
(frame-list)).

Note: using GTK is very different, as emacs crashes *without* having to run
set-fontset-font (i.e. emacs crashes when the X forwarding connection
crashes). With lucid, emacs continues to run fine with the exception of
this bug for me.

[-- Attachment #2: Type: text/html, Size: 2674 bytes --]

^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 10:22 bug#66151: 29.1.50; daemon crashing after X forwarding disconnects Benjamin Schwehn
  2023-09-22 12:22 ` Eli Zaretskii
  2024-04-09 15:02 ` bug#66151: George P
@ 2024-04-09 15:16 ` George P
  2024-04-09 17:28   ` George P
  2024-04-09 20:36 ` George P
  3 siblings, 1 reply; 29+ messages in thread
From: George P @ 2024-04-09 15:16 UTC (permalink / raw)
  To: 66151

Hi,

I am able to reproduce this bug without launching a new emacsclient.
Steps to reproduce:

- Start emacs daemon.
- Connect using emacsclient -c.
- Connect remotely to the daemon and run another emacsclient -c using
X forwarding.
- Crash the X forwarding connection created in the previous step.
- Go back to the emacsclient running locally on the daemon and run
(set-fontset-font t '(#xe000 . #xf8ff) "Symbols Nerd Font Mono")

The reason that Ben was seeing a crash with a new emacsclient is
because he is using Doom (an Emacs framework) that attached a function
to server-after-make-hook that called set-fontset-font in the above
way. As Eli said, there is really no good reason to run such a hook
after the first frame, and this behavior has been fixed in Doom. (To
Ben: try upgrading Doom and see if it fixes your issue, if not let me
know!)

Surprisingly, the segfault still happens even if I explicitly call
delete-frame on the dead frame before calling set-fontset-font. Also,
I am unable to reproduce this bug without Doom (i.e. launching the
daemon with -Q).

I am confused as to why emacs doesn't automatically clean up frames
that have been disconnected like this. If emacs survives a crash of
the X server, it should be able to identify that the display is dead
(e.g. by checking the validity of output_data.x) and remove it from
the (frame-list), preventing any subsequent commands from acting on
these frames. It has to do something more than what delete-frame does,
as that does not fix the issue (even though it removes the frame from
the (frame-list)).

Note: using GTK is very different, as emacs crashes *without* having
to run set-fontset-font (i.e. emacs crashes when the X forwarding
connection crashes). With lucid, emacs continues to run fine with the
exception of this bug for me.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-09 15:16 ` bug#66151: 29.1.50; daemon crashing after X forwarding disconnects George P
@ 2024-04-09 17:28   ` George P
  2024-04-10  2:02     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 29+ messages in thread
From: George P @ 2024-04-09 17:28 UTC (permalink / raw)
  To: 66151

Hi,

I am able to reproduce this bug without launching a new emacsclient.
Steps to reproduce:

- Start emacs daemon.
- Connect using emacsclient -c.
- Connect remotely to the daemon and run another emacsclient -c using
X forwarding.
- Crash the X forwarding connection created in the previous step.
- Go back to the emacsclient running locally on the daemon and run
(set-fontset-font t '(#xe000 . #xf8ff) "Symbols Nerd Font Mono")

The reason that Ben was seeing a crash with a new emacsclient is
because he is using Doom (an Emacs framework) that attached a function
to server-after-make-hook that called set-fontset-font in the above
way. As Eli said, there is really no good reason to run such a hook
after the first frame, and this behavior has been fixed in Doom. (To
Ben: try upgrading Doom and see if it fixes your issue, if not let me
know!)

Surprisingly, the segfault still happens even if I explicitly call
delete-frame on the dead frame before calling set-fontset-font. Also,
I am unable to reproduce this bug without Doom (i.e. launching the
daemon with -Q).

I am confused as to why emacs doesn't automatically clean up frames
that have been disconnected like this. If emacs survives a crash of
the X server, it should be able to identify that the display is dead
(e.g. by checking the validity of output_data.x) and remove it from
the (frame-list), preventing any subsequent commands from acting on
these frames. It has to do something more than what delete-frame does,
as that does not fix the issue (even though it removes the frame from
the (frame-list)).

Note: using GTK is very different, as emacs crashes *without* having
to run set-fontset-font (i.e. emacs crashes when the X forwarding
connection crashes). With lucid, emacs continues to run fine with the
exception of this bug for me.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2023-09-22 10:22 bug#66151: 29.1.50; daemon crashing after X forwarding disconnects Benjamin Schwehn
                   ` (2 preceding siblings ...)
  2024-04-09 15:16 ` bug#66151: 29.1.50; daemon crashing after X forwarding disconnects George P
@ 2024-04-09 20:36 ` George P
  2024-05-07 20:26   ` Benjamin Schwehn
  3 siblings, 1 reply; 29+ messages in thread
From: George P @ 2024-04-09 20:36 UTC (permalink / raw)
  To: 66151; +Cc: luangruo@yahoo.com, eliz@gnu.org, bschwehn@gmail.com

Hi,

I am able to reproduce this bug without launching a new emacsclient.
Steps to reproduce:

- Start emacs daemon.
- Connect using emacsclient -c.
- Connect remotely to the daemon and run another emacsclient -c using X forwarding.
- Crash the X forwarding connection created in the previous step.
- Go back to the emacsclient running locally on the daemon and run
(set-fontset-font t '(#xe000 . #xf8ff) "Symbols Nerd Font Mono")

The reason why Ben was seeing a crash with a new emacsclient is because he is using Doom (an Emacs framework) that attached a function to server-after-make-hook that called set-fontset-font in the above way. As Eli said, there is really no good reason to run such a hook after the first frame, and this behavior has been fixed in Doom. (To Ben: try upgrading Doom and see if it fixes your issue, if not let me know!)

Surprisingly, the segfault still happens even if I explicitly call delete-frame on the dead frame before calling set-fontset-font. Also, I am unable to reproduce this bug without Doom (i.e. launching the daemon with -Q).

I am confused as to why emacs doesn't automatically clean up frames that have been disconnected like this. If emacs survives a crash of the X server, it should be able to identify that the display is dead (e.g. by checking the validity of output_data.x) and remove it from the (frame-list), preventing any subsequent commands from acting on these frames. It has to do something more than what delete-frame does, as that does not fix the issue (even though it removes the frame from the (frame-list)).

Note: using GTK is very different, as emacs crashes *without* having to run set-fontset-font (i.e. emacs crashes when the X forwarding connection crashes). With lucid, emacs continues to run fine with the exception of this bug for me.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-09 17:28   ` George P
@ 2024-04-10  2:02     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-04-10 15:42       ` George P
  0 siblings, 1 reply; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-10  2:02 UTC (permalink / raw)
  To: George P; +Cc: 66151

George P <georgepanagopo@gmail.com> writes:

> Hi,
>
> I am able to reproduce this bug without launching a new emacsclient.
> Steps to reproduce:
>
> - Start emacs daemon.
> - Connect using emacsclient -c.
> - Connect remotely to the daemon and run another emacsclient -c using
> X forwarding.
> - Crash the X forwarding connection created in the previous step.
> - Go back to the emacsclient running locally on the daemon and run
> (set-fontset-font t '(#xe000 . #xf8ff) "Symbols Nerd Font Mono")
>
> The reason that Ben was seeing a crash with a new emacsclient is
> because he is using Doom (an Emacs framework) that attached a function
> to server-after-make-hook that called set-fontset-font in the above
> way. As Eli said, there is really no good reason to run such a hook
> after the first frame, and this behavior has been fixed in Doom. (To
> Ben: try upgrading Doom and see if it fixes your issue, if not let me
> know!)
>
> Surprisingly, the segfault still happens even if I explicitly call
> delete-frame on the dead frame before calling set-fontset-font. Also,
> I am unable to reproduce this bug without Doom (i.e. launching the
> daemon with -Q).
>
> I am confused as to why emacs doesn't automatically clean up frames
> that have been disconnected like this. If emacs survives a crash of
> the X server, it should be able to identify that the display is dead
> (e.g. by checking the validity of output_data.x) and remove it from
> the (frame-list), preventing any subsequent commands from acting on
> these frames. It has to do something more than what delete-frame does,
> as that does not fix the issue (even though it removes the frame from
> the (frame-list)).
>
> Note: using GTK is very different, as emacs crashes *without* having
> to run set-fontset-font (i.e. emacs crashes when the X forwarding
> connection crashes). With lucid, emacs continues to run fine with the
> exception of this bug for me.

I cannot reproduce this crash, but I suspect the culprit is to be found
in the retention of the remote frame beyond the destruction of the X
server connection, which is not detected when Emacs returns to the event
loop, and remains unnoticed until set-fontset-font prompts a request to
be issued that flushes the now-destroyed connection.  Whatever code
issues this request is not robust against abrupt destruction of frames
by the IO error handler and consequently crashes attempting to
dereference the dead frame.

Please attach GDB to the running Emacs daemon and post a backtrace from
such a crash--with any luck, the code responsible will be rather
pathological and easily addressable.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-10  2:02     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-04-10 15:42       ` George P
  2024-04-11  0:50         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 29+ messages in thread
From: George P @ 2024-04-10 15:42 UTC (permalink / raw)
  To: Po Lu; +Cc: 66151

This is the trace I get (similar to Ben's):

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x0000000000506a94 in realize_basic_faces ()
(gdb) where
#0  0x0000000000506a94 in realize_basic_faces ()
#1  0x000000000050979d in recompute_basic_faces ()
#2  0x000000000068b172 in Fset_fontset_font ()
#3  0x00000000005ecdc6 in eval_sub ()
#4  0x00000000005eef49 in Feval ()
#5  0x00007ffff23830d8 in F6576616c2d65787072657373696f6e_eval_expression_0 ()
   from /nix/store/1db10dgbfwzb5q3m78f497arkpv34y21-emacs-29.1/bin/../lib/emacs/29.1/native-lisp/29.1-41778d84/preloaded/simple-fab5b0cf-a050dc2b.eln
#6  0x00000000005e8d61 in Ffuncall ()
#7  0x00000000005e4c41 in Ffuncall_interactively ()
#8  0x00000000005e8d61 in Ffuncall ()
#9  0x00000000005e8f80 in Fapply ()
#10 0x00000000005e65c3 in Fcall_interactively ()
#11 0x00007ffff23876dd in F636f6d6d616e642d65786563757465_command_execute_0 ()
   from /nix/store/1db10dgbfwzb5q3m78f497arkpv34y21-emacs-29.1/bin/../lib/emacs/29.1/native-lisp/29.1-41778d84/preloaded/simple-fab5b0cf-a050dc2b.eln
#12 0x00000000005e8d61 in Ffuncall ()
#13 0x000000000056c05c in command_loop_1 ()
#14 0x00000000005e75af in internal_condition_case ()
#15 0x0000000000556ec6 in command_loop_2 ()
#16 0x00000000005e7513 in internal_catch ()
#17 0x0000000000556e61 in command_loop ()
#18 0x000000000055b9eb in recursive_edit_1 ()
#19 0x000000000055bd6f in Frecursive_edit ()
#20 0x000000000042d184 in main ()

This is probably not that useful without debug symbols though....





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-10 15:42       ` George P
@ 2024-04-11  0:50         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-04-12  2:03           ` George P
  0 siblings, 1 reply; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-11  0:50 UTC (permalink / raw)
  To: George P; +Cc: 66151

George P <georgepanagopo@gmail.com> writes:

> This is the trace I get (similar to Ben's):
>
> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> 0x0000000000506a94 in realize_basic_faces ()
> (gdb) where
> #0  0x0000000000506a94 in realize_basic_faces ()
> #1  0x000000000050979d in recompute_basic_faces ()
> #2  0x000000000068b172 in Fset_fontset_font ()
> #3  0x00000000005ecdc6 in eval_sub ()
> #4  0x00000000005eef49 in Feval ()
> #5  0x00007ffff23830d8 in F6576616c2d65787072657373696f6e_eval_expression_0 ()
>    from /nix/store/1db10dgbfwzb5q3m78f497arkpv34y21-emacs-29.1/bin/../lib/emacs/29.1/native-lisp/29.1-41778d84/preloaded/simple-fab5b0cf-a050dc2b.eln
> #6  0x00000000005e8d61 in Ffuncall ()
> #7  0x00000000005e4c41 in Ffuncall_interactively ()
> #8  0x00000000005e8d61 in Ffuncall ()
> #9  0x00000000005e8f80 in Fapply ()
> #10 0x00000000005e65c3 in Fcall_interactively ()
> #11 0x00007ffff23876dd in F636f6d6d616e642d65786563757465_command_execute_0 ()
>    from /nix/store/1db10dgbfwzb5q3m78f497arkpv34y21-emacs-29.1/bin/../lib/emacs/29.1/native-lisp/29.1-41778d84/preloaded/simple-fab5b0cf-a050dc2b.eln
> #12 0x00000000005e8d61 in Ffuncall ()
> #13 0x000000000056c05c in command_loop_1 ()
> #14 0x00000000005e75af in internal_condition_case ()
> #15 0x0000000000556ec6 in command_loop_2 ()
> #16 0x00000000005e7513 in internal_catch ()
> #17 0x0000000000556e61 in command_loop ()
> #18 0x000000000055b9eb in recursive_edit_1 ()
> #19 0x000000000055bd6f in Frecursive_edit ()
> #20 0x000000000042d184 in main ()
>
> This is probably not that useful without debug symbols though....

Yes, please install them and generate a new backtrace.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-11  0:50         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-04-12  2:03           ` George P
  2024-04-13  1:51             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 29+ messages in thread
From: George P @ 2024-04-12  2:03 UTC (permalink / raw)
  To: Po Lu; +Cc: 66151

Here is the new trace:

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x0000000000537fb2 in realize_default_face (f=0x9ff1650) at xfaces.c:5864
5864          XSETFONT (font_object, FRAME_FONT (f));
Missing separate debuginfos, use: dnf debuginfo-install
GConf2-3.2.6-22.el8.x86_64 bzip2-libs-1.0.6-26.el8.x86_64
cairo-1.15.12-6.el8.x86_64 dbus-glib-0.110-2.el8.x86_64
dbus-libs-1.12.8-26.el8.x86_64 dconf-0.28.0-4.el8.x86_64
expat-2.2.5-11.el8.x86_64 fontconfig-2.13.1-4.el8.x86_64
freetype-2.9.1-9.el8.x86_64 glib2-2.56.4-161.el8.x86_64
gmp-6.1.2-10.el8.x86_64 gnutls-3.6.16-8.el8_9.1.x86_64
graphite2-1.3.10-10.el8.x86_64 harfbuzz-1.7.5-3.el8.x86_64
jbigkit-libs-2.1-14.el8.x86_64 libICE-1.0.9-15.el8.x86_64
libSM-1.2.3-1.el8.x86_64 libX11-1.6.8-6.el8.x86_64
libX11-xcb-1.6.8-6.el8.x86_64 libXau-1.0.9-3.el8.x86_64
libXaw-1.0.13-10.el8.x86_64 libXcomposite-0.4.4-14.el8.x86_64
libXcursor-1.1.15-3.el8.x86_64 libXfixes-5.0.3-7.el8.x86_64
libXi-1.7.10-1.el8.x86_64 libXinerama-1.1.4-1.el8.x86_64
libXmu-1.1.3-1.el8.x86_64 libXpm-3.5.12-9.el8_7.x86_64
libXrandr-1.5.2-1.el8.x86_64 libXrender-0.9.10-7.el8.x86_64
libXt-1.1.5-12.el8.x86_64 libacl-2.2.53-1.el8.x86_64
libattr-2.4.48-3.el8.x86_64 libblkid-2.32.1-43.el8.x86_64
libcap-2.48-6.el8_9.x86_64 libffi-3.1-24.el8.x86_64
libgcrypt-1.8.5-7.el8_6.x86_64 libgpg-error-1.31-1.el8.x86_64
libjpeg-turbo-1.5.3-12.el8.x86_64 libmount-2.32.1-43.el8.x86_64
libpng-1.6.34-5.el8.x86_64 libselinux-2.9-8.el8.x86_64
libtasn1-4.13-4.el8_7.x86_64 libtiff-4.0.9-29.el8_8.x86_64
libunistring-0.9.9-3.el8.x86_64 libuuid-2.32.1-43.el8.x86_64
libwebp-1.0.0-9.el8_9.1.x86_64 libxcb-1.13.1-1.el8.x86_64
libxml2-2.9.7-9.el8.11.deshaw.x86_64 lz4-libs-1.8.3-3.el8_4.x86_64
nettle-3.4.1-7.el8.x86_64 p11-kit-0.23.22-1.el8.x86_64
pcre-8.42-6.el8.x86_64 pcre2-10.32-3.el8_6.x86_64
sqlite-libs-3.26.0-19.el8_9.x86_64 systemd-libs-239-78.el8.x86_64
zlib-1.2.11-25.el8.x86_64
(gdb) where
#0  0x0000000000537fb2 in realize_default_face (f=0x9ff1650) at xfaces.c:5864
#1  0x0000000000537c3e in realize_basic_faces (f=0x9ff1650) at xfaces.c:5798
#2  0x000000000052aced in recompute_basic_faces (f=0x9ff1650) at xfaces.c:719
#3  0x000000000071d794 in free_realized_fontsets (base=0x7fffec5a731d)
at fontset.c:1372
#4  0x000000000071ebf7 in Fset_fontset_font (fontset=0x30,
characters=0x7fffeb3b7bc3, font_spec=0x15e66cd, frame=0xf3a095,
add=0x0) at fontset.c:1720
#5  0x000000000066ba2f in eval_sub (form=0x7fffeb3b7be3) at eval.c:2539
#6  0x000000000066b1d3 in Feval (form=0x7fffeb3b7be3, lexical=0x30) at
eval.c:2389
#7  0x000000000066d170 in funcall_subr (subr=0xce3580 <Seval>,
numargs=2, args=0x7fffebd4c1b0) at eval.c:3092
#8  0x00000000006bf470 in exec_byte_code (fun=0x7fffec2b86e5,
args_template=513, nargs=2, args=0x7fffebd4c4c0) at bytecode.c:814
#9  0x000000000066d76e in funcall_lambda (fun=0x2c39e95, nargs=0,
arg_vector=0x7fffffffba60) at eval.c:3194
#10 0x000000000066cc24 in funcall_general (fun=0x2c39e95, numargs=0,
args=0x7fffffffba60) at eval.c:2972
#11 0x000000000066cea9 in Ffuncall (nargs=1, args=0x7fffffffba58) at eval.c:3022
#12 0x0000000000665f0c in call0 (fn=0x2c39e95) at lisp.h:3503
#13 0x0000000000668dcb in Fhandler_bind_1 (nargs=3,
args=0x7fffebd4c128) at eval.c:1403
#14 0x000000000066d369 in funcall_subr (subr=0xce3440
<Shandler_bind_1>, numargs=3, args=0x7fffebd4c128) at eval.c:3113
#15 0x00000000006bf470 in exec_byte_code (fun=0x7fffec2b17e5,
args_template=1025, nargs=4, args=0x7fffffffc2c0) at bytecode.c:814
#16 0x000000000066d76e in funcall_lambda (fun=0x7fffec2b17e5, nargs=4,
arg_vector=0x7fffffffc2a0) at eval.c:3194
#17 0x000000000066cc24 in funcall_general (fun=0x7fffec2b17e5,
numargs=4, args=0x7fffffffc2a0) at eval.c:2972
#18 0x000000000066cea9 in Ffuncall (nargs=5, args=0x7fffffffc298) at eval.c:3022
#19 0x0000000000662c69 in Ffuncall_interactively (nargs=5,
args=0x7fffffffc298) at callint.c:250
#20 0x000000000066d369 in funcall_subr (subr=0xce2cc0
<Sfuncall_interactively>, numargs=5, args=0x7fffffffc298) at
eval.c:3113
#21 0x000000000066cbd8 in funcall_general (fun=0xce2cc5
<Sfuncall_interactively+5>, numargs=5, args=0x7fffffffc298) at
eval.c:2968
#22 0x000000000066cea9 in Ffuncall (nargs=6, args=0x7fffffffc290) at eval.c:3022
#23 0x000000000066c358 in Fapply (nargs=3, args=0x7fffffffc3d0) at eval.c:2693
#24 0x0000000000663085 in Fcall_interactively
(function=0x7fffeb5542f0, record_flag=0x0, keys=0x70ae4a5) at
callint.c:342
#25 0x000000000066d19f in funcall_subr (subr=0xce2d00
<Scall_interactively>, numargs=3, args=0x7fffebd4c070) at eval.c:3094
#26 0x00000000006bf470 in exec_byte_code (fun=0x7fffec92a33d,
args_template=1025, nargs=1, args=0x7fffffffcda0) at bytecode.c:814
#27 0x000000000066d76e in funcall_lambda (fun=0x7fffec92a33d, nargs=1,
arg_vector=0x7fffffffcd98) at eval.c:3194
#28 0x000000000066cc24 in funcall_general (fun=0x7fffec92a33d,
numargs=1, args=0x7fffffffcd98) at eval.c:2972
#29 0x000000000066cea9 in Ffuncall (nargs=2, args=0x7fffffffcd90) at eval.c:3022
#30 0x00000000005aac1f in command_loop_1 () at keyboard.c:1549
#31 0x0000000000669463 in internal_condition_case (bfun=0x5aa419
<command_loop_1>, handlers=0x90, hfun=0x5a99e3 <cmd_error>) at
eval.c:1537
#32 0x00000000005aa088 in command_loop_2 (handlers=0x90) at keyboard.c:1167
#33 0x000000000066897e in internal_catch (tag=0x10c20, func=0x5aa065
<command_loop_2>, arg=0x90) at eval.c:1217
#34 0x00000000005aa020 in command_loop () at keyboard.c:1145
#35 0x00000000005a9592 in recursive_edit_1 () at keyboard.c:753
#36 0x00000000005a973a in Frecursive_edit () at keyboard.c:836
#37 0x00000000005a5c81 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
(gdb) print f->output_data
$1 = {tty = 0x0, x = 0x0, w32 = 0x0, ns = 0x0, pgtk = 0x0, haiku =
0x0, android = 0x0}

This is using the master branch on commit
0fab2649e288c7a350018293443e709eba6b0fe2. Let me know if you want me
to do more digging in gdb.

On Wed, Apr 10, 2024 at 8:50 PM Po Lu <luangruo@yahoo.com> wrote:
>
> George P <georgepanagopo@gmail.com> writes:
>
> > This is the trace I get (similar to Ben's):
> >
> > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> > 0x0000000000506a94 in realize_basic_faces ()
> > (gdb) where
> > #0  0x0000000000506a94 in realize_basic_faces ()
> > #1  0x000000000050979d in recompute_basic_faces ()
> > #2  0x000000000068b172 in Fset_fontset_font ()
> > #3  0x00000000005ecdc6 in eval_sub ()
> > #4  0x00000000005eef49 in Feval ()
> > #5  0x00007ffff23830d8 in F6576616c2d65787072657373696f6e_eval_expression_0 ()
> >    from /nix/store/1db10dgbfwzb5q3m78f497arkpv34y21-emacs-29.1/bin/../lib/emacs/29.1/native-lisp/29.1-41778d84/preloaded/simple-fab5b0cf-a050dc2b.eln
> > #6  0x00000000005e8d61 in Ffuncall ()
> > #7  0x00000000005e4c41 in Ffuncall_interactively ()
> > #8  0x00000000005e8d61 in Ffuncall ()
> > #9  0x00000000005e8f80 in Fapply ()
> > #10 0x00000000005e65c3 in Fcall_interactively ()
> > #11 0x00007ffff23876dd in F636f6d6d616e642d65786563757465_command_execute_0 ()
> >    from /nix/store/1db10dgbfwzb5q3m78f497arkpv34y21-emacs-29.1/bin/../lib/emacs/29.1/native-lisp/29.1-41778d84/preloaded/simple-fab5b0cf-a050dc2b.eln
> > #12 0x00000000005e8d61 in Ffuncall ()
> > #13 0x000000000056c05c in command_loop_1 ()
> > #14 0x00000000005e75af in internal_condition_case ()
> > #15 0x0000000000556ec6 in command_loop_2 ()
> > #16 0x00000000005e7513 in internal_catch ()
> > #17 0x0000000000556e61 in command_loop ()
> > #18 0x000000000055b9eb in recursive_edit_1 ()
> > #19 0x000000000055bd6f in Frecursive_edit ()
> > #20 0x000000000042d184 in main ()
> >
> > This is probably not that useful without debug symbols though....
>
> Yes, please install them and generate a new backtrace.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-12  2:03           ` George P
@ 2024-04-13  1:51             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-04-13  7:46               ` George P
  0 siblings, 1 reply; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-13  1:51 UTC (permalink / raw)
  To: George P; +Cc: 66151

George P <georgepanagopo@gmail.com> writes:

> Here is the new trace:
>
> Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> 0x0000000000537fb2 in realize_default_face (f=0x9ff1650) at xfaces.c:5864
> 5864          XSETFONT (font_object, FRAME_FONT (f));
> Missing separate debuginfos, use: dnf debuginfo-install
> GConf2-3.2.6-22.el8.x86_64 bzip2-libs-1.0.6-26.el8.x86_64
> cairo-1.15.12-6.el8.x86_64 dbus-glib-0.110-2.el8.x86_64
> dbus-libs-1.12.8-26.el8.x86_64 dconf-0.28.0-4.el8.x86_64
> expat-2.2.5-11.el8.x86_64 fontconfig-2.13.1-4.el8.x86_64
> freetype-2.9.1-9.el8.x86_64 glib2-2.56.4-161.el8.x86_64
> gmp-6.1.2-10.el8.x86_64 gnutls-3.6.16-8.el8_9.1.x86_64
> graphite2-1.3.10-10.el8.x86_64 harfbuzz-1.7.5-3.el8.x86_64
> jbigkit-libs-2.1-14.el8.x86_64 libICE-1.0.9-15.el8.x86_64
> libSM-1.2.3-1.el8.x86_64 libX11-1.6.8-6.el8.x86_64
> libX11-xcb-1.6.8-6.el8.x86_64 libXau-1.0.9-3.el8.x86_64
> libXaw-1.0.13-10.el8.x86_64 libXcomposite-0.4.4-14.el8.x86_64
> libXcursor-1.1.15-3.el8.x86_64 libXfixes-5.0.3-7.el8.x86_64
> libXi-1.7.10-1.el8.x86_64 libXinerama-1.1.4-1.el8.x86_64
> libXmu-1.1.3-1.el8.x86_64 libXpm-3.5.12-9.el8_7.x86_64
> libXrandr-1.5.2-1.el8.x86_64 libXrender-0.9.10-7.el8.x86_64
> libXt-1.1.5-12.el8.x86_64 libacl-2.2.53-1.el8.x86_64
> libattr-2.4.48-3.el8.x86_64 libblkid-2.32.1-43.el8.x86_64
> libcap-2.48-6.el8_9.x86_64 libffi-3.1-24.el8.x86_64
> libgcrypt-1.8.5-7.el8_6.x86_64 libgpg-error-1.31-1.el8.x86_64
> libjpeg-turbo-1.5.3-12.el8.x86_64 libmount-2.32.1-43.el8.x86_64
> libpng-1.6.34-5.el8.x86_64 libselinux-2.9-8.el8.x86_64
> libtasn1-4.13-4.el8_7.x86_64 libtiff-4.0.9-29.el8_8.x86_64
> libunistring-0.9.9-3.el8.x86_64 libuuid-2.32.1-43.el8.x86_64
> libwebp-1.0.0-9.el8_9.1.x86_64 libxcb-1.13.1-1.el8.x86_64
> libxml2-2.9.7-9.el8.11.deshaw.x86_64 lz4-libs-1.8.3-3.el8_4.x86_64
> nettle-3.4.1-7.el8.x86_64 p11-kit-0.23.22-1.el8.x86_64
> pcre-8.42-6.el8.x86_64 pcre2-10.32-3.el8_6.x86_64
> sqlite-libs-3.26.0-19.el8_9.x86_64 systemd-libs-239-78.el8.x86_64
> zlib-1.2.11-25.el8.x86_64
> (gdb) where
> #0  0x0000000000537fb2 in realize_default_face (f=0x9ff1650) at xfaces.c:5864
> #1  0x0000000000537c3e in realize_basic_faces (f=0x9ff1650) at xfaces.c:5798
> #2  0x000000000052aced in recompute_basic_faces (f=0x9ff1650) at xfaces.c:719
> #3  0x000000000071d794 in free_realized_fontsets (base=0x7fffec5a731d)
> at fontset.c:1372
> #4  0x000000000071ebf7 in Fset_fontset_font (fontset=0x30,
> characters=0x7fffeb3b7bc3, font_spec=0x15e66cd, frame=0xf3a095,
> add=0x0) at fontset.c:1720
> #5  0x000000000066ba2f in eval_sub (form=0x7fffeb3b7be3) at eval.c:2539
> #6  0x000000000066b1d3 in Feval (form=0x7fffeb3b7be3, lexical=0x30) at
> eval.c:2389
> #7  0x000000000066d170 in funcall_subr (subr=0xce3580 <Seval>,
> numargs=2, args=0x7fffebd4c1b0) at eval.c:3092
> #8  0x00000000006bf470 in exec_byte_code (fun=0x7fffec2b86e5,
> args_template=513, nargs=2, args=0x7fffebd4c4c0) at bytecode.c:814
> #9  0x000000000066d76e in funcall_lambda (fun=0x2c39e95, nargs=0,
> arg_vector=0x7fffffffba60) at eval.c:3194
> #10 0x000000000066cc24 in funcall_general (fun=0x2c39e95, numargs=0,
> args=0x7fffffffba60) at eval.c:2972
> #11 0x000000000066cea9 in Ffuncall (nargs=1, args=0x7fffffffba58) at eval.c:3022
> #12 0x0000000000665f0c in call0 (fn=0x2c39e95) at lisp.h:3503
> #13 0x0000000000668dcb in Fhandler_bind_1 (nargs=3,
> args=0x7fffebd4c128) at eval.c:1403
> #14 0x000000000066d369 in funcall_subr (subr=0xce3440
> <Shandler_bind_1>, numargs=3, args=0x7fffebd4c128) at eval.c:3113
> #15 0x00000000006bf470 in exec_byte_code (fun=0x7fffec2b17e5,
> args_template=1025, nargs=4, args=0x7fffffffc2c0) at bytecode.c:814
> #16 0x000000000066d76e in funcall_lambda (fun=0x7fffec2b17e5, nargs=4,
> arg_vector=0x7fffffffc2a0) at eval.c:3194
> #17 0x000000000066cc24 in funcall_general (fun=0x7fffec2b17e5,
> numargs=4, args=0x7fffffffc2a0) at eval.c:2972
> #18 0x000000000066cea9 in Ffuncall (nargs=5, args=0x7fffffffc298) at eval.c:3022
> #19 0x0000000000662c69 in Ffuncall_interactively (nargs=5,
> args=0x7fffffffc298) at callint.c:250
> #20 0x000000000066d369 in funcall_subr (subr=0xce2cc0
> <Sfuncall_interactively>, numargs=5, args=0x7fffffffc298) at
> eval.c:3113
> #21 0x000000000066cbd8 in funcall_general (fun=0xce2cc5
> <Sfuncall_interactively+5>, numargs=5, args=0x7fffffffc298) at
> eval.c:2968
> #22 0x000000000066cea9 in Ffuncall (nargs=6, args=0x7fffffffc290) at eval.c:3022
> #23 0x000000000066c358 in Fapply (nargs=3, args=0x7fffffffc3d0) at eval.c:2693
> #24 0x0000000000663085 in Fcall_interactively
> (function=0x7fffeb5542f0, record_flag=0x0, keys=0x70ae4a5) at
> callint.c:342
> #25 0x000000000066d19f in funcall_subr (subr=0xce2d00
> <Scall_interactively>, numargs=3, args=0x7fffebd4c070) at eval.c:3094
> #26 0x00000000006bf470 in exec_byte_code (fun=0x7fffec92a33d,
> args_template=1025, nargs=1, args=0x7fffffffcda0) at bytecode.c:814
> #27 0x000000000066d76e in funcall_lambda (fun=0x7fffec92a33d, nargs=1,
> arg_vector=0x7fffffffcd98) at eval.c:3194
> #28 0x000000000066cc24 in funcall_general (fun=0x7fffec92a33d,
> numargs=1, args=0x7fffffffcd98) at eval.c:2972
> #29 0x000000000066cea9 in Ffuncall (nargs=2, args=0x7fffffffcd90) at eval.c:3022
> #30 0x00000000005aac1f in command_loop_1 () at keyboard.c:1549
> #31 0x0000000000669463 in internal_condition_case (bfun=0x5aa419
> <command_loop_1>, handlers=0x90, hfun=0x5a99e3 <cmd_error>) at
> eval.c:1537
> #32 0x00000000005aa088 in command_loop_2 (handlers=0x90) at keyboard.c:1167
> #33 0x000000000066897e in internal_catch (tag=0x10c20, func=0x5aa065
> <command_loop_2>, arg=0x90) at eval.c:1217
> #34 0x00000000005aa020 in command_loop () at keyboard.c:1145
> #35 0x00000000005a9592 in recursive_edit_1 () at keyboard.c:753
> #36 0x00000000005a973a in Frecursive_edit () at keyboard.c:836
> #37 0x00000000005a5c81 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
> (gdb) print f->output_data
> $1 = {tty = 0x0, x = 0x0, w32 = 0x0, ns = 0x0, pgtk = 0x0, haiku =
> 0x0, android = 0x0}
>
> This is using the master branch on commit
> 0fab2649e288c7a350018293443e709eba6b0fe2. Let me know if you want me
> to do more digging in gdb.

Yes please--this backtrace doesn't convey enough information to
establish when the disconnect is first detected, so please place another
breakpoint on `x_io_error_quitter', repeat this exercise, and post
backtraces from both the new and the existing breakpoint.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-13  1:51             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-04-13  7:46               ` George P
  2024-04-13 11:45                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 29+ messages in thread
From: George P @ 2024-04-13  7:46 UTC (permalink / raw)
  To: Po Lu; +Cc: 66151

[-- Attachment #1: Type: text/plain, Size: 6993 bytes --]

I have attached the full backtraces for breakpoints on
`x_io_error_quitter`, `delete_frame`, and the crash point at the same
commit as before. Hope it helps!

On Fri, Apr 12, 2024 at 9:52 PM Po Lu <luangruo@yahoo.com> wrote:
>
> George P <georgepanagopo@gmail.com> writes:
>
> > Here is the new trace:
> >
> > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
> > 0x0000000000537fb2 in realize_default_face (f=0x9ff1650) at xfaces.c:5864
> > 5864          XSETFONT (font_object, FRAME_FONT (f));
> > Missing separate debuginfos, use: dnf debuginfo-install
> > GConf2-3.2.6-22.el8.x86_64 bzip2-libs-1.0.6-26.el8.x86_64
> > cairo-1.15.12-6.el8.x86_64 dbus-glib-0.110-2.el8.x86_64
> > dbus-libs-1.12.8-26.el8.x86_64 dconf-0.28.0-4.el8.x86_64
> > expat-2.2.5-11.el8.x86_64 fontconfig-2.13.1-4.el8.x86_64
> > freetype-2.9.1-9.el8.x86_64 glib2-2.56.4-161.el8.x86_64
> > gmp-6.1.2-10.el8.x86_64 gnutls-3.6.16-8.el8_9.1.x86_64
> > graphite2-1.3.10-10.el8.x86_64 harfbuzz-1.7.5-3.el8.x86_64
> > jbigkit-libs-2.1-14.el8.x86_64 libICE-1.0.9-15.el8.x86_64
> > libSM-1.2.3-1.el8.x86_64 libX11-1.6.8-6.el8.x86_64
> > libX11-xcb-1.6.8-6.el8.x86_64 libXau-1.0.9-3.el8.x86_64
> > libXaw-1.0.13-10.el8.x86_64 libXcomposite-0.4.4-14.el8.x86_64
> > libXcursor-1.1.15-3.el8.x86_64 libXfixes-5.0.3-7.el8.x86_64
> > libXi-1.7.10-1.el8.x86_64 libXinerama-1.1.4-1.el8.x86_64
> > libXmu-1.1.3-1.el8.x86_64 libXpm-3.5.12-9.el8_7.x86_64
> > libXrandr-1.5.2-1.el8.x86_64 libXrender-0.9.10-7.el8.x86_64
> > libXt-1.1.5-12.el8.x86_64 libacl-2.2.53-1.el8.x86_64
> > libattr-2.4.48-3.el8.x86_64 libblkid-2.32.1-43.el8.x86_64
> > libcap-2.48-6.el8_9.x86_64 libffi-3.1-24.el8.x86_64
> > libgcrypt-1.8.5-7.el8_6.x86_64 libgpg-error-1.31-1.el8.x86_64
> > libjpeg-turbo-1.5.3-12.el8.x86_64 libmount-2.32.1-43.el8.x86_64
> > libpng-1.6.34-5.el8.x86_64 libselinux-2.9-8.el8.x86_64
> > libtasn1-4.13-4.el8_7.x86_64 libtiff-4.0.9-29.el8_8.x86_64
> > libunistring-0.9.9-3.el8.x86_64 libuuid-2.32.1-43.el8.x86_64
> > libwebp-1.0.0-9.el8_9.1.x86_64 libxcb-1.13.1-1.el8.x86_64
> > libxml2-2.9.7-9.el8.11.deshaw.x86_64 lz4-libs-1.8.3-3.el8_4.x86_64
> > nettle-3.4.1-7.el8.x86_64 p11-kit-0.23.22-1.el8.x86_64
> > pcre-8.42-6.el8.x86_64 pcre2-10.32-3.el8_6.x86_64
> > sqlite-libs-3.26.0-19.el8_9.x86_64 systemd-libs-239-78.el8.x86_64
> > zlib-1.2.11-25.el8.x86_64
> > (gdb) where
> > #0  0x0000000000537fb2 in realize_default_face (f=0x9ff1650) at xfaces.c:5864
> > #1  0x0000000000537c3e in realize_basic_faces (f=0x9ff1650) at xfaces.c:5798
> > #2  0x000000000052aced in recompute_basic_faces (f=0x9ff1650) at xfaces.c:719
> > #3  0x000000000071d794 in free_realized_fontsets (base=0x7fffec5a731d)
> > at fontset.c:1372
> > #4  0x000000000071ebf7 in Fset_fontset_font (fontset=0x30,
> > characters=0x7fffeb3b7bc3, font_spec=0x15e66cd, frame=0xf3a095,
> > add=0x0) at fontset.c:1720
> > #5  0x000000000066ba2f in eval_sub (form=0x7fffeb3b7be3) at eval.c:2539
> > #6  0x000000000066b1d3 in Feval (form=0x7fffeb3b7be3, lexical=0x30) at
> > eval.c:2389
> > #7  0x000000000066d170 in funcall_subr (subr=0xce3580 <Seval>,
> > numargs=2, args=0x7fffebd4c1b0) at eval.c:3092
> > #8  0x00000000006bf470 in exec_byte_code (fun=0x7fffec2b86e5,
> > args_template=513, nargs=2, args=0x7fffebd4c4c0) at bytecode.c:814
> > #9  0x000000000066d76e in funcall_lambda (fun=0x2c39e95, nargs=0,
> > arg_vector=0x7fffffffba60) at eval.c:3194
> > #10 0x000000000066cc24 in funcall_general (fun=0x2c39e95, numargs=0,
> > args=0x7fffffffba60) at eval.c:2972
> > #11 0x000000000066cea9 in Ffuncall (nargs=1, args=0x7fffffffba58) at eval.c:3022
> > #12 0x0000000000665f0c in call0 (fn=0x2c39e95) at lisp.h:3503
> > #13 0x0000000000668dcb in Fhandler_bind_1 (nargs=3,
> > args=0x7fffebd4c128) at eval.c:1403
> > #14 0x000000000066d369 in funcall_subr (subr=0xce3440
> > <Shandler_bind_1>, numargs=3, args=0x7fffebd4c128) at eval.c:3113
> > #15 0x00000000006bf470 in exec_byte_code (fun=0x7fffec2b17e5,
> > args_template=1025, nargs=4, args=0x7fffffffc2c0) at bytecode.c:814
> > #16 0x000000000066d76e in funcall_lambda (fun=0x7fffec2b17e5, nargs=4,
> > arg_vector=0x7fffffffc2a0) at eval.c:3194
> > #17 0x000000000066cc24 in funcall_general (fun=0x7fffec2b17e5,
> > numargs=4, args=0x7fffffffc2a0) at eval.c:2972
> > #18 0x000000000066cea9 in Ffuncall (nargs=5, args=0x7fffffffc298) at eval.c:3022
> > #19 0x0000000000662c69 in Ffuncall_interactively (nargs=5,
> > args=0x7fffffffc298) at callint.c:250
> > #20 0x000000000066d369 in funcall_subr (subr=0xce2cc0
> > <Sfuncall_interactively>, numargs=5, args=0x7fffffffc298) at
> > eval.c:3113
> > #21 0x000000000066cbd8 in funcall_general (fun=0xce2cc5
> > <Sfuncall_interactively+5>, numargs=5, args=0x7fffffffc298) at
> > eval.c:2968
> > #22 0x000000000066cea9 in Ffuncall (nargs=6, args=0x7fffffffc290) at eval.c:3022
> > #23 0x000000000066c358 in Fapply (nargs=3, args=0x7fffffffc3d0) at eval.c:2693
> > #24 0x0000000000663085 in Fcall_interactively
> > (function=0x7fffeb5542f0, record_flag=0x0, keys=0x70ae4a5) at
> > callint.c:342
> > #25 0x000000000066d19f in funcall_subr (subr=0xce2d00
> > <Scall_interactively>, numargs=3, args=0x7fffebd4c070) at eval.c:3094
> > #26 0x00000000006bf470 in exec_byte_code (fun=0x7fffec92a33d,
> > args_template=1025, nargs=1, args=0x7fffffffcda0) at bytecode.c:814
> > #27 0x000000000066d76e in funcall_lambda (fun=0x7fffec92a33d, nargs=1,
> > arg_vector=0x7fffffffcd98) at eval.c:3194
> > #28 0x000000000066cc24 in funcall_general (fun=0x7fffec92a33d,
> > numargs=1, args=0x7fffffffcd98) at eval.c:2972
> > #29 0x000000000066cea9 in Ffuncall (nargs=2, args=0x7fffffffcd90) at eval.c:3022
> > #30 0x00000000005aac1f in command_loop_1 () at keyboard.c:1549
> > #31 0x0000000000669463 in internal_condition_case (bfun=0x5aa419
> > <command_loop_1>, handlers=0x90, hfun=0x5a99e3 <cmd_error>) at
> > eval.c:1537
> > #32 0x00000000005aa088 in command_loop_2 (handlers=0x90) at keyboard.c:1167
> > #33 0x000000000066897e in internal_catch (tag=0x10c20, func=0x5aa065
> > <command_loop_2>, arg=0x90) at eval.c:1217
> > #34 0x00000000005aa020 in command_loop () at keyboard.c:1145
> > #35 0x00000000005a9592 in recursive_edit_1 () at keyboard.c:753
> > #36 0x00000000005a973a in Frecursive_edit () at keyboard.c:836
> > #37 0x00000000005a5c81 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
> > (gdb) print f->output_data
> > $1 = {tty = 0x0, x = 0x0, w32 = 0x0, ns = 0x0, pgtk = 0x0, haiku =
> > 0x0, android = 0x0}
> >
> > This is using the master branch on commit
> > 0fab2649e288c7a350018293443e709eba6b0fe2. Let me know if you want me
> > to do more digging in gdb.
>
> Yes please--this backtrace doesn't convey enough information to
> establish when the disconnect is first detected, so please place another
> breakpoint on `x_io_error_quitter', repeat this exercise, and post
> backtraces from both the new and the existing breakpoint.

[-- Attachment #2: gdb-trace-66151.txt --]
[-- Type: text/plain, Size: 59980 bytes --]


Thread 1 "emacs" hit Breakpoint 1, x_io_error_quitter (display=0xaa18f50) at xterm.c:27026
27026     snprintf (buf, sizeof buf, "Connection lost to X server '%s'",
(gdb) bt -full
#0  x_io_error_quitter (display=0xaa18f50) at xterm.c:27026
        buf = '\000' <repeats 48 times>, "TUUU\000\000\000\000\000\233\355\252\224\f\276\b\000\000\000\000\000\000\001\000\200z\202\f", '\000' <repeats 12 times>, "\230z\202\f", '\000' <repeats 28 times>, "e3\231\365\377\177\000\000\000\000\000\000\000\000\000\000P\217\241\n\000\000\000\000\220\351\366", '\000' <repeats 13 times>, "\060\272\377\377\377\177\000\000\376O\337\365\377\177\000\000P\217\241\n\000\000\000\000P\217\241\n\000\000\000\000(\272\377\377\377\177\000\000"...
#1  0x00007ffff5df7cb2 in _XIOError () at /usr/lib64/libX11.so.6
#2  0x00007ffff5df5495 in _XEventsQueued () at /usr/lib64/libX11.so.6
#3  0x00007ffff5de6e27 in XPending () at /usr/lib64/libX11.so.6
#4  0x000000000056a098 in XTread_socket (terminal=0xe92128, hold_quit=0x7fffffffbba0) at xterm.c:25611
        count = 0
        event_found = false
        dpyinfo = 0x38ad0d0
#5  0x00000000005b9452 in gobble_input () at keyboard.c:7898
        nr = 0
        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 = 0xc97bad0
        nread = 0
        err = false
        t = 0xe92128
#6  0x00000000005b9857 in handle_async_input () at keyboard.c:8137
        nread = 0
#7  0x00000000005b9876 in process_pending_signals () at keyboard.c:8151
#8  0x00000000005b98b6 in unblock_input_to (level=0) at keyboard.c:8166
#9  0x00000000005b98da in unblock_input () at keyboard.c:8185
#10 0x000000000073b011 in xg_select (fds_lim=22, rfds=0x7fffffffc4b0, wfds=0x7fffffffc430, efds=0x0, timeout=0x7fffffffc410, sigmask=0x0) at xgselect.c:282
        pselect_errno = 11
        all_rfds = {fds_bits = {131072, 0 <repeats 15 times>}}
        all_wfds = {fds_bits = {0 <repeats 16 times>}}
        tmo = {tv_sec = 3567, tv_nsec = 140737137959347}
        tmop = 0x7fffffffc410
        context = 0x59e1600
        have_wfds = true

                    gfds_buf = {{fd = 13, events = 1, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -16832, events = 32767, revents = 0}, {fd = 52321472, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -16864, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -16672, events = 32767, revents = 0}, {fd = -240976191, events = 32767, revents = 0}, {fd = -17056, events = 32767, revents = 0}, {fd = 6597808, events = 0, revents = 0}, {fd = 23520, events = 0, revents = 0}, {fd = -325916368, events = 32767, revents = 0}, {fd = 233876864, events = 0, revents = 0}, {fd = 233876864, events = 0, revents = 0}, {fd = 14013728, events = 0, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = 8, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -16688, events = 32767, revents = 0}, {fd = 53087520, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -16720, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -16528, events = 32767, revents = 0}, {fd = -240976191, events = 32767, revents = 0}, {fd = 2, events = 48, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 91, events = 119, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -1427268864, events = 3220, revents = 2238}, {fd = 24, events = 0, revents = 0}, {fd = -254253307, events = 32767, revents = 0}, {fd = 8, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 7, events = 0, revents = 0}, {fd = 32, events = 0, revents = 0}, {fd = 2, events = 32767, revents = 0}, {fd = 1671993500, events = 32997, revents = 39404}, {fd = 14180368, events = 0, revents = 0}, {fd = 64, events = 0, revents = 0}, {fd = -16528, events = 32767, revents = 0}, {fd = 53087520, events = 0, revents = 0}, {fd = 2, events = 48, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 91, events = 119, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -1427268864, events = 3220, revents = 2238}, {fd = 24, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -16528, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -16480, events = 32767, revents = 0}, {fd = -16544, events = 32767, revents = 0}, {fd = -241143092, events = 32767, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -241142679, events = 32767, revents = 0}, {fd = -478150656, events = 41952, revents = 2135}, {fd = 16263, events = 0, revents = 0}, {fd = 24, events = 0, revents = 0}, {fd = 53087520, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 44211184, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 2, revents = 0}, {fd = 53087520, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -1427268864, events = 3220, revents = 2238}, {fd = 24, events = 0, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = -16416, events = 32767, revents = 0}, {fd = 6121343, events = 0, revents = 0}, {fd = -16424, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -30, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 9, events = 0, revents = 0}, {fd = 64, events = 1, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = -16416, events = 32767, revents = 0}, {fd = 7229139, events = 0, revents = 0}, {fd = -16376, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -11808, events = 32767, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = -16304, events = 32767, revents = 0}, {fd = 7229730, events = 0, revents = 0}, {fd = -977600510, events = 17252, revents = 4}, {fd = 1385447426, events = 931, revents = 0}, {fd = -16360, events = 32767, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 1, events = 51712, revents = 15258}, {fd = 13974816, events = 0, revents = 0}, {fd = 28464, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -16224, events = 32767, revents = 0}, {fd = 7229901, events = 0, revents = 0}, {fd = -16248, events = 32767, revents = 0}, {fd = -16064, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 210763221, events = 0, revents = 0}, {fd = 277, events = 0, revents = 0}, {fd = -16160, events = 32767, revents = 0}, {fd = 7662455, events = 0, revents = 0}, {fd = 22, events = 0, revents = 0}, {fd = 789236779, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 277, events = 0, revents = 0}, {fd = 210763221, events = 0, revents = 0}}
        gfds = 0x7fffffffbcd0
        gfds_size = 128
        n_gfds = 1
        retval = 1
        our_fds = 0
        max_fds = 21
        i = 22
--Type <RET> for more, q to quit, c to continue without paging--
        nfds = 1
        tmo_in_millisec = -1
        must_free = 0
        need_to_dispatch = true
#11 0x00000000006d097b in wait_reading_process_output (time_limit=30, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=0x0, wait_proc=0x0, just_wait_proc=0) at process.c:5743
        tls_nfds = 0
        tls_available = {fds_bits = {0 <repeats 16 times>}}
        process_skipped = false
        wrapped = true
        channel_start = 16
        child_fd = 21
        last_read_channel = 15
        channel = 1024
        nfds = 1
        Available = {fds_bits = {131072, 0 <repeats 15 times>}}
        Writeok = {fds_bits = {0 <repeats 16 times>}}
        check_write = true
        check_delay = 0
        no_avail = false
        xerrno = 11
        proc = 0x7fffffffc5b0
        timeout = {tv_sec = 0, tv_nsec = 0}
        end_time = {tv_sec = 1712993883, tv_nsec = 426626804}
        timer_delay = {tv_sec = 277, tv_nsec = 210763221}
        got_output_end_time = {tv_sec = 0, tv_nsec = -1}
        wait = TIMEOUT
        got_some_output = -1
        prev_wait_proc_nbytes_read = 0
        retry_for_async = false
        count = {bytes = 160}
        now = {tv_sec = 0, tv_nsec = -1}
#12 0x000000000042a086 in sit_for (timeout=0x7a, reading=true, display_option=1) at dispnew.c:6318
        sec = 30
        nsec = 0
        do_display = true
        curbuf_eq_winbuf = true
        nbytes = 32767
#13 0x00000000005ae707 in read_char (commandflag=1, map=0x7fffeb1d6ec3, prev_event=0x0, used_mouse_menu=0x7fffffffca7f, end_time=0x0) at keyboard.c:2922
        tem0 = 0x0
        timeout = 30
        count1 = {bytes = 128}
        delay_level = 4
        buffer_size = 9
        c = 0x0

                        local_getcjmp = {{__jmpbuf = {0, -1259195556223337494, 28464, 140737488343520, 0, 0, -1259195556072342550, 1259194912702905322}, __mask_was_saved = 0, __saved_mask = {__val = {6600632, 189917712, 159034960, 186412307, 140737488341104, 6588533, 189917712, 14013632, 0, 0, 140737488341152, 6054545, 186412339, 140737488341312, 6074517, 14013632}}}}
        save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}}
        tem = 0x0
        save = 0x0
        previous_echo_area_message = 0x0
        also_record = 0x0
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0xc988430
        jmpcount = {bytes = 128}
#14 0x00000000005bf9cc in read_key_sequence
    (keybuf=0x7fffffffcc90, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false)
    at keyboard.c:10722
        interrupted_kboard = 0xc988430
        interrupted_frame = 0xf3a090
        key = 0xfffffffffffffffa
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = 0x7fffeb5130b8
--Type <RET> for more, q to quit, c to continue without paging--
        count = {bytes = 96}
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = 0x7fffeb1d6ec3
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {parent = 0xc949383, map = 0xc949383, start = 0, end = 0}
        keytran = {parent = 0x7fffec9051b3, map = 0x7fffec9051b3, start = 0, end = 0}
        indec = {parent = 0xc949373, map = 0xc949373, start = 0, end = 0}
        shift_translated = false
        delayed_switch_frame = 0x0
        original_uppercase = 0x0
        original_uppercase_position = -1
        disabled_conversion = false
        starting_buffer = 0xc81d080
        fake_prefixed_keys = 0x0
        first_event = 0x0
        second_event = 0x0
#15 0x00000000005aa812 in command_loop_1 () at keyboard.c:1428
        cmd = 0x66976d <push_handler+32>

                  keybuf = {0x7fffffffcd10, 0x64cab1 <set_default_internal+806>, 0x7fffec92ecf0, 0x2ffffccc0, 0x0, 0xa1d0, 0x7fffffffcd40, 0x7fffec92ecf0, 0x100000000, 0x0, 0xa1d0, 0xd67690 <lispsym+41424>, 0xa1d0, 0xd67690 <lispsym+41424>, 0x6654e7 <XSYMBOL+60>, 0x0, 0x7fffffffcd60, 0x66e977 <do_one_unbind+508>, 0x100000002, 0x7fffffffcd80, 0xd5d4c0 <lispsym>, 0x0, 0x0, 0x7fffffffcd60, 0x66555b <builtin_lisp_symbol+44>, 0x6cf8090, 0x7fffffffcdc0, 0x66ebb1 <unbind_to+198>, 0x7ffff7f785a3, 0x60}
        i = 32767
        last_pt = 5927532
        prev_modiff = 0
        prev_buffer = 0x0
#16 0x0000000000669463 in internal_condition_case (bfun=0x5aa419 <command_loop_1>, handlers=0x90, hfun=0x5a99e3 <cmd_error>) at eval.c:1537
        val = 0xe0ddc0
        c = 0xe0eda0
#17 0x00000000005aa088 in command_loop_2 (handlers=0x90) at keyboard.c:1167
        val = 0x90
#18 0x000000000066897e in internal_catch (tag=0x10c20, func=0x5aa065 <command_loop_2>, arg=0x90) at eval.c:1217
        val = 0x5a726c <builtin_lisp_symbol+44>
        c = 0xe0ddc0
#19 0x00000000005aa020 in command_loop () at keyboard.c:1145
#20 0x00000000005a9592 in recursive_edit_1 () at keyboard.c:753
        count = {bytes = 32}
        val = 0x66e4c8 <record_unwind_protect+114>
#21 0x00000000005a973a in Frecursive_edit () at keyboard.c:836
        count = {bytes = 0}
        buffer = 0x0
#22 0x00000000005a5c81 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
        stack_bottom_variable = 0x17b70
        old_argc = 2
        dump_file = 0x0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x7fffffffd600 "crash"
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        only_version = false
        rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
        lc_all = 0x0
        sockfd = -1
        module_assertions = false
(gdb) continue
Continuing.

Thread 1 "emacs" hit Breakpoint 2, delete_frame (frame=0xf3a095, force=0xcdb0) at frame.c:2044
2044      struct frame *f = decode_any_frame (frame);
(gdb) bt -full
#0  delete_frame (frame=0xf3a095, force=0xcdb0) at frame.c:2044
        f = 0xdd95a00
        sf = 0x7fffffffb840
        kb = 0xcdb0
        frames = 0xcdb0
        frame1 = 0x1ec92ece0
        is_tooltip_frame = 0
        nochild = false
        minibuffer_child_frame = 0xd6a270 <lispsym+52656>
        ref = {bytes = 55848628608}
#1  0x000000000056bfe7 in x_connection_closed (dpy=0xaa18f50, error_message=0x7fffffffb950 "Connection lost to X server 'localhost:11.0'", ioerror=true) at xterm.c:26804
        dpyinfo = 0x38ad0d0
        frame = 0xf3a095
        tail = 0x7ffff7f6db53
        idx = {bytes = 192}
        io_error_handler = 0x1
        dmsg = {reason = 0 '\000', byte_order = 0 '\000', side_effects = 0, timestamp = 0, x = 35656, y = 3202, index_atom = 0, source_window = 0}
        f = 0x0
        minibuf_frame = 0xdc748d
        tmp = 0x0
        failable = 0x7fffffffb8e0
        stack = 0x0
        current_display = 0xaa18f50
#2  0x000000000056c5b9 in x_io_error_quitter (display=0xaa18f50) at xterm.c:27028
        buf = "Connection lost to X server 'localhost:11.0'\000\000\000\000TUUU\000\000\000\000\000\233\355\252\224\f\276\b\000\000\000\000\000\000\001\000\200z\202\f", '\000' <repeats 12 times>, "\230z\202\f", '\000' <repeats 28 times>, "e3\231\365\377\177\000\000\000\000\000\000\000\000\000\000P\217\241\n\000\000\000\000\220\351\366", '\000' <repeats 13 times>, "\060\272\377\377\377\177\000\000\376O\337\365\377\177\000\000P\217\241\n\000\000\000\000P\217\241\n\000\000\000\000(\272\377\377\377\177\000\000"...
#3  0x00007ffff5df7cb2 in _XIOError () at /usr/lib64/libX11.so.6
#4  0x00007ffff5df5495 in _XEventsQueued () at /usr/lib64/libX11.so.6
#5  0x00007ffff5de6e27 in XPending () at /usr/lib64/libX11.so.6
#6  0x000000000056a098 in XTread_socket (terminal=0xe92128, hold_quit=0x7fffffffbba0) at xterm.c:25611
        count = 0
        event_found = false
        dpyinfo = 0x38ad0d0
#7  0x00000000005b9452 in gobble_input () at keyboard.c:7898
        nr = 0
        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 = 0xc97bad0
        nread = 0
        err = false
        t = 0xe92128
#8  0x00000000005b9857 in handle_async_input () at keyboard.c:8137
        nread = 0
#9  0x00000000005b9876 in process_pending_signals () at keyboard.c:8151
#10 0x00000000005b98b6 in unblock_input_to (level=0) at keyboard.c:8166
#11 0x00000000005b98da in unblock_input () at keyboard.c:8185
#12 0x000000000073b011 in xg_select (fds_lim=22, rfds=0x7fffffffc4b0, wfds=0x7fffffffc430, efds=0x0, timeout=0x7fffffffc410, sigmask=0x0) at xgselect.c:282
        pselect_errno = 11
        all_rfds = {fds_bits = {131072, 0 <repeats 15 times>}}
        all_wfds = {fds_bits = {0 <repeats 16 times>}}
        tmo = {tv_sec = 3567, tv_nsec = 140737137959347}
        tmop = 0x7fffffffc410
        context = 0x59e1600
        have_wfds = true

                    gfds_buf = {{fd = 13, events = 1, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -16832, events = 32767, revents = 0}, {fd = 52321472, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -16864, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -16672, events = 32767, revents = 0}, {fd = -240976191, events = 32767, revents = 0}, {fd = -17056, events = 32767, revents = 0}, {fd = 6597808, events = 0, revents = 0}, {fd = 23520, events = 0, revents = 0}, {fd = -325916368, events = 32767, revents = 0}, {fd = 233876864, events = 0, revents = 0}, {fd = 233876864, events = 0, revents = 0}, {fd = 14013728, events = 0, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = 8, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -16688, events = 32767, revents = 0}, {fd = 53087520, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -16720, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -16528, events = 32767, revents = 0}, {fd = -240976191, events = 32767, revents = 0}, {fd = 2, events = 48, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 91, events = 119, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -1427268864, events = 3220, revents = 2238}, {fd = 24, events = 0, revents = 0}, {fd = -254253307, events = 32767, revents = 0}, {fd = 8, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 7, events = 0, revents = 0}, {fd = 32, events = 0, revents = 0}, {fd = 2, events = 32767, revents = 0}, {fd = 1671993500, events = 32997, revents = 39404}, {fd = 14180368, events = 0, revents = 0}, {fd = 64, events = 0, revents = 0}, {fd = -16528, events = 32767, revents = 0}, {fd = 53087520, events = 0, revents = 0}, {fd = 2, events = 48, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 91, events = 119, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -1427268864, events = 3220, revents = 2238}, {fd = 24, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -16528, events = 32767, reven--Type <RET> for more, q to quit, c to continue without paging--
ts = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -16480, events = 32767, revents = 0}, {fd = -16544, events = 32767, revents = 0}, {fd = -241143092, events = 32767, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -241142679, events = 32767, revents = 0}, {fd = -478150656, events = 41952, revents = 2135}, {fd = 16263, events = 0, revents = 0}, {fd = 24, events = 0, revents = 0}, {fd = 53087520, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 44211184, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 2, revents = 0}, {fd = 53087520, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -1427268864, events = 3220, revents = 2238}, {fd = 24, events = 0, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = -16416, events = 32767, revents = 0}, {fd = 6121343, events = 0, revents = 0}, {fd = -16424, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -30, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 9, events = 0, revents = 0}, {fd = 64, events = 1, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = -16416, events = 32767, revents = 0}, {fd = 7229139, events = 0, revents = 0}, {fd = -16376, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -11808, events = 32767, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = -16304, events = 32767, revents = 0}, {fd = 7229730, events = 0, revents = 0}, {fd = -977600510, events = 17252, revents = 4}, {fd = 1385447426, events = 931, revents = 0}, {fd = -16360, events = 32767, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 1, events = 51712, revents = 15258}, {fd = 13974816, events = 0, revents = 0}, {fd = 28464, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -16224, events = 32767, revents = 0}, {fd = 7229901, events = 0, revents = 0}, {fd = -16248, events = 32767, revents = 0}, {fd = -16064, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 210763221, events = 0, revents = 0}, {fd = 277, events = 0, revents = 0}, {fd = -16160, events = 32767, revents = 0}, {fd = 7662455, events = 0, revents = 0}, {fd = 22, events = 0, revents = 0}, {fd = 789236779, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 277, events = 0, revents = 0}, {fd = 210763221, events = 0, revents = 0}}
        gfds = 0x7fffffffbcd0
        gfds_size = 128
        n_gfds = 1
        retval = 1
        our_fds = 0
        max_fds = 21
        i = 22
        nfds = 1
        tmo_in_millisec = -1
        must_free = 0
        need_to_dispatch = true
#13 0x00000000006d097b in wait_reading_process_output (time_limit=30, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=0x0, wait_proc=0x0, just_wait_proc=0) at process.c:5743
        tls_nfds = 0
        tls_available = {fds_bits = {0 <repeats 16 times>}}
        process_skipped = false
        wrapped = true
        channel_start = 16
        child_fd = 21
        last_read_channel = 15
        channel = 1024
        nfds = 1
        Available = {fds_bits = {131072, 0 <repeats 15 times>}}
        Writeok = {fds_bits = {0 <repeats 16 times>}}
        check_write = true
        check_delay = 0
        no_avail = false
        xerrno = 11
        proc = 0x7fffffffc5b0
        timeout = {tv_sec = 0, tv_nsec = 0}
        end_time = {tv_sec = 1712993883, tv_nsec = 426626804}
        timer_delay = {tv_sec = 277, tv_nsec = 210763221}
        got_output_end_time = {tv_sec = 0, tv_nsec = -1}
        wait = TIMEOUT
        got_some_output = -1
        prev_wait_proc_nbytes_read = 0
        retry_for_async = false
        count = {bytes = 160}
        now = {tv_sec = 0, tv_nsec = -1}
#14 0x000000000042a086 in sit_for (timeout=0x7a, reading=true, display_option=1) at dispnew.c:6318
        sec = 30
        nsec = 0
        do_display = true
        curbuf_eq_winbuf = true
        nbytes = 32767
#15 0x00000000005ae707 in read_char (commandflag=1, map=0x7fffeb1d6ec3, prev_event=0x0, used_mouse_menu=0x7fffffffca7f, end_time=0x0) at keyboard.c:2922
        tem0 = 0x0
        timeout = 30
        count1 = {bytes = 128}
        delay_level = 4
        buffer_size = 9
        c = 0x0

--Type <RET> for more, q to quit, c to continue without paging--
                        local_getcjmp = {{__jmpbuf = {0, -1259195556223337494, 28464, 140737488343520, 0, 0, -1259195556072342550, 1259194912702905322}, __mask_was_saved = 0, __saved_mask = {__val = {6600632, 189917712, 159034960, 186412307, 140737488341104, 6588533, 189917712, 14013632, 0, 0, 140737488341152, 6054545, 186412339, 140737488341312, 6074517, 14013632}}}}
        save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}}
        tem = 0x0
        save = 0x0
        previous_echo_area_message = 0x0
        also_record = 0x0
        reread = false
        recorded = false
        polling_stopped_here = false
        orig_kboard = 0xc988430
        jmpcount = {bytes = 128}
#16 0x00000000005bf9cc in read_key_sequence
    (keybuf=0x7fffffffcc90, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false)
    at keyboard.c:10722
        interrupted_kboard = 0xc988430
        interrupted_frame = 0xf3a090
        key = 0xfffffffffffffffa
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = 0x7fffeb5130b8
        count = {bytes = 96}
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = 0x7fffeb1d6ec3
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {parent = 0xc949383, map = 0xc949383, start = 0, end = 0}
        keytran = {parent = 0x7fffec9051b3, map = 0x7fffec9051b3, start = 0, end = 0}
        indec = {parent = 0xc949373, map = 0xc949373, start = 0, end = 0}
        shift_translated = false
        delayed_switch_frame = 0x0
        original_uppercase = 0x0
        original_uppercase_position = -1
        disabled_conversion = false
        starting_buffer = 0xc81d080
        fake_prefixed_keys = 0x0
        first_event = 0x0
        second_event = 0x0
#17 0x00000000005aa812 in command_loop_1 () at keyboard.c:1428
        cmd = 0x66976d <push_handler+32>

                  keybuf = {0x7fffffffcd10, 0x64cab1 <set_default_internal+806>, 0x7fffec92ecf0, 0x2ffffccc0, 0x0, 0xa1d0, 0x7fffffffcd40, 0x7fffec92ecf0, 0x100000000, 0x0, 0xa1d0, 0xd67690 <lispsym+41424>, 0xa1d0, 0xd67690 <lispsym+41424>, 0x6654e7 <XSYMBOL+60>, 0x0, 0x7fffffffcd60, 0x66e977 <do_one_unbind+508>, 0x100000002, 0x7fffffffcd80, 0xd5d4c0 <lispsym>, 0x0, 0x0, 0x7fffffffcd60, 0x66555b <builtin_lisp_symbol+44>, 0x6cf8090, 0x7fffffffcdc0, 0x66ebb1 <unbind_to+198>, 0x7ffff7f785a3, 0x60}
        i = 32767
        last_pt = 5927532
        prev_modiff = 0
        prev_buffer = 0x0
#18 0x0000000000669463 in internal_condition_case (bfun=0x5aa419 <command_loop_1>, handlers=0x90, hfun=0x5a99e3 <cmd_error>) at eval.c:1537
        val = 0xe0ddc0
        c = 0xe0eda0
#19 0x00000000005aa088 in command_loop_2 (handlers=0x90) at keyboard.c:1167
        val = 0x90
#20 0x000000000066897e in internal_catch (tag=0x10c20, func=0x5aa065 <command_loop_2>, arg=0x90) at eval.c:1217
        val = 0x5a726c <builtin_lisp_symbol+44>
        c = 0xe0ddc0
#21 0x00000000005aa020 in command_loop () at keyboard.c:1145
#22 0x00000000005a9592 in recursive_edit_1 () at keyboard.c:753
        count = {bytes = 32}
        val = 0x66e4c8 <record_unwind_protect+114>
#23 0x00000000005a973a in Frecursive_edit () at keyboard.c:836
        count = {bytes = 0}
        buffer = 0x0
--Type <RET> for more, q to quit, c to continue without paging--
#24 0x00000000005a5c81 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
        stack_bottom_variable = 0x17b70
        old_argc = 2
        dump_file = 0x0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x7fffffffd600 "crash"
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        only_version = false
        rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
        lc_all = 0x0
        sockfd = -1
        module_assertions = false
(gdb) continue
Continuing.
Error in post-command-hook (centaur-tabs-adjust-buffer-order-alphabetically): (setting-constant nil)
[persp-mode] Error: Can not deactivate frame -- (wrong-type-argument frame-live-p #<dead frame *doom* – Doom Emacs 0xf3a090>)

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x0000000000537fb2 in realize_default_face (f=0xf3a090) at xfaces.c:5864
5864          XSETFONT (font_object, FRAME_FONT (f));
(gdb) bt -full
#0  0x0000000000537fb2 in realize_default_face (f=0xf3a090) at xfaces.c:5864
        font_object = 0x0
        c = 0x1f9bc80
        lface = 0xe92425

                  attrs = {0x7fffffffaf30, 0x5b98da <unblock_input+20>, 0x7fffffffafd0, 0x72a7d2 <clear_image_cache+823>, 0x0, 0xccafcf0, 0x661a36b2, 0x27caf1db, 0x661a3586, 0x27caf1db, 0x7fffffffaf90, 0xffffaf90, 0x53f5d30, 0x5b98da <unblock_input+20>, 0xccb7120, 0x535865 <free_realized_faces+245>, 0x3, 0x4072c00000000000, 0x0, 0x3}
        face = 0xccafcf0
#1  0x0000000000537c3e in realize_basic_faces (f=0xf3a090) at xfaces.c:5798
        success_p = false
#2  0x000000000052aced in recompute_basic_faces (f=0xf3a090) at xfaces.c:719
#3  0x000000000071d794 in free_realized_fontsets (base=0x7fffec5a731d) at fontset.c:1372
        this = 0x46f40fd
        id = 49
#4  0x000000000071ebf7 in Fset_fontset_font (fontset=0x30, characters=0x7ffff7f61b43, font_spec=0x1d2ccdd, frame=0xccafcf5, add=0x0) at fontset.c:1720
        fontset_obj = 0x7fffec5a731d
        font_def = 0x230249d
        registry = 0x0
        family = 0xd5592b4
        range_list = 0x0
        charset = 0x0
        fontname = 0xe184a4
        ascii_changed = false
#5  0x000000000066ba2f in eval_sub (form=0x7ffff7f61b63) at eval.c:2539
        i = 5
        maxargs = 5
        args_left = 0x0
        numargs = 3
        original_fun = 0x7fffeb7ffe58
        original_args = 0x7ffff7f61b53
        count = {bytes = 480}
        fun = 0xce9c85 <Sset_fontset_font+5>
        val = 0x0
        funcar = 0xd67690 <lispsym+41424>
        argvals = {0x30, 0x7ffff7f61b43, 0xe184a4, 0x0, 0x0, 0xa1d0, 0x7fffffffb340, 0x7fffec92ecf0}
#6  0x000000000066b1d3 in Feval (form=0x7ffff7f61b63, lexical=0x30) at eval.c:2389
        count = {bytes = 448}
#7  0x000000000066d170 in funcall_subr (subr=0xce3580 <Seval>, numargs=2, args=0x7fffebd4c1b0) at eval.c:3092

                  argbuf = {0x66555b <builtin_lisp_symbol+44>, 0xdd95ae0, 0x7fffffffb470, 0x1a0, 0x7fffffffb430, 0x6be3c1 <SPECPDL_INDEX+43>, 0x7fffffffb470, 0x6be4b7 <record_in_backtrace+156>}
        a = 0x7fffebd4c1b0
        maxargs = 2
        fun = 0x1200000002
#8  0x00000000006bf470 in exec_byte_code (fun=0x7fffec2b86e5, args_template=513, nargs=2, args=0x7fffebd4c4c0) at bytecode.c:814
        call_nargs = 2
        call_fun = 0xce3585 <Seval+5>
        count1 = {bytes = 416}
        val = 0xce2f45 <Squote+5>
        call_args = 0x7fffebd4c1b0
        original_fun = 0x6e70
        op = 2
        type = 4160101107

                  targets = {0x6c2a8d <exec_byte_code+16973>, 0x6c2ab0 <exec_byte_code+17008>, 0x6c2ab2 <exec_byte_code+17010>, 0x6c2ab4 <exec_byte_code+17012>, 0x6c2ab6 <exec_byte_code+17014>, 0x6c2ab6 <exec_byte_code+17014>, 0x6c2b10 <exec_byte_code+17104>, 0x6c2b79 <exec_byte_code+17209>, 0x6bec3e <exec_byte_code+1022>, 0x6bec40 <exec_byte_code+1024>, 0x6bec42 <exec_byte_code+1026>, 0x6bec44 <exec_byte_code+1028>, 0x6bec46 <exec_byte_code+1030>, 0x6bec46 <exec_byte_code+1030>, 0x6bec4c <exec_byte_code+1036>, 0x6bec0d <exec_byte_code+973>, 0x6befd4 <exec_byte_code+1940>, 0x6befd6 <exec_byte_code+1942>, 0x6befd8 <exec_byte_code+1944>, 0x6befda <exec_byte_code+1946>, 0x6befdc <exec_byte_code+1948>, 0x6befdc <exec_byte_code+1948>, 0x6bf011 <exec_byte_code+2001>, 0x6befe2 <exec_byte_code+1954>, 0x6bf1b6 <exec_byte_code+2422>, 0x6bf1b8 <exec_byte_code+2424>, 0x6bf1ba <exec_byte_code+2426>, 0x6bf1bc <exec_byte_code+2428>, 0x6bf1be <exec_byte_code+2430>, 0x6bf1be <exec_byte_code+2430>, 0x6bf170 <exec_byte_code+2352>, 0x6bf187 <exec_byte_code+2375>, 0x6bf260 <exec_byte_code+2592>, 0x6bf262 <exec_byte_code+2594>, 0x6bf264 <exec_byte_code+2596>, 0x6bf266 <exec_byte_code+2598>, 0x6bf268 <exec_byte_code+2600>, 0x6bf268 <exec_byte_code+2600>, 0x6bf21a <exec_byte_code+2522>, 0x6bf231 <exec_byte_code+2545>, 0x6bf58a <exec_byte_code+3402>, 0x6bf58c <exec_byte_code+3404>, 0x6bf58e <exec_byte_code+3406>, 0x6bf590 <exec_byte_code+3408>, 0x6bf592 <exec_byte_code+3410>, 0x6bf592 <exec_byte_code+3410>, 0x6bf544 <exec_byte_code+3332>, 0x6bf55b <exec_byte_code+3355>, 0x6bfd35 <exec_byte_code+5365>, 0x6bfb96 <exec_byte_code+4950>, 0x6bfb8d <exec_byte_code+4941>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6bff42 <exec_byte_code+5890>, 0x6c00a9 <exec_byte_code+6249>, 0x6c0106 <exec_byte_code+6342>, 0x6c0161 <exec_byte_code+6433>, 0x6c01be <exec_byte_code+6526>, 0x6bee4d <exec_byte_code+1549>, 0x6beeca <exec_byte_code+1674>, 0x6c0232 <exec_byte_code+6642>, 0x6beda4 <exec_byte_code+1380>, 0x6bef2a <exec_byte_code+1770>, 0x6c0295 <exec_byte_code+6741>, 0x6c02f5 <exec_byte_code+6837>, 0x6c0335 <exec_byte_code+6901>, 0x6c0395 <exec_byte_code+6997>, 0x6c03f3 <exec_byte_code+7091>, 0x6c04cd <exec_byte_code+7309>, 0x6c050d <exec_byte_code+7373>, 0x6c06b3 <exec_byte_code+7795>, 0x6c0881 <exec_byte_code+8257>, 0x6c08c1 <exec_byte_code+8321>, 0x6c0901 <exec_byte_code+8385>, 0x6c0961 <exec_byte_code+8481>, 0x6c09c1 <exec_byte_code+8577>, 0x6c0a21 <exec_byte_code+8673>, 0x6c0a9e <exec_byte_code+8798>, 0x6c0ae5 <exec_byte_code+8869>, 0x6c0b2c <exec_byte_code+8940>, 0x6c0be7 <exec_byte_c--Type <RET> for more, q to quit, c to continue without paging--
ode+9127>, 0x6c0c87 <exec_byte_code+9287>, 0x6c0d27 <exec_byte_code+9447>, 0x6c0df4 <exec_byte_code+9652>, 0x6c0ed4 <exec_byte_code+9876>, 0x6c0fb4 <exec_byte_code+10100>, 0x6c1094 <exec_byte_code+10324>, 0x6c1174 <exec_byte_code+10548>, 0x6c129b <exec_byte_code+10843>, 0x6c133c <exec_byte_code+11004>, 0x6c1460 <exec_byte_code+11296>, 0x6c151e <exec_byte_code+11486>, 0x6c15dc <exec_byte_code+11676>, 0x6c1948 <exec_byte_code+12552>, 0x6bfa42 <exec_byte_code+4610>, 0x6c199b <exec_byte_code+12635>, 0x6c19db <exec_byte_code+12699>, 0x6c1a91 <exec_byte_code+12881>, 0x6c1ae4 <exec_byte_code+12964>, 0x6c1b37 <exec_byte_code+13047>, 0x6c1b77 <exec_byte_code+13111>, 0x6c1bb2 <exec_byte_code+13170>, 0x6c1bed <exec_byte_code+13229>, 0x6c1c30 <exec_byte_code+13296>, 0x6c2a8d <exec_byte_code+16973>, 0x6c1c80 <exec_byte_code+13376>, 0x6c1cbb <exec_byte_code+13435>, 0x6c1cf6 <exec_byte_code+13494>, 0x6c1d31 <exec_byte_code+13553>, 0x6c1d6c <exec_byte_code+13612>, 0x6c1da7 <exec_byte_code+13671>, 0x6bfa42 <exec_byte_code+4610>, 0x6c2a8d <exec_byte_code+16973>, 0x6c1de7 <exec_byte_code+13735>, 0x6c1e2f <exec_byte_code+13807>, 0x6c1e6f <exec_byte_code+13871>, 0x6c1eaf <exec_byte_code+13935>, 0x6c1f0f <exec_byte_code+14031>, 0x6c1f6f <exec_byte_code+14127>, 0x6c1faf <exec_byte_code+14191>, 0x6c1fef <exec_byte_code+14255>, 0x6c204f <exec_byte_code+14351>, 0x6c20af <exec_byte_code+14447>, 0x6c210f <exec_byte_code+14543>, 0x6c214a <exec_byte_code+14602>, 0x6c2a8d <exec_byte_code+16973>, 0x6bf9a2 <exec_byte_code+4450>, 0x6bf5ed <exec_byte_code+3501>, 0x6bed1d <exec_byte_code+1245>, 0x6bf685 <exec_byte_code+3653>, 0x6bf6fe <exec_byte_code+3774>, 0x6bf774 <exec_byte_code+3892>, 0x6bf7ea <exec_byte_code+4010>, 0x6bf976 <exec_byte_code+4406>, 0x6bf128 <exec_byte_code+2280>, 0x6bfa16 <exec_byte_code+4566>, 0x6bfa6e <exec_byte_code+4654>, 0x6bfaf2 <exec_byte_code+4786>, 0x6bfb2b <exec_byte_code+4843>, 0x6bfd76 <exec_byte_code+5430>, 0x6bfde4 <exec_byte_code+5540>, 0x6bfe61 <exec_byte_code+5665>, 0x6bfebc <exec_byte_code+5756>, 0x6c2a8d <exec_byte_code+16973>, 0x6c218a <exec_byte_code+14666>, 0x6c2207 <exec_byte_code+14791>, 0x6c2247 <exec_byte_code+14855>, 0x6c2287 <exec_byte_code+14919>, 0x6c22c7 <exec_byte_code+14983>, 0x6c2307 <exec_byte_code+15047>, 0x6c2367 <exec_byte_code+15143>, 0x6c23c7 <exec_byte_code+15239>, 0x6c2427 <exec_byte_code+15335>, 0x6c2487 <exec_byte_code+15431>, 0x6c261e <exec_byte_code+15838>, 0x6c267e <exec_byte_code+15934>, 0x6c26de <exec_byte_code+16030>, 0x6c271e <exec_byte_code+16094>, 0x6c2815 <exec_byte_code+16341>, 0x6c290c <exec_byte_code+16588>, 0x6c294c <exec_byte_code+16652>, 0x6c298c <exec_byte_code+16716>, 0x6c1712 <exec_byte_code+11986>, 0x6c1856 <exec_byte_code+12310>, 0x6c29d3 <exec_byte_code+16787>, 0x6c2a30 <exec_byte_code+16880>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c0459 <exec_byte_code+7193>, 0x6c0b73 <exec_byte_code+9011>, 0x6c1a1d <exec_byte_code+12765>, 0x6c2bfd <exec_byte_code+17341>, 0x6c2c67 <exec_byte_code+17447>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2cee <exec_byte_code+17582>, 0x6c2d6a <exec_byte_code+17706>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2eed <exec_byte_code+18093> <repeats 64 times>}
        quitcounter = 6 '\006'
        bc = 0xcd27b0 <main_thread+496>
        top = 0x7fffebd4c1a8
        pc = 0x7fffec9a36ca "!\240\207"
        bytestr = 0x7fffec2b8754
        vector = 0x7fffec2b8725
        maxdepth = 0x22
        const_length = 5
        bytestr_length = 91
        vectorp = 0xf0b8b0
        max_stack = 8
        frame_base = 0x7fffebd4c4f8
        fp = 0x7fffebd4c538
        bytestr_data = 0x7fffec9a36bf "\300\303\304\305\032\306\301!)\305\"!\240\207"
        rest = false
        mandatory = 1
        nonrest = 2
        pushedargs = 2
        result = 0xd5d4c0 <lispsym>
#9  0x000000000066d76e in funcall_lambda (fun=0x21dedad, nargs=0, arg_vector=0x7fffffffba60) at eval.c:3194
        val = 0x7fffffffb9b0
        syms_left = 0x2
        next = 0x0
        lexenv = 0x1f00000000
        count = {bytes = 384}
        i = 14013632
        optional = false
        rest = false
        previous_rest = false
#10 0x000000000066cc24 in funcall_general (fun=0x21dedad, numargs=0, args=0x7fffffffba60) at eval.c:2972
        original_fun = 0x21dedad
#11 0x000000000066cea9 in Ffuncall (nargs=1, args=0x7fffffffba58) at eval.c:3022
        count = {bytes = 352}
        val = 0x668cdf <push_handler_bind+82>
#12 0x0000000000665f0c in call0 (fn=0x21dedad) at lisp.h:3503
#13 0x0000000000668dcb in Fhandler_bind_1 (nargs=3, args=0x7fffebd4c128) at eval.c:1403
        bodyfun = 0x21dedad
        count = 1
        ret = 0x1
#14 0x000000000066d369 in funcall_subr (subr=0xce3440 <Shandler_bind_1>, numargs=3, args=0x7fffebd4c128) at eval.c:3113
        maxargs = -2
        fun = 0x1200000003
#15 0x00000000006bf470 in exec_byte_code (fun=0x7fffec2b17e5, args_template=1025, nargs=4, args=0x7fffffffc2c0) at bytecode.c:814
        call_nargs = 3
        call_fun = 0xce3445 <Shandler_bind_1+5>
        count1 = {bytes = 320}
        val = 0x21dedad
--Type <RET> for more, q to quit, c to continue without paging--
        call_args = 0x7fffebd4c128
        original_fun = 0x7fffeb56b878
        op = 3
        type = 68485088

                  targets = {0x6c2a8d <exec_byte_code+16973>, 0x6c2ab0 <exec_byte_code+17008>, 0x6c2ab2 <exec_byte_code+17010>, 0x6c2ab4 <exec_byte_code+17012>, 0x6c2ab6 <exec_byte_code+17014>, 0x6c2ab6 <exec_byte_code+17014>, 0x6c2b10 <exec_byte_code+17104>, 0x6c2b79 <exec_byte_code+17209>, 0x6bec3e <exec_byte_code+1022>, 0x6bec40 <exec_byte_code+1024>, 0x6bec42 <exec_byte_code+1026>, 0x6bec44 <exec_byte_code+1028>, 0x6bec46 <exec_byte_code+1030>, 0x6bec46 <exec_byte_code+1030>, 0x6bec4c <exec_byte_code+1036>, 0x6bec0d <exec_byte_code+973>, 0x6befd4 <exec_byte_code+1940>, 0x6befd6 <exec_byte_code+1942>, 0x6befd8 <exec_byte_code+1944>, 0x6befda <exec_byte_code+1946>, 0x6befdc <exec_byte_code+1948>, 0x6befdc <exec_byte_code+1948>, 0x6bf011 <exec_byte_code+2001>, 0x6befe2 <exec_byte_code+1954>, 0x6bf1b6 <exec_byte_code+2422>, 0x6bf1b8 <exec_byte_code+2424>, 0x6bf1ba <exec_byte_code+2426>, 0x6bf1bc <exec_byte_code+2428>, 0x6bf1be <exec_byte_code+2430>, 0x6bf1be <exec_byte_code+2430>, 0x6bf170 <exec_byte_code+2352>, 0x6bf187 <exec_byte_code+2375>, 0x6bf260 <exec_byte_code+2592>, 0x6bf262 <exec_byte_code+2594>, 0x6bf264 <exec_byte_code+2596>, 0x6bf266 <exec_byte_code+2598>, 0x6bf268 <exec_byte_code+2600>, 0x6bf268 <exec_byte_code+2600>, 0x6bf21a <exec_byte_code+2522>, 0x6bf231 <exec_byte_code+2545>, 0x6bf58a <exec_byte_code+3402>, 0x6bf58c <exec_byte_code+3404>, 0x6bf58e <exec_byte_code+3406>, 0x6bf590 <exec_byte_code+3408>, 0x6bf592 <exec_byte_code+3410>, 0x6bf592 <exec_byte_code+3410>, 0x6bf544 <exec_byte_code+3332>, 0x6bf55b <exec_byte_code+3355>, 0x6bfd35 <exec_byte_code+5365>, 0x6bfb96 <exec_byte_code+4950>, 0x6bfb8d <exec_byte_code+4941>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6bff42 <exec_byte_code+5890>, 0x6c00a9 <exec_byte_code+6249>, 0x6c0106 <exec_byte_code+6342>, 0x6c0161 <exec_byte_code+6433>, 0x6c01be <exec_byte_code+6526>, 0x6bee4d <exec_byte_code+1549>, 0x6beeca <exec_byte_code+1674>, 0x6c0232 <exec_byte_code+6642>, 0x6beda4 <exec_byte_code+1380>, 0x6bef2a <exec_byte_code+1770>, 0x6c0295 <exec_byte_code+6741>, 0x6c02f5 <exec_byte_code+6837>, 0x6c0335 <exec_byte_code+6901>, 0x6c0395 <exec_byte_code+6997>, 0x6c03f3 <exec_byte_code+7091>, 0x6c04cd <exec_byte_code+7309>, 0x6c050d <exec_byte_code+7373>, 0x6c06b3 <exec_byte_code+7795>, 0x6c0881 <exec_byte_code+8257>, 0x6c08c1 <exec_byte_code+8321>, 0x6c0901 <exec_byte_code+8385>, 0x6c0961 <exec_byte_code+8481>, 0x6c09c1 <exec_byte_code+8577>, 0x6c0a21 <exec_byte_code+8673>, 0x6c0a9e <exec_byte_code+8798>, 0x6c0ae5 <exec_byte_code+8869>, 0x6c0b2c <exec_byte_code+8940>, 0x6c0be7 <exec_byte_code+9127>, 0x6c0c87 <exec_byte_code+9287>, 0x6c0d27 <exec_byte_code+9447>, 0x6c0df4 <exec_byte_code+9652>, 0x6c0ed4 <exec_byte_code+9876>, 0x6c0fb4 <exec_byte_code+10100>, 0x6c1094 <exec_byte_code+10324>, 0x6c1174 <exec_byte_code+10548>, 0x6c129b <exec_byte_code+10843>, 0x6c133c <exec_byte_code+11004>, 0x6c1460 <exec_byte_code+11296>, 0x6c151e <exec_byte_code+11486>, 0x6c15dc <exec_byte_code+11676>, 0x6c1948 <exec_byte_code+12552>, 0x6bfa42 <exec_byte_code+4610>, 0x6c199b <exec_byte_code+12635>, 0x6c19db <exec_byte_code+12699>, 0x6c1a91 <exec_byte_code+12881>, 0x6c1ae4 <exec_byte_code+12964>, 0x6c1b37 <exec_byte_code+13047>, 0x6c1b77 <exec_byte_code+13111>, 0x6c1bb2 <exec_byte_code+13170>, 0x6c1bed <exec_byte_code+13229>, 0x6c1c30 <exec_byte_code+13296>, 0x6c2a8d <exec_byte_code+16973>, 0x6c1c80 <exec_byte_code+13376>, 0x6c1cbb <exec_byte_code+13435>, 0x6c1cf6 <exec_byte_code+13494>, 0x6c1d31 <exec_byte_code+13553>, 0x6c1d6c <exec_byte_code+13612>, 0x6c1da7 <exec_byte_code+13671>, 0x6bfa42 <exec_byte_code+4610>, 0x6c2a8d <exec_byte_code+16973>, 0x6c1de7 <exec_byte_code+13735>, 0x6c1e2f <exec_byte_code+13807>, 0x6c1e6f <exec_byte_code+13871>, 0x6c1eaf <exec_byte_code+13935>, 0x6c1f0f <exec_byte_code+14031>, 0x6c1f6f <exec_byte_code+14127>, 0x6c1faf <exec_byte_code+14191>, 0x6c1fef <exec_byte_code+14255>, 0x6c204f <exec_byte_code+14351>, 0x6c20af <exec_byte_code+14447>, 0x6c210f <exec_byte_code+14543>, 0x6c214a <exec_byte_code+14602>, 0x6c2a8d <exec_byte_code+16973>, 0x6bf9a2 <exec_byte_code+4450>, 0x6bf5ed <exec_byte_code+3501>, 0x6bed1d <exec_byte_code+1245>, 0x6bf685 <exec_byte_code+3653>, 0x6bf6fe <exec_byte_code+3774>, 0x6bf774 <exec_byte_code+3892>, 0x6bf7ea <exec_byte_code+4010>, 0x6bf976 <exec_byte_code+4406>, 0x6bf128 <exec_byte_code+2280>, 0x6bfa16 <exec_byte_code+4566>, 0x6bfa6e <exec_byte_code+4654>, 0x6bfaf2 <exec_byte_code+4786>, 0x6bfb2b <exec_byte_code+4843>, 0x6bfd76 <exec_byte_code+5430>, 0x6bfde4 <exec_byte_code+5540>, 0x6bfe61 <exec_byte_code+5665>, 0x6bfebc <exec_byte_code+5756>, 0x6c2a8d <exec_byte_code+16973>, 0x6c218a <exec_byte_code+14666>, 0x6c2207 <exec_byte_code+14791>, 0x6c2247 <exec_byte_code+14855>, 0x6c2287 <exec_byte_code+14919>, 0x6c22c7 <exec_byte_code+14983>, 0x6c2307 <exec_byte_code+15047>, 0x6c2367 <exec_byte_code+15143>, 0x6c23c7 <exec_byte_code+15239>, 0x6c2427 <exec_byte_code+15335>, 0x6c2487 <exec_byte_code+15431>, 0x6c261e <exec_byte_code+15838>, 0x6c267e <exec_byte_code+15934>, 0x6c26de <exec_byte_code+16030>, 0x6c271e <exec_byte_code+16094>, 0x6c2815 <exec_byte_code+16341>, 0x6c290c <exec_byte_code+16588>, 0x6c294c <exec_byte_code+16652>, 0x6c298c <exec_byte_code+16716>, 0x6c1712 <exec_byte_code+11986>, 0x6c1856 <exec_byte_code+12310>, 0x6c29d3 <exec_byte_code+16787>, 0x6c2a30 <exec_byte_code+16880>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c0459 <exec_byte_code+7193>, 0x6c0b73 <exec_byte_code+9011>, 0x6c1a1d <exec_byte_code+12765>, 0x6c2bfd <exec_byte_code+17341>, 0x6c2c67 <exec_byte_code+17447>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2cee <exec_byte_code+17582>, 0x6c2d6a <exec_byte_code+17706>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2eed <exec_byte_code+18093> <repeats 64 times>}
        quitcounter = 1 '\001'
        bc = 0xcd27b0 <main_thread+496>
        top = 0x7fffebd4c120
        pc = 0x7fffec9a375c "\210\003?\205!"
        bytestr = 0x7fffec2c9304
        vector = 0x7fffec2c7a2d
        maxdepth = 0x32
        const_length = 18
        bytestr_length = 80
        vectorp = 0x7fffec2c7a30
        max_stack = 12
        frame_base = 0x7fffebd4c0f0
        fp = 0x7fffebd4c150
        bytestr_data = 0x7fffec9a3742 "\306C\307\310\002\006\a#\b\204\022"
        rest = false
        mandatory = 1
        nonrest = 4
        pushedargs = 4
        result = 0x665118 <Fprefix_numeric_value+44>
#16 0x000000000066d76e in funcall_lambda (fun=0x7fffec2b17e5, nargs=4, arg_vector=0x7fffffffc2a0) at eval.c:3194
        val = 0x7fffffffc090
        syms_left = 0x1006
        next = 0x7fffffffc080
        lexenv = 0x1fec2b17b0
        count = {bytes = 320}
        i = 140737141621488
        optional = false
--Type <RET> for more, q to quit, c to continue without paging--
        rest = false
        previous_rest = 127
#17 0x000000000066cc24 in funcall_general (fun=0x7fffec2b17e5, numargs=4, args=0x7fffffffc2a0) at eval.c:2972
        original_fun = 0x7fffeb5542f0
#18 0x000000000066cea9 in Ffuncall (nargs=5, args=0x7fffffffc298) at eval.c:3022
        count = {bytes = 288}
        val = 0x0
#19 0x0000000000662c69 in Ffuncall_interactively (nargs=5, args=0x7fffffffc298) at callint.c:250
        speccount = {bytes = 256}
#20 0x000000000066d369 in funcall_subr (subr=0xce2cc0 <Sfuncall_interactively>, numargs=5, args=0x7fffffffc298) at eval.c:3113
        maxargs = -2
        fun = 0x1200d65a10
#21 0x000000000066cbd8 in funcall_general (fun=0xce2cc5 <Sfuncall_interactively+5>, numargs=5, args=0x7fffffffc298) at eval.c:2968
        original_fun = 0x8550
#22 0x000000000066cea9 in Ffuncall (nargs=6, args=0x7fffffffc290) at eval.c:3022
        count = {bytes = 224}
        val = 0x7fffffffc280
#23 0x000000000066c358 in Fapply (nargs=3, args=0x7fffffffc3d0) at eval.c:2693
        i = 6
        funcall_nargs = 6
        funcall_args = 0x7fffffffc290
        spread_arg = 0x0
        fun = 0xce2cc5 <Sfuncall_interactively+5>
        sa_avail = 16336
        sa_count = {bytes = 224}
        numargs = 5
        retval = 0x7fffffffc3a0
#24 0x0000000000663085 in Fcall_interactively (function=0x7fffeb5542f0, record_flag=0x0, keys=0x7fffec90f6cd) at callint.c:342
        funval = 0x7fffec2b17e5
        events = 2
        speccount = {bytes = 192}
        arg_from_tty = false
        key_count = 1
        record_then_fail = false
        save_this_command = 0x7fffeb5542f0
        save_this_original_command = 0x7fffeb5542f0
        save_real_this_command = 0x7fffeb5542f0
        save_last_command = 0x9150
        prefix_arg = 0x0
        enable = 0x0
        up_event = 0x0
        form = 0x7fffeb127703
        specs = 0x7ffff7f61ab3
        sa_avail = 55487841008
        sa_count = {bytes = 0}
        string_len = 140737488341408
        string = 0x7fffec2b17e5 ""
        string_end = 0x1c84a8d ""
        next_event = 6582651
        nargs = 140737155635173
        args = 0x7fffffffc5a0
        visargs = 0x0
        varies = 0x0
        tem = 0x0
        val = 0x7fffec181840
#25 0x000000000066d19f in funcall_subr (subr=0xce2d00 <Scall_interactively>, numargs=3, args=0x7fffebd4c070) at eval.c:3094
        argbuf = {0x7fffeb5542f0, 0x0, 0x7fffeb127903, 0xa0, 0x7fffffffc670, 0x6be3c1 <SPECPDL_INDEX+43>, 0x7fffffffc6b0, 0x6be4b7 <record_in_backtrace+156>}
        a = 0x7fffebd4c070
        maxargs = 3
        fun = 0x1200000003
#26 0x00000000006bf470 in exec_byte_code (fun=0x7fffec92a33d, args_template=1025, nargs=1, args=0x7fffffffcda0) at bytecode.c:814
        call_nargs = 3
        call_fun = 0xce2d05 <Scall_interactively+5>
        count1 = {bytes = 160}
        val = 0x0
        call_args = 0x7fffebd4c070
        original_fun = 0x7fffeb55e778
        op = 3
--Type <RET> for more, q to quit, c to continue without paging--
        type = 3968965536

                  targets = {0x6c2a8d <exec_byte_code+16973>, 0x6c2ab0 <exec_byte_code+17008>, 0x6c2ab2 <exec_byte_code+17010>, 0x6c2ab4 <exec_byte_code+17012>, 0x6c2ab6 <exec_byte_code+17014>, 0x6c2ab6 <exec_byte_code+17014>, 0x6c2b10 <exec_byte_code+17104>, 0x6c2b79 <exec_byte_code+17209>, 0x6bec3e <exec_byte_code+1022>, 0x6bec40 <exec_byte_code+1024>, 0x6bec42 <exec_byte_code+1026>, 0x6bec44 <exec_byte_code+1028>, 0x6bec46 <exec_byte_code+1030>, 0x6bec46 <exec_byte_code+1030>, 0x6bec4c <exec_byte_code+1036>, 0x6bec0d <exec_byte_code+973>, 0x6befd4 <exec_byte_code+1940>, 0x6befd6 <exec_byte_code+1942>, 0x6befd8 <exec_byte_code+1944>, 0x6befda <exec_byte_code+1946>, 0x6befdc <exec_byte_code+1948>, 0x6befdc <exec_byte_code+1948>, 0x6bf011 <exec_byte_code+2001>, 0x6befe2 <exec_byte_code+1954>, 0x6bf1b6 <exec_byte_code+2422>, 0x6bf1b8 <exec_byte_code+2424>, 0x6bf1ba <exec_byte_code+2426>, 0x6bf1bc <exec_byte_code+2428>, 0x6bf1be <exec_byte_code+2430>, 0x6bf1be <exec_byte_code+2430>, 0x6bf170 <exec_byte_code+2352>, 0x6bf187 <exec_byte_code+2375>, 0x6bf260 <exec_byte_code+2592>, 0x6bf262 <exec_byte_code+2594>, 0x6bf264 <exec_byte_code+2596>, 0x6bf266 <exec_byte_code+2598>, 0x6bf268 <exec_byte_code+2600>, 0x6bf268 <exec_byte_code+2600>, 0x6bf21a <exec_byte_code+2522>, 0x6bf231 <exec_byte_code+2545>, 0x6bf58a <exec_byte_code+3402>, 0x6bf58c <exec_byte_code+3404>, 0x6bf58e <exec_byte_code+3406>, 0x6bf590 <exec_byte_code+3408>, 0x6bf592 <exec_byte_code+3410>, 0x6bf592 <exec_byte_code+3410>, 0x6bf544 <exec_byte_code+3332>, 0x6bf55b <exec_byte_code+3355>, 0x6bfd35 <exec_byte_code+5365>, 0x6bfb96 <exec_byte_code+4950>, 0x6bfb8d <exec_byte_code+4941>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6bff42 <exec_byte_code+5890>, 0x6c00a9 <exec_byte_code+6249>, 0x6c0106 <exec_byte_code+6342>, 0x6c0161 <exec_byte_code+6433>, 0x6c01be <exec_byte_code+6526>, 0x6bee4d <exec_byte_code+1549>, 0x6beeca <exec_byte_code+1674>, 0x6c0232 <exec_byte_code+6642>, 0x6beda4 <exec_byte_code+1380>, 0x6bef2a <exec_byte_code+1770>, 0x6c0295 <exec_byte_code+6741>, 0x6c02f5 <exec_byte_code+6837>, 0x6c0335 <exec_byte_code+6901>, 0x6c0395 <exec_byte_code+6997>, 0x6c03f3 <exec_byte_code+7091>, 0x6c04cd <exec_byte_code+7309>, 0x6c050d <exec_byte_code+7373>, 0x6c06b3 <exec_byte_code+7795>, 0x6c0881 <exec_byte_code+8257>, 0x6c08c1 <exec_byte_code+8321>, 0x6c0901 <exec_byte_code+8385>, 0x6c0961 <exec_byte_code+8481>, 0x6c09c1 <exec_byte_code+8577>, 0x6c0a21 <exec_byte_code+8673>, 0x6c0a9e <exec_byte_code+8798>, 0x6c0ae5 <exec_byte_code+8869>, 0x6c0b2c <exec_byte_code+8940>, 0x6c0be7 <exec_byte_code+9127>, 0x6c0c87 <exec_byte_code+9287>, 0x6c0d27 <exec_byte_code+9447>, 0x6c0df4 <exec_byte_code+9652>, 0x6c0ed4 <exec_byte_code+9876>, 0x6c0fb4 <exec_byte_code+10100>, 0x6c1094 <exec_byte_code+10324>, 0x6c1174 <exec_byte_code+10548>, 0x6c129b <exec_byte_code+10843>, 0x6c133c <exec_byte_code+11004>, 0x6c1460 <exec_byte_code+11296>, 0x6c151e <exec_byte_code+11486>, 0x6c15dc <exec_byte_code+11676>, 0x6c1948 <exec_byte_code+12552>, 0x6bfa42 <exec_byte_code+4610>, 0x6c199b <exec_byte_code+12635>, 0x6c19db <exec_byte_code+12699>, 0x6c1a91 <exec_byte_code+12881>, 0x6c1ae4 <exec_byte_code+12964>, 0x6c1b37 <exec_byte_code+13047>, 0x6c1b77 <exec_byte_code+13111>, 0x6c1bb2 <exec_byte_code+13170>, 0x6c1bed <exec_byte_code+13229>, 0x6c1c30 <exec_byte_code+13296>, 0x6c2a8d <exec_byte_code+16973>, 0x6c1c80 <exec_byte_code+13376>, 0x6c1cbb <exec_byte_code+13435>, 0x6c1cf6 <exec_byte_code+13494>, 0x6c1d31 <exec_byte_code+13553>, 0x6c1d6c <exec_byte_code+13612>, 0x6c1da7 <exec_byte_code+13671>, 0x6bfa42 <exec_byte_code+4610>, 0x6c2a8d <exec_byte_code+16973>, 0x6c1de7 <exec_byte_code+13735>, 0x6c1e2f <exec_byte_code+13807>, 0x6c1e6f <exec_byte_code+13871>, 0x6c1eaf <exec_byte_code+13935>, 0x6c1f0f <exec_byte_code+14031>, 0x6c1f6f <exec_byte_code+14127>, 0x6c1faf <exec_byte_code+14191>, 0x6c1fef <exec_byte_code+14255>, 0x6c204f <exec_byte_code+14351>, 0x6c20af <exec_byte_code+14447>, 0x6c210f <exec_byte_code+14543>, 0x6c214a <exec_byte_code+14602>, 0x6c2a8d <exec_byte_code+16973>, 0x6bf9a2 <exec_byte_code+4450>, 0x6bf5ed <exec_byte_code+3501>, 0x6bed1d <exec_byte_code+1245>, 0x6bf685 <exec_byte_code+3653>, 0x6bf6fe <exec_byte_code+3774>, 0x6bf774 <exec_byte_code+3892>, 0x6bf7ea <exec_byte_code+4010>, 0x6bf976 <exec_byte_code+4406>, 0x6bf128 <exec_byte_code+2280>, 0x6bfa16 <exec_byte_code+4566>, 0x6bfa6e <exec_byte_code+4654>, 0x6bfaf2 <exec_byte_code+4786>, 0x6bfb2b <exec_byte_code+4843>, 0x6bfd76 <exec_byte_code+5430>, 0x6bfde4 <exec_byte_code+5540>, 0x6bfe61 <exec_byte_code+5665>, 0x6bfebc <exec_byte_code+5756>, 0x6c2a8d <exec_byte_code+16973>, 0x6c218a <exec_byte_code+14666>, 0x6c2207 <exec_byte_code+14791>, 0x6c2247 <exec_byte_code+14855>, 0x6c2287 <exec_byte_code+14919>, 0x6c22c7 <exec_byte_code+14983>, 0x6c2307 <exec_byte_code+15047>, 0x6c2367 <exec_byte_code+15143>, 0x6c23c7 <exec_byte_code+15239>, 0x6c2427 <exec_byte_code+15335>, 0x6c2487 <exec_byte_code+15431>, 0x6c261e <exec_byte_code+15838>, 0x6c267e <exec_byte_code+15934>, 0x6c26de <exec_byte_code+16030>, 0x6c271e <exec_byte_code+16094>, 0x6c2815 <exec_byte_code+16341>, 0x6c290c <exec_byte_code+16588>, 0x6c294c <exec_byte_code+16652>, 0x6c298c <exec_byte_code+16716>, 0x6c1712 <exec_byte_code+11986>, 0x6c1856 <exec_byte_code+12310>, 0x6c29d3 <exec_byte_code+16787>, 0x6c2a30 <exec_byte_code+16880>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c0459 <exec_byte_code+7193>, 0x6c0b73 <exec_byte_code+9011>, 0x6c1a1d <exec_byte_code+12765>, 0x6c2bfd <exec_byte_code+17341>, 0x6c2c67 <exec_byte_code+17447>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2cee <exec_byte_code+17582>, 0x6c2d6a <exec_byte_code+17706>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2a8d <exec_byte_code+16973>, 0x6c2eed <exec_byte_code+18093> <repeats 64 times>}
        quitcounter = 1 '\001'
        bc = 0xcd27b0 <main_thread+496>
        top = 0x7fffebd4c068
        pc = 0x7fffeca4e538 "\006\a9\205\231"
        bytestr = 0x7fffec92a484
        vector = 0x7fffec92a37d
        maxdepth = 0x52
        const_length = 28
        bytestr_length = 187
        vectorp = 0x7fffec92a380
        max_stack = 20
        frame_base = 0x7fffebd4c030
        fp = 0x7fffebd4c0d0
        bytestr_data = 0x7fffeca4e4b1 "\304\020\211?\205\023"
        rest = false
        mandatory = 1
        nonrest = 4
        pushedargs = 1
        result = 0x7fffebd4c048
#27 0x000000000066d76e in funcall_lambda (fun=0x7fffec92a33d, nargs=1, arg_vector=0x7fffffffcd98) at eval.c:3194
        val = 0x7fffffffcbf0
        syms_left = 0x1006
        next = 0x11880
        lexenv = 0x1f00d624a0
        count = {bytes = 160}
        i = 20448
        optional = false
        rest = false
        previous_rest = 127
#28 0x000000000066cc24 in funcall_general (fun=0x7fffec92a33d, numargs=1, args=0x7fffffffcd98) at eval.c:2972
--Type <RET> for more, q to quit, c to continue without paging--
        original_fun = 0x4fe0
#29 0x000000000066cea9 in Ffuncall (nargs=2, args=0x7fffffffcd90) at eval.c:3022
        count = {bytes = 128}
        val = 0x7fffffffcc80
#30 0x00000000005aac1f in command_loop_1 () at keyboard.c:1549
        scount = {bytes = 96}
        cmd = 0x7fffeb5542f0

                  keybuf = {0x200000ea, 0xfc30, 0xc0e, 0x7fffec92f090, 0x7fffeb9bab48, 0x41acd0 <_start>, 0xfc30, 0xd6d0f0 <lispsym+64560>, 0xfc30, 0xd6d0f0 <lispsym+64560>, 0x6654e7 <XSYMBOL+60>, 0x30, 0x7fffffffcd40, 0x66e977 <do_one_unbind+508>, 0x7f0100000002, 0x7fffffffcd60, 0xd5d4c0 <lispsym>, 0x0, 0x0, 0x7fffffffcd40, 0x66555b <builtin_lisp_symbol+44>, 0xdd959a0, 0x7fffffffcda0, 0x66ebb1 <unbind_to+198>, 0x0, 0x60, 0xb, 0xfc30, 0x30, 0xc81d085}
        i = 1
        last_pt = 1540
        prev_modiff = 1951
        prev_buffer = 0xc81d080
#31 0x0000000000669463 in internal_condition_case (bfun=0x5aa419 <command_loop_1>, handlers=0x90, hfun=0x5a99e3 <cmd_error>) at eval.c:1537
        val = 0x7fffffffce80
        c = 0xe0eda0
#32 0x00000000005aa088 in command_loop_2 (handlers=0x90) at keyboard.c:1167
        val = 0x2
#33 0x000000000066897e in internal_catch (tag=0x10c20, func=0x5aa065 <command_loop_2>, arg=0x90) at eval.c:1217
        val = 0x5a726c <builtin_lisp_symbol+44>
        c = 0xe0ddc0
#34 0x00000000005aa020 in command_loop () at keyboard.c:1145
#35 0x00000000005a9592 in recursive_edit_1 () at keyboard.c:753
        count = {bytes = 32}
        val = 0x66e4c8 <record_unwind_protect+114>
#36 0x00000000005a973a in Frecursive_edit () at keyboard.c:836
        count = {bytes = 0}
        buffer = 0x0
#37 0x00000000005a5c81 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
        stack_bottom_variable = 0x17b70
        old_argc = 2
        dump_file = 0x0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x7fffffffd600 "crash"
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        only_version = false
        rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
        lc_all = 0x0
        sockfd = -1
        module_assertions = false
(gdb) 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-13  7:46               ` George P
@ 2024-04-13 11:45                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-04-13 17:56                   ` George P
  0 siblings, 1 reply; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-13 11:45 UTC (permalink / raw)
  To: George P; +Cc: 66151

George P <georgepanagopo@gmail.com> writes:

> I have attached the full backtraces for breakpoints on
> `x_io_error_quitter`, `delete_frame`, and the crash point at the same
> commit as before. Hope it helps!

Thanks.  It appears that my first diagnosis missed the mark, but no
matter: I've now installed a fix on master, please test.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-13 11:45                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-04-13 17:56                   ` George P
  2024-04-18 10:40                     ` Eli Zaretskii
  0 siblings, 1 reply; 29+ messages in thread
From: George P @ 2024-04-13 17:56 UTC (permalink / raw)
  To: Po Lu; +Cc: 66151

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

Thanks a lot for your efforts, but unfortunately the crash persists. I
have attached the same backtraces as before but on commit 17e26cf57e1.

Please let me know if you need more information.

On Sat, Apr 13, 2024 at 7:45 AM Po Lu <luangruo@yahoo.com> wrote:
>
> George P <georgepanagopo@gmail.com> writes:
>
> > I have attached the full backtraces for breakpoints on
> > `x_io_error_quitter`, `delete_frame`, and the crash point at the same
> > commit as before. Hope it helps!
>
> Thanks.  It appears that my first diagnosis missed the mark, but no
> matter: I've now installed a fix on master, please test.

[-- Attachment #2: gdb-trace-66151-2.txt --]
[-- Type: text/plain, Size: 61389 bytes --]


Thread 1 "emacs" hit Breakpoint 1, x_io_error_quitter (display=0xe688990) at xterm.c:27026
27026     snprintf (buf, sizeof buf, "Connection lost to X server '%s'",
(gdb) bt -full
#0  x_io_error_quitter (display=0xe688990) at xterm.c:27026
        buf = '\000' <repeats 57 times>, "\370!\364\274\025\006H\000\000\000\000\000\000\000\000\200\275h\016", '\000' <repeats 12 times>, "\230\275h\016", '\000' <repeats 28 times>, "e3\231\365\377\177\000\000\060\266\377\377\377\177\000\000\220\211h\016\000\000\000\000\220\274h\016", '\000' <repeats 12 times>, "@\266\377\377\377\177\000\000\376O\337\365\377\177\000\000\220\211h\016\000\000\000\000\220\211h\016\000\000\000\000\070\266\377\377\377\177\000\000"...
#1  0x00007ffff5df7cb2 in _XIOError () at /usr/lib64/libX11.so.6
#2  0x00007ffff5df5495 in _XEventsQueued () at /usr/lib64/libX11.so.6
#3  0x00007ffff5de6e27 in XPending () at /usr/lib64/libX11.so.6
#4  0x000000000056a27d in XTread_socket (terminal=0xe6876d8, hold_quit=0x7fffffffb7b0) at xterm.c:25611
        count = 0
        event_found = false
        dpyinfo = 0xe699e20
#5  0x00000000005b9637 in gobble_input () at keyboard.c:7898
        nr = 0
        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 = 0xc9ba540
        nread = 0
        err = false
        t = 0xe6876d8
#6  0x00000000005b9a3c in handle_async_input () at keyboard.c:8137
        nread = 0
#7  0x00000000005b9a5b in process_pending_signals () at keyboard.c:8151
#8  0x00000000005b9a9b in unblock_input_to (level=0) at keyboard.c:8166
#9  0x00000000005b9abf in unblock_input () at keyboard.c:8185
#10 0x000000000073b211 in xg_select (fds_lim=22, rfds=0x7fffffffc0c0, wfds=0x7fffffffc040, efds=0x0, timeout=0x7fffffffc020, sigmask=0x0) at xgselect.c:282
        pselect_errno = 11
        all_rfds = {fds_bits = {131072, 0 <repeats 15 times>}}
        all_wfds = {fds_bits = {0 <repeats 16 times>}}
        tmo = {tv_sec = 3580, tv_nsec = 140737353612051}
        tmop = 0x7fffffffc020
        context = 0x59e11e0
        have_wfds = true

                    gfds_buf = {{fd = 13, events = 1, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -17840, events = 32767, revents = 0}, {fd = 254491024, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -17872, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -17680, events = 32767, revents = 0}, {fd = -240976191, events = 32767, revents = 0}, {fd = 14013632, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 6581908, events = 0, revents = 0}, {fd = -338378160, events = 32767, revents = 0}, {fd = -17840, events = 32767, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = 8, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -17696, events = 32767, revents = 0}, {fd = 252838800, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -17728, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -17536, events = 32767, revents = 0}, {fd = -240976191, events = 32767, revents = 0}, {fd = -17744, events = 32767, revents = 0}, {fd = 6599891, events = 0, revents = 0}, {fd = 255, events = 0, revents = 0}, {fd = 21211520, events = 0, revents = 0}, {fd = -17840, events = 32767, revents = 0}, {fd = -199100416, events = 5564, revents = 18438}, {fd = 24, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 8, events = 0, revents = 0}, {fd = 9167, events = 0, revents = 0}, {fd = 7, events = 0, revents = 0}, {fd = 32, events = 0, revents = 0}, {fd = 2, events = 32767, revents = 0}, {fd = 1167123053, events = 32613, revents = 1656}, {fd = 14180368, events = 0, revents = 0}, {fd = 64, events = 0, revents = 0}, {fd = -17536, events = 32767, revents = 0}, {fd = 252838800, events = 0, revents = 0}, {fd = 2, events = 48, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 91, events = 119, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -199100416, events = 5564, revents = 18438}, {fd = 24, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -17536, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -17488, events = 32767, revents = 0}, {fd = -17552, events = 32767, revents = 0}, {fd = -241143092, events = 32767, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -241142679, events = 32767, revents = 0}, {fd = -478150656, events = 41952, revents = 2135}, {fd = 16263, events = 0, revents = 0}, {fd = 24, events = 0, revents = 0}, {fd = 252838800, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 254346864, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 2, revents = 0}, {fd = 252838800, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -199100416, events = 5564, revents = 18438}, {fd = 24, events = 0, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = -17424, events = 32767, revents = 0}, {fd = 6121828, events = 0, revents = 0}, {fd = -17432, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -30, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 9, events = 0, revents = 0}, {fd = 64, events = 1, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = -17424, events = 32767, revents = 0}, {fd = 7229624, events = 0, revents = 0}, {fd = -17384, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -11808, events = 32767, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = -17312, events = 32767, revents = 0}, {fd = 7230215, events = 0, revents = 0}, {fd = -977600510, events = 17252, revents = 4}, {fd = 1385447426, events = 931, revents = 0}, {fd = -17368, events = 32767, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1, events = 51712, revents = 15258}, {fd = 13974816, events = 0, revents = 0}, {fd = 28464, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -17232, events = 32767, revents = 0}, {fd = 7230386, events = 0, revents = 0}, {fd = -17256, events = 32767, revents = 0}, {fd = -17072, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 712368664, events = 0, revents = 0}, {fd = 289, events = 0, revents = 0}, {fd = -17168, events = 32767, revents = 0}, {fd = 7662967, events = 0, revents = 0}, {fd = 10, events = 0, revents = 0}, {fd = 287631336, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 289, events = 0, revents = 0}, {fd = 712368664, events = 0, revents = 0}}
        gfds = 0x7fffffffb8e0
        gfds_size = 128
        n_gfds = 1
        retval = 1
        our_fds = 0
        max_fds = 21
        i = 22
        nfds = 1
        tmo_in_millisec = -1
        must_free = 0
        need_to_dispatch = true
#11 0x00000000006d0b60 in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=0x0, wait_proc=0x0, just_wait_proc=0) at process.c:5743
        tls_nfds = 0
        tls_available = {fds_bits = {0 <repeats 16 times>}}
        process_skipped = false
        wrapped = 194
        channel_start = 0
        child_fd = 21
        last_read_channel = 15
        channel = 1024
        nfds = 0
        Available = {fds_bits = {131072, 0 <repeats 15 times>}}
        Writeok = {fds_bits = {0 <repeats 16 times>}}
        check_write = true
        check_delay = 0
        no_avail = false
        xerrno = 11
        proc = 0x7fffffffc1c0
        timeout = {tv_sec = 0, tv_nsec = 0}
        end_time = {tv_sec = 211622640, tv_nsec = 0}
        timer_delay = {tv_sec = 289, tv_nsec = 712368664}
        got_output_end_time = {tv_sec = 1713130569, tv_nsec = 310022882}
        wait = FOREVER
        got_some_output = -1
        prev_wait_proc_nbytes_read = 0
        retry_for_async = false
        count = {bytes = 160}
        now = {tv_sec = 0, tv_nsec = -1}
#12 0x00000000005b137f in kbd_buffer_get_event (kbp=0x7fffffffc408, used_mouse_menu=0x7fffffffca7f, end_time=0x0) at keyboard.c:4077
        do_display = true
        obj = 0x1dbc0115
        str = 0x661ac5a1
        had_pending_selection_requests = false
        had_pending_conversion_events = false
#13 0x00000000005ad2eb in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffc7f0, used_mouse_menu=0x7fffffffca7f) at keyboard.c:2329
        c = 0x0
        save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}}
        kb = 0xc9c6af0
        count = {bytes = 128}
#14 0x00000000005ad5a7 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffc7f0, prev_event=0x0, used_mouse_menu=0x7fffffffca7f) at keyboard.c:2393
        nextevt = 0x0
        frame = 0xd5d400 <being_printed+1568>
        terminal = 0x1005c7706
        events = {0xf140ab5, 0xd5d4c0 <lispsym>, 0x0, 0x0, 0x7fffffffc5e8, 0x5a7451 <builtin_lisp_symbol+44>, 0x0, 0x7fffffffc610, 0x5aa577 <some_mouse_moved+29>, 0x736e02 <detect_conversion_events+82>, 0xdc74ad, 0x0, 0x7fffffffc640, 0x5b083c <readable_events+320>, 0x0, 0x1ffffc640}
        n = 0
#15 0x00000000005aed00 in read_char (commandflag=1, map=0x1c3b3033, prev_event=0x0, used_mouse_menu=0x7fffffffca7f, end_time=0x0) at keyboard.c:3014
        c = 0x0
        local_getcjmp = {{__jmpbuf = {0, -7540633939755394972, 28464, 140737488343520, 0, 0, -7540633940174825372, 7540633435792349284}, __mask_was_saved = 0, __saved_mask = {__val = {6601117, 190166336, 159037120, 186415411, 140737488341104, 6589018, 190166336, 14013632, 0, 0, 140737488341152, 6055030, 186415443, 140737488341312, 6075002, 14013632}}}}
        save_jump = {{__jmpbuf = {12884887376, 0, 0, 40032, 1540, 140737162439200, 140737488340864, 210115848}, __mask_was_saved = 14013632, __saved_mask = {__val = {0, 0, 14053664, 6581908, 0, 140737488341008, 6605974, 210115853, 8589940754, 0, 40032, 1541, 140737162439200, 4294967296, 0, 40032}}}}
        tem = 0x7fffeb9ec590
        save = 0x0
        previous_echo_area_message = 0x0
        also_record = 0x0
        reread = false
        recorded = false
        polling_stopped_here = true
        orig_kboard = 0xc9c6af0
        jmpcount = {bytes = 128}
#16 0x00000000005bfbb1 in read_key_sequence (keybuf=0x7fffffffcc90, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10722
        interrupted_kboard = 0xc9c6af0
        interrupted_frame = 0xe687f00
        key = 0xfffffffffffffffa
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = 0x7fffeb513130
        count = {bytes = 96}
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = 0x1c3b3033
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {parent = 0xc9823b3, map = 0xc9823b3, start = 0, end = 0}
        keytran = {parent = 0x7fffec904ef3, map = 0x7fffec904ef3, start = 0, end = 0}
        indec = {parent = 0xc9823a3, map = 0xc9823a3, start = 0, end = 0}
        shift_translated = false
        delayed_switch_frame = 0x0
        original_uppercase = 0x0
        original_uppercase_position = -1
        disabled_conversion = false
        starting_buffer = 0xc861d08
        fake_prefixed_keys = 0x0
        first_event = 0x0
        second_event = 0x0
#17 0x00000000005aa9f7 in command_loop_1 () at keyboard.c:1428
        cmd = 0x669952 <push_handler+32>

                  keybuf = {0x7fffffffcd10, 0x64cc96 <set_default_internal+806>, 0x7fffec92ea50, 0x2ffffccc0, 0x0, 0xa1d0, 0x7fffffffcd40, 0x7fffec92ea50, 0x100000000, 0x0, 0xa1d0, 0xd67690 <lispsym+41424>, 0xa1d0, 0xd67690 <lispsym+41424>, 0x6656cc <XSYMBOL+60>, 0x0, 0x7fffffffcd60, 0x66eb5c <do_one_unbind+508>, 0x100000002, 0x7fffffffcd80, 0xd5d4c0 <lispsym>, 0x0, 0x0, 0x7fffffffcd60, 0x665740 <builtin_lisp_symbol+44>, 0x6cf8090, 0x7fffffffcdc0, 0x66ed96 <unbind_to+198>, 0x7ffff7f785a3, 0x60}
        i = 32767
        last_pt = 5928017
        prev_modiff = 0
        prev_buffer = 0x0
#18 0x0000000000669648 in internal_condition_case (bfun=0x5aa5fe <command_loop_1>, handlers=0x90, hfun=0x5a9bc8 <cmd_error>) at eval.c:1537
        val = 0xe0e640
        c = 0xe0f490
#19 0x00000000005aa26d in command_loop_2 (handlers=0x90) at keyboard.c:1167
        val = 0x90
#20 0x0000000000668b63 in internal_catch (tag=0x10c80, func=0x5aa24a <command_loop_2>, arg=0x90) at eval.c:1217
        val = 0x5a7451 <builtin_lisp_symbol+44>
        c = 0xe0e640
#21 0x00000000005aa205 in command_loop () at keyboard.c:1145
#22 0x00000000005a9777 in recursive_edit_1 () at keyboard.c:753
        count = {bytes = 32}
        val = 0x66e6ad <record_unwind_protect+114>
#23 0x00000000005a991f in Frecursive_edit () at keyboard.c:836
        count = {bytes = 0}
        buffer = 0x0
#24 0x00000000005a5e66 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
        stack_bottom_variable = 0x17b70
        old_argc = 2
        dump_file = 0x0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x7fffffffd600 "crash"
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        only_version = false
        rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
        lc_all = 0x0
        sockfd = -1
        module_assertions = false
(gdb) continue
Continuing.

Thread 1 "emacs" hit Breakpoint 2, delete_frame (frame=0xe687f05, force=0xcde0) at frame.c:2044
2044      struct frame *f = decode_any_frame (frame);
(gdb) bt -full
#0  delete_frame (frame=0xe687f05, force=0xcde0) at frame.c:2044
        f = 0xdde73a0
        sf = 0x7fffffffb450
        kb = 0xcde0
        frames = 0xcde0
        frame1 = 0x1ec92ea40
        is_tooltip_frame = 0
        nochild = false
        minibuffer_child_frame = 0xd6a2a0 <lispsym+52704>
        ref = {bytes = 55848628608}
#1  0x000000000056c1cc in x_connection_closed (dpy=0xe688990, error_message=0x7fffffffb560 "Connection lost to X server 'localhost:11.0'", ioerror=true) at xterm.c:26804
        dpyinfo = 0xe699e20
        frame = 0xe687f05
        tail = 0xe60e443
        idx = {bytes = 192}
        io_error_handler = 0x1
        dmsg = {reason = 84 'T', byte_order = 85 'U', side_effects = 21845, timestamp = 0, x = 22597, y = 18000, index_atom = 0, source_window = 0}
        f = 0x0
        minibuf_frame = 0xdc74ad
        tmp = 0x0
        failable = 0x7fffffffb4f0
        stack = 0x0
        current_display = 0xe688990
#2  0x000000000056c79e in x_io_error_quitter (display=0xe688990) at xterm.c:27028
        buf = "Connection lost to X server 'localhost:11.0'", '\000' <repeats 13 times>, "\370!\364\274\025\006H\000\000\000\000\000\000\000\000\200\275h\016", '\000' <repeats 12 times>, "\230\275h\016", '\000' <repeats 28 times>, "e3\231\365\377\177\000\000\060\266\377\377\377\177\000\000\220\211h\016\000\000\000\000\220\274h\016", '\000' <repeats 12 times>, "@\266\377\377\377\177\000\000\376O\337\365\377\177\000\000\220\211h\016\000\000\000\000\220\211h\016\000\000\000\000\070\266\377\377\377\177\000\000"...
#3  0x00007ffff5df7cb2 in _XIOError () at /usr/lib64/libX11.so.6
#4  0x00007ffff5df5495 in _XEventsQueued () at /usr/lib64/libX11.so.6
#5  0x00007ffff5de6e27 in XPending () at /usr/lib64/libX11.so.6
#6  0x000000000056a27d in XTread_socket (terminal=0xe6876d8, hold_quit=0x7fffffffb7b0) at xterm.c:25611
        count = 0
        event_found = false
        dpyinfo = 0xe699e20
#7  0x00000000005b9637 in gobble_input () at keyboard.c:7898
        nr = 0
        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 = 0xc9ba540
        nread = 0
        err = false
        t = 0xe6876d8
#8  0x00000000005b9a3c in handle_async_input () at keyboard.c:8137
        nread = 0
#9  0x00000000005b9a5b in process_pending_signals () at keyboard.c:8151
#10 0x00000000005b9a9b in unblock_input_to (level=0) at keyboard.c:8166
#11 0x00000000005b9abf in unblock_input () at keyboard.c:8185
#12 0x000000000073b211 in xg_select (fds_lim=22, rfds=0x7fffffffc0c0, wfds=0x7fffffffc040, efds=0x0, timeout=0x7fffffffc020, sigmask=0x0) at xgselect.c:282
        pselect_errno = 11
        all_rfds = {fds_bits = {131072, 0 <repeats 15 times>}}
        all_wfds = {fds_bits = {0 <repeats 16 times>}}
        tmo = {tv_sec = 3580, tv_nsec = 140737353612051}
        tmop = 0x7fffffffc020
        context = 0x59e11e0
        have_wfds = true

                    gfds_buf = {{fd = 13, events = 1, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -17840, events = 32767, revents = 0}, {fd = 254491024, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -17872, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -17680, events = 32767, revents = 0}, {fd = -240976191, events = 32767, revents = 0}, {fd = 14013632, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 6581908, events = 0, revents = 0}, {fd = -338378160, events = 32767, revents = 0}, {fd = -17840, events = 32767, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = 8, events = 0, revents = 0}, {fd = 0, events = 42256, revents = 59604}, {fd = -17696, events = 32767, revents = 0}, {fd = 252838800, events = 0, revents = 0}, {fd = -40, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -17728, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -17536, events = 32767, revents = 0}, {fd = -240976191, events = 32767, revents = 0}, {fd = -17744, events = 32767, revents = 0}, {fd = 6599891, events = 0, revents = 0}, {fd = 255, events = 0, revents = 0}, {fd = 21211520, events = 0, revents = 0}, {fd = -17840, events = 32767, revents = 0}, {fd = -199100416, events = 5564, revents = 18438}, {fd = 24, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 8, events = 0, revents = 0}, {fd = 9167, events = 0, revents = 0}, {fd = 7, events = 0, revents = 0}, {fd = 32, events = 0, revents = 0}, {fd = 2, events = 32767, revents = 0}, {fd = 1167123053, events = 32613, revents = 1656}, {fd = 14180368, events = 0, revents = 0}, {fd = 64, events = 0, revents = 0}, {fd = -17536, events = 32767, revents = 0}, {fd = 252838800, events = 0, revents = 0}, {fd = 2, events = 48, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 91, events = 119, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -199100416, events = 5564, revents = 18438}, {fd = 24, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = -17536, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -17488, events = 32767, revents = 0}, {fd = -17552, events = 32767, revents = 0}, {fd = -241143092, events = 32767, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = -241142679, events = 32767, revents = 0}, {fd = -478150656, events = 41952, revents = 2135}, {fd = 16263, events = 0, revents = 0}, {fd = 24, events = 0, revents = 0}, {fd = 252838800, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 254346864, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 2, revents = 0}, {fd = 252838800, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -199100416, events = 5564, revents = 18438}, {fd = 24, events = 0, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -241122946, events = 32767, revents = 0}, {fd = -17424, events = 32767, revents = 0}, {fd = 6121828, events = 0, revents = 0}, {fd = -17432, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -30, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 1, events = 0, revents = 0}, {fd = 9, events = 0, revents = 0}, {fd = 64, events = 1, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = -17424, events = 32767, revents = 0}, {fd = 7229624, events = 0, revents = 0}, {fd = -17384, events = 32767, revents = 0}, {fd = 13974816, events = 0, revents = 0}, {fd = -11808, events = 32767, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = -17312, events = 32767, revents = 0}, {fd = 7230215, events = 0, revents = 0}, {fd = -977600510, events = 17252, revents = 4}, {fd = 1385447426, events = 931, revents = 0}, {fd = -17368, events = 32767, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 1, events = 51712, revents = 15258}, {fd = 13974816, events = 0, revents = 0}, {fd = 28464, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = -17232, events = 32767, revents = 0}, {fd = 7230386, events = 0, revents = 0}, {fd = -17256, events = 32767, revents = 0}, {fd = -17072, events = 32767, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 2, events = 0, revents = 0}, {fd = 712368664, events = 0, revents = 0}, {fd = 289, events = 0, revents = 0}, {fd = -17168, events = 32767, revents = 0}, {fd = 7662967, events = 0, revents = 0}, {fd = 10, events = 0, revents = 0}, {fd = 287631336, events = 0, revents = 0}, {fd = 300, events = 0, revents = 0}, {fd = 0, events = 0, revents = 0}, {fd = 289, events = 0, revents = 0}, {fd = 712368664, events = 0, revents = 0}}
        gfds = 0x7fffffffb8e0
        gfds_size = 128
        n_gfds = 1
        retval = 1
        our_fds = 0
        max_fds = 21
        i = 22
        nfds = 1
        tmo_in_millisec = -1
        must_free = 0
        need_to_dispatch = true
#13 0x00000000006d0b60 in wait_reading_process_output (time_limit=0, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=0x0, wait_proc=0x0, just_wait_proc=0) at process.c:5743
        tls_nfds = 0
        tls_available = {fds_bits = {0 <repeats 16 times>}}
        process_skipped = false
        wrapped = 194
        channel_start = 0
        child_fd = 21
        last_read_channel = 15
        channel = 1024
        nfds = 0
        Available = {fds_bits = {131072, 0 <repeats 15 times>}}
        Writeok = {fds_bits = {0 <repeats 16 times>}}
        check_write = true
        check_delay = 0
        no_avail = false
        xerrno = 11
        proc = 0x7fffffffc1c0
        timeout = {tv_sec = 0, tv_nsec = 0}
        end_time = {tv_sec = 211622640, tv_nsec = 0}
        timer_delay = {tv_sec = 289, tv_nsec = 712368664}
        got_output_end_time = {tv_sec = 1713130569, tv_nsec = 310022882}
        wait = FOREVER
        got_some_output = -1
        prev_wait_proc_nbytes_read = 0
        retry_for_async = false
        count = {bytes = 160}
        now = {tv_sec = 0, tv_nsec = -1}
#14 0x00000000005b137f in kbd_buffer_get_event (kbp=0x7fffffffc408, used_mouse_menu=0x7fffffffca7f, end_time=0x0) at keyboard.c:4077
        do_display = true
        obj = 0x1dbc0115
        str = 0x661ac5a1
        had_pending_selection_requests = false
        had_pending_conversion_events = false
#15 0x00000000005ad2eb in read_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffc7f0, used_mouse_menu=0x7fffffffca7f) at keyboard.c:2329
        c = 0x0
        save_jump = {{__jmpbuf = {0, 0, 0, 0, 0, 0, 0, 0}, __mask_was_saved = 0, __saved_mask = {__val = {0 <repeats 16 times>}}}}
        kb = 0xc9c6af0
        count = {bytes = 128}
#16 0x00000000005ad5a7 in read_decoded_event_from_main_queue (end_time=0x0, local_getcjmp=0x7fffffffc7f0, prev_event=0x0, used_mouse_menu=0x7fffffffca7f) at keyboard.c:2393
        nextevt = 0x0
        frame = 0xd5d400 <being_printed+1568>
        terminal = 0x1005c7706
        events = {0xf140ab5, 0xd5d4c0 <lispsym>, 0x0, 0x0, 0x7fffffffc5e8, 0x5a7451 <builtin_lisp_symbol+44>, 0x0, 0x7fffffffc610, 0x5aa577 <some_mouse_moved+29>, 0x736e02 <detect_conversion_events+82>, 0xdc74ad, 0x0, 0x7fffffffc640, 0x5b083c <readable_events+320>, 0x0, 0x1ffffc640}
        n = 0
#17 0x00000000005aed00 in read_char (commandflag=1, map=0x1c3b3033, prev_event=0x0, used_mouse_menu=0x7fffffffca7f, end_time=0x0) at keyboard.c:3014
        c = 0x0
        local_getcjmp = {{__jmpbuf = {0, -7540633939755394972, 28464, 140737488343520, 0, 0, -7540633940174825372, 7540633435792349284}, __mask_was_saved = 0, __saved_mask = {__val = {6601117, 190166336, 159037120, 186415411, 140737488341104, 6589018, 190166336, 14013632, 0, 0, 140737488341152, 6055030, 186415443, 140737488341312, 6075002, 14013632}}}}
        save_jump = {{__jmpbuf = {12884887376, 0, 0, 40032, 1540, 140737162439200, 140737488340864, 210115848}, __mask_was_saved = 14013632, __saved_mask = {__val = {0, 0, 14053664, 6581908, 0, 140737488341008, 6605974, 210115853, 8589940754, 0, 40032, 1541, 140737162439200, 4294967296, 0, 40032}}}}
        tem = 0x7fffeb9ec590
        save = 0x0
        previous_echo_area_message = 0x0
        also_record = 0x0
        reread = false
        recorded = false
        polling_stopped_here = true
        orig_kboard = 0xc9c6af0
        jmpcount = {bytes = 128}
#18 0x00000000005bfbb1 in read_key_sequence (keybuf=0x7fffffffcc90, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false, disable_text_conversion_p=false) at keyboard.c:10722
        interrupted_kboard = 0xc9c6af0
        interrupted_frame = 0xe687f00
        key = 0xfffffffffffffffa
        used_mouse_menu = false
        echo_local_start = 0
        last_real_key_start = 0
        keys_local_start = 0
        new_binding = 0x7fffeb513130
        count = {bytes = 96}
        t = 0
        echo_start = 0
        keys_start = 0
        current_binding = 0x1c3b3033
        first_unbound = 31
        mock_input = 0
        used_mouse_menu_history = {false <repeats 30 times>}
        fkey = {parent = 0xc9823b3, map = 0xc9823b3, start = 0, end = 0}
        keytran = {parent = 0x7fffec904ef3, map = 0x7fffec904ef3, start = 0, end = 0}
        indec = {parent = 0xc9823a3, map = 0xc9823a3, start = 0, end = 0}
        shift_translated = false
        delayed_switch_frame = 0x0
        original_uppercase = 0x0
        original_uppercase_position = -1
        disabled_conversion = false
        starting_buffer = 0xc861d08
        fake_prefixed_keys = 0x0
        first_event = 0x0
        second_event = 0x0
#19 0x00000000005aa9f7 in command_loop_1 () at keyboard.c:1428
        cmd = 0x669952 <push_handler+32>

                  keybuf = {0x7fffffffcd10, 0x64cc96 <set_default_internal+806>, 0x7fffec92ea50, 0x2ffffccc0, 0x0, 0xa1d0, 0x7fffffffcd40, 0x7fffec92ea50, 0x100000000, 0x0, 0xa1d0, 0xd67690 <lispsym+41424>, 0xa1d0, 0xd67690 <lispsym+41424>, 0x6656cc <XSYMBOL+60>, 0x0, 0x7fffffffcd60, 0x66eb5c <do_one_unbind+508>, 0x100000002, 0x7fffffffcd80, 0xd5d4c0 <lispsym>, 0x0, 0x0, 0x7fffffffcd60, 0x665740 <builtin_lisp_symbol+44>, 0x6cf8090, 0x7fffffffcdc0, 0x66ed96 <unbind_to+198>, 0x7ffff7f785a3, 0x60}
        i = 32767
        last_pt = 5928017
        prev_modiff = 0
        prev_buffer = 0x0
#20 0x0000000000669648 in internal_condition_case (bfun=0x5aa5fe <command_loop_1>, handlers=0x90, hfun=0x5a9bc8 <cmd_error>) at eval.c:1537
        val = 0xe0e640
        c = 0xe0f490
#21 0x00000000005aa26d in command_loop_2 (handlers=0x90) at keyboard.c:1167
        val = 0x90
#22 0x0000000000668b63 in internal_catch (tag=0x10c80, func=0x5aa24a <command_loop_2>, arg=0x90) at eval.c:1217
        val = 0x5a7451 <builtin_lisp_symbol+44>
        c = 0xe0e640
#23 0x00000000005aa205 in command_loop () at keyboard.c:1145
#24 0x00000000005a9777 in recursive_edit_1 () at keyboard.c:753
        count = {bytes = 32}
        val = 0x66e6ad <record_unwind_protect+114>
#25 0x00000000005a991f in Frecursive_edit () at keyboard.c:836
        count = {bytes = 0}
        buffer = 0x0
#26 0x00000000005a5e66 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
        stack_bottom_variable = 0x17b70
        old_argc = 2
        dump_file = 0x0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x7fffffffd600 "crash"
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        only_version = false
        rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
        lc_all = 0x0
        sockfd = -1
        module_assertions = false
(gdb) continue
Continuing.
Error in post-command-hook (centaur-tabs-adjust-buffer-order-alphabetically): (setting-constant nil)
[persp-mode] Error: Can not deactivate frame -- (wrong-type-argument frame-live-p #<dead frame *doom* – Doom Emacs 0xe687f00>)

Thread 1 "emacs" received signal SIGSEGV, Segmentation fault.
0x0000000000538197 in realize_default_face (f=0xe687f00) at xfaces.c:5873
5873          XSETFONT (font_object, FRAME_FONT (f));
(gdb) bt -full
#0  0x0000000000538197 in realize_default_face (f=0xe687f00) at xfaces.c:5873
        font_object = 0x0
        c = 0xe6a3a60
        lface = 0xe7509c5
        attrs = {0x7fffffffaf30, 0x5b9abf <unblock_input+20>, 0x7fffffffafd0, 0x72a9d2 <clear_image_cache+823>, 0x0, 0xccee248, 0x661ac5dd, 0xe585693, 0x661ac4b1, 0xe585693, 0x7fffffffaf90, 0xffffaf90, 0xcda66c0, 0x5b9abf <unblock_input+20>, 0xccf4390, 0x535a4a <free_realized_faces+245>, 0x4, 0x4072c00000000000, 0x0, 0x4}
        face = 0xccee248
#1  0x0000000000537e23 in realize_basic_faces (f=0xe687f00) at xfaces.c:5807
        success_p = false
#2  0x000000000052aeb1 in recompute_basic_faces (f=0xe687f00) at xfaces.c:719
#3  0x000000000071d979 in free_realized_fontsets (base=0x7fffec5a6bd5) at fontset.c:1372
        this = 0xf29e675
        id = 49
#4  0x000000000071eddc in Fset_fontset_font (fontset=0x30, characters=0x7ffff7f5cdd3, font_spec=0xca2b775, frame=0xccee24d, add=0x0) at fontset.c:1720
        fontset_obj = 0x7fffec5a6bd5
        font_def = 0x525e42d
        registry = 0x0
        family = 0xd61c1c4
        range_list = 0x0
        charset = 0x0
        fontname = 0xe9abb34
        ascii_changed = false
#5  0x000000000066bc14 in eval_sub (form=0x7ffff7f5cdf3) at eval.c:2539
        i = 5
        maxargs = 5
        args_left = 0x0
        numargs = 3
        original_fun = 0x7fffeb7ff690
        original_args = 0x7ffff7f5cde3
        count = {bytes = 480}
        fun = 0xce9c85 <Sset_fontset_font+5>
        val = 0x0
        funcar = 0xd67690 <lispsym+41424>
        argvals = {0x30, 0x7ffff7f5cdd3, 0xe9abb34, 0x0, 0x0, 0xa1d0, 0x7fffffffb340, 0x7fffec92ea50}
#6  0x000000000066b3b8 in Feval (form=0x7ffff7f5cdf3, lexical=0x30) at eval.c:2389
        count = {bytes = 448}
#7  0x000000000066d355 in funcall_subr (subr=0xce3580 <Seval>, numargs=2, args=0x7fffebd4c1b0) at eval.c:3092
        argbuf = {0x665740 <builtin_lisp_symbol+44>, 0xdde7480, 0x7fffffffb470, 0x1a0, 0x7fffffffb430, 0x6be5a6 <SPECPDL_INDEX+43>, 0x7fffffffb470, 0x6be69c <record_in_backtrace+156>}
        a = 0x7fffebd4c1b0
        maxargs = 2
        fun = 0x1200000002
#8  0x00000000006bf655 in exec_byte_code (fun=0x7fffec2b8395, args_template=513, nargs=2, args=0x7fffebd4c4c0) at bytecode.c:814
        call_nargs = 2
        call_fun = 0xce3585 <Seval+5>
        count1 = {bytes = 416}
        val = 0xce2f45 <Squote+5>
        call_args = 0x7fffebd4c1b0
        original_fun = 0x6e70
        op = 2
        type = 4160080851

                  targets = {0x6c2c72 <exec_byte_code+16973>, 0x6c2c95 <exec_byte_code+17008>, 0x6c2c97 <exec_byte_code+17010>, 0x6c2c99 <exec_byte_code+17012>, 0x6c2c9b <exec_byte_code+17014>, 0x6c2c9b <exec_byte_code+17014>, 0x6c2cf5 <exec_byte_code+17104>, 0x6c2d5e <exec_byte_code+17209>, 0x6bee23 <exec_byte_code+1022>, 0x6bee25 <exec_byte_code+1024>, 0x6bee27 <exec_byte_code+1026>, 0x6bee29 <exec_byte_code+1028>, 0x6bee2b <exec_byte_code+1030>, 0x6bee2b <exec_byte_code+1030>, 0x6bee31 <exec_byte_code+1036>, 0x6bedf2 <exec_byte_code+973>, 0x6bf1b9 <exec_byte_code+1940>, 0x6bf1bb <exec_byte_code+1942>, 0x6bf1bd <exec_byte_code+1944>, 0x6bf1bf <exec_byte_code+1946>, 0x6bf1c1 <exec_byte_code+1948>, 0x6bf1c1 <exec_byte_code+1948>, 0x6bf1f6 <exec_byte_code+2001>, 0x6bf1c7 <exec_byte_code+1954>, 0x6bf39b <exec_byte_code+2422>, 0x6bf39d <exec_byte_code+2424>, 0x6bf39f <exec_byte_code+2426>, 0x6bf3a1 <exec_byte_code+2428>, 0x6bf3a3 <exec_byte_code+2430>, 0x6bf3a3 <exec_byte_code+2430>, 0x6bf355 <exec_byte_code+2352>, 0x6bf36c <exec_byte_code+2375>, 0x6bf445 <exec_byte_code+2592>, 0x6bf447 <exec_byte_code+2594>, 0x6bf449 <exec_byte_code+2596>, 0x6bf44b <exec_byte_code+2598>, 0x6bf44d <exec_byte_code+2600>, 0x6bf44d <exec_byte_code+2600>, 0x6bf3ff <exec_byte_code+2522>, 0x6bf416 <exec_byte_code+2545>, 0x6bf76f <exec_byte_code+3402>, 0x6bf771 <exec_byte_code+3404>, 0x6bf773 <exec_byte_code+3406>, 0x6bf775 <exec_byte_code+3408>, 0x6bf777 <exec_byte_code+3410>, 0x6bf777 <exec_byte_code+3410>, 0x6bf729 <exec_byte_code+3332>, 0x6bf740 <exec_byte_code+3355>, 0x6bff1a <exec_byte_code+5365>, 0x6bfd7b <exec_byte_code+4950>, 0x6bfd72 <exec_byte_code+4941>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c0127 <exec_byte_code+5890>, 0x6c028e <exec_byte_code+6249>, 0x6c02eb <exec_byte_code+6342>, 0x6c0346 <exec_byte_code+6433>, 0x6c03a3 <exec_byte_code+6526>, 0x6bf032 <exec_byte_code+1549>, 0x6bf0af <exec_byte_code+1674>, 0x6c0417 <exec_byte_code+6642>, 0x6bef89 <exec_byte_code+1380>, 0x6bf10f <exec_byte_code+1770>, 0x6c047a <exec_byte_code+6741>, 0x6c04da <exec_byte_code+6837>, 0x6c051a <exec_byte_code+6901>, 0x6c057a <exec_byte_code+6997>, 0x6c05d8 <exec_byte_code+7091>, 0x6c06b2 <exec_byte_code+7309>, 0x6c06f2 <exec_byte_code+7373>, 0x6c0898 <exec_byte_code+7795>, 0x6c0a66 <exec_byte_code+8257>, 0x6c0aa6 <exec_byte_code+8321>, 0x6c0ae6 <exec_byte_code+8385>, 0x6c0b46 <exec_byte_code+8481>, 0x6c0ba6 <exec_byte_code+8577>, 0x6c0c06 <exec_byte_code+8673>, 0x6c0c83 <exec_byte_code+8798>, 0x6c0cca <exec_byte_code+8869>, 0x6c0d11 <exec_byte_code+8940>, 0x6c0dcc <exec_byte_code+9127>, 0x6c0e6c <exec_byte_code+9287>, 0x6c0f0c <exec_byte_code+9447>, 0x6c0fd9 <exec_byte_code+9652>, 0x6c10b9 <exec_byte_code+9876>, 0x6c1199 <exec_byte_code+10100>, 0x6c1279 <exec_byte_code+10324>, 0x6c1359 <exec_byte_code+10548>, 0x6c1480 <exec_byte_code+10843>, 0x6c1521 <exec_byte_code+11004>, 0x6c1645 <exec_byte_code+11296>, 0x6c1703 <exec_byte_code+11486>, 0x6c17c1 <exec_byte_code+11676>, 0x6c1b2d <exec_byte_code+12552>, 0x6bfc27 <exec_byte_code+4610>, 0x6c1b80 <exec_byte_code+12635>, 0x6c1bc0 <exec_byte_code+12699>, 0x6c1c76 <exec_byte_code+12881>, 0x6c1cc9 <exec_byte_code+12964>, 0x6c1d1c <exec_byte_code+13047>, 0x6c1d5c <exec_byte_code+13111>, 0x6c1d97 <exec_byte_code+13170>, 0x6c1dd2 <exec_byte_code+13229>, 0x6c1e15 <exec_byte_code+13296>, 0x6c2c72 <exec_byte_code+16973>, 0x6c1e65 <exec_byte_code+13376>, 0x6c1ea0 <exec_byte_code+13435>, 0x6c1edb <exec_byte_code+13494>, 0x6c1f16 <exec_byte_code+13553>, 0x6c1f51 <exec_byte_code+13612>, 0x6c1f8c <exec_byte_code+13671>, 0x6bfc27 <exec_byte_code+4610>, 0x6c2c72 <exec_byte_code+16973>, 0x6c1fcc <exec_byte_code+13735>, 0x6c2014 <exec_byte_code+13807>, 0x6c2054 <exec_byte_code+13871>, 0x6c2094 <exec_byte_code+13935>, 0x6c20f4 <exec_byte_code+14031>, 0x6c2154 <exec_byte_code+14127>, 0x6c2194 <exec_byte_code+14191>, 0x6c21d4 <exec_byte_code+14255>, 0x6c2234 <exec_byte_code+14351>, 0x6c2294 <exec_byte_code+14447>, 0x6c22f4 <exec_byte_code+14543>, 0x6c232f <exec_byte_code+14602>, 0x6c2c72 <exec_byte_code+16973>, 0x6bfb87 <exec_byte_code+4450>, 0x6bf7d2 <exec_byte_code+3501>, 0x6bef02 <exec_byte_code+1245>, 0x6bf86a <exec_byte_code+3653>, 0x6bf8e3 <exec_byte_code+3774>, 0x6bf959 <exec_byte_code+3892>, 0x6bf9cf <exec_byte_code+4010>, 0x6bfb5b <exec_byte_code+4406>, 0x6bf30d <exec_byte_code+2280>, 0x6bfbfb <exec_byte_code+4566>, 0x6bfc53 <exec_byte_code+4654>, 0x6bfcd7 <exec_byte_code+4786>, 0x6bfd10 <exec_byte_code+4843>, 0x6bff5b <exec_byte_code+5430>, 0x6bffc9 <exec_byte_code+5540>, 0x6c0046 <exec_byte_code+5665>, 0x6c00a1 <exec_byte_code+5756>, 0x6c2c72 <exec_byte_code+16973>, 0x6c236f <exec_byte_code+14666>, 0x6c23ec <exec_byte_code+14791>, 0x6c242c <exec_byte_code+14855>, 0x6c246c <exec_byte_code+14919>, 0x6c24ac <exec_byte_code+14983>, 0x6c24ec <exec_byte_code+15047>, 0x6c254c <exec_byte_code+15143>, 0x6c25ac <exec_byte_code+15239>, 0x6c260c <exec_byte_code+15335>, 0x6c266c <exec_byte_code+15431>, 0x6c2803 <exec_byte_code+15838>, 0x6c2863 <exec_byte_code+15934>, 0x6c28c3 <exec_byte_code+16030>, 0x6c2903 <exec_byte_code+16094>, 0x6c29fa <exec_byte_code+16341>, 0x6c2af1 <exec_byte_code+16588>, 0x6c2b31 <exec_byte_code+16652>, 0x6c2b71 <exec_byte_code+16716>, 0x6c18f7 <exec_byte_code+11986>, 0x6c1a3b <exec_byte_code+12310>, 0x6c2bb8 <exec_byte_code+16787>, 0x6c2c15 <exec_byte_code+16880>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c063e <exec_byte_code+7193>, 0x6c0d58 <exec_byte_code+9011>, 0x6c1c02 <exec_byte_code+12765>, 0x6c2de2 <exec_byte_code+17341>, 0x6c2e4c <exec_byte_code+17447>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2ed3 <exec_byte_code+17582>, 0x6c2f4f <exec_byte_code+17706>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c30d2 <exec_byte_code+18093> <repeats 64 times>}
        quitcounter = 6 '\006'
        bc = 0xcd27b0 <main_thread+496>
        top = 0x7fffebd4c1a8
        pc = 0x7fffec9a33df "!\240\207"
        bytestr = 0x7fffec2b8404
        vector = 0x7fffec2b83d5
        maxdepth = 0x22
        const_length = 5
        bytestr_length = 91
        vectorp = 0xebbea0
        max_stack = 8
        frame_base = 0x7fffebd4c4f8
        fp = 0x7fffebd4c538
        bytestr_data = 0x7fffec9a33d4 "\300\303\304\305\032\306\301!)\305\"!\240\207"
        rest = false
        mandatory = 1
        nonrest = 2
        pushedargs = 2
        result = 0xd5d4c0 <lispsym>
#9  0x000000000066d953 in funcall_lambda (fun=0x74965b5, nargs=0, arg_vector=0x7fffffffba60) at eval.c:3194
        val = 0x7fffffffb9b0
        syms_left = 0x2
        next = 0x0
        lexenv = 0x1f00000000
        count = {bytes = 384}
        i = 14013632
        optional = false
        rest = false
        previous_rest = false
#10 0x000000000066ce09 in funcall_general (fun=0x74965b5, numargs=0, args=0x7fffffffba60) at eval.c:2972
        original_fun = 0x74965b5
#11 0x000000000066d08e in Ffuncall (nargs=1, args=0x7fffffffba58) at eval.c:3022
        count = {bytes = 352}
        val = 0x668ec4 <push_handler_bind+82>
#12 0x00000000006660f1 in call0 (fn=0x74965b5) at lisp.h:3503
#13 0x0000000000668fb0 in Fhandler_bind_1 (nargs=3, args=0x7fffebd4c128) at eval.c:1403
        bodyfun = 0x74965b5
        count = 1
        ret = 0x1
#14 0x000000000066d54e in funcall_subr (subr=0xce3440 <Shandler_bind_1>, numargs=3, args=0x7fffebd4c128) at eval.c:3113
        maxargs = -2
        fun = 0x1200000003
#15 0x00000000006bf655 in exec_byte_code (fun=0x7fffec2b0aed, args_template=1025, nargs=4, args=0x7fffffffc2c0) at bytecode.c:814
        call_nargs = 3
        call_fun = 0xce3445 <Shandler_bind_1+5>
        count1 = {bytes = 320}
        val = 0x74965b5
        call_args = 0x7fffebd4c128
        original_fun = 0x7fffeb56b2a0
        op = 3
        type = 186170504

                  targets = {0x6c2c72 <exec_byte_code+16973>, 0x6c2c95 <exec_byte_code+17008>, 0x6c2c97 <exec_byte_code+17010>, 0x6c2c99 <exec_byte_code+17012>, 0x6c2c9b <exec_byte_code+17014>, 0x6c2c9b <exec_byte_code+17014>, 0x6c2cf5 <exec_byte_code+17104>, 0x6c2d5e <exec_byte_code+17209>, 0x6bee23 <exec_byte_code+1022>, 0x6bee25 <exec_byte_code+1024>, 0x6bee27 <exec_byte_code+1026>, 0x6bee29 <exec_byte_code+1028>, 0x6bee2b <exec_byte_code+1030>, 0x6bee2b <exec_byte_code+1030>, 0x6bee31 <exec_byte_code+1036>, 0x6bedf2 <exec_byte_code+973>, 0x6bf1b9 <exec_byte_code+1940>, 0x6bf1bb <exec_byte_code+1942>, 0x6bf1bd <exec_byte_code+1944>, 0x6bf1bf <exec_byte_code+1946>, 0x6bf1c1 <exec_byte_code+1948>, 0x6bf1c1 <exec_byte_code+1948>, 0x6bf1f6 <exec_byte_code+2001>, 0x6bf1c7 <exec_byte_code+1954>, 0x6bf39b <exec_byte_code+2422>, 0x6bf39d <exec_byte_code+2424>, 0x6bf39f <exec_byte_code+2426>, 0x6bf3a1 <exec_byte_code+2428>, 0x6bf3a3 <exec_byte_code+2430>, 0x6bf3a3 <exec_byte_code+2430>, 0x6bf355 <exec_byte_code+2352>, 0x6bf36c <exec_byte_code+2375>, 0x6bf445 <exec_byte_code+2592>, 0x6bf447 <exec_byte_code+2594>, 0x6bf449 <exec_byte_code+2596>, 0x6bf44b <exec_byte_code+2598>, 0x6bf44d <exec_byte_code+2600>, 0x6bf44d <exec_byte_code+2600>, 0x6bf3ff <exec_byte_code+2522>, 0x6bf416 <exec_byte_code+2545>, 0x6bf76f <exec_byte_code+3402>, 0x6bf771 <exec_byte_code+3404>, 0x6bf773 <exec_byte_code+3406>, 0x6bf775 <exec_byte_code+3408>, 0x6bf777 <exec_byte_code+3410>, 0x6bf777 <exec_byte_code+3410>, 0x6bf729 <exec_byte_code+3332>, 0x6bf740 <exec_byte_code+3355>, 0x6bff1a <exec_byte_code+5365>, 0x6bfd7b <exec_byte_code+4950>, 0x6bfd72 <exec_byte_code+4941>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c0127 <exec_byte_code+5890>, 0x6c028e <exec_byte_code+6249>, 0x6c02eb <exec_byte_code+6342>, 0x6c0346 <exec_byte_code+6433>, 0x6c03a3 <exec_byte_code+6526>, 0x6bf032 <exec_byte_code+1549>, 0x6bf0af <exec_byte_code+1674>, 0x6c0417 <exec_byte_code+6642>, 0x6bef89 <exec_byte_code+1380>, 0x6bf10f <exec_byte_code+1770>, 0x6c047a <exec_byte_code+6741>, 0x6c04da <exec_byte_code+6837>, 0x6c051a <exec_byte_code+6901>, 0x6c057a <exec_byte_code+6997>, 0x6c05d8 <exec_byte_code+7091>, 0x6c06b2 <exec_byte_code+7309>, 0x6c06f2 <exec_byte_code+7373>, 0x6c0898 <exec_byte_code+7795>, 0x6c0a66 <exec_byte_code+8257>, 0x6c0aa6 <exec_byte_code+8321>, 0x6c0ae6 <exec_byte_code+8385>, 0x6c0b46 <exec_byte_code+8481>, 0x6c0ba6 <exec_byte_code+8577>, 0x6c0c06 <exec_byte_code+8673>, 0x6c0c83 <exec_byte_code+8798>, 0x6c0cca <exec_byte_code+8869>, 0x6c0d11 <exec_byte_code+8940>, 0x6c0dcc <exec_byte_code+9127>, 0x6c0e6c <exec_byte_code+9287>, 0x6c0f0c <exec_byte_code+9447>, 0x6c0fd9 <exec_byte_code+9652>, 0x6c10b9 <exec_byte_code+9876>, 0x6c1199 <exec_byte_code+10100>, 0x6c1279 <exec_byte_code+10324>, 0x6c1359 <exec_byte_code+10548>, 0x6c1480 <exec_byte_code+10843>, 0x6c1521 <exec_byte_code+11004>, 0x6c1645 <exec_byte_code+11296>, 0x6c1703 <exec_byte_code+11486>, 0x6c17c1 <exec_byte_code+11676>, 0x6c1b2d <exec_byte_code+12552>, 0x6bfc27 <exec_byte_code+4610>, 0x6c1b80 <exec_byte_code+12635>, 0x6c1bc0 <exec_byte_code+12699>, 0x6c1c76 <exec_byte_code+12881>, 0x6c1cc9 <exec_byte_code+12964>, 0x6c1d1c <exec_byte_code+13047>, 0x6c1d5c <exec_byte_code+13111>, 0x6c1d97 <exec_byte_code+13170>, 0x6c1dd2 <exec_byte_code+13229>, 0x6c1e15 <exec_byte_code+13296>, 0x6c2c72 <exec_byte_code+16973>, 0x6c1e65 <exec_byte_code+13376>, 0x6c1ea0 <exec_byte_code+13435>, 0x6c1edb <exec_byte_code+13494>, 0x6c1f16 <exec_byte_code+13553>, 0x6c1f51 <exec_byte_code+13612>, 0x6c1f8c <exec_byte_code+13671>, 0x6bfc27 <exec_byte_code+4610>, 0x6c2c72 <exec_byte_code+16973>, 0x6c1fcc <exec_byte_code+13735>, 0x6c2014 <exec_byte_code+13807>, 0x6c2054 <exec_byte_code+13871>, 0x6c2094 <exec_byte_code+13935>, 0x6c20f4 <exec_byte_code+14031>, 0x6c2154 <exec_byte_code+14127>, 0x6c2194 <exec_byte_code+14191>, 0x6c21d4 <exec_byte_code+14255>, 0x6c2234 <exec_byte_code+14351>, 0x6c2294 <exec_byte_code+14447>, 0x6c22f4 <exec_byte_code+14543>, 0x6c232f <exec_byte_code+14602>, 0x6c2c72 <exec_byte_code+16973>, 0x6bfb87 <exec_byte_code+4450>, 0x6bf7d2 <exec_byte_code+3501>, 0x6bef02 <exec_byte_code+1245>, 0x6bf86a <exec_byte_code+3653>, 0x6bf8e3 <exec_byte_code+3774>, 0x6bf959 <exec_byte_code+3892>, 0x6bf9cf <exec_byte_code+4010>, 0x6bfb5b <exec_byte_code+4406>, 0x6bf30d <exec_byte_code+2280>, 0x6bfbfb <exec_byte_code+4566>, 0x6bfc53 <exec_byte_code+4654>, 0x6bfcd7 <exec_byte_code+4786>, 0x6bfd10 <exec_byte_code+4843>, 0x6bff5b <exec_byte_code+5430>, 0x6bffc9 <exec_byte_code+5540>, 0x6c0046 <exec_byte_code+5665>, 0x6c00a1 <exec_byte_code+5756>, 0x6c2c72 <exec_byte_code+16973>, 0x6c236f <exec_byte_code+14666>, 0x6c23ec <exec_byte_code+14791>, 0x6c242c <exec_byte_code+14855>, 0x6c246c <exec_byte_code+14919>, 0x6c24ac <exec_byte_code+14983>, 0x6c24ec <exec_byte_code+15047>, 0x6c254c <exec_byte_code+15143>, 0x6c25ac <exec_byte_code+15239>, 0x6c260c <exec_byte_code+15335>, 0x6c266c <exec_byte_code+15431>, 0x6c2803 <exec_byte_code+15838>, 0x6c2863 <exec_byte_code+15934>, 0x6c28c3 <exec_byte_code+16030>, 0x6c2903 <exec_byte_code+16094>, 0x6c29fa <exec_byte_code+16341>, 0x6c2af1 <exec_byte_code+16588>, 0x6c2b31 <exec_byte_code+16652>, 0x6c2b71 <exec_byte_code+16716>, 0x6c18f7 <exec_byte_code+11986>, 0x6c1a3b <exec_byte_code+12310>, 0x6c2bb8 <exec_byte_code+16787>, 0x6c2c15 <exec_byte_code+16880>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c063e <exec_byte_code+7193>, 0x6c0d58 <exec_byte_code+9011>, 0x6c1c02 <exec_byte_code+12765>, 0x6c2de2 <exec_byte_code+17341>, 0x6c2e4c <exec_byte_code+17447>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2ed3 <exec_byte_code+17582>, 0x6c2f4f <exec_byte_code+17706>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c30d2 <exec_byte_code+18093> <repeats 64 times>}
        quitcounter = 1 '\001'
        bc = 0xcd27b0 <main_thread+496>
        top = 0x7fffebd4c120
        pc = 0x7fffec9a3471 "\210\003?\205!"
        bytestr = 0x7fffec2c8d2c
        vector = 0x7fffec2c7455
        maxdepth = 0x32
        const_length = 18
        bytestr_length = 80
        vectorp = 0x7fffec2c7458
        max_stack = 12
        frame_base = 0x7fffebd4c0f0
        fp = 0x7fffebd4c150
        bytestr_data = 0x7fffec9a3457 "\306C\307\310\002\006\a#\b\204\022"
        rest = false
        mandatory = 1
        nonrest = 4
        pushedargs = 4
        result = 0x6652fd <Fprefix_numeric_value+44>
#16 0x000000000066d953 in funcall_lambda (fun=0x7fffec2b0aed, nargs=4, arg_vector=0x7fffffffc2a0) at eval.c:3194
        val = 0x7fffffffc090
        syms_left = 0x1006
        next = 0x7fffffffc080
        lexenv = 0x1fec2b0ab8
        count = {bytes = 320}
        i = 140737141618168
        optional = false
        rest = false
        previous_rest = 127
#17 0x000000000066ce09 in funcall_general (fun=0x7fffec2b0aed, numargs=4, args=0x7fffffffc2a0) at eval.c:2972
        original_fun = 0x7fffeb5535f8
#18 0x000000000066d08e in Ffuncall (nargs=5, args=0x7fffffffc298) at eval.c:3022
        count = {bytes = 288}
        val = 0x0
#19 0x0000000000662e4e in Ffuncall_interactively (nargs=5, args=0x7fffffffc298) at callint.c:250
        speccount = {bytes = 256}
#20 0x000000000066d54e in funcall_subr (subr=0xce2cc0 <Sfuncall_interactively>, numargs=5, args=0x7fffffffc298) at eval.c:3113
        maxargs = -2
        fun = 0x1200d65a10
#21 0x000000000066cdbd in funcall_general (fun=0xce2cc5 <Sfuncall_interactively+5>, numargs=5, args=0x7fffffffc298) at eval.c:2968
        original_fun = 0x8550
#22 0x000000000066d08e in Ffuncall (nargs=6, args=0x7fffffffc290) at eval.c:3022
        count = {bytes = 224}
        val = 0x7fffffffc280
#23 0x000000000066c53d in Fapply (nargs=3, args=0x7fffffffc3d0) at eval.c:2693
        i = 6
        funcall_nargs = 6
        funcall_args = 0x7fffffffc290
        spread_arg = 0x0
        fun = 0xce2cc5 <Sfuncall_interactively+5>
        sa_avail = 16336
        sa_count = {bytes = 224}
        numargs = 5
        retval = 0x7fffffffc3a0
#24 0x000000000066326a in Fcall_interactively (function=0x7fffeb5535f8, record_flag=0x0, keys=0x7fffec90f40d) at callint.c:342
        funval = 0x7fffec2b0aed
        events = 4
        speccount = {bytes = 192}
        arg_from_tty = false
        key_count = 1
        record_then_fail = false
        save_this_command = 0x7fffeb5535f8
        save_this_original_command = 0x7fffeb5535f8
        save_real_this_command = 0x7fffeb5535f8
        save_last_command = 0x7fffeb5767b0
        prefix_arg = 0x0
        enable = 0x0
        up_event = 0x0
        form = 0x7fffeb340a73
        specs = 0x7ffff7f5cb93
        sa_avail = 55487837688
        sa_count = {bytes = 0}
        string_len = 140737488341408
        string = 0x7fffec2b0aed ""
        string_end = 0x1c84555 ""
        next_event = 6583136
        nargs = 140737155631853
        args = 0x7fffffffc5a0
        visargs = 0x0
        varies = 0x0
        tem = 0x0
        val = 0x7fffec181848
#25 0x000000000066d384 in funcall_subr (subr=0xce2d00 <Scall_interactively>, numargs=3, args=0x7fffebd4c070) at eval.c:3094
        argbuf = {0x7fffeb5535f8, 0x0, 0x7fffeb340dc3, 0xa0, 0x7fffffffc670, 0x6be5a6 <SPECPDL_INDEX+43>, 0x7fffffffc6b0, 0x6be69c <record_in_backtrace+156>}
        a = 0x7fffebd4c070
        maxargs = 3
        fun = 0x1200000003
#26 0x00000000006bf655 in exec_byte_code (fun=0x7fffec92a09d, args_template=1025, nargs=1, args=0x7fffffffcda0) at bytecode.c:814
        call_nargs = 3
        call_fun = 0xce2d05 <Scall_interactively+5>
        count1 = {bytes = 160}
        val = 0x0
        call_args = 0x7fffebd4c070
        original_fun = 0x7fffeb55e408
        op = 3
        type = 3968964832

                  targets = {0x6c2c72 <exec_byte_code+16973>, 0x6c2c95 <exec_byte_code+17008>, 0x6c2c97 <exec_byte_code+17010>, 0x6c2c99 <exec_byte_code+17012>, 0x6c2c9b <exec_byte_code+17014>, 0x6c2c9b <exec_byte_code+17014>, 0x6c2cf5 <exec_byte_code+17104>, 0x6c2d5e <exec_byte_code+17209>, 0x6bee23 <exec_byte_code+1022>, 0x6bee25 <exec_byte_code+1024>, 0x6bee27 <exec_byte_code+1026>, 0x6bee29 <exec_byte_code+1028>, 0x6bee2b <exec_byte_code+1030>, 0x6bee2b <exec_byte_code+1030>, 0x6bee31 <exec_byte_code+1036>, 0x6bedf2 <exec_byte_code+973>, 0x6bf1b9 <exec_byte_code+1940>, 0x6bf1bb <exec_byte_code+1942>, 0x6bf1bd <exec_byte_code+1944>, 0x6bf1bf <exec_byte_code+1946>, 0x6bf1c1 <exec_byte_code+1948>, 0x6bf1c1 <exec_byte_code+1948>, 0x6bf1f6 <exec_byte_code+2001>, 0x6bf1c7 <exec_byte_code+1954>, 0x6bf39b <exec_byte_code+2422>, 0x6bf39d <exec_byte_code+2424>, 0x6bf39f <exec_byte_code+2426>, 0x6bf3a1 <exec_byte_code+2428>, 0x6bf3a3 <exec_byte_code+2430>, 0x6bf3a3 <exec_byte_code+2430>, 0x6bf355 <exec_byte_code+2352>, 0x6bf36c <exec_byte_code+2375>, 0x6bf445 <exec_byte_code+2592>, 0x6bf447 <exec_byte_code+2594>, 0x6bf449 <exec_byte_code+2596>, 0x6bf44b <exec_byte_code+2598>, 0x6bf44d <exec_byte_code+2600>, 0x6bf44d <exec_byte_code+2600>, 0x6bf3ff <exec_byte_code+2522>, 0x6bf416 <exec_byte_code+2545>, 0x6bf76f <exec_byte_code+3402>, 0x6bf771 <exec_byte_code+3404>, 0x6bf773 <exec_byte_code+3406>, 0x6bf775 <exec_byte_code+3408>, 0x6bf777 <exec_byte_code+3410>, 0x6bf777 <exec_byte_code+3410>, 0x6bf729 <exec_byte_code+3332>, 0x6bf740 <exec_byte_code+3355>, 0x6bff1a <exec_byte_code+5365>, 0x6bfd7b <exec_byte_code+4950>, 0x6bfd72 <exec_byte_code+4941>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c0127 <exec_byte_code+5890>, 0x6c028e <exec_byte_code+6249>, 0x6c02eb <exec_byte_code+6342>, 0x6c0346 <exec_byte_code+6433>, 0x6c03a3 <exec_byte_code+6526>, 0x6bf032 <exec_byte_code+1549>, 0x6bf0af <exec_byte_code+1674>, 0x6c0417 <exec_byte_code+6642>, 0x6bef89 <exec_byte_code+1380>, 0x6bf10f <exec_byte_code+1770>, 0x6c047a <exec_byte_code+6741>, 0x6c04da <exec_byte_code+6837>, 0x6c051a <exec_byte_code+6901>, 0x6c057a <exec_byte_code+6997>, 0x6c05d8 <exec_byte_code+7091>, 0x6c06b2 <exec_byte_code+7309>, 0x6c06f2 <exec_byte_code+7373>, 0x6c0898 <exec_byte_code+7795>, 0x6c0a66 <exec_byte_code+8257>, 0x6c0aa6 <exec_byte_code+8321>, 0x6c0ae6 <exec_byte_code+8385>, 0x6c0b46 <exec_byte_code+8481>, 0x6c0ba6 <exec_byte_code+8577>, 0x6c0c06 <exec_byte_code+8673>, 0x6c0c83 <exec_byte_code+8798>, 0x6c0cca <exec_byte_code+8869>, 0x6c0d11 <exec_byte_code+8940>, 0x6c0dcc <exec_byte_code+9127>, 0x6c0e6c <exec_byte_code+9287>, 0x6c0f0c <exec_byte_code+9447>, 0x6c0fd9 <exec_byte_code+9652>, 0x6c10b9 <exec_byte_code+9876>, 0x6c1199 <exec_byte_code+10100>, 0x6c1279 <exec_byte_code+10324>, 0x6c1359 <exec_byte_code+10548>, 0x6c1480 <exec_byte_code+10843>, 0x6c1521 <exec_byte_code+11004>, 0x6c1645 <exec_byte_code+11296>, 0x6c1703 <exec_byte_code+11486>, 0x6c17c1 <exec_byte_code+11676>, 0x6c1b2d <exec_byte_code+12552>, 0x6bfc27 <exec_byte_code+4610>, 0x6c1b80 <exec_byte_code+12635>, 0x6c1bc0 <exec_byte_code+12699>, 0x6c1c76 <exec_byte_code+12881>, 0x6c1cc9 <exec_byte_code+12964>, 0x6c1d1c <exec_byte_code+13047>, 0x6c1d5c <exec_byte_code+13111>, 0x6c1d97 <exec_byte_code+13170>, 0x6c1dd2 <exec_byte_code+13229>, 0x6c1e15 <exec_byte_code+13296>, 0x6c2c72 <exec_byte_code+16973>, 0x6c1e65 <exec_byte_code+13376>, 0x6c1ea0 <exec_byte_code+13435>, 0x6c1edb <exec_byte_code+13494>, 0x6c1f16 <exec_byte_code+13553>, 0x6c1f51 <exec_byte_code+13612>, 0x6c1f8c <exec_byte_code+13671>, 0x6bfc27 <exec_byte_code+4610>, 0x6c2c72 <exec_byte_code+16973>, 0x6c1fcc <exec_byte_code+13735>, 0x6c2014 <exec_byte_code+13807>, 0x6c2054 <exec_byte_code+13871>, 0x6c2094 <exec_byte_code+13935>, 0x6c20f4 <exec_byte_code+14031>, 0x6c2154 <exec_byte_code+14127>, 0x6c2194 <exec_byte_code+14191>, 0x6c21d4 <exec_byte_code+14255>, 0x6c2234 <exec_byte_code+14351>, 0x6c2294 <exec_byte_code+14447>, 0x6c22f4 <exec_byte_code+14543>, 0x6c232f <exec_byte_code+14602>, 0x6c2c72 <exec_byte_code+16973>, 0x6bfb87 <exec_byte_code+4450>, 0x6bf7d2 <exec_byte_code+3501>, 0x6bef02 <exec_byte_code+1245>, 0x6bf86a <exec_byte_code+3653>, 0x6bf8e3 <exec_byte_code+3774>, 0x6bf959 <exec_byte_code+3892>, 0x6bf9cf <exec_byte_code+4010>, 0x6bfb5b <exec_byte_code+4406>, 0x6bf30d <exec_byte_code+2280>, 0x6bfbfb <exec_byte_code+4566>, 0x6bfc53 <exec_byte_code+4654>, 0x6bfcd7 <exec_byte_code+4786>, 0x6bfd10 <exec_byte_code+4843>, 0x6bff5b <exec_byte_code+5430>, 0x6bffc9 <exec_byte_code+5540>, 0x6c0046 <exec_byte_code+5665>, 0x6c00a1 <exec_byte_code+5756>, 0x6c2c72 <exec_byte_code+16973>, 0x6c236f <exec_byte_code+14666>, 0x6c23ec <exec_byte_code+14791>, 0x6c242c <exec_byte_code+14855>, 0x6c246c <exec_byte_code+14919>, 0x6c24ac <exec_byte_code+14983>, 0x6c24ec <exec_byte_code+15047>, 0x6c254c <exec_byte_code+15143>, 0x6c25ac <exec_byte_code+15239>, 0x6c260c <exec_byte_code+15335>, 0x6c266c <exec_byte_code+15431>, 0x6c2803 <exec_byte_code+15838>, 0x6c2863 <exec_byte_code+15934>, 0x6c28c3 <exec_byte_code+16030>, 0x6c2903 <exec_byte_code+16094>, 0x6c29fa <exec_byte_code+16341>, 0x6c2af1 <exec_byte_code+16588>, 0x6c2b31 <exec_byte_code+16652>, 0x6c2b71 <exec_byte_code+16716>, 0x6c18f7 <exec_byte_code+11986>, 0x6c1a3b <exec_byte_code+12310>, 0x6c2bb8 <exec_byte_code+16787>, 0x6c2c15 <exec_byte_code+16880>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c063e <exec_byte_code+7193>, 0x6c0d58 <exec_byte_code+9011>, 0x6c1c02 <exec_byte_code+12765>, 0x6c2de2 <exec_byte_code+17341>, 0x6c2e4c <exec_byte_code+17447>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2ed3 <exec_byte_code+17582>, 0x6c2f4f <exec_byte_code+17706>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c2c72 <exec_byte_code+16973>, 0x6c30d2 <exec_byte_code+18093> <repeats 64 times>}
        quitcounter = 1 '\001'
        bc = 0xcd27b0 <main_thread+496>
        top = 0x7fffebd4c068
        pc = 0x7fffeca4e438 "\006\a9\205\231"
        bytestr = 0x7fffec92a1e4
        vector = 0x7fffec92a0dd
        maxdepth = 0x52
        const_length = 28
        bytestr_length = 187
        vectorp = 0x7fffec92a0e0
        max_stack = 20
        frame_base = 0x7fffebd4c030
        fp = 0x7fffebd4c0d0
        bytestr_data = 0x7fffeca4e3b1 "\304\020\211?\205\023"
        rest = false
        mandatory = 1
        nonrest = 4
        pushedargs = 1
        result = 0x7fffebd4c048
#27 0x000000000066d953 in funcall_lambda (fun=0x7fffec92a09d, nargs=1, arg_vector=0x7fffffffcd98) at eval.c:3194
        val = 0x7fffffffcbf0
        syms_left = 0x1006
        next = 0x118e0
        lexenv = 0x1f00d624a0
        count = {bytes = 160}
        i = 20448
        optional = false
        rest = false
        previous_rest = 127
#28 0x000000000066ce09 in funcall_general (fun=0x7fffec92a09d, numargs=1, args=0x7fffffffcd98) at eval.c:2972
        original_fun = 0x4fe0
#29 0x000000000066d08e in Ffuncall (nargs=2, args=0x7fffffffcd90) at eval.c:3022
        count = {bytes = 128}
        val = 0x7fffffffcc80
#30 0x00000000005aae04 in command_loop_1 () at keyboard.c:1549
        scount = {bytes = 96}
        cmd = 0x7fffeb5535f8

                  keybuf = {0x200000ea, 0xfc90, 0xc0e, 0x7fffec92edf0, 0x7fffeb9ba5e8, 0x41acd0 <_start>, 0xfc90, 0xd6d150 <lispsym+64656>, 0xfc90, 0xd6d150 <lispsym+64656>, 0x6656cc <XSYMBOL+60>, 0x30, 0x7fffffffcd40, 0x66eb5c <do_one_unbind+508>, 0x7f0100000002, 0x7fffffffcd60, 0xd5d4c0 <lispsym>, 0x0, 0x0, 0x7fffffffcd40, 0x665740 <builtin_lisp_symbol+44>, 0xdde7340, 0x7fffffffcda0, 0x66ed96 <unbind_to+198>, 0x0, 0x60, 0xb, 0xfc90, 0x30, 0xc861d0d}
        i = 1
        last_pt = 2094
        prev_modiff = 1987
        prev_buffer = 0xc861d08
#31 0x0000000000669648 in internal_condition_case (bfun=0x5aa5fe <command_loop_1>, handlers=0x90, hfun=0x5a9bc8 <cmd_error>) at eval.c:1537
        val = 0x7fffffffce80
        c = 0xe0f490
#32 0x00000000005aa26d in command_loop_2 (handlers=0x90) at keyboard.c:1167
        val = 0x2
#33 0x0000000000668b63 in internal_catch (tag=0x10c80, func=0x5aa24a <command_loop_2>, arg=0x90) at eval.c:1217
        val = 0x5a7451 <builtin_lisp_symbol+44>
        c = 0xe0e640
#34 0x00000000005aa205 in command_loop () at keyboard.c:1145
#35 0x00000000005a9777 in recursive_edit_1 () at keyboard.c:753
        count = {bytes = 32}
        val = 0x66e6ad <record_unwind_protect+114>
#36 0x00000000005a991f in Frecursive_edit () at keyboard.c:836
        count = {bytes = 0}
        buffer = 0x0
#37 0x00000000005a5e66 in main (argc=2, argv=0x7fffffffd1e8) at emacs.c:2618
        stack_bottom_variable = 0x17b70
        old_argc = 2
        dump_file = 0x0
        no_loadup = false
        junk = 0x0
        dname_arg = 0x7fffffffd600 "crash"
        ch_to_dir = 0x0
        original_pwd = 0x0
        dump_mode = 0x0
        skip_args = 1
        temacs = 0x0
        attempt_load_pdump = true
        only_version = false
        rlim = {rlim_cur = 10022912, rlim_max = 18446744073709551615}
        lc_all = 0x0
        sockfd = -1
        module_assertions = false
(gdb) 

^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-13 17:56                   ` George P
@ 2024-04-18 10:40                     ` Eli Zaretskii
  2024-04-19  9:07                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 29+ messages in thread
From: Eli Zaretskii @ 2024-04-18 10:40 UTC (permalink / raw)
  To: luangruo, George P; +Cc: 66151

> Cc: 66151@debbugs.gnu.org
> From: George P <georgepanagopo@gmail.com>
> Date: Sat, 13 Apr 2024 13:56:04 -0400
> 
> Thanks a lot for your efforts, but unfortunately the crash persists. I
> have attached the same backtraces as before but on commit 17e26cf57e1.
> 
> Please let me know if you need more information.

Thanks.

Po Lu, how should we go about making some progress here?





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-18 10:40                     ` Eli Zaretskii
@ 2024-04-19  9:07                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-04-19 11:15                         ` Eli Zaretskii
  0 siblings, 1 reply; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-19  9:07 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66151, George P

Eli Zaretskii <eliz@gnu.org> writes:

>> Cc: 66151@debbugs.gnu.org
>> From: George P <georgepanagopo@gmail.com>
>> Date: Sat, 13 Apr 2024 13:56:04 -0400
>> 
>> Thanks a lot for your efforts, but unfortunately the crash persists. I
>> have attached the same backtraces as before but on commit 17e26cf57e1.
>> 
>> Please let me know if you need more information.
>
> Thanks.
>
> Po Lu, how should we go about making some progress here?

Thanks.  My hands are quite full and will remain so into the next week,
but if this crude attempt to sidestep the crash works, it should suffice
until I establish why dead frames are still being retained in
Vfontset_table.  George?

diff --git a/src/fontset.c b/src/fontset.c
index d27fa22015e..d969e5f1180 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1366,10 +1366,11 @@ free_realized_fontsets (Lisp_Object base)
       if (CHAR_TABLE_P (this) && EQ (FONTSET_BASE (this), base))
 	{
 	  Fclear_face_cache (Qt);
-	  /* This is in case some Lisp calls this function and then
-	     proceeds with calling some other function, like font-at,
-	     which needs the basic faces.  */
-	  recompute_basic_faces (XFRAME (FONTSET_FRAME (this)));
+	  if (!FRAME_LIVE_P (XFRAME (FONTSET_FRAME (this))))
+	    /* This is in case some Lisp calls this function and then
+	       proceeds with calling some other function, like font-at,
+	       which needs the basic faces.  */
+	    recompute_basic_faces (XFRAME (FONTSET_FRAME (this)));
 	  break;
 	}
     }





^ permalink raw reply related	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-19  9:07                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-04-19 11:15                         ` Eli Zaretskii
  2024-04-19 12:00                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 29+ messages in thread
From: Eli Zaretskii @ 2024-04-19 11:15 UTC (permalink / raw)
  To: Po Lu; +Cc: 66151, georgepanagopo

> From: Po Lu <luangruo@yahoo.com>
> Cc: George P <georgepanagopo@gmail.com>,  66151@debbugs.gnu.org
> Date: Fri, 19 Apr 2024 17:07:19 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Po Lu, how should we go about making some progress here?
> 
> Thanks.  My hands are quite full and will remain so into the next week,
> but if this crude attempt to sidestep the crash works, it should suffice
> until I establish why dead frames are still being retained in
> Vfontset_table.  George?
> 
> diff --git a/src/fontset.c b/src/fontset.c
> index d27fa22015e..d969e5f1180 100644
> --- a/src/fontset.c
> +++ b/src/fontset.c
> @@ -1366,10 +1366,11 @@ free_realized_fontsets (Lisp_Object base)
>        if (CHAR_TABLE_P (this) && EQ (FONTSET_BASE (this), base))
>  	{
>  	  Fclear_face_cache (Qt);
> -	  /* This is in case some Lisp calls this function and then
> -	     proceeds with calling some other function, like font-at,
> -	     which needs the basic faces.  */
> -	  recompute_basic_faces (XFRAME (FONTSET_FRAME (this)));
> +	  if (!FRAME_LIVE_P (XFRAME (FONTSET_FRAME (this))))
> +	    /* This is in case some Lisp calls this function and then
> +	       proceeds with calling some other function, like font-at,
> +	       which needs the basic faces.  */
> +	    recompute_basic_faces (XFRAME (FONTSET_FRAME (this)));
>  	  break;
>  	}
>      }

Are you sure it should be !FRAME_LIVE_P ?  Why would we condition the
call to recompute_basic_faces on the fact that the relevant frame is
no longer alive?  What am I missing?





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-19 11:15                         ` Eli Zaretskii
@ 2024-04-19 12:00                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-04-27  8:37                             ` Eli Zaretskii
  0 siblings, 1 reply; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-04-19 12:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66151, georgepanagopo

Eli Zaretskii <eliz@gnu.org> writes:

> Are you sure it should be !FRAME_LIVE_P?

No, it should be the express opposite.

> Why would we condition the call to recompute_basic_faces on the fact
> that the relevant frame is no longer alive?  What am I missing?

Nothing, if my hurried preparation of the patch counts as nothing...  It
was altogether less successful than my simultaneous preparation for rush
hour traffic.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-19 12:00                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-04-27  8:37                             ` Eli Zaretskii
  2024-05-05 16:25                               ` George P
  0 siblings, 1 reply; 29+ messages in thread
From: Eli Zaretskii @ 2024-04-27  8:37 UTC (permalink / raw)
  To: georgepanagopo, Po Lu; +Cc: 66151

Ping!  George, could you please try Po Lu's suggestion and report
back?

> From: Po Lu <luangruo@yahoo.com>
> Cc: georgepanagopo@gmail.com,  66151@debbugs.gnu.org
> Date: Fri, 19 Apr 2024 20:00:24 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Are you sure it should be !FRAME_LIVE_P?
> 
> No, it should be the express opposite.
> 
> > Why would we condition the call to recompute_basic_faces on the fact
> > that the relevant frame is no longer alive?  What am I missing?
> 
> Nothing, if my hurried preparation of the patch counts as nothing...  It
> was altogether less successful than my simultaneous preparation for rush
> hour traffic.
> 





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-27  8:37                             ` Eli Zaretskii
@ 2024-05-05 16:25                               ` George P
  2024-05-06 11:02                                 ` Eli Zaretskii
  0 siblings, 1 reply; 29+ messages in thread
From: George P @ 2024-05-05 16:25 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Po Lu, 66151

Sorry for the late reply! I can confirm that the crash goes away with
the above patch on the latest master (with !FRAME_LIVE_P replaced with
FRAME_LIVE_P of course).

I do not know if there are any other side effects of the dead frame
being retained in Vfontset_table.

On Sat, Apr 27, 2024 at 4:37 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> Ping!  George, could you please try Po Lu's suggestion and report
> back?
>
> > From: Po Lu <luangruo@yahoo.com>
> > Cc: georgepanagopo@gmail.com,  66151@debbugs.gnu.org
> > Date: Fri, 19 Apr 2024 20:00:24 +0800
> >
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> > > Are you sure it should be !FRAME_LIVE_P?
> >
> > No, it should be the express opposite.
> >
> > > Why would we condition the call to recompute_basic_faces on the fact
> > > that the relevant frame is no longer alive?  What am I missing?
> >
> > Nothing, if my hurried preparation of the patch counts as nothing...  It
> > was altogether less successful than my simultaneous preparation for rush
> > hour traffic.
> >





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-05-05 16:25                               ` George P
@ 2024-05-06 11:02                                 ` Eli Zaretskii
  2024-05-07  0:49                                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 29+ messages in thread
From: Eli Zaretskii @ 2024-05-06 11:02 UTC (permalink / raw)
  To: luangruo, George P; +Cc: 66151

> From: George P <georgepanagopo@gmail.com>
> Date: Sun, 5 May 2024 12:25:45 -0400
> Cc: Po Lu <luangruo@yahoo.com>, 66151@debbugs.gnu.org
> 
> Sorry for the late reply! I can confirm that the crash goes away with
> the above patch on the latest master (with !FRAME_LIVE_P replaced with
> FRAME_LIVE_P of course).
> 
> I do not know if there are any other side effects of the dead frame
> being retained in Vfontset_table.

Thanks.

So I guess we can now close this bug (after installing the change)?





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-05-06 11:02                                 ` Eli Zaretskii
@ 2024-05-07  0:49                                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 29+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-05-07  0:49 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 66151-done, George P

Eli Zaretskii <eliz@gnu.org> writes:

>> From: George P <georgepanagopo@gmail.com>
>> Date: Sun, 5 May 2024 12:25:45 -0400
>> Cc: Po Lu <luangruo@yahoo.com>, 66151@debbugs.gnu.org
>> 
>> Sorry for the late reply! I can confirm that the crash goes away with
>> the above patch on the latest master (with !FRAME_LIVE_P replaced with
>> FRAME_LIVE_P of course).
>> 
>> I do not know if there are any other side effects of the dead frame
>> being retained in Vfontset_table.
>
> Thanks.
>
> So I guess we can now close this bug (after installing the change)?

Yes, now done.





^ permalink raw reply	[flat|nested] 29+ messages in thread

* bug#66151: 29.1.50; daemon crashing after X forwarding disconnects
  2024-04-09 20:36 ` George P
@ 2024-05-07 20:26   ` Benjamin Schwehn
  0 siblings, 0 replies; 29+ messages in thread
From: Benjamin Schwehn @ 2024-05-07 20:26 UTC (permalink / raw)
  To: 66151; +Cc: George P

On Tue, 9 Apr 2024 at 22:36, George P <georgepanagopo@gmail.com> wrote:
>(To Ben: try upgrading Doom and see if it fixes your issue, if not let me know!)

I can confirm that I have not seen this crash since upgrading Doom.
Thank you very much for this investigation!

Ben





^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2024-05-07 20:26 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-22 10:22 bug#66151: 29.1.50; daemon crashing after X forwarding disconnects Benjamin Schwehn
2023-09-22 12:22 ` Eli Zaretskii
2023-09-22 13:12   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-22 13:16     ` Eli Zaretskii
2023-09-22 14:28       ` Benjamin Schwehn
2023-09-22 15:07         ` Eli Zaretskii
2023-09-22 16:51           ` Benjamin Schwehn
2023-09-22 23:42             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-09 15:02 ` bug#66151: George P
2024-04-09 15:16 ` bug#66151: 29.1.50; daemon crashing after X forwarding disconnects George P
2024-04-09 17:28   ` George P
2024-04-10  2:02     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-10 15:42       ` George P
2024-04-11  0:50         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-12  2:03           ` George P
2024-04-13  1:51             ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-13  7:46               ` George P
2024-04-13 11:45                 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-13 17:56                   ` George P
2024-04-18 10:40                     ` Eli Zaretskii
2024-04-19  9:07                       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-19 11:15                         ` Eli Zaretskii
2024-04-19 12:00                           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-27  8:37                             ` Eli Zaretskii
2024-05-05 16:25                               ` George P
2024-05-06 11:02                                 ` Eli Zaretskii
2024-05-07  0:49                                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-09 20:36 ` George P
2024-05-07 20:26   ` Benjamin Schwehn

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.