GNU bug report logs

#57878 Emacs native compilation on startup can crash the system

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #38 received at 57878@debbugs.gnu.org (full text, mbox, reply):

Received: (at 57878) by debbugs.gnu.org; 12 Oct 2022 19:43:07 +0000
From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 12 15:43:07 2022
Received: from localhost ([127.0.0.1]:58483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1oihdD-00010b-HK
	for submit@debbugs.gnu.org; Wed, 12 Oct 2022 15:43:07 -0400
Received: from mail-ed1-f68.google.com ([209.85.208.68]:46888)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@gmail.com>) id 1oihdA-000106-Rf
 for 57878@debbugs.gnu.org; Wed, 12 Oct 2022 15:43:05 -0400
Received: by mail-ed1-f68.google.com with SMTP id m15so25816995edb.13
 for <57878@debbugs.gnu.org>; Wed, 12 Oct 2022 12:43:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=L1Ccn01DGvzAcCZzKKinl6d7G0G2LVJ9Si425saJqjk=;
 b=UkxSWBTIfelV9QBVsCFHEMh6IipAmmly3v4jI9yM2xvLIXfSeET0oOglTepLjTUDKu
 SxlmH+zi6rG0Q5iiJBuV2lWCTlHx+K3j1QWF3o2iNb7A1DkWeXJZGL4eCtp7U2CWeTnh
 EFAE1L2s5spDpMuSoIQntGRQVibBFjn9KF/xlu2sOBgYS0W3wVbH8EwJRWf2DtDcsIy+
 OS0RJYsQG7lAlGHCrgZxQVeJ13CjTKrEwWTzhZvNICdRPDDOcUhqBD9zJfO1hqCR13iC
 en6TXzyO6V7fSd86G/njqgbBfQ8e/Dzxoj0FrVKNUMAc0/CXiw+UEQSI2fN28DDTPZfb
 b+eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=L1Ccn01DGvzAcCZzKKinl6d7G0G2LVJ9Si425saJqjk=;
 b=GoPDRHRtPZPE4JX5NsKJIjlkz15FUcRpe134nmH8UodjjXdngTV7JwuB/cWSz24LVX
 4aVG410Blr0pL08s66kFJZlp3NEfhybjICTlqQIOanUpuhZLJY4scvCZrBz8gkp2Sh5L
 7Y3EyV6ju0dIgpHMfWB4qjh8mgzgqr9NWyXb+B3g+5Mt6VWK5G313+369xq+A5sK8onf
 IMEkzqS1m0Nmx2xZ1bc6oWZDRlDgl4VtC7GE8jNMPOKvhon5YOubIv7k6V3w0KVj/SXW
 VaxUyOhd+IIR0aaVCZmFW17mRkeTl8DVFt2+S6Fc2ylnF2EYswiUdBIAPWb6KGDzFAnx
 m0Dw==
X-Gm-Message-State: ACrzQf1PZ+z6QczJ6Br/Enx2Db8sLy2ZBMXSfZL4U+ykyGGAwRHIImrK
 nPwAi4vV9wmXbyC6uhlqwQA=
X-Google-Smtp-Source: AMsMyM74Lv2W7H7yRPnTDg/iOCS8bunPyXDBHLmBrS7wY/UiQx7zrZXwR1EmGfb7iWGX/1HfrecShA==
X-Received: by 2002:a05:6402:154c:b0:459:b29:da88 with SMTP id
 p12-20020a056402154c00b004590b29da88mr29644937edx.296.1665603778825; 
 Wed, 12 Oct 2022 12:42:58 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 t21-20020a170906609500b007402796f065sm1747057ejj.132.2022.10.12.12.42.57
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 12 Oct 2022 12:42:58 -0700 (PDT)
Message-ID: <6873fe86a05a548e7427d2de7df04a27a967713a.camel@gmail.com>
Subject: Re: bug#57878: Minimal reproducible setup
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>, "Thompson, David"
 <dthompson2@worcester.edu>
Date: Wed, 12 Oct 2022 21:42:57 +0200
In-Reply-To: <m17d1iskc0.fsf@fastmail.net>
References: <m1o7ve2t2a.fsf@fastmail.net> <m1o7vexawf.fsf@fastmail.net>
 <e00fb97ec9fa651b42c7bbbf29760e0d93e6e3e6.camel@gmail.com>
 <12eb8b51fe6c9508517e19bdeed923c389cafe1f.camel@gmail.com>
 <m14jx3q4qy.fsf@fastmail.net> <m1r107iw6t.fsf@fastmail.net>
 <CAJ=RwfbckEBc+7MSTbVtKsoL7EGM_ZYk+CecO-6x0PGDkWfntw@mail.gmail.com>
 <m17d1iskc0.fsf@fastmail.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.0 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 57878
Cc: 57878@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Am Sonntag, dem 02.10.2022 um 10:25 +0200 schrieb Konrad Hinsen:
> As for Liliana's idea of disabling deferred compilation : shouldn't
> it be sufficient to have all Emacs Lisp packages in Guix AOT-
> compiled?
From personal experience, no.  Even if you compile code ahead of time,
there seem to be some leftovers that are deferred.  guix-emacs.el is an
oversight, but apart from that I also other leftovers (possibly from
init.el?)

> There would be nothing left to compile in deferred mode. A quick scan
> of the relevant page on Emacs Wiki
> (https://www.emacswiki.org/emacs/GccEmacs) suggests that some package
> manager do this.
In Guix, this is more or less a user choice – we advertised the
transformation by which you can opt-in to AOT compilation in a news
entry.  Also, enforcing ahead-of-time compilation does not fix the more
pressing issue of packages breaking with native compilation ;)

To quote Eli:
> More generally, we never expected people who have Emacs with native
> compilation available to want to disable it.  It made no sense to us
> during development of Emacs 28, and frankly, it still doesn't, at
> least to me.
I think this reasoning really falls flat in presence of any non-Emacs
package manager.  Like, obviously wanting to natively compile packages
managed by (dpkg, rpm, pacman, emerge, guix), but not natively
compiling a random elisp script you just downloaded from the web is a
legitimate use case.

Cheers




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Sep 8 11:51:42 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.