From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58601: 29.0.50; Infinite loop in byte-compile--first-symbol-with-pos Date: Tue, 18 Oct 2022 10:51:18 -0400 Message-ID: References: <8735bm6nl9.fsf@tcd.ie> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7278"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Alan Mackenzie , 58601@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 18 16:52:40 2022 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 1oknxP-0001jB-95 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 16:52:39 +0200 Original-Received: from localhost ([::1]:44710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oknxO-00081n-4l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 10:52:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oknwp-0007va-IT for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 10:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oknwo-0001zW-G1 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 10:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oknwo-0006yZ-B4 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 10:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2022 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58601 X-GNU-PR-Package: emacs Original-Received: via spool by 58601-submit@debbugs.gnu.org id=B58601.166610469026757 (code B ref 58601); Tue, 18 Oct 2022 14:52:02 +0000 Original-Received: (at 58601) by debbugs.gnu.org; 18 Oct 2022 14:51:30 +0000 Original-Received: from localhost ([127.0.0.1]:53711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oknwI-0006xV-IB for submit@debbugs.gnu.org; Tue, 18 Oct 2022 10:51:30 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oknwF-0006xD-6m for 58601@debbugs.gnu.org; Tue, 18 Oct 2022 10:51:29 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 57FB680976; Tue, 18 Oct 2022 10:51:21 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B0F2D805B2; Tue, 18 Oct 2022 10:51:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1666104679; bh=0dg8Q7Y6JogiryN6p8xoaGuA+xRog25E1jAdW+cDlVw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=X/q89corgnx/sEITE0NxOWx4vNi/aK2ryK/Tkw7FvFG7xeN2E4fSHqv7jomBP6SRI jh1FvFrobk41YNWiwWeZZLQh5g14OF7KZpVufyt4ZChqIwAWMl/0+9PJg5mCMXhQ/g Rye0vt/4XpRj3Hz9Z4vuFwQNF2kbgdfgrulK7yCTcfCd2SRwrg8F7C2Ziyvf7ktj7q xolbQ3I5VriaaL0RSD1s5BjnbWMsSEbp/BeSTYrYdauNMcEwl6iK86gwG9dLQXVdsM LzpSYyc1nypKuwrkjRJ0/oCF2ePIdcnVAvIKl7/pKeuqptx0dwsHERSCQxCs4uul5+ WLKdgKfoVDMTQ== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 816B4120FA2; Tue, 18 Oct 2022 10:51:19 -0400 (EDT) In-Reply-To: <8735bm6nl9.fsf@tcd.ie> (Basil L. Contovounesios's message of "Tue, 18 Oct 2022 02:24:02 +0300") 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" Xref: news.gmane.io gmane.emacs.bugs:245803 Archived-At: > Perhaps byte-compile--first-symbol-with-pos needs to employ something > like byte-run--ssp-seen? Or does ERT somehow come into play? I just added in `master` an arbitrary limit to the loop inside `byte-compile--first-symbol-with-pos` to make sure it can't inf-loop. Can you confirm it fixes your original problem? Stefan