GNU bug report logs - #28661
25.3; closing fullscreen frame on macOS 10.13 High Sierra causes crash

Previous Next

Package: emacs;

Reported by: Kevin Lin <lin.kevin.k <at> gmail.com>

Date: Sun, 1 Oct 2017 15:45:02 UTC

Severity: normal

Tags: fixed

Found in version 25.3

Fixed in version 26.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: John Mastro <john.b.mastro <at> gmail.com>
Cc: 28661 <at> debbugs.gnu.org, Kevin Lin <lin.kevin.k <at> gmail.com>
Subject: bug#28661: 25.3; closing fullscreen frame on macOS 10.13 High Sierra causes crash
Date: Sat, 7 Oct 2017 16:08:23 +0100
[Message part 1 (text/plain, inline)]
On Wed, Oct 04, 2017 at 05:44:13PM -0700, John Mastro wrote:
> Alan Third <alan <at> idiocy.org> wrote:
> > I guess that closing a fullscreen window now results in it being
> > resized. But is emacsframe already trashed by this point? That would
> > certainly cause a crash.
> >
> > Can you please uncomment line 54 in nsterm.h to enable NSTRACE,
> > recompile, cause the crash and send the output to me?
> 
> I've done so and the trace is attached.

Thank you!

It looks like it is trying to resize the frame after we’ve already
cleaned it up. Do fullscreen windows animate when they close on 10.13?

Anyway, I’ve attached a patch, can you give it a go and see if it
works?
-- 
Alan Third
[0001-Fix-crash-when-closing-fullscreen-frame-on-macOS-bug.patch (text/plain, attachment)]

This bug report was last modified 7 years and 226 days ago.

Previous Next


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