GNU bug report logs - #60163
29.0.60; Error in post-command-hook (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead frame code action 0x563ea51cbf70>)

Previous Next

Package: emacs;

Reported by: 张云峰 <zhangyunfeng0101 <at> gmail.com>

Date: Sat, 17 Dec 2022 17:24:01 UTC

Severity: normal

Found in version 29.0.60

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

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

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

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


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Sat, 17 Dec 2022 17:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to 张云峰 <zhangyunfeng0101 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 17 Dec 2022 17:24:02 GMT) Full text and rfc822 format available.

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

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.60; Error in post-command-hook (winner-save-old-configurations):
 (wrong-type-argument frame-live-p #<dead frame code action
 0x563ea51cbf70>)
Date: Sat, 17 Dec 2022 22:35:52 +0800
[Message part 1 (text/plain, inline)]
In GNU Emacs 29.0.60 (build 3, x86_64-pc-linux-gnu, GTK+ Version
 3.24.33, cairo version 1.16.0) of 2022-12-17 built on Huawei
Repository revision: 4d1e4a48938be8a08e294b4a5711a2c8ce941a5a
Repository branch: emacs-29
System Description: Ubuntu 22.04.1 LTS

Configured using:
 'configure --with-xwidgets --with-native-compilation --with-sqlite3
 --with-json --with-x-toolkit=yes --with-cairo --with-pgtk
 --with-modules --with-tree-sitter --with-threads --with-m17n-flt
 --with-libsystemd'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG
SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER XIM
XWIDGETS GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: zh_CN.UTF-8
  value of $LC_NUMERIC: zh_CN.UTF-8
  value of $LC_TIME: zh_CN.UTF-8
  value of $LANG: zh_CN.UTF-8
  value of $XMODIFIERS: @im=fcitx5
  locale-coding-system: utf-8-unix

Major mode: DOOM v3.0.0-pre

Minor modes in effect:
  org-roam-db-autosync-mode: t
  global-git-commit-mode: t
  shell-dirtrack-mode: t
  which-key-mode: t
  better-jumper-mode: t
  better-jumper-local-mode: t
  vertico-mode: t
  all-the-icons-completion-mode: t
  marginalia-mode: t
  volatile-highlights-mode: t
  savehist-mode: t
  server-mode: t
  gcmh-mode: t
  global-hl-line-mode: t
  hl-line-mode: t
  winner-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  global-flycheck-mode: t
  ws-butler-global-mode: t
  editorconfig-mode: t
  format-all-mode: t
  persp-mode: t
  doom-modeline-mode: t
  solaire-global-mode: t
  solaire-mode: t
  delete-selection-mode: t
  projectile-mode: t
  smartparens-global-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  +popup-mode: t
  override-global-mode: t
  general-override-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  window-divider-mode: t
  buffer-read-only: t
  size-indication-mode: t
  column-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

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

