GNU bug report logs -
#19728
25.0.50; (wrong-type-argument frame-live-p #<dead frame *scratch* 0b54c8d8>)
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 29 Jan 2015 17:31:02 UTC
Severity: normal
Tags: moreinfo
Found in version 25.0.50
Done: martin rudalics <rudalics <at> gmx.at>
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 19728 in the body.
You can then email your comments to 19728 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19728
; Package
emacs
.
(Thu, 29 Jan 2015 17:31:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 29 Jan 2015 17:31:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I doubt this will help much, but just in case it does -
I got this backtrace when I clicked the `X' in a frame showing
*scratch*. There were two frames showing *scratch*, and I clicked the
"X" in each. Dunno which one the error was raised for.
Debugger entered--Lisp error: (wrong-type-argument frame-live-p #<dead frame *scratch* 0b54c8d8>)
frame-selected-window(#<dead frame *scratch* 0b54c8d8>)
menu-bar-non-minibuffer-window-p()
redisplay_internal\ \(C\ function\)()
This was using my setup, but I don't think I have anything particular
that should affect this. Dunno how to repro it, either with my setup or
from emacs -Q.
Feel free to close the bug if this info doesn't help at all. I have no
more info about this.
In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
of 2014-10-20 on LEG570
Bzr revision: 118168 rgm <at> gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19728
; Package
emacs
.
(Thu, 29 Jan 2015 17:38:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 19728 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 29 Jan 2015 09:29:46 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> I doubt this will help much, but just in case it does -
> I got this backtrace when I clicked the `X' in a frame showing
> *scratch*. There were two frames showing *scratch*, and I clicked the
> "X" in each. Dunno which one the error was raised for.
>
> Debugger entered--Lisp error: (wrong-type-argument frame-live-p #<dead frame *scratch* 0b54c8d8>)
> frame-selected-window(#<dead frame *scratch* 0b54c8d8>)
> menu-bar-non-minibuffer-window-p()
> redisplay_internal\ \(C\ function\)()
Any idea how come redisplay got to call
menu-bar-non-minibuffer-window-p?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19728
; Package
emacs
.
(Thu, 29 Jan 2015 17:47:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 19728 <at> debbugs.gnu.org (full text, mbox):
> Any idea how come redisplay got to call
> menu-bar-non-minibuffer-window-p?
I do have this in my setup - these are the only occurrences of
that function in my code:
;; Add for Emacs < 22. Rename item otherwise.
(define-key menu-bar-file-menu [new-file]
'(menu-item "New File..." find-file
:enable (or (not (fboundp 'menu-bar-non-minibuffer-window-p))
(menu-bar-non-minibuffer-window-p))
:help "Create and edit a new file"))
(define-key-after menu-bar-file-menu [new-directory]
'(menu-item "New Directory..." menu-bar-create-directory
:enable (or (not (fboundp 'menu-bar-non-minibuffer-window-p))
(menu-bar-non-minibuffer-window-p))
:help "Create a directory")
'new-file)
I realize that :enable will cause that code to be run during
redisplay. Probably this is the culprit code, but I have never
see that error before (and this code has been there a long time).
So maybe it's just a one-off thing.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19728
; Package
emacs
.
(Sat, 31 Jan 2015 13:31:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 19728 <at> debbugs.gnu.org (full text, mbox):
> Date: Thu, 29 Jan 2015 09:46:35 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: 19728 <at> debbugs.gnu.org
>
> > Any idea how come redisplay got to call
> > menu-bar-non-minibuffer-window-p?
>
> I do have this in my setup - these are the only occurrences of
> that function in my code:
>
> ;; Add for Emacs < 22. Rename item otherwise.
> (define-key menu-bar-file-menu [new-file]
> '(menu-item "New File..." find-file
> :enable (or (not (fboundp 'menu-bar-non-minibuffer-window-p))
> (menu-bar-non-minibuffer-window-p))
> :help "Create and edit a new file"))
>
> (define-key-after menu-bar-file-menu [new-directory]
> '(menu-item "New Directory..." menu-bar-create-directory
> :enable (or (not (fboundp 'menu-bar-non-minibuffer-window-p))
> (menu-bar-non-minibuffer-window-p))
> :help "Create a directory")
> 'new-file)
>
> I realize that :enable will cause that code to be run during
> redisplay. Probably this is the culprit code, but I have never
> see that error before (and this code has been there a long time).
>
> So maybe it's just a one-off thing.
Or maybe menu-bar-non-minibuffer-window-p should protect itself from
such calamities. Martin, what do you think?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19728
; Package
emacs
.
(Sat, 31 Jan 2015 14:23:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 19728 <at> debbugs.gnu.org (full text, mbox):
> Or maybe menu-bar-non-minibuffer-window-p should protect itself from
> such calamities. Martin, what do you think?
It should. Just like `menu-bar-menu-frame-live-and-visible-p' does.
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19728
; Package
emacs
.
(Sat, 31 Jan 2015 15:41:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 19728 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 31 Jan 2015 15:22:02 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: 19728 <at> debbugs.gnu.org
>
> > Or maybe menu-bar-non-minibuffer-window-p should protect itself from
> > such calamities. Martin, what do you think?
>
> It should. Just like `menu-bar-menu-frame-live-and-visible-p' does.
Could you please take care of this bug, then? TIA.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19728
; Package
emacs
.
(Sat, 31 Jan 2015 18:47:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 19728 <at> debbugs.gnu.org (full text, mbox):
> Could you please take care of this bug, then? TIA.
See commit 017a03a..618931b emacs-24 -> emacs-24
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#19728
; Package
emacs
.
(Sat, 31 Jan 2015 19:00:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 19728 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 31 Jan 2015 19:46:08 +0100
> From: martin rudalics <rudalics <at> gmx.at>
> CC: drew.adams <at> oracle.com, 19728 <at> debbugs.gnu.org
>
> > Could you please take care of this bug, then? TIA.
>
> See commit 017a03a..618931b emacs-24 -> emacs-24
Thanks!
Reply sent
to
martin rudalics <rudalics <at> gmx.at>
:
You have taken responsibility.
(Fri, 13 Feb 2015 18:32:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Drew Adams <drew.adams <at> oracle.com>
:
bug acknowledged by developer.
(Fri, 13 Feb 2015 18:32:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 19728-done <at> debbugs.gnu.org (full text, mbox):
>> See commit 017a03a..618931b emacs-24 -> emacs-24
>
> Thanks!
Bug closed.
Thanks for the report, martin
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 14 Mar 2015 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.