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 09:46:48 +0100 Message-ID: References: <8634i9y1wa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25688"; 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 09:49:13 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 1tR61x-0006Yr-GL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Dec 2024 09:49:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR61o-0006IF-AR; Fri, 27 Dec 2024 03:49:04 -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 1tR61m-0006I5-HB for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 03:49:02 -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 1tR61m-0006uj-8M for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 03:49: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=g4B41eJTx0ZPRyOyEKyqKvd2gvOJjNruk18nlyt+ovc=; b=mmka7LJnV1RQWow8p3yCJphf0Hhxd8LSutYxldZYFaTLwDqgzjaRQKtAp1TxGwpXw6mMGsdDG2eq7xzl93gyrZLVjoXQqbTW9LnEtkoAuq+JwQQVQR9PRBecCRKN2Z31vZWReb1zT9Mygnw/ilj7Z6TMpqXTn9YegTxV801vVs4Gl9d/9jqPm+d5aHY9XZBUYzyP0qhKVcujjR6U3l8u0uijIXUFIPHNdGNPDYC2UFtjRuu+cc49q/DpXUHeaZObPj1WBDuFU+Kj+fUgGY/t7XAvfuoVyGdKTBWaBv/7jRkGJpwy2bIZF126W2/mzBB8jkMN6fb7z5o0pSMN6lWmqA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tR61m-00043i-3A for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 03:49: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 08:49: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.173528928415530 (code B ref 75056); Fri, 27 Dec 2024 08:49:02 +0000 Original-Received: (at 75056) by debbugs.gnu.org; 27 Dec 2024 08:48:04 +0000 Original-Received: from localhost ([127.0.0.1]:44642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tR60q-00042P-Cq for submit@debbugs.gnu.org; Fri, 27 Dec 2024 03:48:04 -0500 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:50305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tR60j-00041E-Ly for 75056@debbugs.gnu.org; Fri, 27 Dec 2024 03:47:59 -0500 Original-Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-5d3cf094768so11267682a12.0 for <75056@debbugs.gnu.org>; Fri, 27 Dec 2024 00:47:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735289212; x=1735894012; darn=debbugs.gnu.org; h=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=g4B41eJTx0ZPRyOyEKyqKvd2gvOJjNruk18nlyt+ovc=; b=J8kDz9Ir2W2zzNC746AvLVLox57sTNWrvtJWTaoPbcoCrtr5jZOZLSagTk2ggdh5bH bGqHhehBnwYtJnAZ4EPPoRRPbAlBvhJtwxO8oHDAuIbop5XyypudQDLHHdrp1yCo2Kq5 bLHTDF0UtdSWJUPIpSbjdK6stkfwlQvh2u1Dhzt467FcuQxm1I57j6hrbnmRDc8aSXND skcnxyFuidbYIRzyInoviRRb8oqZ/YlL0PwaHvPi0Kw1qWbooZjM3KMRGd3Wd7Z2OrpP q5gP8EyMIRvFLmBjczHQUdjqDvs43fpTkVPr1pQNOkHioVY7Z4zoC7XltYX73T511V1k a1+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735289212; x=1735894012; h=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=g4B41eJTx0ZPRyOyEKyqKvd2gvOJjNruk18nlyt+ovc=; b=Dhwdr6X6B8VJkXtH23sJiGwnL1RaA5xahpcQnhxPtYzyvnbXw3vB9vI+0esO+brSWL yJYajm7r3g6DqOtcOHQ7cpUBwkecBZkzy3g+NwV0WCI1MKKBvmZMNChIwMnN2Aj20SG3 Oa8qqMgQM4PW06bxHZPrJNEo1d+wnlrYKAHqH+G0KYpnpuTOicWb85GzK1IdbdbPkCFy nYbSbq8PkfPVEx3zo+X+uYZKyHRWN3mvzfOHcdLiESLxseCd50uAKVgjK3mZXex7JEl7 /bYT/8c/NYb7f60VuDIDJd1GySPNRXvOzhMMxnNNJiQM7juGLu7h+bw6+W9gpCncReC/ O2+A== X-Forwarded-Encrypted: i=1; AJvYcCVz1ZXCYdZQlqAhS/IPcTSZeT1VSX8zRh7hm2/s71yN2hk8BGGDKLWcmETIDgsQki8JRP+Vhg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzAGRyyQL/KTfEOhyxN5QFxhn3KV7LTRhVaceLXwT5nhUX81+jH e9Ymm47bqMVqRxzjcklca4oGJIkqu9K3a/hXMqJx6LuR84l/87Bu+JprOQ== X-Gm-Gg: ASbGncu5pjPtP9TCwc5nF0Xa7Rhub8ZtlsaM+aVJyxjbK3yyB/OC2GXb9smqVtPvjdi DiusvY/uVlP2+EOkakX28v68ZmGgiaTJLmqVuJxHZPn6jS4N9y7uQRq7Rq9c6h8NpSf/MzCtfu8 J+ROu8TdoCrdDLrfYTc1S1ybbybJhQBSijVLrtZZJlaBOR1ncLwWlpT5qyXS+llrDJhcnltlX2i It6jSSNxmpO/fmTk0JtEa1srKJmMlt82A7Va3gTJY/8pbqu2Ky3zEtu8eePSvRp5JsW/us8ctyn ar7wr8Z6kCZtc6zfQi1kIc8pNpIUZHRb96q0rfd9gimft9FP1QB4WYKf6q5pDCbz1g== X-Google-Smtp-Source: AGHT+IEaVS0nTcy6ACsAypGW8n4z193vasdbTi4IweEHJSjq+n8GVZBAyzZj33xHPqbgzjTy7k7Sng== X-Received: by 2002:a05:6402:4405:b0:5d0:fe7d:41cf with SMTP id 4fb4d7f45d1cf-5d81dd66ee4mr21745092a12.5.1735289211408; Fri, 27 Dec 2024 00:46:51 -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 4fb4d7f45d1cf-5d80701abc6sm10474244a12.75.2024.12.27.00.46.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Dec 2024 00:46:50 -0800 (PST) In-Reply-To: <8634i9y1wa.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 27 Dec 2024 10:18:45 +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:297816 Archived-At: Eli Zaretskii writes: > 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? The hint I see is here >> 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. 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. Not an explanation of course, but it smells a lot like what's happening. What the real reason behind all this is in the code, and what would need to be fixed, I can't figure out from notes/multi-tty. Maybe come combination of open things mentioned there, no idea. > > IOW, I don't yet have a clear picture of what happens, although the > limitations you found in that admin file are known to me. AFAIK, the > single-kboard situation is still with us, search keyboard.c for > "single_kboard". > >> @Eli: I think we should invoke a multi-tty expert who can tell if what >> we see here can be kind of expected with the current state of multi-tty or >> not. And maybe can tell how up-to-date admin/notes/multi-tty is in the >> first place. > > We don't have such an expert on board, sadly, not for a long while. > We are on our own. That's indeed more than suboptimal :-(.