[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hang in make check
From: |
Lars Ingebrigtsen |
Subject: |
Re: Hang in make check |
Date: |
Tue, 30 Mar 2021 15:29:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> I think the place where read-event hangs in that configuration is in
> this fragment from keyboard.c:kbd_buffer_get_event:
Yup; looks likely.
> But we still need to understand why this happens (if that's what
> happens) in the real test, because AFAIU when unread-command-events is
> non-nil, we were not supposed to get to this place, but instead return
> the event in unread-command-events.
The test code snippet that's actually hanging is this:
(should (equal (progn (run-with-timer
1 nil
(lambda () (push '(t . ?\C-b) unread-command-events)))
(read-event nil nil 2))
?\C-b))
So the `read-event' hangs indefinitely, and then apparently never
discovers that the run-with-timer has pushed something unto
unread-command-events (because it's in that getchar?), I think.
I haven't had time to actually try to debug this; hopefully I'll find
some more time later this week...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Hang in make check, (continued)
- Re: Hang in make check, Jeffrey Walton, 2021/03/28
- Re: Hang in make check, Michael Albinus, 2021/03/28
- Re: Hang in make check, Lars Ingebrigtsen, 2021/03/28
- Re: Hang in make check, Jeffrey Walton, 2021/03/28
- Re: Hang in make check, Lars Ingebrigtsen, 2021/03/28
- Re: Hang in make check, Lars Ingebrigtsen, 2021/03/28
- Re: Hang in make check, Eli Zaretskii, 2021/03/29
- Re: Hang in make check, Lars Ingebrigtsen, 2021/03/29
- Re: Hang in make check, Eli Zaretskii, 2021/03/29
- Re: Hang in make check, Eli Zaretskii, 2021/03/29
- Re: Hang in make check,
Lars Ingebrigtsen <=
- Re: Hang in make check, Eli Zaretskii, 2021/03/30
- Re: Hang in make check, Andreas Schwab, 2021/03/30
- Re: Hang in make check, Eli Zaretskii, 2021/03/30
- Re: Hang in make check, Andreas Schwab, 2021/03/30
- Re: Hang in make check, Eli Zaretskii, 2021/03/30