all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pip Cet <pipcet@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Andy Moreton <andrewjmoreton@gmail.com>,
	46906@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
Subject: bug#46906: 28.0.50; byte compiler infloops trying to compile infloop
Date: Thu, 4 Mar 2021 12:15:17 +0000	[thread overview]
Message-ID: <CAOqdjBe4_aMTO13XjkZq3SOSHEEb7R9pBXsiN=YhJAPx0mnFaw@mail.gmail.com> (raw)
In-Reply-To: <87blbzw4n7.fsf@gnus.org>

On Thu, Mar 4, 2021 at 11:16 AM Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Pip Cet <pipcet@gmail.com> 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





  reply	other threads:[~2021-03-04 12:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-03 21:14 bug#46906: 28.0.50; byte compiler infloops trying to compile infloop Pip Cet
2021-03-03 21:44 ` Pip Cet
2021-03-03 23:33   ` Andy Moreton
2021-03-04  7:17     ` Pip Cet
2021-03-04  9:15       ` Juri Linkov
2021-03-04 10:19         ` Pip Cet
2021-03-04 11:16           ` Lars Ingebrigtsen
2021-03-04 12:15             ` Pip Cet [this message]
2021-03-05 13:16               ` Lars Ingebrigtsen
2021-03-04 17:58           ` Juri Linkov
2021-03-04 18:50             ` Pip Cet
2021-03-05 13:17             ` Lars Ingebrigtsen
2022-06-20  0:00               ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOqdjBe4_aMTO13XjkZq3SOSHEEb7R9pBXsiN=YhJAPx0mnFaw@mail.gmail.com' \
    --to=pipcet@gmail.com \
    --cc=46906@debbugs.gnu.org \
    --cc=andrewjmoreton@gmail.com \
    --cc=juri@linkov.net \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.