GNU bug report logs -
#14970
Assertion failure deleting frames
Previous Next
Reported by: Juanma Barranquero <lekktu <at> gmail.com>
Date: Sun, 28 Jul 2013 00:24:02 UTC
Severity: normal
Found in version 24.3.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 29 Jul 2013 09:54:58 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: lekktu <at> gmail.com, 14970 <at> debbugs.gnu.org
>
> > ... (you cannot just
> > use FRAME_LIVE_P here, because it will crash in the same way).
>
> How does it crash?
The original crash was a SIGSEGV because f was a null pointer, and
FRAME_SELECTED_WINDOW dereferenced it. But FRAME_LIVE_P also
dereferences its argument, so it would have crashed with the same
SIGSEGV.
I guess you are thinking about a frame pointer computed from a Lisp
frame object, in which case the pointer can never be null. But this
is not that case: here we get the frame pointer from a call to
x_window_to_frame, which returns a null pointer to signal that it
failed to find an Emacs frame that corresponds to a Windows window.
This bug report was last modified 11 years and 360 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.