Features:
(shadow sort disp-table whitespace flycheck-posframe vi-tilde-fringe
display-line-numbers pangu-spacing adaptive-wrap spell-fu ispell
mail-extr emacsbug org-agenda org-roam-ui org-roam-dailies simple-httpd
websocket bindat org-roam-migrate org-roam-log org-roam-mode
org-roam-capture org-roam-id org-roam-node org-roam-db org-roam-utils
org-roam-compat org-roam org-capture org-attach smartparens-org org-yt
org-element org-persist xdg org-id org-refile avl-tree org ob-emacs-lisp
org-table org-loaddefs ob ob-tangle ol ob-ref ob-lob ob-table ob-exp
org-macro org-footnote org-src org-keys oc ob-comint org-pcomplete
org-list org-entities org-faces jka-compr hide-mode-line info cal-menu
calendar cal-loaddefs emacsql-sqlite emacsql emacsql-compiler
magit-todos pcre2el rxt re-builder hl-todo async magit-autoloads
magit-submodule magit-obsolete magit-popup 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 diff-mode magit-core magit-autorevert
magit-margin magit-transient magit-process magit-mode git-commit
magit-git magit-base magit-section crm compat-27 compat-26 transient
log-edit message sendmail yank-media puny dired dired-loaddefs rfc822
mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log
with-editor shell pcomplete time-date mule-util cursor-sensor
vertico-repeat pyim pyim-hacks pyim-probe pyim-cregexp xr pyim-process
pyim-cstring pyim-autoselector pyim-punctuation pyim-outcome
pyim-indicator pyim-preview pyim-magic pyim-candidates pyim-codes
pyim-imobjs pyim-pinyin pyim-pymap pyim-entered pyim-dcache pyim-dict
pyim-page popup pyim-scheme pyim-common which-key better-jumper vertico
orderless all-the-icons-completion marginalia etags fileloop generator
xref project volatile-highlights savehist recentf tree-widget wid-edit
server autorevert filenotify gcmh hl-line winner undo-tree diff
flycheck-package package-lint imenu finder finder-inf doom-packages
package browse-url url url-proxy url-privacy url-expand url-methods
url-history url-cookie generate-lisp-file url-domsuf url-util mailcap
url-handlers flycheck find-func ws-butler editorconfig format-all
persistent-soft list-utils pcache eieio-base font-utils unicode-fonts
persp-mode doom-modeline doom-modeline-segments doom-modeline-env
doom-modeline-core all-the-icons all-the-icons-faces data-material
data-weathericons data-octicons data-fileicons data-faicons
data-alltheicons shrink-path f f-shortdoc shortdoc s compat
doom-themes-ext-treemacs doom-themes-ext-org solaire-mode face-remap
doom-dracula-theme doom-themes doom-themes-base delsel comp comp-cstr
warnings projectile lisp-mnt grep compile text-property-search comint
ansi-osc ansi-color ring ibuffer-vc ibuf-ext ibuffer ibuffer-loaddefs
let-alist ob-core org-cycle org-fold org-fold-core org-compat ob-eval
org-version org-macs format-spec smartparens-config smartparens-markdown
smartparens-text smartparens dash smartparens-lua use-package-ensure
treesit posframe markdown-mode edit-indirect color url-parse auth-source
eieio eieio-core password-cache json map url-vars thingatpt noutline
outline icons doom-snippets doom-snippets-lib yasnippet dtrt-indent
byte-opt advice ibuf-macs derived edmacro kmacro use-package-bind-key
bind-key doom-editor doom-projects doom-ui easy-mmode doom-keybinds pp
cl-extra help-mode use-package-core general tex-site rx
realgud-recursive-autoloads bytecomp byte-compile cl doom-start
doom-modules cl-seq doom doom-lib cl-macs cl-loaddefs cl-lib pcase gv
jansson dynamic-modules subr-x china-util rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-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 xwidget-internal dbusbind
inotify dynamic-setting system-font-setting font-render-setting cairo
gtk pgtk multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 762871 309998)
 (symbols 48 67911 53)
 (strings 32 187166 25680)
 (string-bytes 1 6276781)
 (vectors 16 73770)
 (vector-slots 8 1567802 52996)
 (floats 8 1146 875)
 (intervals 56 681 189)
 (buffers 984 13))



Error in post-command-hook (winner-save-old-configurations):
(wrong-type-argument frame-live-p #<dead frame code action
0x563ea51cbf70>)

