From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#60220: 29.0.60; macOS 13.1 crash shortly after starting Emacs Date: Sun, 25 Dec 2022 06:30:35 +0100 Message-ID: <24A595DF-81D8-47E7-90BC-FCDDB27315E8@gmail.com> References: Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37827"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Paul Eggert , 60220@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 25 06:31:24 2022 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 1p9JbX-0009el-Qg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Dec 2022 06:31:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9JbH-0003cO-0m; Sun, 25 Dec 2022 00:31:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9JbD-0003c6-Ce for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2022 00:31:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p9JbC-0003Co-PZ for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2022 00:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p9JbC-0007O9-D1 for bug-gnu-emacs@gnu.org; Sun, 25 Dec 2022 00:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Dec 2022 05:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60220 X-GNU-PR-Package: emacs Original-Received: via spool by 60220-submit@debbugs.gnu.org id=B60220.167194625928392 (code B ref 60220); Sun, 25 Dec 2022 05:31:02 +0000 Original-Received: (at 60220) by debbugs.gnu.org; 25 Dec 2022 05:30:59 +0000 Original-Received: from localhost ([127.0.0.1]:47435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9Jb8-0007Nr-Sw for submit@debbugs.gnu.org; Sun, 25 Dec 2022 00:30:59 -0500 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:53784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p9Jb3-0007NY-H8 for 60220@debbugs.gnu.org; Sun, 25 Dec 2022 00:30:56 -0500 Original-Received: by mail-wm1-f41.google.com with SMTP id ja17so6001738wmb.3 for <60220@debbugs.gnu.org>; Sat, 24 Dec 2022 21:30:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=or+KOhEPaFUJMEcNttPwbuCYVuAa3ZKpoeNUzKqvJ4Y=; b=Z3MI0gI0uoC1cdVuzlYSZkkeEcDliButgUnon7bRXAvnm5Riorw93wKYGuLehlPCjG cTuT9jrDqx0Hle/gw+PWDJaL278YvGzsl7ZYwtBLZLcUXAOzRD0x9/68QrpeB35FdIDS j+QzusL9SuydGS2wNWWOdweIfJE7q07x9BmpagTtz5055IH2r2jxr40dNGrZBa8c+/xa ZxsbTRxVau5cUCEuY4NG0IRZP8x4KX6f4yCiG+WKWUiTKKb/dBcguT6tT8DJc7ttbbno LsQdnMKdwoG14ZUb+DZvK8NqeXhHE/H/9jF7u1FNlY0/RV9iEMK4Y87W9osRZ1i9HRZ0 XAqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=or+KOhEPaFUJMEcNttPwbuCYVuAa3ZKpoeNUzKqvJ4Y=; b=6+ud5uNO5GmciSkYXnP70Qj2qZ0f3lglLct4ARpYDDa2UbluVCKqKiKATcy9F9l+md bkA6bNiOFgVWdcxwstawkGz2A2snb56EB7O34nQCcKj0ghdvi68Pf/VMv245D0yU5PDV 6eIH0js9tqVOhfU9CcDrxD5pUeHusrc4TKFvgyyXuupT5GWkiANrGInEE4VjbHB8VB7c vP/1ofQKPCj7vr1lCUuVq1NQYJnVRzBQm1ChkeNvFqhpk0iysVCwxbER0SqAG5kEkq9g Hq1XPGbGPyPZkNyDm5+ahfljcH5cJmEIKBpClfUkA0X0mpZ6kTPwZgJSM0KDn9SO1lrV SmzA== X-Gm-Message-State: AFqh2koCL7Lv6GyQJ8TAl9OfxFttvQAwMc+eHmZpaz0IO2c/TcgFU49h IUtwu3ERsywzQ7WDLBk0q8M= X-Google-Smtp-Source: AMrXdXvyrW85YbBw95cU4XcMXZ0QznutvGy9jnE17a6mdoupOGo6Uq/zjD3BYDXFOI7x4opjb7IuHA== X-Received: by 2002:a05:600c:8507:b0:3d9:6c7d:c9ee with SMTP id gw7-20020a05600c850700b003d96c7dc9eemr5406658wmb.25.1671946247516; Sat, 24 Dec 2022 21:30:47 -0800 (PST) Original-Received: from smtpclient.apple (pd9e363ee.dip0.t-ipconnect.de. [217.227.99.238]) by smtp.gmail.com with ESMTPSA id n25-20020a7bc5d9000000b003d969a595fbsm9743766wmk.10.2022.12.24.21.30.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Dec 2022 21:30:46 -0800 (PST) In-Reply-To: X-Mailer: iPhone Mail (20C65) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:251829 Archived-At: Could well be. I=E2=80=99ve heard that one has to jump to similar hoops of u= sing a helper process to add an app to startup items for instance, to satisf= y launchd so to speak. And the application icon is also a launchd thing, as i= s the whole starting of an an application bundle=E2=80=A6 Sent from my iPhone > On 24. Dec 2022, at 16:11, Aaron Jensen wrote: >=20 > =EF=BB=BFOn Fri, Dec 23, 2022 at 12:56 AM Paul Eggert = wrote: >>=20 >>> On 12/22/22 18:22, Aaron Jensen wrote: >>> Task policy >>> set failed: 4 ((os/kern) invalid argument) >>=20 >> A Google search reports that message only here: >>=20 >> https://developer.apple.com/forums/thread/670595 >>=20 >> and that was solved by invoking Apple support. Is that something you can d= o? >=20 > I don't know if it's related or just because I am running in the > XCode's debugger, but when I do that, I see additional messages: >=20 > 2022-12-24 10:05:30.309314-0500 emacs[5082:176291] [assertion] Error > acquiring assertion: "Specified target process does not exist" > UserInfo=3D{NSLocalizedFailureReason=3DSpecified target process does not > exist}> >=20 > 2022-12-24 10:05:30.309369-0500 emacs[5082:176291] [process] Failed to > acquire AppNap adapter assertion with error Error > Domain=3DRBSAssertionErrorDomain Code=3D2 "Specified target process does > not exist" UserInfo=3D{NSLocalizedFailureReason=3DSpecified target process= > does not exist} >=20 > 2022-12-24 10:05:30.309394-0500 emacs[5082:176291] Task policy set > failed: 4 ((os/kern) invalid argument) >=20 > Also, when running from the `src/emacs` binary, after a restart the > application icon in macOS changes to the terminal icon with the word > `exec` in it. >=20 > Per: https://stackoverflow.com/questions/27479801/restart-application-prog= rammatically > and: http://13bold.com/tutorials/relaunching-your-application/ >=20 > I wonder if this method of restarting is just not the right idea on > macOS and it either needs to be relaunched with a helper utility or in > a completely separate process directly as described in some of the > further down stackoverflow answers. >=20 > Aaron