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

Received: (at 57878) by debbugs.gnu.org; 9 Dec 2022 14:30:27 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 09 09:30:27 2022
Received: from localhost ([127.0.0.1]:36433 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1p3eOR-00056h-Ap
	for submit@debbugs.gnu.org; Fri, 09 Dec 2022 09:30:27 -0500
Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48639)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <konrad.hinsen@fastmail.net>) id 1p3eOO-00056b-S0
 for 57878@debbugs.gnu.org; Fri, 09 Dec 2022 09:30:25 -0500
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 735845C008C;
 Fri,  9 Dec 2022 09:30:19 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Fri, 09 Dec 2022 09:30:19 -0500
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=
 1670596219; x=1670682619; bh=wx27OV4aV/dXnBHg31MGmalcsXAVDz7fMAk
 KeNzmzjE=; b=p0D01JiSlj3P2xQyJ2cOGP4DsjuRcM6qtWs0UTG6LaWz7zhlai2
 jBVPbIAy1NDA9mXtsva+Y2SWxRwMzYwlI/cgktbMuse1zxQnNDhZGZT1gjw/6gIi
 lN22cMj2OSIWYT3K7cgENa+0RwnHWGGt83z8RE5PLW66tBDG4OxhffnZ9M1LSf1B
 pGOY9KZvu/hmShvDF3vaIaFzexrflU+3ChGn9tIaq6HNVLChrzGuIgtFxbZMH2+x
 DiIb259ZJcuTsi8inzkCFBj6z9fdY0j6OXIjMxmO83GZzrbdtIraSpCmx8yhG0Hz
 f8SEQj9FdQdhEnqpvW7arC315SfOyLCgrJw==
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=1670596219; x=
 1670682619; bh=wx27OV4aV/dXnBHg31MGmalcsXAVDz7fMAkKeNzmzjE=; b=Q
 1xTcQVZpoSBthNVALO6uZ52hIiiXUYfEHx1Ybk8f1q8zMxD4B0JFDLS9LSpxTz5T
 CtGKUbQHSnjF9YF0jBqvzO6YLeOQSzu/IygvTxA1yQYuebKUB+Y4DDo38GHvrdG4
 RvrUY/sFUsUyupfEOc4RDi+z40i1qPgO7S3zCFnP3JrIjr5Asw537lshOgCl7cGR
 Z5CtS9zKXd4GOUjLqqGlNtFpjs/+XEc2iNUaqQWFHXoz29aGg7iml3VAiIYKOPMn
 Bn3/DqXu9sqT/q4B2hMoS/5Xd2LzZQMqGPyRQVgltdGhKrr8mWaAKqHR74lRFrW6
 PdBbCnd/6uFir5td7BFyA==
X-ME-Sender: <xms:e0aTY1F-Ha8Xh5D3wuL8kDZJ7FIr-3jPEUY6l6FxP3UTPhHdaBLy9g>
 <xme:e0aTY6WqrQc4CUGFoeI9ayJB3-Dj0KVufwtH78aGiX_f4La_NSSZkV9KZbw_iIMNn
 eGZZSYvJHcHGAFU>
X-ME-Received: <xmr:e0aTY3I-vqmsBv9RI4NNBUEJq0B-g3suc0oQxd7HqLrJlh6XLdij_omDtXZyjawUDeOwm7gxLOSY8wMS3qpo6lYSu-xWb5OWoTY>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddvgdeigecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddttd
 enucfhrhhomhepmfhonhhrrgguucfjihhnshgvnhcuoehkohhnrhgrugdrhhhinhhsvghn
 sehfrghsthhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepveefveeutdeitdette
 fggeehvdduieelkefgheekheduteevheegueetueevjeehnecuvehluhhsthgvrhfuihii
 vgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhnshgvnhesfh
 grshhtmhgrihhlrdhnvght
X-ME-Proxy: <xmx:e0aTY7FuFuRETgIu0Dya4n1o9cx1B0u83IPBvCCX8TZDLChOWC6bHQ>
 <xmx:e0aTY7XrbwrTG3aSJkTbW82cz_krJ_lgrswehyiGNOTB41E37Yi-uw>
 <xmx:e0aTY2OWLsE-Hq8ShCJCjAdmuTHNASotA0Grc7VAHvy2w4H9xArx6Q>
 <xmx:e0aTY8f3FQc9bjNx5xwymHh4iOlZHCLsMDxJ5t0K5QX6XILBK4k_iQ>
Feedback-ID: i184641e2:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 9 Dec 2022 09:30:18 -0500 (EST)
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: 57878@debbugs.gnu.org
Subject: Some further investigation
Date: Fri, 09 Dec 2022 15:30:17 +0100
Message-ID: <m1tu24myyu.fsf@fastmail.net>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 57878
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.7 (-)
Hi everyone,

On the occasion of a "guix pull", I looked into this issue again,
because magit without ido-completing-read+ is less fun.

Loading this package runs lots of compilation threads, but it does
ultimately terminate, with an error:

  Debugger entered--Lisp error: (native-compiler-error (lambda (arg3 &optional arg4 arg5) (let ((f #'call-interactively)) (funcall f arg3 arg4 arg5))) "Debugger entered--Lisp error: (native-compiler-err...")
    signal(native-compiler-error ((lambda (arg3 &optional arg4 arg5) (let ((f #'call-interactively)) (funcall f arg3 arg4 arg5))) "Debugger entered--Lisp error: (native-compiler-err..."))
    comp--native-compile((lambda (arg3 &optional arg4 arg5) (let ((f #'call-interactively)) (funcall f arg3 arg4 arg5))) nil "/home/hinsen/.emacs.d/eln-cache/28.2-16da12a1/subr...")
    comp-trampoline-compile(call-interactively)
    comp-subr-trampoline-install(call-interactively)
    advice--add-function(:around (#f(compiled-function () #<bytecode 0x32e14019df7e91>) . #f(compiled-function (gv--val) #<bytecode 0x9f608bbba7cb3c2>)) call-interactively@ido-cr+-record-current-command nil)
    advice-add(call-interactively :around call-interactively@ido-cr+-record-current-command)
    load-with-code-conversion("/gnu/store/abvhh3kcdpbg9vm2jz5q6zqhmfdpr4m7-emacs-..." "/gnu/store/abvhh3kcdpbg9vm2jz5q6zqhmfdpr4m7-emacs-..." nil nil)
    load("/gnu/store/abvhh3kcdpbg9vm2jz5q6zqhmfdpr4m7-emacs-...")
    (progn (load "/gnu/store/abvhh3kcdpbg9vm2jz5q6zqhmfdpr4m7-emacs-..."))
    (setq elisp--eval-defun-result (progn (load "/gnu/store/abvhh3kcdpbg9vm2jz5q6zqhmfdpr4m7-emacs-...")))
    elisp--eval-defun()
    eval-defun(nil)
    funcall-interactively(eval-defun nil)
    command-execute(eval-defun)

What I notice here is "advice-add". It makes me wonder whether the
problem is perhaps not native-compiling ido-completing-read+, but
native-compiling the ido code that is getting adviced here.

Cheers,
  Konrad.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Sep 8 11:52:12 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.