From unknown Sat Aug 16 19:15:31 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4856: 23.1.50; menu-updating-frame stays set to dead frame Reply-To: Rob Giardina , 4856@debbugs.gnu.org Resent-From: Rob Giardina Original-Sender: rob.giardina@gmail.com Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 02 Nov 2009 20:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4856 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125719276527219 (code B ref -1); Mon, 02 Nov 2009 20:20:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Nov 2009 20:12:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA2KCixJ027216 for ; Mon, 2 Nov 2009 12:12:45 -0800 Received: from mx10.gnu.org ([199.232.76.166]:56391) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1N53Gd-00037b-3m for emacs-pretest-bug@gnu.org; Mon, 02 Nov 2009 15:12:43 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1N53Ga-0006tu-9g for emacs-pretest-bug@gnu.org; Mon, 02 Nov 2009 15:12:42 -0500 Received: from mail-bw0-f215.google.com ([209.85.218.215]:60425) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N53GZ-0006te-LP for emacs-pretest-bug@gnu.org; Mon, 02 Nov 2009 15:12:40 -0500 Received: by bwz7 with SMTP id 7so6875520bwz.26 for ; Mon, 02 Nov 2009 12:12:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=GBLWiHqioOhKe/q9pEdEvryKRAHlWEWz6uFCTdL++tQ=; b=I1QOmDl44fTKXvDXuxEktuIYhKwZA6LEYDxWnW+Q9uXcjdNQABv8kTIUOV+U+yQWAi XLXFujfDnl2iWPnyKyfk+Ls79eqJ960hVDMIQLtZPuXmrZUBYV8DQxZpbu6LkiIrXXOn 6AxCdSku4tyJdULdlNyCvnLii8j33YatETOKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=Fsx7U0Zg8wydC34oQx/7y3p9BuEWCR7q//QSwmfvlW4jAouzvVxIm1RmiNsBs2GyfR zbPAksdGJHEeUB0ibvUurYb9+kFX2N4P+lvJvKQOGwjd9p0bFvRJ5cKtq3c8bq/GICv6 vMUq0VqhPy+qB77JGkv57d5ryqI50FzrGs31k= MIME-Version: 1.0 Sender: rob.giardina@gmail.com Received: by 10.204.156.19 with SMTP id u19mr4370853bkw.62.1257192758172; Mon, 02 Nov 2009 12:12:38 -0800 (PST) From: Rob Giardina Date: Mon, 2 Nov 2009 16:12:18 -0400 X-Google-Sender-Auth: b60c59650e6a3bf3 Message-ID: <275d7f050911021212hb694093i8504a1546596f348@mail.gmail.com> To: emacs-pretest-bug@gnu.org Content-Type: multipart/alternative; boundary=0015175cd162c3dc87047768ff2f X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --0015175cd162c3dc87047768ff2f Content-Type: text/plain; charset=ISO-8859-1 Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 1) created second frame 2) killed second frame after some random editing 3) in first frame, on attempt to kill buffer saw: menu-bar-non-minibuffer-window-p: Wrong type argument: frame-live-p, # checked that function, it checks the value of menu-updating-frame and uses it here: 1564:(let ((menu-frame (or menu-updating-frame (selected-frame)))) 1565: (not (window-minibuffer-p (frame-selected-window menu-frame))))) 4) workaround: (setq menu-updating-frame nil) perhaps menu-updating-frame needs to be nil'd on delete-frame near frame.c:1436: > /* Don't allow minibuf_window to remain on a deleted frame. */ > if (EQ (f->minibuffer_window, minibuf_window)) regards, rob If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/share/emacs/23.1.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.4) of 2009-10-19 on robcvm Windowing system distributor `The X.Org Foundation', version 11.0.70101000 configured using `configure '--with-x-toolkit=gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: which-function-mode: t shell-dirtrack-mode: t minibuffer-depth-indicate-mode: t diff-auto-refine-mode: t savehist-mode: t auto-insert-mode: t icomplete-mode: t recentf-mode: t delete-selection-mode: t global-highlight-changes-mode: t highlight-changes-visible-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-g C-x o C-x 1 C-g C-x 5 0 C-x 5 C-g C-x b C-g C-x k M-x s c r ( f r a m e - l i s t ) C-u C-x C-e C-x 2 C-p C-p C-p C-e C-x o C-x b C-x o C-u C-x C-e C-_ C-a C-n C-n ( b u f f e r - l i s t ) C-x C-e C-a ( m a p c a r SPC C-h C-g C-h f b u f f e r SPC f r a m e C-g C-h f f r a m e C-g C-h C-a C-h a f r a m e C-x o C-x 1 C-s b u f f e r C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-r C-r C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a C-M-k C-x k C-x C-g M-x r g SPC d e b u g C-x k C-x o C-x o C-n C-n C-n M-f M-. C-g C-n C-e M-z C-x C-e C-x o C-M-k q C-x k SPC SPC C-h v C-x o M-: ( s e t q SPC m e n u - u p d a t i n g - f r a m e SPC n i l ) C-x k C-M-k C-x o C-p C-p C-n C-n C-SPC M-b M-b M-b M-w M-x r e p o r t SPC b u g e m SPC SPC Recent messages: unzipping menu-bar.el.gz...done Edebug: menu-bar-non-minibuffer-window-p menu-bar-non-minibuffer-window-p Entering debugger... Back to top level. [2 times] Result: # Type M-x display-buffer RET to restore the other window. nil Mark set Load-path shadows: /usr/share/emacs/site-lisp/python-mode hides ~/emacs/main/python-mode /usr/share/emacs/site-lisp/psvn hides ~/emacs/main/psvn ~/emacs/main/u-color-cycle hides ~/emacs/games/u-color-cycle /usr/share/emacs/site-lisp/t-mouse hides /usr/local/share/emacs/23.1.50/lisp/t-mouse ~/emacs/main/dired-x hides /usr/local/share/emacs/23.1.50/lisp/dired-x ~/emacs/main/remember hides /usr/local/share/emacs/23.1.50/lisp/textmodes/remember ~/emacs/experimental/css-mode hides /usr/local/share/emacs/23.1.50/lisp/textmodes/css-mode ~/emacs/main/sgml-mode hides /usr/local/share/emacs/23.1.50/lisp/textmodes/sgml-mode ~/emacs/main/ruby-mode hides /usr/local/share/emacs/23.1.50/lisp/progmodes/ruby-mode ~/emacs/games/tetris hides /usr/local/share/emacs/23.1.50/lisp/play/tetris ~/emacs/experimental/html2text hides /usr/local/share/emacs/23.1.50/lisp/gnus/html2text ~/emacs/experimental/elp hides /usr/local/share/emacs/23.1.50/lisp/emacs-lisp/elp Features: (shadow emacsbug apropos ibuf-ext cl-specs edebug vc-git hideshow which-func imenu jdok tempo cc-mode cc-fonts cc-menus cc-styles cc-align find-func tabify man hippie-exp rect sh-script executable mail-extr newcomment etags tramp-imap epa epg epg-config imap-hash sendmail imap message idna ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util netrc password-cache format-spec tramp-compat trampver ansi-color shell cc-subword face-remap debug multi-isearch dired-sort date-parse cl-compat dired-x dired-aux dired-details dired eldoc mb-depth mouse-drag filladapt scala-mode-auto chop psvn log-edit pcvs-util add-log diff-mode savehist paren mic-paren pgg pgg-parse pgg-def darcs winner escreen autoinsert icomplete time cus-start cus-load recentf tree-widget edmacro kmacro jka-compr bookmark-popmenu bookmark pp cc-cmds cc-engine cc-vars cc-defs delsel disp-table server ffap ido browse-kill-ring ibuffer remember org-remember solar cal-dst regexp-opt cal-menu calendar cal-loaddefs hilit-chg wid-edit screen-lines org byte-opt bytecomp byte-compile org-footnote org-src org-list org-faces org-compat org-macs time-date noutline outline easy-mmode hl-line info-look info rg-todo derived comint-popup comint ring switch-to-shell rg-compress seek-indent advice help-fns help-mode easymenu view advice-preload rg-util cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process gtk x-toolkit x multi-tty emacs) --0015175cd162c3dc87047768ff2f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Please write in English if possible, because the Emacs maintainers
usual= ly do not have translators to read other languages for them.