after this error, emacs edit area can't edit, cursor disapeared
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Sat, 17 Dec 2022 17:55:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60;
 Error in post-command-hook (winner-save-old-configurations):
 (wrong-type-argument frame-live-p #<dead frame code action 0x563ea51cbf70>)
Date: Sat, 17 Dec 2022 19:54:23 +0200
> From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
> Date: Sat, 17 Dec 2022 22:35:52 +0800
> 
> 
> Error in post-command-hook (winner-save-old-configurations):
> (wrong-type-argument frame-live-p #<dead frame code action
> 0x563ea51cbf70>)
> 
> after this error, emacs edit area can't edit, cursor disapeared

Do you have a recipe for reproducing this problem?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Mon, 19 Dec 2022 12:16:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>, Po Lu
 <luangruo <at> yahoo.com>,
 João Távora <joaotavora <at> gmail.com>
Cc: 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Mon, 19 Dec 2022 14:15:53 +0200
[Please use Reply All to reply, to keep the bug tracker on the CC List.]

> From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
> Date: Mon, 19 Dec 2022 11:46:10 +0800
> 
> Sorry to reply you so late.
> 
> Follow these steps can reproduce this bug:
> 1. compile emacs29 with option --with-pgtk
> 2. edit source code (e.g. rust code) in lsp-bridge-mode
> 3. execute `lsp-bridge-code-action` on a variable, you will see a popup menu, press `Enter ` or just `Ctrl-g`,
> then bug reproducted.
> 
> NOTE: When I compile emacs29 without option --with-pgtk, this bug is gone, and everything is fine. so this
> bug may be relative to pgtk feature

Po Lu and João, would you please try to look at this?  The combination
of required features to reproduce the problem is beyond my abilities.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Mon, 19 Dec 2022 12:55:01 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 60163 <at> debbugs.gnu.org,
 张云峰 <zhangyunfeng0101 <at> gmail.com>,
 João Távora <joaotavora <at> gmail.com>
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Mon, 19 Dec 2022 20:54:11 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

> [Please use Reply All to reply, to keep the bug tracker on the CC List.]
>
>> From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
>> Date: Mon, 19 Dec 2022 11:46:10 +0800
>> 
>> Sorry to reply you so late.
>> 
>> Follow these steps can reproduce this bug:
>> 1. compile emacs29 with option --with-pgtk
>> 2. edit source code (e.g. rust code) in lsp-bridge-mode
>> 3. execute `lsp-bridge-code-action` on a variable, you will see a popup menu, press `Enter ` or just `Ctrl-g`,
>> then bug reproducted.
>> 
>> NOTE: When I compile emacs29 without option --with-pgtk, this bug is gone, and everything is fine. so this
>> bug may be relative to pgtk feature
>
> Po Lu and João, would you please try to look at this?  The combination
> of required features to reproduce the problem is beyond my abilities.

Unfortunately I don't have `lsp-bridge-mode' installed.  Does the dead
frame happen to be a child frame by any chance?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Mon, 19 Dec 2022 12:59:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: luangruo <at> yahoo.com, 60163 <at> debbugs.gnu.org, zhangyunfeng0101 <at> gmail.com,
 joaotavora <at> gmail.com
Subject: Re: bug#60163: 29.0.60;
 Error in post-command-hook (winner-save-old-configurations):
 (wrong-type-argument frame-live-p #<dead frame code action 0x563ea51cbf70>)
Date: Mon, 19 Dec 2022 14:58:51 +0200
> Cc: 60163 <at> debbugs.gnu.org
> Date: Mon, 19 Dec 2022 14:15:53 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
> > Date: Mon, 19 Dec 2022 11:46:10 +0800
> > 
> > Sorry to reply you so late.
> > 
> > Follow these steps can reproduce this bug:
> > 1. compile emacs29 with option --with-pgtk
> > 2. edit source code (e.g. rust code) in lsp-bridge-mode
> > 3. execute `lsp-bridge-code-action` on a variable, you will see a popup menu, press `Enter ` or just `Ctrl-g`,
> > then bug reproducted.
> > 
> > NOTE: When I compile emacs29 without option --with-pgtk, this bug is gone, and everything is fine. so this
> > bug may be relative to pgtk feature
> 
> Po Lu and João, would you please try to look at this?  The combination
> of required features to reproduce the problem is beyond my abilities.

On second thought, perhaps this is a problem with lsp-mode?  Did you
try to report this to the lsp-mode developers?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Mon, 19 Dec 2022 14:29:02 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, joaotavora <at> gmail.com, 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Mon, 19 Dec 2022 22:28:05 +0800
张云峰 <zhangyunfeng0101 <at> gmail.com> writes:

> Thanks for your quick reply.  
>
> Yes, I did, the author of lsp-bridge thinks that this bug belongs to emacs itself.
> What's confusing is that lsp-bridge works very well in emacs28 and emacs29 without pgtk feature. 
> And I think that even if it is a bug in a third-party library, it should not cause emacs to be unable to edit.

If you put a breakpoint with GDB on delete_frame set to only print a
backtrace and then continue (would someone else please explain the
procedure, as it's 10:30 PM here), what is printed immediately before
the error?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Mon, 19 Dec 2022 18:12:03 GMT) Full text and rfc822 format available.

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

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: luangruo <at> yahoo.com, joaotavora <at> gmail.com, 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Mon, 19 Dec 2022 21:32:08 +0800
[Message part 1 (text/plain, inline)]
Thanks for your quick reply.

Yes, I did, the author of lsp-bridge thinks that this bug belongs to emacs
itself.
What's confusing is that lsp-bridge
<https://github.com/manateelazycat/lsp-bridge>works very well in emacs28
and emacs29 without pgtk feature.
And I think that even if it is a bug in a third-party library, it should
not cause emacs to be unable to edit.


Eli Zaretskii <eliz <at> gnu.org> 于2022年12月19日周一 20:58写道:

> > Cc: 60163 <at> debbugs.gnu.org
> > Date: Mon, 19 Dec 2022 14:15:53 +0200
> > From: Eli Zaretskii <eliz <at> gnu.org>
> >
> > > From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
> > > Date: Mon, 19 Dec 2022 11:46:10 +0800
> > >
> > > Sorry to reply you so late.
> > >
> > > Follow these steps can reproduce this bug:
> > > 1. compile emacs29 with option --with-pgtk
> > > 2. edit source code (e.g. rust code) in lsp-bridge-mode
> > > 3. execute `lsp-bridge-code-action` on a variable, you will see a
> popup menu, press `Enter ` or just `Ctrl-g`,
> > > then bug reproducted.
> > >
> > > NOTE: When I compile emacs29 without option --with-pgtk, this bug is
> gone, and everything is fine. so this
> > > bug may be relative to pgtk feature
> >
> > Po Lu and João, would you please try to look at this?  The combination
> > of required features to reproduce the problem is beyond my abilities.
>
> On second thought, perhaps this is a problem with lsp-mode?  Did you
> try to report this to the lsp-mode developers?
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Mon, 19 Dec 2022 18:12:03 GMT) Full text and rfc822 format available.

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

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: luangruo <at> yahoo.com, joaotavora <at> gmail.com, 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Mon, 19 Dec 2022 22:12:54 +0800
[Message part 1 (text/plain, inline)]
Thanks for your quick reply.

Yes, I did, the author of lsp-bridge thinks that this bug belongs to emacs
itself.
What's confusing is that lsp-bridge
<https://github.com/manateelazycat/lsp-bridge>works very well in emacs28
and emacs29 without pgtk feature.
And I think that even if it is a bug in a third-party library, it should
not cause emacs to be unable to edit.

Eli Zaretskii <eliz <at> gnu.org> 于2022年12月19日周一 20:58写道:

> > Cc: 60163 <at> debbugs.gnu.org
> > Date: Mon, 19 Dec 2022 14:15:53 +0200
> > From: Eli Zaretskii <eliz <at> gnu.org>
> >
> > > From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
> > > Date: Mon, 19 Dec 2022 11:46:10 +0800
> > >
> > > Sorry to reply you so late.
> > >
> > > Follow these steps can reproduce this bug:
> > > 1. compile emacs29 with option --with-pgtk
> > > 2. edit source code (e.g. rust code) in lsp-bridge-mode
> > > 3. execute `lsp-bridge-code-action` on a variable, you will see a
> popup menu, press `Enter ` or just `Ctrl-g`,
> > > then bug reproducted.
> > >
> > > NOTE: When I compile emacs29 without option --with-pgtk, this bug is
> gone, and everything is fine. so this
> > > bug may be relative to pgtk feature
> >
> > Po Lu and João, would you please try to look at this?  The combination
> > of required features to reproduce the problem is beyond my abilities.
>
> On second thought, perhaps this is a problem with lsp-mode?  Did you
> try to report this to the lsp-mode developers?
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Mon, 19 Dec 2022 18:12:04 GMT) Full text and rfc822 format available.

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

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, joaotavora <at> gmail.com, 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Mon, 19 Dec 2022 23:49:13 +0800
[Message part 1 (text/plain, inline)]
Done.

