GNU bug report logs - #38748
28.0.50; crash on MacOS 10.15.2

Previous Next

Package: emacs;

Reported by: Andrii Kolomoiets <andreyk.mad <at> gmail.com>

Date: Thu, 26 Dec 2019 09:49:01 UTC

Severity: normal

Merged with 38822

Found in versions 27.0.60, 28.0.50

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: Pip Cet <pipcet <at> gmail.com>
Cc: jguenther <at> gmail.com, andreyk.mad <at> gmail.com, 38748 <at> debbugs.gnu.org, alan <at> idiocy.org, eliz <at> gnu.org
Subject: bug#38748: 28.0.50; crash on MacOS 10.15.2
Date: Thu, 09 Jan 2020 16:15:31 +0100
>>>>> On Thu, 9 Jan 2020 14:16:54 +0000, Pip Cet <pipcet <at> gmail.com> said:

    Pip> On Thu, Jan 9, 2020 at 1:51 PM Andrii Kolomoiets <andreyk.mad <at> gmail.com> wrote:
    >> Here is the '~/emacs-crash.el' content:
    >> (make-frame `((parent-frame . ,(window-frame))))
    >> (make-frame `((parent-frame . ,(window-frame))))
    >> (make-frame `((parent-frame . ,(window-frame))))
    >> (make-frame `((parent-frame . ,(window-frame))))
    >> (delete-frame)
    >> (delete-frame)
    >> (delete-frame)
    >> (delete-frame)
    >> (garbage-collect)

    Pip> That sounds like Robert's bug, but not like the one that's related to
    Pip> the "x = false" thing.

    Pip> Can you try the attached patch?

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

That has fixed things for me, not been able to crash it with Andrii's
recipe (I had to increase the number of frames to get it to crash).

Robert




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

Previous Next


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