From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#48629: 28.0.50; GUI emacsclient frames stop accepting keyboard input around recv Date: Mon, 24 May 2021 19:38:45 +0100 Message-ID: <87fsyckmdm.fsf@tcd.ie> References: <87y2c4rtvh.fsf@tcd.ie> <83wnroccmi.fsf@gnu.org> <8735ucnk93.fsf@tcd.ie> <875yz8gh4e.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16882"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48629@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 24 20:39:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llFTu-00047b-8k for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 May 2021 20:39:14 +0200 Original-Received: from localhost ([::1]:50260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llFTt-0000Ow-8I for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 May 2021 14:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llFTi-0000It-8w for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 14:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llFTi-00060p-0v for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 14:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llFTh-0005EA-Sf for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 14:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 May 2021 18:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48629 X-GNU-PR-Package: emacs Original-Received: via spool by 48629-submit@debbugs.gnu.org id=B48629.162188153620075 (code B ref 48629); Mon, 24 May 2021 18:39:01 +0000 Original-Received: (at 48629) by debbugs.gnu.org; 24 May 2021 18:38:56 +0000 Original-Received: from localhost ([127.0.0.1]:43874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llFTb-0005Dh-Q0 for submit@debbugs.gnu.org; Mon, 24 May 2021 14:38:56 -0400 Original-Received: from mail-wr1-f41.google.com ([209.85.221.41]:44996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llFTZ-0005DU-LI for 48629@debbugs.gnu.org; Mon, 24 May 2021 14:38:54 -0400 Original-Received: by mail-wr1-f41.google.com with SMTP id i17so29530408wrq.11 for <48629@debbugs.gnu.org>; Mon, 24 May 2021 11:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=aKuSc/KgEO8KRDsuLbTs2LswCy5Mo3OUtaICNnesODY=; b=dRS00k3dDau32ytJl9zl2azeTxDggB0V4XuMqAUSJ6PHjghOeRJfIdjoMipLW0x/Q7 +vfb3YO3d24fhYk9vInP2wK6teE+IGOot01h9S7dgG8tlO+87lIuSmQtR6KXDfHO98Qn 769O00tdOjAoqw8l6Yu9mvt99z2n4Ulk/ncaGzF/OWZcB6uAR7r6cFVMbUDxoysp7z2k 5A/yaSAx+W5TVxx7MNuQxCUCfsQvIRb53KZ3io6OsmyDlNpEpHy89P00hNTfjanlkfI6 P6+q5zHk6szUEACK4ez/520S9xlH9Mgq1nl8hMjb2Nqes6EUQh+EeyUE37SOa6sKMDVQ Vg2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=aKuSc/KgEO8KRDsuLbTs2LswCy5Mo3OUtaICNnesODY=; b=CljqVXw0RSesk/tBhaXkvOzQTyoeUQxOP6INv8Hpw13ZHJ0rmNC1PhCxEqi24hl0qm dDW0vvl99yJK+s6L/xU7r/JEksrgaiTe+dVFSyk/fg+4IgxRxyEwcivJipmWqDtpchhy TCpSD128yvDqFvF11rk4rUR4m+fc0EIL5MdpGstG0z4VvqglBHegnE2gR2hdzAYEgPWb 8jnYJNThWeViZs9zuzkcJzeMCe0oYa99HXIjP/+wnM+IeFxVDVgKZrnWMYPaZZd9j+oq P56L/mm/ZFMgWZ96o9CfD/Uo2NfSw9mSBSs5QT38ktNyC8ou6Nizj/E4fgy4iX0z3zoz drVA== X-Gm-Message-State: AOAM5313FLguqM+8pM3j45rGv9Ja/x084W+v7aJvHzor4W0Uuv6Eky36 ai+n3sg3Pnni7rMGwMkhN5FxYA== X-Google-Smtp-Source: ABdhPJzkVjXOEpyCno0BgYcyD6dH+mxW2/JOmq+7tLQ6DsKXTN2ClVCOVn6xouEfXWYz6lzZ1NPg9Q== X-Received: by 2002:adf:f7c4:: with SMTP id a4mr23282433wrq.20.1621881527743; Mon, 24 May 2021 11:38:47 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:f410:82e8:3a21:eedf]) by smtp.gmail.com with ESMTPSA id l3sm8546291wmh.2.2021.05.24.11.38.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 11:38:47 -0700 (PDT) In-Reply-To: <875yz8gh4e.fsf@igel.home> (Andreas Schwab's message of "Mon, 24 May 2021 19:45:53 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:207141 Archived-At: Andreas Schwab writes: > On Mai 24 2021, Basil L. Contovounesios wrote: > >> Eli Zaretskii 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