GNU bug report logs - #38822
27.0.60; Crashes on MacOS 10.14 when quitting emacs, and intermittent crashes during normal usage

Previous Next

Package: emacs;

Reported by: Justin Guenther <jguenther <at> gmail.com>

Date: Mon, 30 Dec 2019 20:12:02 UTC

Severity: normal

Merged with 38748

Found in versions 28.0.50, 27.0.60

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Justin Guenther <jguenther <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 38822 <at> debbugs.gnu.org
Subject: bug#38822: 27.0.60; Crashes on MacOS 10.14 when quitting emacs, and intermittent crashes during normal usage
Date: Mon, 20 Jan 2020 10:03:59 +0100
>>>>> On Fri, 17 Jan 2020 12:10:24 -0600, Justin Guenther <jguenther <at> gmail.com> said:

    Justin> On Tue, Dec 31, 2019 at 12:39 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
    >> 
    >> 3 months went under the bridge between these two commits, so it's hard
    >> to tell which change caused that.  But there's a similar bug report at
    >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38748.

    Justin> I think this is indeed a dupe of 38748, this patch seems to have fixed
    Justin> this crash for me:
    Justin> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38748#92

Thanks for that. Eli, should we apply this to emacs-27 with
attribution to Pip Cet?:

diff --git a/src/nsterm.m b/src/nsterm.m
index 03754e5ae5..c1d1d41117 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1644,6 +1644,7 @@ Hide the window (X11 semantics)
   [view release];
 
   xfree (f->output_data.ns);
+  f->output_data.ns = NULL;
 
   unblock_input ();
 }




This bug report was last modified 4 years and 239 days ago.

Previous Next


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