From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pieter van Oostrum Newsgroups: gmane.emacs.bugs Subject: bug#38748: 28.0.50; crash on MacOS 10.15.2 Date: Sat, 11 Jan 2020 19:37:02 +0100 Message-ID: References: <20191226130420.GB71460@breton.holly.idiocy.org> <83fth7qa3a.fsf@gnu.org> <83blrtq2j0.fsf@gnu.org> <83sgl3lyii.fsf@gnu.org> <834kxej6lc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="6548"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) Cc: Pip Cet , jguenther@gmail.com, alan@idiocy.org, andreyk.mad@gmail.com, 38748@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 11 19:39:41 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqLeH-000ngA-76 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jan 2020 19:38:13 +0100 Original-Received: from localhost ([::1]:59996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqLeF-0006mF-Iv for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Jan 2020 13:38:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45110) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqLe7-0006fU-7v for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2020 13:38:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqLe6-0006T5-37 for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2020 13:38:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50702) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqLe5-0006SU-V8 for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2020 13:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqLe5-0007Ti-SN for bug-gnu-emacs@gnu.org; Sat, 11 Jan 2020 13:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pieter van Oostrum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jan 2020 18:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38748 X-GNU-PR-Package: emacs Original-Received: via spool by 38748-submit@debbugs.gnu.org id=B38748.157876783528660 (code B ref 38748); Sat, 11 Jan 2020 18:38:01 +0000 Original-Received: (at 38748) by debbugs.gnu.org; 11 Jan 2020 18:37:15 +0000 Original-Received: from localhost ([127.0.0.1]:56670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqLdL-0007SC-9n for submit@debbugs.gnu.org; Sat, 11 Jan 2020 13:37:15 -0500 Original-Received: from [145.132.212.31] (port=49458 helo=cochabamba.vanoostrum.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqLdI-0007Rp-Q7 for 38748@debbugs.gnu.org; Sat, 11 Jan 2020 13:37:13 -0500 Original-Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id B08E5A5FC505; Sat, 11 Jan 2020 19:37:04 +0100 (CET) In-Reply-To: (Robert Pluim's message of "Thu, 09 Jan 2020 16:15:31 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:174484 Archived-At: Robert Pluim writes: >>>>>> On Thu, 9 Jan 2020 14:16:54 +0000, Pip Cet said: > > Pip> On Thu, Jan 9, 2020 at 1:51 PM Andrii Kolomoiets 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 I compiled HEAD with this patch applied, and it still crashed but with the other crash cause (in Fmouse_pixel_position). -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4]