GNU bug report logs - #7728
24.0.50; GDB backtrace from abort

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 24 Dec 2010 16:51:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: rudalics <at> gmx.at, 7728 <at> debbugs.gnu.org
Subject: bug#7728: 24.0.50; GDB backtrace from abort
Date: Wed, 12 Jan 2011 11:22:56 -0500
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  7728 <at> debbugs.gnu.org
> Date: Wed, 12 Jan 2011 10:14:09 -0500
> 
> > so apparently the frame of data->current_window is _not_ the selected
> > frame.  Would you select the window and keep the old frame selected?
> 
> Shouldn't (doesn't?) set-window-configuration simply signal an error if
> the selected-frame is different from the frame from which the
> window-config comes?

How could it?  For example, Drew's code that causes this crash does
this:

    (save-window-excursion (select-frame frame)
                           (or (eq major-mode 'image-mode)
                               image-minor-mode))

Are you saying tha this isn't kosher, because the body of
save-window-excursion is not allowed to select a different frame?

Or am I missing something?




This bug report was last modified 12 years and 357 days ago.

Previous Next


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