From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Dixon Newsgroups: gmane.emacs.bugs Subject: bug#38031: 26.3; Trying to invoke the macOS File Open window causes Emacs to crash on macOS Catalina Date: Sat, 18 Jan 2020 11:39:02 -0500 Message-ID: <5A27AE46-34F1-4D41-A61E-5B75AA2917A5@gmail.com> References: <20191108194747.GC42511@breton.holly.idiocy.org> <20191108230811.GC42932@breton.holly.idiocy.org> <6CCDA5A5-9265-41F1-A7DE-4E8CE0DD4431@gmail.com> <20200114213930.GA63294@breton.holly.idiocy.org> <20200115190040.GA64519@breton.holly.idiocy.org> <9AC008C4-04FE-4F5F-AB2D-D33CEC681DA6@gmail.com> <20200117185332.GA65548@breton.holly.idiocy.org> <3A447982-982C-4ED4-A554-A22C4CE29516@gmail.com> <20200118152237.GA66998@breton.holly.idiocy.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_954183C8-9FB0-455B-AC88-26F077559076" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="108145"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 38031@debbugs.gnu.org, Nathaniel Bass , Stefan Kangas To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 18 17:40:23 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1isr94-000S5i-9G for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jan 2020 17:40:22 +0100 Original-Received: from localhost ([::1]:42492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isr92-0001dy-Rs for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jan 2020 11:40:20 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35601) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isr8n-0001Wk-7L for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 11:40:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isr8k-0008Mk-HB for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 11:40:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1isr8k-0008MT-CZ for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 11:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1isr8k-0007hR-9I for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2020 11:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Dixon Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jan 2020 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38031 X-GNU-PR-Package: emacs Original-Received: via spool by 38031-submit@debbugs.gnu.org id=B38031.157936555329536 (code B ref 38031); Sat, 18 Jan 2020 16:40:02 +0000 Original-Received: (at 38031) by debbugs.gnu.org; 18 Jan 2020 16:39:13 +0000 Original-Received: from localhost ([127.0.0.1]:42083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isr7x-0007gJ-Cg for submit@debbugs.gnu.org; Sat, 18 Jan 2020 11:39:13 -0500 Original-Received: from mail-qv1-f54.google.com ([209.85.219.54]:45531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1isr7u-0007g3-86 for 38031@debbugs.gnu.org; Sat, 18 Jan 2020 11:39:12 -0500 Original-Received: by mail-qv1-f54.google.com with SMTP id l14so12125374qvu.12 for <38031@debbugs.gnu.org>; Sat, 18 Jan 2020 08:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=3VGye9ofUQgr20IOBrVW4pwg1z4waLdLnbKK0PB16H0=; b=LKTc+778MhQeA45LepxY8npyARulS/fHL11EEHutde+SknJOSv+DWwCR5l3bWPDbAD BnelFl6Dr2XoWYBEtKQOFLvPd1FaI8wYP1Gfg/vJUFnbL++wIHbxENpC04zVZVilfZXU /dk0HN6T1ZC50jx0xdIwxbUTLtPd/jkPZH0n44AvE2y/NLWTGXnT0vqc8BgXeASb0MIT ZYYCSYJRMmFBXSCOJO5mlHHVhDnfxzbuhYHZAsPz+MiJA6pRMhbobfkozr4kjkMuz0WS j4wJre+ojg6FhxTMZ+QW3D3aWMA5BLWi7QiuX7hvwKulIZrLWGMJqvlvYHY+g3dIaxps VTpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=3VGye9ofUQgr20IOBrVW4pwg1z4waLdLnbKK0PB16H0=; b=EEuLZWKxkQDdsGSQm5bSY3Tz4ZHx32h7pVCBSzEWUMJikkQ8i/+pTo+Oh/gHJT6Q0L i3BAwa3wvgW+kRoWoHYU9IsBSkKOoRX7RnKrACLHXlv8N6lJa/WF0lPnnUJh1jOzRiZI WavlGGqQY8JHTbcEAOg+n7a5KltSJUuTOn3z2NR7KJAfwAG6bxUbkW+xWLUAucaOUIuB AGV+ca8oupViJW4+amhAlUnYPH/E38dHkzTCzF/yr4oQ/NUO0O9usjvYMrX6xbfGrteB vkzp4/wiP0rk+JkKK3x9wKEVaxjEmnRGcM0vUVhx5ppxyfT7Af8n35I16E1uO8GYMNuN WYSQ== X-Gm-Message-State: APjAAAVR1B3Yix/oYYvERjiA7IR3XC9NmlXKJnDsDtEgZhxG7X3+cl4q QMVSGFQmPGrx6D2+8ltJ7tc= X-Google-Smtp-Source: APXvYqxptxh5plFOj/Fxi8sR8pw8elWmyBwn2lfWE4fhbyzU/wUc/lzphed0KgAC1Gjmc1MXIVzjRw== X-Received: by 2002:a05:6214:982:: with SMTP id dt2mr12516902qvb.174.1579365543835; Sat, 18 Jan 2020 08:39:03 -0800 (PST) Original-Received: from ?IPv6:2607:f2c0:e176:2c:5c46:c01:de5c:91b6? ([2607:f2c0:e176:2c:5c46:c01:de5c:91b6]) by smtp.gmail.com with ESMTPSA id i4sm13256101qki.45.2020.01.18.08.39.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jan 2020 08:39:03 -0800 (PST) In-Reply-To: <20200118152237.GA66998@breton.holly.idiocy.org> X-Mailer: Apple Mail (2.3608.40.2.2.4) 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.io gmane.emacs.bugs:174820 Archived-At: --Apple-Mail=_954183C8-9FB0-455B-AC88-26F077559076 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 18, 2020, at 10:22 AM, Alan Third wrote: >=20 > On Fri, Jan 17, 2020 at 06:49:20PM -0500, Michael Dixon wrote: >>=20 >>> On Jan 17, 2020, at 1:53 PM, Alan Third wrote: >>>=20 >>> On Wed, Jan 15, 2020 at 04:48:56PM -0500, Michael Dixon wrote: >>>>=20 >>>>>=20 >>>>> That=E2=80=99s good. >>>>>=20 >>>>> I suppose it just leaves the question of whether we disable this = for >>>>> macOS 10.15, or if we just get rid of it altogether. My = understanding >>>>> is that all it does is allow the use of C-g to quit the file open = and >>>>> save dialogues. I don=E2=80=99t see much reason to keep it, but if = anyone >>>>> actually uses this let me know. >>>>=20 >>>> And sorry, just to complicate things, it looks like the patch fixed >>>> anything related to File > Open. But I just tried to use the menu = to >>>> do a File > Save as=E2=80=A6 and that still resulted in a crash. = File > Save >>>> worked fine though. >>>=20 >>> Can you send the crash report for this? It can=E2=80=99t be for the = same Classes. >>=20 >> I=E2=80=99m going to attach the macOS crash report, which is just = plain text. >>=20 >> The part I can understand does look the same as what I was seeing = before: >>=20 >> Application Specific Information: >> *** Terminating app due to uncaught exception = 'NSObjectNotAvailableException', reason: 'EmacsSavePanel is not a = supported subclass for sandboxing' >> abort() called >> terminating with uncaught exception of type NSException >>=20 >> Is it possible EmacsSavePanel is used somewhere else? >=20 > When I grep the source tree with the patch applied EmacsSavePanel > isn=E2=80=99t found anywhere. Is it possible the patch didn=E2=80=99t = apply correctly? > Can you do a grep to see if it=E2=80=99s mentioned anywhere? > --=20 > Alan Third Good news: I grepped the source tree, and I noticed EmacsSavePanel mentioned in = what I believe were leftovers from previous builds. Files with names = like emacs-27.0.60.1, emacs-27.0.60.2, etc., all with modify dates that = seemed to align up with dates I would have done a make install. I tried = cleaning them up manually (e.g. deleting them), and I was left with the = only mentions of EmacsSavePanel being in the change log. I rebuilt again and this time Save As no longer causes a crash. I=E2=80=99m sorry Alan for making this such a fiasco.= --Apple-Mail=_954183C8-9FB0-455B-AC88-26F077559076 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Jan 18, 2020, at 10:22 AM, Alan Third <alan@idiocy.org> = wrote:

