From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aIgRF/COJWPAawEAbAwnHQ (envelope-from ) for ; Sat, 17 Sep 2022 11:10:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8PUCF/COJWPrPwAAauVa8A (envelope-from ) for ; Sat, 17 Sep 2022 11:10:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 63FED11C9E for ; Sat, 17 Sep 2022 11:10:07 +0200 (CEST) Received: from localhost ([::1]:41338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZTpu-0007ky-14 for larch@yhetil.org; Sat, 17 Sep 2022 05:10:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZTpq-0007kq-UO for bug-guix@gnu.org; Sat, 17 Sep 2022 05:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZTpq-0002k9-MD for bug-guix@gnu.org; Sat, 17 Sep 2022 05:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZTpq-0002An-CX for bug-guix@gnu.org; Sat, 17 Sep 2022 05:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57878: Emacs native compilation on startup can crash the system Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Sep 2022 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57878 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57878@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16634057758314 (code B ref -1); Sat, 17 Sep 2022 09:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Sep 2022 09:09:35 +0000 Received: from localhost ([127.0.0.1]:45177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) 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 ) 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 ) 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 ) 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: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedvvddgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd dtnecuhfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgv nhesfhgrshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeevfeevuedtiedtte etgfeghedvudeileekgfehkeehudetveehgeeuteeuveejheenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnse hfrghsthhmrghilhdrnhgvth X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 17 Sep 2022 05:09:30 -0400 (EDT) From: Konrad Hinsen Date: Sat, 17 Sep 2022 11:09:28 +0200 Message-ID: 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663405808; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=hOdxZHe/yXznbmIfzgzFC80tdjw/I5TXbF4ilRmlJUQ=; b=snIJhHXIJffeoHh6/wqJoX0qm7JlpkbsXNF+6juFB+2QhOI80tf8B99HC/bIHGJXGaI43t zDjqdS/V5O9vKJ3w3tcI+EWBund1CGW2WvTu04Sm32AxBiEhULApanNkEcuBm/7KozqVqW 5OvBQ8hlOSyxdIUeCVGG8rqJpXUQZ52JNbyUek9mkVV6pU9mmzihbypLU/bwlfGliL6Wp2 fNZPQk5q/w/I4Q0fsbpuoCtCvw7NOhUnEFHXzD+Z6FcB2rZ9Kj0riYeiOnRrYV8HrVJX/g uvdc5a9AxAuSos6WAsSIF15+LCGt7rhbY0S/aQU/gc6KHr2gYMODYhTLaCRX6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663405808; a=rsa-sha256; cv=none; b=GTLyitRgqf79LO6expMTOd1e5+mtu377o3djNfxcMXV03zQkmFCXLcL+WqdTGokh/7MWrq Q6Qco4qh90XJ22pMhq4O4fFFavB6JP+ov3hWYMb9A8W5oFHNqYEfNfz/rNOTG395BHEVJi Kg+RKqMzMAJW+DePIUbrMOKPVXpnQHqD3b6/kK4U1KlLblwhbDtr7axiDQJOX4NOqv07v4 gtLcZSzxF7da2CAgtKGNka7V+4XQTSkXCgb45gMjym3c2m/dyYYfWggGI3O84jXKFtOHkH D6doszk7AtlvyySj4oX12Jwu9Srcrm8MbFFzWemqFtr50Gn4wvETM3mUn0GFXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm2 header.b=jsq95FGg; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="C saFeF4"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm2 header.b=jsq95FGg; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="C saFeF4"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 63FED11C9E X-Spam-Score: 5.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: U6A2NRRmhsiz 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.