[Detaching after vfork from child process 650535]
[Detaching after vfork from child process 650536]
[Detaching after vfork from child process 650537]
[Detaching after vfork from child process 650538]
[Detaching after vfork from child process 650539]
[Detaching after vfork from child process 650540]
[Detaching after vfork from child process 650541]
[Detaching after vfork from child process 650542]
[Detaching after vfork from child process 650543]
[Detaching after vfork from child process 650544]
[Detaching after vfork from child process 650545]
[Detaching after vfork from child process 650546]
[Detaching after vfork from child process 650547]
[Detaching after vfork from child process 650729]
[Detaching after vfork from child process 650730]
[Detaching after vfork from child process 650731]
[Detaching after vfork from child process 650732]

Thread 1 "emacs" hit Breakpoint 1, delete_frame (frame=0x555558c02e05,
force=0x0) at frame.c:1932
1932 {
(gdb) l
1927 * unconditionally.  x_connection_closed and delete_terminal use this.
1928 * Any other value of FORCE implements the semantics described for
1929 * Fdelete_frame.  */
1930 Lisp_Object
1931 delete_frame (Lisp_Object frame, Lisp_Object force)
1932 {
1933 struct frame *f = decode_any_frame (frame);
1934 struct frame *sf;
1935 struct kboard *kb;
1936 Lisp_Object frames, frame1;
(gdb) c
Continuing.
[Detaching after vfork from child process 650742]
[Detaching after vfork from child process 650964]

 *==================================================> here emacs can't
edit, no cursor( cursor in edit area just disappeared), but mouse pointer
can select text in emacs and hover event also can trigger.*

*What should I do next ?*

Po Lu <luangruo <at> yahoo.com> 于2022年12月19日周一 22:28写道:

> 张云峰 <zhangyunfeng0101 <at> gmail.com> writes:
>
> > Thanks for your quick reply.
> >
> > Yes, I did, the author of lsp-bridge thinks that this bug belongs to
> emacs itself.
> > What's confusing is that lsp-bridge works very well in emacs28 and
> emacs29 without pgtk feature.
> > And I think that even if it is a bug in a third-party library, it should
> not cause emacs to be unable to edit.
>
> If you put a breakpoint with GDB on delete_frame set to only print a
> backtrace and then continue (would someone else please explain the
> procedure, as it's 10:30 PM here), what is printed immediately before
> the error?
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Mon, 19 Dec 2022 18:12:04 GMT) Full text and rfc822 format available.

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

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, joaotavora <at> gmail.com, 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Tue, 20 Dec 2022 00:11:44 +0800
[Message part 1 (text/plain, inline)]
[image: 截图 2022-12-20 00-07-26.png]

Po Lu <luangruo <at> yahoo.com> 于2022年12月19日周一 22:28写道:

> 张云峰 <zhangyunfeng0101 <at> gmail.com> writes:
>
> > Thanks for your quick reply.
> >
> > Yes, I did, the author of lsp-bridge thinks that this bug belongs to
> emacs itself.
> > What's confusing is that lsp-bridge works very well in emacs28 and
> emacs29 without pgtk feature.
> > And I think that even if it is a bug in a third-party library, it should
> not cause emacs to be unable to edit.
>
> If you put a breakpoint with GDB on delete_frame set to only print a
> backtrace and then continue (would someone else please explain the
> procedure, as it's 10:30 PM here), what is printed immediately before
> the error?
>
[Message part 2 (text/html, inline)]
[截图 2022-12-20 00-07-26.png (image/png, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Tue, 20 Dec 2022 01:41:02 GMT) Full text and rfc822 format available.

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

From: Po Lu <luangruo <at> yahoo.com>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, joaotavora <at> gmail.com, 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Tue, 20 Dec 2022 09:40:10 +0800
张云峰 <zhangyunfeng0101 <at> gmail.com> writes:

> Done. 
>
> [Detaching after vfork from child process 650535]
> [Detaching after vfork from child process 650536]
> [Detaching after vfork from child process 650537]
> [Detaching after vfork from child process 650538]
> [Detaching after vfork from child process 650539]
> [Detaching after vfork from child process 650540]
> [Detaching after vfork from child process 650541]
> [Detaching after vfork from child process 650542]
> [Detaching after vfork from child process 650543]
> [Detaching after vfork from child process 650544]
> [Detaching after vfork from child process 650545]
> [Detaching after vfork from child process 650546]
> [Detaching after vfork from child process 650547]
> [Detaching after vfork from child process 650729]
> [Detaching after vfork from child process 650730]
> [Detaching after vfork from child process 650731]
> [Detaching after vfork from child process 650732]
>
> Thread 1 "emacs" hit Breakpoint 1, delete_frame (frame=0x555558c02e05, force=0x0) at frame.c:1932
> 1932 {
> (gdb) l
> 1927 * unconditionally.  x_connection_closed and delete_terminal use this.
> 1928 * Any other value of FORCE implements the semantics described for
> 1929 * Fdelete_frame.  */
> 1930 Lisp_Object
> 1931 delete_frame (Lisp_Object frame, Lisp_Object force)
> 1932 {
> 1933 struct frame *f = decode_any_frame (frame);
> 1934 struct frame *sf;
> 1935 struct kboard *kb;
> 1936 Lisp_Object frames, frame1;
> (gdb) c
> Continuing.         
> [Detaching after vfork from child process 650742]
> [Detaching after vfork from child process 650964]
>
>  ==================================================> here emacs can't edit, no cursor( cursor in edit area just disappeared), but
> mouse pointer can select text in emacs and hover event also can trigger.
>
> What should I do next ?

Please type "bt" instead of "c", to display what led to delete_frame
being called.  Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Tue, 20 Dec 2022 02:27:02 GMT) Full text and rfc822 format available.

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

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, joaotavora <at> gmail.com, 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Tue, 20 Dec 2022 10:25:47 +0800
[Message part 1 (text/plain, inline)]
Please check now.
Thread 1 "emacs" hit Breakpoint 1, delete_frame (frame=0x55555c1e73f5,
force=0x0) at frame.c:1932
1932 {
(gdb) bt
#0  delete_frame (frame=0x55555c1e73f5, force=0x0) at frame.c:1932
#1  0x0000555555765ba3 in eval_sub (form=<optimized out>) at eval.c:2501
#2  0x0000555555765dcd in Fprogn (body=0x55555b086633) at eval.c:436
#3  0x0000555555765a68 in eval_sub (form=<optimized out>) at eval.c:2449
#4  0x0000555555765a68 in eval_sub (form=<optimized out>) at eval.c:2449
#5  0x0000555555766c6d in Fprogn (body=0x55555b086c43) at eval.c:436
#6  funcall_lambda (fun=0x55555b0860b3, nargs=0, arg_vector=0x7fffffffce00)
at eval.c:3233
#7  0x000055555576721f in apply_lambda (fun=<optimized out>,
args=<optimized out>, count=...) at eval.c:3103
#8  0x000055555576538b in eval_sub (form=<optimized out>) at eval.c:2588
#9  0x0000555555766c6d in Fprogn (body=0x55555b087343) at eval.c:436
#10 funcall_lambda (fun=0x55555b087023, nargs=0, arg_vector=0x7fffe7d00048)
at eval.c:3233
#11 0x0000555555761c13 in Ffuncall (nargs=1, args=0x7fffe7d00040) at
eval.c:2995
#12 0x0000555555762028 in Fapply (nargs=2, args=0x7fffe7d00040) at
eval.c:2619
#13 0x00005555557aac77 in exec_byte_code (fun=<optimized out>,
args_template=<optimized out>, nargs=<optimized out>, args=<optimized out>)
at bytecode.c:809
#14 0x0000555555761c13 in Ffuncall (nargs=nargs <at> entry=1,
args=args <at> entry=0x7fffffffd2b8)
at eval.c:2995
#15 0x000055555575d8d3 in Ffuncall_interactively (nargs=1,
args=0x7fffffffd2b8) at callint.c:248
#16 0x0000555555761c13 in Ffuncall (nargs=2, args=0x7fffffffd2b0) at
eval.c:2995
#17 0x0000555555762028 in Fapply (nargs=nargs <at> entry=3,
args=args <at> entry=0x7fffffffd2b0)
at eval.c:2619
#18 0x000055555575f287 in Fcall_interactively (function=0x39269e0,
record_flag=0x0, keys=0x55555dad1525) at callint.c:340
#19 0x00007fffe909f795 in F636f6d6d616e642d65786563757465_command_execute_0
()
    at /home/
