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 #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 17 Sep 2022 09:09:35 +0000
From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 17 05:09:35 2022
Received: from localhost ([127.0.0.1]:45177 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1oZTpP-0002A2-E7
	for submit@debbugs.gnu.org; Sat, 17 Sep 2022 05:09:35 -0400
Received: from lists.gnu.org ([209.51.188.17]:35280)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <konrad.hinsen@fastmail.net>) id 1oZTpO-00029v-2e
 for submit@debbugs.gnu.org; Sat, 17 Sep 2022 05:09:34 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39162)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <konrad.hinsen@fastmail.net>)
 id 1oZTpN-0007kT-UB
 for bug-guix@gnu.org; Sat, 17 Sep 2022 05:09:33 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36989)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <konrad.hinsen@fastmail.net>)
 id 1oZTpM-0002is-66
 for bug-guix@gnu.org; Sat, 17 Sep 2022 05:09:33 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 5D6E15C00B1;
 Sat, 17 Sep 2022 05:09:31 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Sat, 17 Sep 2022 05:09:31 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h=
 cc:content-type:date:date:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=
 1663405771; x=1663492171; bh=hOdxZHe/yXznbmIfzgzFC80tdjw/I5TXbF4
 ilRmlJUQ=; b=jsq95FGgJFOapgltnjsRKW4AeKxSvLr4xTtw3yo8stuIbQMN29x
 3GskKiKZSVoBo1wBPWSB6syy7Dk/97u/JQfcPlJzaexWTI1c31kYzYp0u1lzRRJF
 Dr1D6OUO4mpSXKDjqAgSVbewfFLLYA0ftFwlPdqp4x1pnuzHxk34/jwqJg14IfJd
 yjgt8/I7h4jvCqIDYdym/HjZfsPHCCf20G3jDr/E67BmQGUMQGS1vWR4MkW+xQNn
 cZmGbSHPGul3WgNmRUUsLtErjWt91gk1w55rqe80iybpXPH6blwdY+CaQOmfo7wJ
 TBlM5hfBgAfG/u5NdqgVPezEn+ogzhNAUgA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:message-id:mime-version
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1663405771; x=
 1663492171; bh=hOdxZHe/yXznbmIfzgzFC80tdjw/I5TXbF4ilRmlJUQ=; b=C
 saFeF40BPEPN9P+gV4ymJkav3Xp43J7aM4bbGo/qeP+AiHlQyLUEa6fw8nB+rtX9
 Za6Rx/otMuPqwMc3t/hRamMDP381lAWmHTD3ZD+2XB0L9pmMcrHh3pfoE7HL/3JL
 UEUzHO5OwKNPEJMowA9Q/A6/E4od6TWCCEXQDYl3EmkXKGO92zPsl7RFJGOxbeZI
 5DezhEbK+KCrzepF0372AWLBDmA4IB0PDMT+dPXcv8GlM/YSELZqeCCaa9jW5NGM
 c5+ESyYK08QZTQrEOSuzCKt2CD8xqWymdYT23u2ry8w3qwl2ZQQjy81UFCTs+5+4
 zY7WkEXt5+kcF4QjvTK+A==
X-ME-Sender: <xms:y44lY1LqH7CnxmXrAWnSGai2Q_v8SfzWXekpOv8Tit4eOjF_BP93hg>
 <xme:y44lYxKNqhG6dNo6Ns_mk2JNXhDy0mEF71y-knalmH7UHra9OawUQglkw_wkFP33W
 4vSaKiFKWHODGZm>
X-ME-Received: <xmr:y44lY9uUVGA7q14i6nkkmr-Eg7_00Asc6c3P2hzBLayYtorqwiaQOo4BJ-iWez151i9y2ZKS0mojiiMf>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvvddgudegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd
 dtnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgv
 nhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeevfeevuedtiedtte
 etgfeghedvudeileekgfehkeehudetveehgeeuteeuveejheenucevlhhushhtvghrufhi
 iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnse
 hfrghsthhmrghilhdrnhgvth
X-ME-Proxy: <xmx:y44lY2aPh2pKhQ5DceFLtg3xDy_KTMIlOA3Hcr_fmuTn0zvxTav56g>
 <xmx:y44lY8Z22Qh4Rh0FNLFISu7r6GRkQsOvsi3hDGSNk178fERynbkLiw>
 <xmx:y44lY6ASvNie_Dk0_FfPqqR9YLnORETPZdxdi5yj99b4c-xGlqSO2Q>
 <xmx:y44lY1BST6QIZisFwelVgbLV4ANg2nzh6vnKY2S5ZulObYRleYl_sQ>
Feedback-ID: i184641e2:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 17 Sep 2022 05:09:30 -0400 (EDT)
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: bug-guix@gnu.org
Subject: Emacs native compilation on startup can crash the system
Date: Sat, 17 Sep 2022 11:09:28 +0200
Message-ID: <m1y1ui2wqf.fsf@fastmail.net>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.25;
 envelope-from=konrad.hinsen@fastmail.net; helo=out1-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.6 (/)
X-Debbugs-Envelope-To: submit
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: -2.3 (--)
After updating to a commit after the introduction of native compilation
in Emacs, I cannot start Emacs any more. It launches an ever increasing
number of async processes for native compilation, which rapidly makes
kswapd the main CPU user on my machine, and ultimately crashes the
kernel.

Some experiments showed that it's loading the site-lisp/site-start.el  that
causes this avalanche of processes:

  emacs -Q --batch --eval="(print load-path)"

works fine. As does:

  emacs -Q --batch --load=~/.guix-profile/share/emacs/site-lisp/guix-emacs.el --eval="(print load-path)"

But not:

  emacs -Q --batch --load=~/.guix-profile/share/emacs/site-lisp/site-start.el --eval="(print load-path)"

which starts the avalanche of compilation.

Possibly related: in my user-dir (~/.emacs.d/) I have a directory
"eln-cache" containing a directory "28.1-f1a30909", but that directory
remains empty. Perhaps all native compilation attempts fail and that's
what causes the problem. Just guessing!

Cheers,
  Konrad.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Nov 3 13:47:34 2024; 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.