GNU bug report logs - #48629
28.0.50; GUI emacsclient frames stop accepting keyboard input around recv

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Mon, 24 May 2021 16:16:01 UTC

Severity: normal

Tags: moreinfo

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 48629 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 48629 <at> debbugs.gnu.org, schwab <at> linux-m68k.org
Subject: Re: bug#48629: 28.0.50; GUI emacsclient frames stop accepting
 keyboard input around recv
Date: Wed, 26 May 2021 21:59:44 +0300
> From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
> Cc: schwab <at> linux-m68k.org,  48629 <at> debbugs.gnu.org
> Date: Wed, 26 May 2021 19:10:30 +0100
> 
> > IOW, when you find Emacs stuck in pselect, type "finish" and let Emacs
> > exit the pselect call.
> 
> I did this, and it returned zero after a while:

So it found no input available.

> > Is the keyboard descriptor in the set of descriptors pselect waits
> > for?
> 
> How do I determine what the keyboard descriptor is?

Look at fd_callback_info[desc].flags for values of DESC from zero to
max_desc, and see if any of them have the FOR_READ and KEYBOARD_FD
flags set.  Then see whether those descriptors, which have those flags
set, have their bit set in readfds set passed to pselect.




This bug report was last modified 2 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.