From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#75056: 31.0.50; tty-child-frames with server / multiple clients possible hangs Date: Fri, 27 Dec 2024 10:04:29 +0100 Message-ID: References: <8634i9y1wa.fsf@gnu.org> <86wmflwlok.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7348"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: lenbok@gmail.com, 75056@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 27 10:06:19 2024 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 1tR6IU-0001kX-V5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Dec 2024 10:06:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR6IH-0001e3-Rd; Fri, 27 Dec 2024 04:06:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tR6IF-0001dj-Fy for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 04:06:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tR6IE-0000g1-JG for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 04:06:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=qZmpW9wt3/3iEFGHgmAO5nnkSdMELQ7WNsLmd1aBy8I=; b=EqH60u138rO5GN+43mx1EwGIpKHZht9TWh1kSy4t1nsYKRMNLbHynw39nlB/u6Ds15bOJ8SwtIF+/6wD+DQ8myestX5NUQkPRWWmANrDQDuW02mvINvGMg7v9MFlJc5qAODL5AYx7OgT2siDRVBrzbgV4ACpRtjm/WWddBuZR4jKZtOsKFyZgqz3DxbWdNSLgry/WyRn78hXNd2damXFfk7P/+WGep5Id0xJE2qllCrEAAYSBDgfjIs+7J6H31AtTaB98jHqlupgPU0lY60dqyu/EzNhkG/sSNbu+4KP1eFyzNPqzIotGonBp/shRkSQz6lYJCV9PqTsbsv8+XnUiQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tR6IE-0004up-3z for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 04:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2024 09:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75056 X-GNU-PR-Package: emacs Original-Received: via spool by 75056-submit@debbugs.gnu.org id=B75056.173529033418852 (code B ref 75056); Fri, 27 Dec 2024 09:06:02 +0000 Original-Received: (at 75056) by debbugs.gnu.org; 27 Dec 2024 09:05:34 +0000 Original-Received: from localhost ([127.0.0.1]:44673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tR6Hm-0004tz-Aj for submit@debbugs.gnu.org; Fri, 27 Dec 2024 04:05:34 -0500 Original-Received: from mail-ej1-f45.google.com ([209.85.218.45]:44473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tR6Hk-0004tr-1u for 75056@debbugs.gnu.org; Fri, 27 Dec 2024 04:05:33 -0500 Original-Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-aa6c0d1833eso1481731266b.1 for <75056@debbugs.gnu.org>; Fri, 27 Dec 2024 01:05:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735290271; x=1735895071; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qZmpW9wt3/3iEFGHgmAO5nnkSdMELQ7WNsLmd1aBy8I=; b=QgfPjr+PN+RuFMuBKkHPgL+d4OeFov9Y6tkgOoLc4C3cayqeiCfcrFy0OdB3yqbGHe dC3xvbWHnz22aqnRJMPPxuci9/TUEWrBVdq/pDe3V8llFFPFIDcDQ9lhKOXuUSny8Ie3 9sVE376ndcEiATZ33t4ha2svehkCfASzAZV8/Hqd8NqvrooqHEPQoaiH2cTQCSWAZ1ge mXLmcfOs5xuNcagimvPuXBWobufLMZMYgG26Eo9d58JMEzfZWjvp43j6NAH3Bm7t8xEZ E8cgsIc9TlrWdeqFu9KBbeD9dTkk5mOHz/h45mhSsr8S0/NeVS2I2gy8ug1Vup2NQHee M2cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735290271; x=1735895071; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=qZmpW9wt3/3iEFGHgmAO5nnkSdMELQ7WNsLmd1aBy8I=; b=u0v/lBtscc2QmBZvcbWMiA2WJhRnmEZ+u189UzyRmC6xvuTOiDjJXeZwmHXP7PeI8S rwZuY2kWNZIvu12FD0DvmXB6jQ9WbJyzXerAElrT3/tCnTt8VlOvys98Awi5RLkjdRri ZeBdfoPWarMP7M4A4RVCdmVClhKB5AyEDyH79XZzF/PXC/8jxvyMvf6V64OrPzQdxkwM +KEdftjROroQmXpYlxkSOgNUgqF/NJ3nGgvxGfF5NiML9SJ0kDfhasSkwPboHYO5qH+7 0yGpQuDlSkXH5AjrJP7mS/cNwzVG7+sH17A2zavAzrpSZ2jFITVKqKP3e6TpHe4cq8mV cM4g== X-Forwarded-Encrypted: i=1; AJvYcCX9eYQphofC5oJTiCymNaVe67l4od+WEKg+rjOgpxv97egsClgzg6zYpy15hdVZi9KAFchUdg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzI1bW3I33R4bTv5Qku4gVpduxBAJ0RjENY1QYXA27ijqMIjehO gfhJIMmE8aboOpc7V0vr67e2x107RDVZPVRv8PF53faj7/+ML24T84NJRQ== X-Gm-Gg: ASbGncs1EtcRbLFbJAQCoECxpJ8WpNBdy+Gtp6UyoMFNvBIuj+OJS81z6bE2bfPM0Cp LIatIdHcP8imY9XOf/DmZe3Tu0Sx0grUvqrHJbfyrsSTK+I2a4qIF4yNvqraspQJjeuz6asHg/H uT9wmaKpTwVaCiqR7MkZ64TssXWtj9RGJOwrBzCebaHuwA1gsWCl9Yr1iCl530JQVt9Xc3K19D+ 9SRopkEA+PfZCtS2wev3miYvDF/A8da+KLY24ZfU9IWhm1ywHhFGAIHkaTnA6Zh+DpysBoKSL8D SBk3DTR6iAMXBaKvaO1evEBRaKVLU4ropDlae975/sNidx2COxWNVSLC+ZDNUOXHlw== X-Google-Smtp-Source: AGHT+IHu1BEn3Vu7GMt3NMnYBBkEQN6Re23ZygjWn5jAkL8xT+ThjCGxExfrRekVTFOEH+BeqLmaaA== X-Received: by 2002:a17:907:7fa9:b0:aa6:81dc:6638 with SMTP id a640c23a62f3a-aac2b0a5676mr2356729466b.16.1735290270611; Fri, 27 Dec 2024 01:04:30 -0800 (PST) Original-Received: from pro2 (p200300e0b74e5900bde19f98ca9a60df.dip0.t-ipconnect.de. [2003:e0:b74e:5900:bde1:9f98:ca9a:60df]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0e830ae6sm1088613466b.22.2024.12.27.01.04.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 01:04:30 -0800 (PST) In-Reply-To: <86wmflwlok.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Dec 2024 10:54:19 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297819 Archived-At: Eli Zaretskii writes: >> From: Gerd M=C3=B6llmann >> Cc: lenbok@gmail.com, 75056@debbugs.gnu.org >> Date: Fri, 27 Dec 2024 09:46:48 +0100 >>=20 >> Eli Zaretskii writes: >>=20 >> > Can you explain how the above limitation causes the problem reported >> > in this bug? That is, how do child frames trigger the bug? Because >> > "normal" frames don't, AFAIU, right? That is, one could have two or >> > more client TTY frames on several displays in the same Emacs session, >> > without having any of them stop being responsive, right? Also, what >> > is the role of vertico-posframe in this scenario? >>=20 >> The hint I see is here >>=20 >> >> If your multi-tty Emacs session seems to be frozen, you >> >> probably have a recursive editing session or a pending >> >> minibuffer prompt (which is a kind of recursive editing) on >> >> another display. >>=20 >> Emacs in our case is kind of frozen, and Vertico is a minibuffer >> interaction, where Posframe simply displays the minibuffer differently, >> in a child frame. > > Yes, but where is that recursive editing in this scenario? We're switching frames while being in the minibuffer in the other frame. > I guess I'd love to see a C backtrace from that situation. Too difficult for me. Emacs is not frozen in the sense that it is completely stuck somewhere. For example, C-x C-c apparently always works. C-g seems to work sometimes too, sometimes not. It's more like the keyboard input doesn't land where it is supposed to. Or something like that.