unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: noloader@gmail.com, emacs-devel@gnu.org
Subject: Re: Hang in make check
Date: Mon, 29 Mar 2021 07:48:24 +0300	[thread overview]
Message-ID: <83lfa6mup3.fsf@gnu.org> (raw)
In-Reply-To: <87mtunnjjy.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun,  28 Mar 2021 21:51:29 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sun, 28 Mar 2021 21:51:29 +0200
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> Lars Ingebrigtsen <larsi@gnus.org> writes:
> 
> > Ah; "make keyboard-tests" with those options does indeed hang (when
> > testing on Debian/bullseye).
> 
> Seems to have something to do with timers and timeouts.  This hangs:
> 
> (read-event nil nil 1)
> 
> when run in batch mode, apparently (instead of timing out after one
> second).

But that's not what the test does (if it did, it would have hanged for
everyone, regardless of the build details).  The test does:

  (let ((unread-command-events nil))
    (should (equal (progn (push ?\C-a unread-command-events)
                          (read-event nil nil 1))
                   ?\C-a))

When there's some stuff in unread-command-events, read-event should
return immediately with the first element of what's in
unread-command-events.  Why doesn't it happen in that build?  Can you
step through the code and tell why not?



  reply	other threads:[~2021-03-29  4:48 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-27 22:14 Hang in make check Jeffrey Walton
2021-03-28  8:27 ` Michael Albinus
2021-03-28  9:02   ` Jeffrey Walton
2021-03-28 12:14     ` Michael Albinus
2021-03-28 17:28       ` Jeffrey Walton
2021-03-28 19:11         ` Michael Albinus
2021-03-28 19:20         ` Lars Ingebrigtsen
2021-03-28 19:33           ` Jeffrey Walton
2021-03-28 19:42             ` Lars Ingebrigtsen
2021-03-28 19:51               ` Lars Ingebrigtsen
2021-03-29  4:48                 ` Eli Zaretskii [this message]
2021-03-29 11:00                   ` Lars Ingebrigtsen
2021-03-29 11:04                     ` Eli Zaretskii
2021-03-29 11:24                       ` Eli Zaretskii
2021-03-30 13:29                         ` Lars Ingebrigtsen
2021-03-30 13:46                           ` Eli Zaretskii
2021-03-30 14:14                             ` Andreas Schwab
2021-03-30 14:33                               ` Eli Zaretskii
2021-03-30 15:16                                 ` Andreas Schwab
2021-03-30 15:33                                   ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83lfa6mup3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=noloader@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).