From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" 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 19:33:55 +0300 Message-ID: <87r0z5w0p8.fsf@tcd.ie> References: <8735bm6nl9.fsf@tcd.ie> Reply-To: "Basil L. Contovounesios" Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36894"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Alan Mackenzie , 58601@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 18 18:38:20 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 1okpbg-0009M2-6j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 18:38:20 +0200 Original-Received: from localhost ([::1]:50866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okpbd-0003so-66 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Oct 2022 12:38:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okpYV-0003hj-LB for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 12:35:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okpYV-00022b-9T for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 12:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1okpYU-0005uY-47 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2022 12:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2022 16:35: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.166611086122647 (code B ref 58601); Tue, 18 Oct 2022 16:35:02 +0000 Original-Received: (at 58601) by debbugs.gnu.org; 18 Oct 2022 16:34:21 +0000 Original-Received: from localhost ([127.0.0.1]:53983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okpXo-0005tD-Oo for submit@debbugs.gnu.org; Tue, 18 Oct 2022 12:34:21 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:47092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1okpXj-0005si-9n for 58601@debbugs.gnu.org; Tue, 18 Oct 2022 12:34:19 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id bk15so24468609wrb.13 for <58601@debbugs.gnu.org>; Tue, 18 Oct 2022 09:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=LHlxvf2M3aehLsATnMEebhPqb//Ur+IVoH49ZDhRbRc=; b=cPM56Hsy0MOPAYJeYqfhN1XG9l05hbFegrfUqWl5S77MAb4ldsqJ1mjLBWo+njRdP1 c0PignRUbJSpEna4R251a+vbhQmhAQOZxggEcGt43nkfbIUZofgDo9uzvQ3obF+vOhEv jvgAhPHTbLuX6Vr8MDKG38e1Z+hxIVP69e+8uvqb+vPkNCeUTcigkjCm1X2UTO/ec7cX iQtcqM0b9fqTZCQMVRq6obHqJZhAjIXzSGbVrX1a9eqxJQhDmco6NJn8446ECW6cdrtY Fp4m6Ggn6iKplXPRYkqzDqzCRBsQDt0pRc2/YmqgHFeR2NjjgQxnX1v6Kaga5nysAOQg rVpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LHlxvf2M3aehLsATnMEebhPqb//Ur+IVoH49ZDhRbRc=; b=VyYf9zSmqIWQ4cVf0DDvmqupBLmpspF8NZHeoPhZCz/OpNJElswKNJhzR7/o946NAE DtgktG0/p+gkx9EiI2LbdHqzOFGpgMClf6ylTtuqTRG+EETpfM5EceCrJFut/gXNLL6z uur9IFSppjsE9sHrbsTcaV+T/CR+QFP3+PPjuRfEdBrf//Dahm8tCdoJXtvWpl+ZXzEf cX/55yqlEnJcNKjJK8TTxGOGhJG1ljHsk05chsRD7X5mcWHhx9RVPa2/0SbkaWFe7fHN aqHs+D3dMnyItBKHgCdKQPdLgrWA8cclSp+wHvutXUF2UC2SJYJuw3nmp4imTc/hExdW lIlg== X-Gm-Message-State: ACrzQf1jzxd6notiWuV84XdA0/1is/Zxqhpnu7ZPjy+fm4WfJqf/JSSs LFCZv15tYVrECuvi9WASYHLv2XC0G7Ba9w== X-Google-Smtp-Source: AMsMyM677ulhaKgUYLYLCzdI2pMojhoWItcLg0IyMaaczO/MTC1WjbZ/9JbxANmtqzRiog4iElIKoA== X-Received: by 2002:a17:907:a068:b0:78d:cbcf:f7bc with SMTP id ia8-20020a170907a06800b0078dcbcff7bcmr3173182ejc.519.1666110837608; Tue, 18 Oct 2022 09:33:57 -0700 (PDT) Original-Received: from localhost ([2a02:587:321f:7e8a:d9:365a:ced1:b3d1]) by smtp.gmail.com with ESMTPSA id bs15-20020a170906d1cf00b0077958ddaec6sm7598822ejb.186.2022.10.18.09.33.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 09:33:57 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Tue, 18 Oct 2022 10:51:18 -0400") 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:245812 Archived-At: Stefan Monnier [2022-10-18 10:51 -0400] wrote: >> 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? Can confirm, thanks, -- Basil