Your bu= g report will be posted to the emacs-pretest-bug@gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the preci= se symptoms of the bug:

1) created second frame
2) killed second = frame after some random editing
3) in first frame, on attempt to kill bu= ffer saw:

menu-bar-non-minibuffer-window-p: Wrong type argument: frame-live-p, #&= lt;dead frame [Gnu/Linux:robcvm] /home/rgiardina/emacs/rg-mac.el 0xaedc088&= gt;

checked that function, it checks the value of menu-updating-fram= e and uses it here:

1564:(let ((menu-frame (or menu-updating-frame (selected-frame))))
1= 565:=A0 (not (window-minibuffer-p (frame-selected-window menu-frame)))))
4) workaround: (setq menu-updating-frame nil)

perhaps menu-upda= ting-frame needs to be nil'd on delete-frame near
frame.c:1436:

> /* Don't allow minibuf_window to remain on a = deleted frame.=A0 */
> if (EQ (f->minibuffer_window, minibuf_windo= w))

regards,
rob


If Emacs crashed, and you have the Em= acs process in the gdb debugger,
please include the output from the following gdb commands:
=A0=A0=A0 `bt= full' and `xbacktrace'.
If you would like to further debug the = crash, please read the file
/usr/local/share/emacs/23.1.50/etc/DEBUG for= instructions.


