From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#75056: 31.0.50; tty-child-frames with server / multiple clients possible hangs Date: Fri, 27 Dec 2024 15:02:37 +0200 Message-ID: <86msghwa6q.fsf@gnu.org> References: <8634i9y1wa.fsf@gnu.org> <86wmflwlok.fsf@gnu.org> <86v7v5wbqs.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27196"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lenbok@gmail.com, 75056@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 27 14:03:22 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 1tR9zt-0006sL-8h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Dec 2024 14:03:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR9zb-0008AA-JM; Fri, 27 Dec 2024 08:03:03 -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 1tR9zb-00089y-0y for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 08:03: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 1tR9za-0003Cl-ON for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 08:03: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:References:In-Reply-To:From:Date:To:Subject; bh=wji9T8sQdM/EKAiXi3MPmfY12mavolOHtYU7rt1pyeA=; b=f4wlFf32sVfnxZ2lUEt+plyHha/obca2ph36IQs3HNQ/3tV7/tM8XLyHHeeYuKc/gnGXEmkU5v9Cnexa+e+gtg7pKShXb6WVA4NMiZOY9sUqu8do0VGrj2zmmyoB2og434/seZVnaFHpTqc3AgjQkNKkUkopihC+Trk8+ds/n8lx2gve18q4B7JGgnG3d3q0W9e989bsof3YkMQQmGzTBq+auLRCrGbdbDeBWT3Gs24qy0mBEvRLxTgjJzGOITdjyLEr12lxp4/4njIBex117pzWrKTrhs6qoBp7Sy1lpKcxHARaI0uKkIBZH7TstuVL/sCepU7g8EYDKBIzfC4ceA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tR9za-0007rU-8S for bug-gnu-emacs@gnu.org; Fri, 27 Dec 2024 08:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Dec 2024 13:03: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.173530457630208 (code B ref 75056); Fri, 27 Dec 2024 13:03:02 +0000 Original-Received: (at 75056) by debbugs.gnu.org; 27 Dec 2024 13:02:56 +0000 Original-Received: from localhost ([127.0.0.1]:45023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tR9zU-0007rA-3h for submit@debbugs.gnu.org; Fri, 27 Dec 2024 08:02:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tR9zT-0007qt-5W for 75056@debbugs.gnu.org; Fri, 27 Dec 2024 08:02:55 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tR9zN-00038w-EV; Fri, 27 Dec 2024 08:02:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=wji9T8sQdM/EKAiXi3MPmfY12mavolOHtYU7rt1pyeA=; b=GNoaPF/xobaHWAaFZFAh goH5AiebPlMghori7PzVQdG9V1kpldlQ1S14NWdkxHw9mTVVAwrONJLwZEF05FltqIozwaR8p4ehY OPmdyfkXC4hEyQZOKWQpxu5mxzVV44/IdDufz5Y839iDgn/pFOnmNOGsSERhMJyb0NGgrF5iMSt1Q Ib4RiHdyY5wpu6Y4ViMCeC+4qXdHZPH8GFqins/UK4T1gYy8vccX/xkbsti+wWn9yl6KasW9T1iFh 0XxSK/Qaf7MP8mHKiEzA2n/NaRE4STiT16ZakFZh24egdXzg2uHU55/mhIGAIzAmAcuWJ9NYTMhDT 4lW4Iiwdm87VmQ==; In-Reply-To: (message from Gerd =?UTF-8?Q?M=C3=B6llmann?= on Fri, 27 Dec 2024 13:47:09 +0100) 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:297824 Archived-At: > From: Gerd Möllmann > Cc: lenbok@gmail.com, 75056@debbugs.gnu.org > Date: Fri, 27 Dec 2024 13:47:09 +0100 > > Eli Zaretskii writes: > > > Then why is this a bug? > > > > When a frame is in a minibuffer, it means Emacs asks the user about > > something, and in that situation, the user must respond to the prompt, > > or exit the minibuffer in some other way. That's normal in my book. > > What am I missing? > > Emacs doesn't say anything. It does: on the frame where you are in the minibuffer. > The user is just typing into the void, and it's not easy get out of > this state again, except C-x C-c. That's not normal. My point is that this happens in many other, "simpler" situations. AFAIK, it isn't limited to TTY frames, either. So if that's the only thing that happens here, i.e. some other frame is parked at the minibuffer prompt, there's nothing new here that we didn't have before child frames became supported on TTY displays. Changing that would need to have per-frame input queues in Emacs, AFAIU, and some way of multiplexing between them. But I'm not yet sure this is what we see in this case, which is why I asked for a C backtrace. Producing it should be easy: just reproduce the problem, then attach a debugger and produce the backtrace.