zhangyunfeng <at> pudu.com/github.com/emacs/src/../native-lisp/29.0.60-2dd24eb2/preloaded/simple-fab5b0cf-b9ebea66.eln
#20 0x0000555555761c13 in Ffuncall (nargs=nargs <at> entry=2,
args=args <at> entry=0x7fffffffd460)
at eval.c:2995
#21 0x00005555556e4f10 in call1 (arg1=<optimized out>, fn=0x49b0) at /home/
zhangyunfeng <at> pudu.com/github.com/emacs/src/lisp.h:3247
#22 command_loop_1 () at keyboard.c:1495
#23 0x0000555555760217 in internal_condition_case
(bfun=bfun <at> entry=0x5555556e4af0
<command_loop_1>, handlers=handlers <at> entry=0x90, hfun=hfun <at> entry=0x5555556d7c30
<cmd_error>) at eval.c:1474
#24 0x00005555556d02de in command_loop_2 (handlers=handlers <at> entry=0x90) at
keyboard.c:1125
#25 0x0000555555760159 in internal_catch (tag=tag <at> entry=0xfba0,
func=func <at> entry=0x5555556d02b0 <command_loop_2>, arg=arg <at> entry=0x90) at
eval.c:1197
#26 0x00005555556d0279 in command_loop () at keyboard.c:1103
#27 0x00005555556d7788 in recursive_edit_1 () at keyboard.c:712
#28 0x00005555556d7b30 in Frecursive_edit () at keyboard.c:795
#29 0x00005555555e8df5 in main (argc=<optimized out>, argv=<optimized out>)
at emacs.c:2529