In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.4)
= =A0of 2009-10-19 on robcvm
Windowing system distributor `The X.Org Found= ation', version 11.0.70101000
configured using `configure=A0 '--= with-x-toolkit=3Dgtk''

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: en_US.UTF-8
=A0 value of $XMODIFIERS: @im=3Dnone
= =A0 locale-coding-system: utf-8-unix
=A0 default enable-multibyte-charac= ters: t

Major mode: Fundamental

Minor modes in effect:
=A0= which-function-mode: t
=A0 shell-dirtrack-mode: t
=A0 minibuffer-depth-indicate-mode: t
=A0 = diff-auto-refine-mode: t
=A0 savehist-mode: t
=A0 auto-insert-mode: t=
=A0 icomplete-mode: t
=A0 recentf-mode: t
=A0 delete-selection-mo= de: t
=A0 global-highlight-changes-mode: t
=A0 highlight-changes-visible-mode: t
=A0 tooltip-mode: t
=A0 mouse-w= heel-mode: t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: = t
=A0 blink-cursor-mode: t
=A0 global-auto-composition-mode: t
=A0= auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 size-indication-mode: t
=A0 column-n= umber-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t
<= br>Recent input:
<help-echo> <down-mouse-1> <mouse-1> = C-g C-x o C-x
1 <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1>=
C-g C-x 5 0 C-x 5 C-g C-x b C-g C-x k M-x s c r <return>
( f= r a m e - l i s t ) <return> C-u C-x C-e <return>
<retu= rn> C-x 2 C-p C-p C-p C-e C-x o C-x b <return>
C-x o C-u C-x C-e C-_ C-a C-n C-n <return> ( b u f
f e r - l i s = t ) C-x C-e C-a ( m a p c a r SPC C-h
C-g C-h f b u f f e r SPC f r a m= e C-g C-h f f r a
m e C-g C-h C-a C-h a f r a m e <return> C-x o= C-x
1 C-s b u f f e r C-s C-s C-s C-s C-s C-s C-s C-s C-s
C-s C-s C-s C-s C= -s C-s C-s C-s C-s C-s C-s C-s C-s
C-s C-s C-s C-s C-s C-s C-s C-s C-s = C-r C-r C-s C-s
C-s C-s C-s C-s C-s C-s C-s C-a C-M-k C-x k C-x C-g M-x r g SPC d e b u g <return> C-x k C-x o C-x o C-n
C-n C-n M-f = M-. <return> C-g <return> <down> <down>
<dow= n> <down> <down> C-n C-e M-z C-x C-e C-x o C-M-k
q C-x k= SPC SPC C-h v <return> C-x o M-: ( s e t q
SPC m e n u - u p d a t i n g - f r a m e SPC n i l
) <return> C-= x k C-M-k C-x o C-p C-p C-n C-n C-SPC
M-b M-b M-b M-w <down-mouse-1&= gt; <mouse-1> M-x r e p
o r t SPC b u g <backspace> <bac= kspace> <backspace>
e m SPC SPC <return>

Recent messages:
unzipping menu-bar.el= .gz...done
Edebug: menu-bar-non-minibuffer-window-p
menu-bar-non-mini= buffer-window-p
Entering debugger...
Back to top level.
=A0[2 time= s]
Result: #<dead frame [Gnu/Linux:robcvm] /home/rgiardina/emacs/rg-mac.el = 0xaedc088>
Type M-x display-buffer RET to restore the other window.nil
Mark set

Load-path shadows:
/usr/share/emacs/site-lisp/p= ython-mode hides ~/emacs/main/python-mode
/usr/share/emacs/site-lisp/psvn hides ~/emacs/main/psvn
~/emacs/main/u-c= olor-cycle hides ~/emacs/games/u-color-cycle
/usr/share/emacs/site-lisp/= t-mouse hides /usr/local/share/emacs/23.1.50/lisp/t-mouse
~/emacs/main/d= ired-x hides /usr/local/share/emacs/23.1.50/lisp/dired-x
~/emacs/main/remember hides /usr/local/share/emacs/23.1.50/lisp/textmodes/r= emember
~/emacs/experimental/css-mode hides /usr/local/share/emacs/23.1.= 50/lisp/textmodes/css-mode
~/emacs/main/sgml-mode hides /usr/local/share= /emacs/23.1.50/lisp/textmodes/sgml-mode
~/emacs/main/ruby-mode hides /usr/local/share/emacs/23.1.50/lisp/progmodes/= ruby-mode
~/emacs/games/tetris hides /usr/local/share/emacs/23.1.50/lisp= /play/tetris
~/emacs/experimental/html2text hides /usr/local/share/emacs= /23.1.50/lisp/gnus/html2text
~/emacs/experimental/elp hides /usr/local/share/emacs/23.1.50/lisp/emacs-li= sp/elp

Features:
(shadow emacsbug apropos ibuf-ext cl-specs edebu= g vc-git hideshow
which-func imenu jdok tempo cc-mode cc-fonts cc-menus = cc-styles cc-align
find-func tabify man hippie-exp rect sh-script executable mail-extr
newc= omment etags tramp-imap epa epg epg-config imap-hash sendmail imap
messa= ge idna ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode
mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev
nnheader mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util
h= ashcash mail-utils assoc tramp-gw tramp-fish tramp-smb tramp-cache
tramp= -ftp tramp-cmds tramp auth-source gnus-util netrc password-cache
format-= spec tramp-compat trampver ansi-color shell cc-subword face-remap
debug multi-isearch dired-sort date-parse cl-compat dired-x dired-aux
di= red-details dired eldoc mb-depth mouse-drag filladapt scala-mode-auto
ch= op psvn log-edit pcvs-util add-log diff-mode savehist paren mic-paren
pgg pgg-parse pgg-def darcs winner escreen autoinsert icomplete time
cus= -start cus-load recentf tree-widget edmacro kmacro jka-compr
bookmark-po= pmenu bookmark pp cc-cmds cc-engine cc-vars cc-defs delsel
disp-table se= rver ffap ido browse-kill-ring ibuffer remember
org-remember solar cal-dst regexp-opt cal-menu calendar cal-loaddefs
hil= it-chg wid-edit screen-lines org byte-opt bytecomp byte-compile
org-foot= note org-src org-list org-faces org-compat org-macs time-date
noutline o= utline easy-mmode hl-line info-look info rg-todo derived
comint-popup comint ring switch-to-shell rg-compress seek-indent advice
= help-fns help-mode easymenu view advice-preload rg-util cl cl-19 tooltipediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
= select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-c= ore frame cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai= -viet lao korean japanese hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-h= ook help simple abbrev loaddefs button minibuffer faces
cus-face text-pr= operties overlay md5 base64 format env code-pages mule
custom widget has= htable-print-readable backquote make-network-process
gtk x-toolkit x multi-tty emacs)

--0015175cd162c3dc87047768ff2f-- From unknown Sat Aug 16 19:15:31 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4856: 23.1.50; menu-updating-frame stays set to dead frame Reply-To: Chong Yidong , 4856@debbugs.gnu.org Resent-From: Chong Yidong Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 07 Nov 2009 18:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4856 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4856-submit@emacsbugs.donarmstrong.com id=B4856.125761830222705 (code B ref 4856); Sat, 07 Nov 2009 18:30:04 +0000 Received: (at 4856) by emacsbugs.donarmstrong.com; 7 Nov 2009 18:25:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.4 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po26.its.yale.edu (pantheon-po26.its.yale.edu [130.132.50.121]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA7IP0JP022651 for <4856@emacsbugs.donarmstrong.com>; Sat, 7 Nov 2009 10:25:01 -0800 Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po26.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nA7IOtRv013464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 7 Nov 2009 13:24:55 -0500 Received: by furry (Postfix, from userid 1000) id 0ADD0C070; Sat, 7 Nov 2009 13:24:55 -0500 (EST) From: Chong Yidong To: Rob Giardina Cc: 4856@debbugs.gnu.org Date: Sat, 07 Nov 2009 13:24:54 -0500 Message-ID: <87aayychvt.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > 1) created second frame > 2) killed second frame after some random editing > 3) in first frame, on attempt to kill buffer saw: > > menu-bar-non-minibuffer-window-p: Wrong type argument: frame-live-p, # frame [Gnu/Linux:robcvm] /home/rgiardina/emacs/rg-mac.el 0xaedc088> What is this rg-mac.el file supposed to be doing? It's a little hard to debug your custom code if we don't know how it's triggered. Please provide a self-contained recipe for reproducing this bug. Thanks. From unknown Sat Aug 16 19:15:31 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4856: 23.1.50; menu-updating-frame stays set to dead frame Reply-To: Rob Giardina , 4856@debbugs.gnu.org Resent-From: Rob Giardina Original-Sender: rob.giardina@gmail.com Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 07 Nov 2009 18:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4856 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4856-submit@emacsbugs.donarmstrong.com id=B4856.125761852023523 (code B ref 4856); Sat, 07 Nov 2009 18:35:03 +0000 Received: (at 4856) by emacsbugs.donarmstrong.com; 7 Nov 2009 18:28:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=AWL,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-fx0-f215.google.com (mail-fx0-f215.google.com [209.85.220.215]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA7IScJd023508 for <4856@emacsbugs.donarmstrong.com>; Sat, 7 Nov 2009 10:28:40 -0800 Received: by fxm7 with SMTP id 7so588096fxm.9 for <4856@emacsbugs.donarmstrong.com>; Sat, 07 Nov 2009 10:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=FbeAu4RQO9hkvtHlLz7mPt61hnna/AdjNzQMcKK3bWc=; b=fW5ddH+R4IAhWAH4Wv8QzDFuqOrB/YwBlMI/5tu79a5i7Kc7JIkqWxMDNzVCvafE11 09a5cJAZEwHV+k29tK2laZVJH29JefEAdH2dRfVxPJMebmmUjfqYPVAZizlzUTx6UB/w f5u0MXh/Ct9QlC5Y4zJCGG0rDH4A7XVMpjJ+M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=fCUyxxhpLEurdkPdsc/+DZdihsiyx+8akSezkuTCy9qANQ5ur7VpmGlxdCUUU8bDj6 ElBsJn/2q/Ys3llXmXmzQoJxE14LfZcTi5iQfBUxviaiOcG8SV7BFa2Q7q33sHnuGXYh xARYGCZZ2/fQFSn2K02CHDDxb0Huz+shrKcXs= MIME-Version: 1.0 Sender: rob.giardina@gmail.com Received: by 10.204.29.15 with SMTP id o15mr6270773bkc.145.1257618513105; Sat, 07 Nov 2009 10:28:33 -0800 (PST) In-Reply-To: <87aayychvt.fsf@stupidchicken.com> References: <87aayychvt.fsf@stupidchicken.com> From: Rob Giardina Date: Sat, 7 Nov 2009 13:28:12 -0500 X-Google-Sender-Auth: 61a6fbcd297fb689 Message-ID: <275d7f050911071028p26f761c3mf2aeb1bf609ab9d8@mail.gmail.com> To: Chong Yidong Cc: 4856@debbugs.gnu.org Content-Type: multipart/alternative; boundary=0003255553aebc94670477cc2061 --0003255553aebc94670477cc2061 Content-Type: text/plain; charset=ISO-8859-1 Sorry, not reproducible so far but I've seen it on many files. rg-mac.el is my file of Mac OSX specific customizations. You can see from the code I cited however that if that var is ever set to a dead-frame, you'll have the problem. If I run into a reproducible case, I'll certainly send it on. Thanks for looking into it. -Rob On Sat, Nov 7, 2009 at 1:24 PM, Chong Yidong wrote: > > 1) created second frame > > 2) killed second frame after some random editing > > 3) in first frame, on attempt to kill buffer saw: > > > > menu-bar-non-minibuffer-window-p: Wrong type argument: frame-live-p, > # > frame [Gnu/Linux:robcvm] /home/rgiardina/emacs/rg-mac.el 0xaedc088> > > What is this rg-mac.el file supposed to be doing? It's a little hard to > debug your custom code if we don't know how it's triggered. Please > provide a self-contained recipe for reproducing this bug. Thanks. > > --0003255553aebc94670477cc2061 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry, not reproducible so far but I've seen it on many files. rg-mac.e= l is my file of Mac OSX specific customizations.

