From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#46906: 28.0.50; byte compiler infloops trying to compile infloop Date: Thu, 4 Mar 2021 12:15:17 +0000 Message-ID: References: <86y2f3vmmb.fsf@gmail.com> <878s73b7p6.fsf@mail.linkov.net> <87blbzw4n7.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37871"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andy Moreton , 46906@debbugs.gnu.org, Juri Linkov To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 04 13:16:11 2021 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 1lHmtm-0009kh-KY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 13:16:10 +0100 Original-Received: from localhost ([::1]:60864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHmtl-0006jr-5e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Mar 2021 07:16:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHmte-0006jf-RC for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 07:16:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHmte-0005uv-Je for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 07:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHmte-0004p8-CF for bug-gnu-emacs@gnu.org; Thu, 04 Mar 2021 07:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Mar 2021 12:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46906 X-GNU-PR-Package: emacs Original-Received: via spool by 46906-submit@debbugs.gnu.org id=B46906.161486016118530 (code B ref 46906); Thu, 04 Mar 2021 12:16:02 +0000 Original-Received: (at 46906) by debbugs.gnu.org; 4 Mar 2021 12:16:01 +0000 Original-Received: from localhost ([127.0.0.1]:57997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHmtd-0004ol-GR for submit@debbugs.gnu.org; Thu, 04 Mar 2021 07:16:01 -0500 Original-Received: from mail-oo1-f52.google.com ([209.85.161.52]:35450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHmtb-0004oV-VN for 46906@debbugs.gnu.org; Thu, 04 Mar 2021 07:16:00 -0500 Original-Received: by mail-oo1-f52.google.com with SMTP id p6so6529048oot.2 for <46906@debbugs.gnu.org>; Thu, 04 Mar 2021 04:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/AqhvypM67/p2T2vysltT4zMieMBSGsGsScbHzaKexw=; b=aQfpBMKJ0lRSbXfSD0hidC2I7CGLFl4URR2EsvX1P6TlHqEw1cUO4nswUi02clNxha gY8yuPlT+8kjPHIgMqeN9h5tmHgKNZomLJQxJ2I6VJba/jomq6r8DfTl2PLgUXUWZ5p2 BPtCMPekUyRWzrT+5SDpS2bfTsj1arE1XMETisAc8Ujr7oDbbkGIOFNLrshEMBOV2wUN mt2RQIpsS6ZIHEyeumbi1iuFXAuT8OJiG6QYfQqL9D9egFXFswQJ6Z/nWtPkBNpLyFeN kQuFHpBRCwfPDL0BFN61RN9sDhEzYzdi7AMNcsHGEuNGEBQCXy0tBUg+/P7JKbDYFqZ6 8umg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/AqhvypM67/p2T2vysltT4zMieMBSGsGsScbHzaKexw=; b=n6MA4sY2xcWqaBC8O/842CQNmDd+F6WKoJ8nxnF1+AOWHNPe7+XY2+1I1SuERlO020 hb+91dv99eHbdNtC/QbUr+dd96Vq+bKZdg+/Rd2MV+egTzvSVYIXgIBxt4KsntlwhQ8E 5whlxRDIe6Im+z7KINynJKkITGgB81iot2elnrCQiUy+O6jnWe1Np0iJFJxUtsBULlEd hWEQ4gJ1Me/uqUuS5A0kWl8iopaFA92ZkOZVVSdVdS4bQYcWEyRjAwOI3ag8Gwz+tn+E 4tB03XO3CD7WVPs8UG0QhsgKS83IbqbPfw1sbKSCk5L9bmx1zMPG9qZ+ysa3AiFppilo j4ng== X-Gm-Message-State: AOAM532POrPsvOZs0HVADf+k2CFSFRGaPrPuYkkwOo9zq3Uyj29jRtYl UiV5bJCrfqHGDrd3LC2ZypFFhZySJ1HzWnmC76I= X-Google-Smtp-Source: ABdhPJzC59WT7BoJuaMRt/6okMFB8Z5KOfB5T/NtO02S+aR9b+erq3ipBMootOUJKa+SPINA+MHez/nFnqIQgmeXsCg= X-Received: by 2002:a4a:d781:: with SMTP id c1mr3146938oou.44.1614860154395; Thu, 04 Mar 2021 04:15:54 -0800 (PST) In-Reply-To: <87blbzw4n7.fsf@gnus.org> 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:201380 Archived-At: On Thu, Mar 4, 2021 at 11:16 AM Lars Ingebrigtsen wrote: > Pip Cet writes: > > I don't think so, because it doesn't work for Lisp infloops. > > (with-timeout (1 (error "foo")) (while t)) doesn't work here, at > > least. > > Yes, you need to put something that yields in there for `with-timeout' > to work. For instance: > > (with-timeout (1 (error "foo")) (while t (sleep-for 0.1))) > > However, I haven't checked whether this form triggers the bug that we're > trying to reproduce. Even if it would, that wouldn't solve our issue: it's the optimizer which infloops trying to compile the form, and the optimizer certainly does not yield anywhere that I'm aware of... I think we're just going to have to put in a test which, on systems with the bug, loops indefinitely. We could make it "expensive", though it isn't, really. (I'm not sure how many people are trying to run the Emacs 28 testsuite against Emacs 27, or anything like that. It might be a non-issue.) Pip