From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#75135: 30.0.93; Infinite loop in comp--native-compile Date: Sun, 29 Dec 2024 05:17:10 -0500 Message-ID: References: <87msgiasma.fsf@klaatu.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26783"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 75135@debbugs.gnu.org To: Hugh Daschbach Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 29 11:18:29 2024 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 1tRqNP-0006l1-Ha for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Dec 2024 11:18:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRqN4-0000nK-Tg; Sun, 29 Dec 2024 05:18:07 -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 1tRqN1-0000n4-9Q for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 05:18:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRqN0-0001Vx-Vk for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 05:18:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=CmSfGyZ7NZf332xdlw9fE0uKZBF5hWYy8aNjJgLg8og=; b=C0jT+FEwPoln4oK4LLdxHBrkQsgJsYWBLQgAVQAeSeOUOCBwoFA51no708PlIFbjRRyc354dHQdpant7cFS7W361QT2PQm5qZJiIGTed1udYYM0PwNdHquzFFpB6sbw4fuKyVEzvIyE8aclbS6EpmzMIblxcQDS6079IUbfWBUoFSv39YhC4lrap6LNsmDvdWNeIKFzqK9rZmqzDm7I5uIq839eaT8gdAoRmurs+fkSjhx8HPsOPkciPC04sTBcb6BBWN+SOTc0015KOXegvr3eEwcxj43VFchDSSwaz41rCbir3l+nylMf9QVQgeBM6q2J4IymKxr1T7h0JvzbGDg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRqN0-0007Th-IS for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 05:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Dec 2024 10:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75135 X-GNU-PR-Package: emacs Original-Received: via spool by 75135-submit@debbugs.gnu.org id=B75135.173546745128690 (code B ref 75135); Sun, 29 Dec 2024 10:18:02 +0000 Original-Received: (at 75135) by debbugs.gnu.org; 29 Dec 2024 10:17:31 +0000 Original-Received: from localhost ([127.0.0.1]:53817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRqMP-0007SZ-LL for submit@debbugs.gnu.org; Sun, 29 Dec 2024 05:17:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRqMN-0007SF-Ie for 75135@debbugs.gnu.org; Sun, 29 Dec 2024 05:17:24 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRqMC-0001ST-Hj; Sun, 29 Dec 2024 05:17:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=CmSfGyZ7NZf332xdlw9fE0uKZBF5hWYy8aNjJgLg8og=; b=hlfwElu868FQa/zsdWVB WOs0eGXHOB5kLJXxfQjvwm3S9jTURo7sbpU2Tr1T3Pjun+BuwtXCbBB3TPrcQpDlVTjKsOkSn+BlC vfhu7iT4aXnuJen1c+jBKYjBUv6SOpuzHqlAhYUtfrLZegtr3UwVA/mVJFpa0sHpoLnh0gu4SFmzz rflBVgqPja2615kKFe7RJuBGm66IpKgGQX7uvH98AK+wabGYTd6iWYjV4LiH59vrNi82n3uLizmV/ /ppxaJ88nbPxVL8ONn4RakBQBRUcNCkWanqQa2T7aHfwC+8O8/Q6j13NWCZKWFfW9HrtAzy17g7vX YiVuMWzA6NVjWg==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1tRqMA-0005PL-DO; Sun, 29 Dec 2024 05:17:11 -0500 In-Reply-To: <87msgiasma.fsf@klaatu.mail-host-address-is-not-set> (Hugh Daschbach's message of "Thu, 26 Dec 2024 16:15:25 -0800") 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:297941 Archived-At: Hugh Daschbach writes: > Emacs hangs when attempting to compile tests from obsolete ELPA package > seq. > > To reproduce: > > ``` > curl -o /tmp/seq-tests.el https://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/tests/seq-tests.el?h=externals/seq > $ emacs -Q --eval "(progn (setq debug-on-quit t) (require 'comp) (comp--native-compile \"/tmp/seq-tests.el\" nil))" > ``` > > Press C-g shortly after the Emacs frame opens. This produces the > following backtrace: Okay I can reproduce on master as well. > ``` > Debugger entered--Lisp error: (quit) > #f(compiled-function (x) #)(1) > cl--nsublis-rec((1 . #1)) > cl--nsublis-rec((#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id 34397705172435 :slot 0) (1 . #3))) > cl--nsublis-rec(((#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id 34397705172435 :slot 0) (1 . #4)))) > cl-nsublis(((nil . #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id 34397705043564 :slot 1))) (#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id 34397705172435 :slot 0) (1 . #4)) :if #f(compiled-function (x) #)) > cl-nsubst-if(#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id 34397705043564 :slot 1) #f(compiled-function (x) #) (#s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id 34397705172435 :slot 0) (1 . #5))) > comp--ssa-rename-insn((setimm #s(comp-mvar :typeset (t) :valset nil :range nil :neg nil :id 34397705172435 :slot 0) (1 . #4)) #s(comp-vec :data # :beg 0 :end 5)) [...] > comp--ssa() > comp--fwprop(nil) > comp--native-compile("/tmp/seq-tests.el" nil) > (progn (setq debug-on-quit t) (require 'comp) (comp--native-compile "/tmp/seq-tests.el" nil)) > eval((progn (setq debug-on-quit t) (require 'comp) (comp--native-compile "/tmp/seq-tests.el" nil)) t) > command-line-1(("--eval" "(progn (setq debug-on-quit t) (require 'comp) (comp--native-compile \"/tmp/seq-tests.el\" nil))")) > command-line() > normal-top-level() > ``` > > Admittedly, trying to compile an obsolete ELPA package is not a good > idea. In fact, it was a configuration bug. But it might be interesting > to see why the compiler hangs. Yes it's certanly interesting thanks for the report will look at. Andrea