You can see from th= e code I cited however that if that var is ever set to a dead-frame, you= 9;ll have the problem.

If I run into a reproducible case, I'll certainly send it on.
Thanks for looking into it.

-Rob

On Sat, Nov 7, 2009 at 1:24 PM, Chong Yidong <cyd@stupidchicken.com> wrot= e:
> 1) created s= econd frame
> 2) killed second frame after some random editing
> 3) in first frame, on attempt to kill buffer saw:
>
> menu-bar-non-minibuffer-window-p: Wrong type argument: frame-live-p, #= <dead
> frame [Gnu/Linux:robcvm] /home/rgiardina/emacs/rg-mac.el 0xaedc088>=

What is this rg-mac.el file supposed to be doing? =A0It's a little hard= to
debug your custom code if we don't know how it's triggered. =A0Plea= se
provide a self-contained recipe for reproducing this bug. =A0Thanks.


--0003255553aebc94670477cc2061-- From rgm@gnu.org Mon Nov 9 18:27:36 2009 Received: (at control) by emacsbugs.donarmstrong.com; 10 Nov 2009 02:27:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,ONEWORD autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAA2RZqr024665 for ; Mon, 9 Nov 2009 18:27:36 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1N7gSE-0001Vw-0Y; Mon, 09 Nov 2009 21:27:34 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19192.53141.924423.83698@fencepost.gnu.org> Date: Mon, 9 Nov 2009 21:27:33 -0500 From: Glenn Morris To: control Subject: control close 4851 close 4868 tags 4856 moreinfo severity 4869 minor retitle 4887 globalized-minor-modes in new fundamental mode buffers From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 11 01:01:54 2011 Received: (at control) by debbugs.gnu.org; 11 Sep 2011 05:01:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2cAz-0000kg-VQ for submit@debbugs.gnu.org; Sun, 11 Sep 2011 01:01:54 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2cAz-0000ka-5N for control@debbugs.gnu.org; Sun, 11 Sep 2011 01:01:53 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R2c6n-0001yH-RL for control@debbugs.gnu.org; Sun, 11 Sep 2011 06:57:33 +0200 Date: Sun, 11 Sep 2011 06:54:33 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #4856 X-MailScanner-ID: 1R2c6n-0001yH-RL X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1316321853.91068@z5OMi7L2fIUs2T0ll3Oz6A X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) close 4856 From unknown Sat Aug 16 19:15:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#4856: 23.1.50; menu-updating-frame stays set to dead frame Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Sep 2011 05:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Rob Giardina Cc: Chong Yidong , 4856@debbugs.gnu.org Received: via spool by 4856-submit@debbugs.gnu.org id=B4856.13157175433315 (code B ref 4856); Sun, 11 Sep 2011 05:06:02 +0000 Received: (at 4856) by debbugs.gnu.org; 11 Sep 2011 05:05:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2cEg-0000rK-7l for submit@debbugs.gnu.org; Sun, 11 Sep 2011 01:05:43 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2cEY-0000qt-77 for 4856@debbugs.gnu.org; Sun, 11 Sep 2011 01:05:36 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R2cAK-00022E-Og; Sun, 11 Sep 2011 07:01:12 +0200 From: Lars Magne Ingebrigtsen In-Reply-To: <275d7f050911071028p26f761c3mf2aeb1bf609ab9d8@mail.gmail.com> (Rob Giardina's message of "Sat, 7 Nov 2009 13:28:12 -0500") Date: Sun, 11 Sep 2011 06:54:28 +0200 Message-ID: References: <87aayychvt.fsf@stupidchicken.com> <275d7f050911071028p26f761c3mf2aeb1bf609ab9d8@mail.gmail.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: The Wolfgang Press's _Water_: "My Way" MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1R2cAK-00022E-Og X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1316322073.40995@Y/8gPhIpVJgQUkPM9TWmyQ X-Spam-Status: No X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) Rob Giardina writes: > You can see from the code I cited however that if that var is ever set > to a dead-frame, you'll have the problem. > > If I run into a reproducible case, I'll certainly send it on. More information was requested almost two years ago, and hasn't appeared, so I'm closing this report. Please reopen if the bug is reproducible. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/