Po Lu <luangruo <at> yahoo.com> 于2022年12月20日周二 09:40写道:

> 张云峰 <zhangyunfeng0101 <at> gmail.com> writes:
>
> > Done.
> >
> > [Detaching after vfork from child process 650535]
> > [Detaching after vfork from child process 650536]
> > [Detaching after vfork from child process 650537]
> > [Detaching after vfork from child process 650538]
> > [Detaching after vfork from child process 650539]
> > [Detaching after vfork from child process 650540]
> > [Detaching after vfork from child process 650541]
> > [Detaching after vfork from child process 650542]
> > [Detaching after vfork from child process 650543]
> > [Detaching after vfork from child process 650544]
> > [Detaching after vfork from child process 650545]
> > [Detaching after vfork from child process 650546]
> > [Detaching after vfork from child process 650547]
> > [Detaching after vfork from child process 650729]
> > [Detaching after vfork from child process 650730]
> > [Detaching after vfork from child process 650731]
> > [Detaching after vfork from child process 650732]
> >
> > Thread 1 "emacs" hit Breakpoint 1, delete_frame (frame=0x555558c02e05,
> force=0x0) at frame.c:1932
> > 1932 {
> > (gdb) l
> > 1927 * unconditionally.  x_connection_closed and delete_terminal use
> this.
> > 1928 * Any other value of FORCE implements the semantics described for
> > 1929 * Fdelete_frame.  */
> > 1930 Lisp_Object
> > 1931 delete_frame (Lisp_Object frame, Lisp_Object force)
> > 1932 {
> > 1933 struct frame *f = decode_any_frame (frame);
> > 1934 struct frame *sf;
> > 1935 struct kboard *kb;
> > 1936 Lisp_Object frames, frame1;
> > (gdb) c
> > Continuing.
> > [Detaching after vfork from child process 650742]
> > [Detaching after vfork from child process 650964]
> >
> >  ==================================================> here emacs can't
> edit, no cursor( cursor in edit area just disappeared), but
> > mouse pointer can select text in emacs and hover event also can trigger.
> >
> > What should I do next ?
>
> Please type "bt" instead of "c", to display what led to delete_frame
> being called.  Thanks.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Tue, 20 Dec 2022 08:13:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>,
 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Tue, 20 Dec 2022 09:12:01 +0100
> after this error, emacs edit area can't edit, cursor disapeared

Does C-x 5 2 work?  Can you interact with the minibuffer?  If so, what
does M-: (frame-list) evaluate to?

martin




Message #42 received at 60163-quiet <at> debbugs.gnu.org (full text, mbox):

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: 60163-quiet <at> debbugs.gnu.org
Subject: code-to-reproduce-bug#60163
Date: Wed, 21 Dec 2022 13:49:30 +0800
[Message part 1 (text/plain, inline)]

[Message part 2 (text/html, inline)]
[code-to-reproduce-emacs-bug#60163.tar.gz (application/gzip, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Wed, 21 Dec 2022 09:23:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Wed, 21 Dec 2022 10:22:07 +0100
> I can't interact with the minibuffer, and I can't type in emacs also.

Then this bug is more complex than you described.  What does

wmctrl -l

tell about Emacs' windows?  Is Emacs itself busy looping?

> I have attached code to help you reproduce this bug.
> Prerequisites: Compile emacs29 with option --with-pgtk.

Sorry but I have neither ts nor npm installed.

martin





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Wed, 21 Dec 2022 14:52:01 GMT) Full text and rfc822 format available.

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

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Wed, 21 Dec 2022 22:50:35 +0800
[Message part 1 (text/plain, inline)]
Hello, martin.

There is a simpler way to reproduce the bug

please replace code in *run-me-to-produce-the-bug.sh*  with

```
echo "Please make sure 'clangd' has installed!"

cd demo-code

echo "int main() {

  /* M-x  lsp-bridge-code action */
  const int place_cursor_here_then_M_X_lsp_bridge_code_action = 1
}" > code.c

git init

cd ..

emacs -Q -L ./lsp-bridge  -L ./posframe -L ./markdown-mode  -L ./yasnippet
  demo-code/code.c --eval="(require 'lsp-bridge)" --eval="(lsp-bridge-mode)"
```

and run  *run-me-to-product-the-bug.sh   *to reproduce the bug in c
language.

martin rudalics <rudalics <at> gmx.at> 于2022年12月21日周三 17:22写道:

>  > I can't interact with the minibuffer, and I can't type in emacs also.
>
> Then this bug is more complex than you described.  What does
>
> wmctrl -l
>
> tell about Emacs' windows?  Is Emacs itself busy looping?
>
>  > I have attached code to help you reproduce this bug.
>  > Prerequisites: Compile emacs29 with option --with-pgtk.
>
> Sorry but I have neither ts nor npm installed.
>
> martin
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Wed, 21 Dec 2022 17:07:01 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Wed, 21 Dec 2022 18:06:48 +0100
> echo "Please make sure 'clangd' has installed!"

Sorry, but I don't have clangd installed either.

But let's try one thing first: IIUC 'winner-save-old-configurations' can
fail in the indicated way only if it tries to insert a dead frame.  So
please try with the following trivial patch:

diff --git a/lisp/winner.el b/lisp/winner.el
index c8354b18be..9fd86ae23f 100644
--- a/lisp/winner.el
+++ b/lisp/winner.el
@@ -178,7 +178,8 @@ winner-save-old-configurations
       (setq winner-last-frames nil)
       (setq winner-last-command this-command))
     (dolist (frame winner-modified-list)
-      (winner-insert-if-new frame))
+      (when (frame-live-p frame)
+        (winner-insert-if-new frame)))
     (setq winner-modified-list nil)
     (winner-remember)))


