unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 48629@debbugs.gnu.org
Subject: bug#48629: 28.0.50; GUI emacsclient frames stop accepting keyboard input around recv
Date: Mon, 24 May 2021 19:38:45 +0100	[thread overview]
Message-ID: <87fsyckmdm.fsf@tcd.ie> (raw)
In-Reply-To: <875yz8gh4e.fsf@igel.home> (Andreas Schwab's message of "Mon, 24 May 2021 19:45:53 +0200")

Andreas Schwab <schwab@linux-m68k.org> writes:

> On Mai 24 2021, Basil L. Contovounesios wrote:
>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>>> or you are asking why it becomes stuck in recv for prolonged times?
>>
>> Not just prolonged, but indefinite.
>
> But emacsclient is just waiting for the answer from Emacs, so it is
> behaving as expected.

Right, I just attached GDB to a non-frozen emacsclient process, and it's
exactly the same story as in the OP.  Sorry for the misleading report.

> If you want emacsclient not to wait for it, use --no-wait.

Sure, but that doesn't address...

>> I have yet to find a way to restore these graphical sessions to
>> normal operation,
>
> That must be something else, not related to emacsclient.

...whatever elusive cause is making my GUI emacsclient frames stop
accepting keyboard input.  Perhaps then the issue lies in the Emacs
keyboard input code, and I'd be able to reproduce the hang even in
non-daemon Emacs sessions?

Any ideas on how to debug that next time it happens?

Thanks,

-- 
Basil





  reply	other threads:[~2021-05-24 18:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 16:14 bug#48629: 28.0.50; GUI emacsclient frames stop accepting keyboard input around recv Basil L. Contovounesios
2021-05-24 16:36 ` Eli Zaretskii
2021-05-24 16:56   ` Basil L. Contovounesios
2021-05-24 16:59     ` Eli Zaretskii
2021-05-24 17:12       ` Basil L. Contovounesios
2021-05-24 17:45     ` Andreas Schwab
2021-05-24 18:38       ` Basil L. Contovounesios [this message]
2021-05-24 19:00         ` Andreas Schwab
2021-05-26 15:25         ` Basil L. Contovounesios
2021-05-26 15:58           ` Basil L. Contovounesios
2021-05-26 17:24             ` Eli Zaretskii
2021-05-26 18:10               ` Basil L. Contovounesios
2021-05-26 18:59                 ` Eli Zaretskii
2021-06-03 13:18                 ` Basil L. Contovounesios
2021-05-26 17:21           ` Eli Zaretskii
2022-07-15 10:24 ` Lars Ingebrigtsen
2022-07-24  3:54   ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-07-24  9:25     ` 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

  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=87fsyckmdm.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=48629@debbugs.gnu.org \
    --cc=schwab@linux-m68k.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 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).