On Fri, Jan 17, 2020 at = 06:49:20PM -0500, Michael Dixon wrote:

On Jan 17, 2020, at 1:53 PM, Alan Third <alan@idiocy.org> = wrote:

On Wed, Jan 15, 2020 at 04:48:56PM = -0500, Michael Dixon wrote:


That=E2=80=99s good.

I suppose = it just leaves the question of whether we disable this for
macOS 10.15, or if we just get rid of it altogether. My = understanding
is that all it does is allow the use of C-g = to quit the file open and
save dialogues. I don=E2=80=99t = see much reason to keep it, but if anyone
actually uses = this let me know.

And sorry, = just to complicate things, it looks like the patch fixed
anything related to File > Open. But I just tried to use = the menu to
do a File > Save as=E2=80=A6 and that still = resulted in a crash. File > Save
worked fine though.

Can you send the crash report for = this? It can=E2=80=99t be for the same Classes.

I=E2=80=99m going to attach the = macOS crash report, which is just plain text.

The part I can understand does look the same as what I was = seeing before:

Application Specific = Information:
*** Terminating app due to uncaught exception = 'NSObjectNotAvailableException', reason: 'EmacsSavePanel is not a = supported subclass for sandboxing'
abort() called
terminating with uncaught exception of type NSException

Is it possible EmacsSavePanel is used = somewhere else?

When I grep the source tree with the patch applied = EmacsSavePanel
isn=E2=80=99t found anywhere. Is it possible the patch = didn=E2=80=99t apply correctly?
Can you do a grep to see if it=E2=80=99s mentioned = anywhere?
-- 
Alan = Third

Good news:

I grepped the source tree, and I = noticed EmacsSavePanel mentioned in what I believe were leftovers from = previous builds. Files with names like emacs-27.0.60.1, emacs-27.0.60.2, = etc., all with modify dates that seemed to align up with dates I would = have done a make install. I tried cleaning them up manually (e.g. = deleting them), and I was left with the only mentions of EmacsSavePanel = being in the change log.

I rebuilt again and this time Save As no longer causes a = crash.

I=E2=80=99m sorry Alan for = making this such a fiasco.
= --Apple-Mail=_954183C8-9FB0-455B-AC88-26F077559076--