I doubt it will help much but at least we can exclude one possible
source of troubles.

martin




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Thu, 22 Dec 2022 02:35:01 GMT) Full text and rfc822 format available.

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

From: 张云峰 <zhangyunfeng0101 <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Thu, 22 Dec 2022 10:34:36 +0800
[Message part 1 (text/plain, inline)]
Hello, I tested your patch just now, unfortunately, it doesn't work。

martin rudalics <rudalics <at> gmx.at> 于2022年12月22日周四 01:06写道:

>  > echo "Please make sure 'clangd' has installed!"
>
> Sorry, but I don't have clangd installed either.
>
> But let's try one thing first: IIUC 'winner-save-old-configurations' can
> fail in the indicated way only if it tries to insert a dead frame.  So
> please try with the following trivial patch:
>
> diff --git a/lisp/winner.el b/lisp/winner.el
> index c8354b18be..9fd86ae23f 100644
> --- a/lisp/winner.el
> +++ b/lisp/winner.el
> @@ -178,7 +178,8 @@ winner-save-old-configurations
>         (setq winner-last-frames nil)
>         (setq winner-last-command this-command))
>       (dolist (frame winner-modified-list)
> -      (winner-insert-if-new frame))
> +      (when (frame-live-p frame)
> +        (winner-insert-if-new frame)))
>       (setq winner-modified-list nil)
>       (winner-remember)))
>
>
> I doubt it will help much but at least we can exclude one possible
> source of troubles.
>
> martin
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Thu, 22 Dec 2022 10:16:02 GMT) Full text and rfc822 format available.

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

