From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60220: 29.0.60; macOS 13.1 crash shortly after starting Emacs Date: Tue, 20 Dec 2022 17:41:00 +0200 Message-ID: <83y1r2axrn.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27467"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60220@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 20 16:41:13 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 1p7eju-0006yc-RY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Dec 2022 16:41:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7ejn-0002oJ-UB; Tue, 20 Dec 2022 10:41:03 -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 1p7ejm-0002n4-GQ for bug-gnu-emacs@gnu.org; Tue, 20 Dec 2022 10:41:02 -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 1p7ejm-0004ps-5u for bug-gnu-emacs@gnu.org; Tue, 20 Dec 2022 10:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p7ejl-0005yT-W2 for bug-gnu-emacs@gnu.org; Tue, 20 Dec 2022 10:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Dec 2022 15:41:01 +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.167155085522952 (code B ref 60220); Tue, 20 Dec 2022 15:41:01 +0000 Original-Received: (at 60220) by debbugs.gnu.org; 20 Dec 2022 15:40:55 +0000 Original-Received: from localhost ([127.0.0.1]:45588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7ejf-0005y8-5a for submit@debbugs.gnu.org; Tue, 20 Dec 2022 10:40:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7eje-0005xz-0N for 60220@debbugs.gnu.org; Tue, 20 Dec 2022 10:40:54 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7ejY-0004ll-QH; Tue, 20 Dec 2022 10:40:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=qLcBNy/vzkwWEySBBMLJlO4wYMiPDHr3AGr1r9c8t84=; b=KnyG45JqnGhl ttAYtcDWpZD+uRYmpATeBgoTmpmU2p6HyLQBqmWuDyvPyYyLfFEoM21WG6fVD1HG+lrzKartC4bHK Njg//JFHV6s3PJAdNB7n9hR2hr4I8U0m0nRTBX2wW7QkEzHkUA2ANPZnmw4xViL3jcL3NGIXv+hOB KJUW1S5eTaHMh6TmkWkZw8WpFLUov5/FLvKZ/sWXFIKpxQLhKvCgLts7AxTVqWfJg4wNYPLMJ8PKm eU+rNQpso2bVhKmQBsGgzWfh/bTFrOCV2rXuKKMMdFF7APVmWGxbgZ4XZmCGg2z37AJERqia3bEO5 cmRiamPi4CM2OuWDEb6oJA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p7ejX-0004lH-P4; Tue, 20 Dec 2022 10:40:48 -0500 In-Reply-To: (message from Aaron Jensen on Tue, 20 Dec 2022 10:25:39 -0500) 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:251524 Archived-At: > From: Aaron Jensen > Date: Tue, 20 Dec 2022 10:25:39 -0500 > > Here is another trace I just got during a restart. It's slightly > different. This one seems to point to rng-loc at least as part of the > trace. AFAIU, it says that Emacs was _loading_ rng-loc. That doesn't mean the problem is in rng-loc's code. The fatal signal comes from the maxOS implementation of dlopen, so I suspect that the way we restart Emacs messes up some OS data structures regarding loaded shared libraries or something. Note that the previous crash you posted also crashes inside dlopen. So I think it's safe to say that restarting Emacs makes loading of *.eln files (and maybe share libraries in general) fragile and tending to crash, for some reason. Maybe we should explicitly unload all the *.eln files when we restart?