From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#60220: 29.0.60; macOS 13.1 crash shortly after starting Emacs Date: Fri, 30 Dec 2022 08:36:25 -0500 Message-ID: References: <24A595DF-81D8-47E7-90BC-FCDDB27315E8@gmail.com> <83ilhz2r14.fsf@gnu.org> <83r0wl0z6g.fsf@gnu.org> <204d542c-73e6-243a-f2d5-36b92cfa25ee@cs.ucla.edu> <83fscx70em.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38078"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, Paul Eggert , 60220@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 30 14:37:17 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 1pBFZV-0009kF-8f for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Dec 2022 14:37:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBFZN-0002TF-Rd; Fri, 30 Dec 2022 08:37:10 -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 1pBFZH-0002Mb-FZ for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 08:37:04 -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 1pBFZG-0007c3-HY for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 08:37:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBFZG-0004lO-Bs for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 08:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Dec 2022 13:37: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.167240740418286 (code B ref 60220); Fri, 30 Dec 2022 13:37:02 +0000 Original-Received: (at 60220) by debbugs.gnu.org; 30 Dec 2022 13:36:44 +0000 Original-Received: from localhost ([127.0.0.1]:33742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBFYy-0004ks-CD for submit@debbugs.gnu.org; Fri, 30 Dec 2022 08:36:44 -0500 Original-Received: from mail-pj1-f45.google.com ([209.85.216.45]:34307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBFYw-0004kf-SI for 60220@debbugs.gnu.org; Fri, 30 Dec 2022 08:36:43 -0500 Original-Received: by mail-pj1-f45.google.com with SMTP id hd14-20020a17090b458e00b0021909875bccso20630028pjb.1 for <60220@debbugs.gnu.org>; Fri, 30 Dec 2022 05:36:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=sNSqXZAJYm3EGwVxbD31FvZbsoZ+txr6RTm3bPl6agE=; b=LxEb1p9zOUrNXATUswOJ5X+RKK14qoaEGC220xQY2Ibxvf6DnBa4dPq24zY01nMqfG MMU5hfPt6Lb8Q0RUSnoVjFv2MaWAzKUFwXocTUCQz3MR+IszhvEhcmxhbA5hU9ahQtYJ COHUS4lLVkIp6OnguYFODfO/hsUxAu/9NCuGa837ui7+wjuhYwwl/uE71btp80w2DCRy DEC6jcEDrBvMqdMkpHKpePvRyrZs8mx+eNz3pWmZfsYurBhGIPsuIChfstdulqhH1nsk qmqWcSHp92NThEeZWEwJB1AjErCutb7s9EMtO/jjc17D5RlFsqB5ziCTPIq1CmTvXvwA 7pSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sNSqXZAJYm3EGwVxbD31FvZbsoZ+txr6RTm3bPl6agE=; b=Vnuy8fhzdm1LC9rjH+Avn75Ng9JbtAZRWwIUWV9gYe7oprgkUfhNUhtz/dhjAZKrW/ eDzPWXGiWZifb+bQTo1tgC5/s1CXP083Kty3m3le35s8y4Dq2o9wYfSwaC1ssu7wWrfP QZjoY3aNnv4zXagvGXP56yOJJDNDZxCXK6BuunQmPRTmNUu4MOrA6zUeU0WCeVmTuCSF +MCpSPWjTPzTy5cMiutbIaO+9wvPUF4wIIcpsLEOZ6Bi1l8zrit5jmCpzuci+yr6U575 65b9u2ucAV23PvMLpGOFZ5t5jj3xB2rYshdNuRI1o/ErQ0qWlJ0kijonRw0OPqx4CXkg XJGg== X-Gm-Message-State: AFqh2kqQXtNuj8HFGHf8/TZmGIJZHYWOVtD2+VwGQzGOZBbkaH7kbp2d GGgF/XA8A4RSIqpEwU5let7j75X43NKkImzMee0= X-Google-Smtp-Source: AMrXdXug+P+iaWja54TIIob4i6JMzkvLOKTuA32lbpyfJ61optiBdMA45pCEt8VGmdLT4ESrik5Xs5RuLmnJdcCpHYM= X-Received: by 2002:a17:90a:4dce:b0:226:397c:f790 with SMTP id r14-20020a17090a4dce00b00226397cf790mr304834pjl.114.1672407396590; Fri, 30 Dec 2022 05:36:36 -0800 (PST) In-Reply-To: <83fscx70em.fsf@gnu.org> 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:252113 Archived-At: On Fri, Dec 30, 2022 at 3:37 AM Eli Zaretskii wrote: > > > Date: Thu, 29 Dec 2022 17:16:18 -0800 > > Cc: Eli Zaretskii , gerd.moellmann@gmail.com, > > 60220@debbugs.gnu.org > > From: Paul Eggert > > > > On 12/29/22 16:03, Aaron Jensen wrote: > > > Would it make sense to use block_atimers while loading native lisp? If > > > > Might, but it might make more sense not to be dynamically loading code > > during an idle timer. > > This is a limitation we don't want, as it is too severe. How can we > prevent loading when idle timers can run any Lisp, and an arbitrary > Lisp program can always call some autoloaded function? > > And I don't understand why we'd want to have such a restriction, since > idle timers run from the main loop, thus in safe context. It would be > a gratuitous restriction that will only draw (justified) complaints. > > Can you explain why you think loading shared libraries from an Emacs > idle timer could be dangerous? I don't think I understand that. I've already disproven this. I can reproduce a crash with just an after-init hook loading several features. Aaron