From: martin rudalics <rudalics <at> gmx.at>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Thu, 22 Dec 2022 11:15:35 +0100
> Hello, I tested your patch just now, unfortunately, it doesn't work。

In what sense?  Do you still get

Error in post-command-hook (winner-save-old-configurations):
(wrong-type-argument frame-live-p #<dead frame code action
0x563ea51cbf70>)

martin

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#60163; Package emacs. (Wed, 07 Jun 2023 01:35:01 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: martin rudalics <rudalics <at> gmx.at>, 60163 <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Wed, 07 Jun 2023 03:34:35 +0200
martin rudalics <rudalics <at> gmx.at> writes:

> > Hello, I tested your patch just now, unfortunately, it doesn't work。
>
> In what sense?  Do you still get
>
> Error in post-command-hook (winner-save-old-configurations):
> (wrong-type-argument frame-live-p #<dead frame code action
> 0x563ea51cbf70>)

It would be valuable to get an answer, else we can't make any progress
(and unfortunately only close the bug, since we can't reproduce it).


TIA,

Michael.




Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Mon, 11 Sep 2023 18:11:01 GMT) Full text and rfc822 format available.

Notification sent to 张云峰 <zhangyunfeng0101 <at> gmail.com>:
bug acknowledged by developer. (Mon, 11 Sep 2023 18:11:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>,
 张云峰 <zhangyunfeng0101 <at> gmail.com>
Cc: martin rudalics <rudalics <at> gmx.at>, 60163-done <at> debbugs.gnu.org
Subject: Re: bug#60163: 29.0.60; Error in post-command-hook
 (winner-save-old-configurations): (wrong-type-argument frame-live-p #<dead
 frame code action 0x563ea51cbf70>)
Date: Mon, 11 Sep 2023 11:10:03 -0700
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> martin rudalics <rudalics <at> gmx.at> writes:
>
>> > Hello, I tested your patch just now, unfortunately, it doesn't work。
>>
>> In what sense?  Do you still get
>>
>> Error in post-command-hook (winner-save-old-configurations):
>> (wrong-type-argument frame-live-p #<dead frame code action
>> 0x563ea51cbf70>)
>
> It would be valuable to get an answer, else we can't make any progress
> (and unfortunately only close the bug, since we can't reproduce it).

More information was requested, but none was given within 3 months, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Oct 2023 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 191 days ago.

Previous Next


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