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#60356: 30.0.50; individual frame loses keyboard focus, focus cannot be restored Date: Tue, 03 Jan 2023 15:32:55 +0200 Message-ID: <83358r216g.fsf@gnu.org> References: <83edsk23kp.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23817"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60356@debbugs.gnu.org To: Linus Heckemann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 03 14:33:17 2023 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 1pChPp-0005z5-Fc for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Jan 2023 14:33:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pChPk-0005ed-TH; Tue, 03 Jan 2023 08:33:13 -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 1pChPa-0005ap-23 for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2023 08:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pChPZ-0005zG-QC for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2023 08:33:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pChPZ-0005iz-LC for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2023 08:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jan 2023 13:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60356 X-GNU-PR-Package: emacs Original-Received: via spool by 60356-submit@debbugs.gnu.org id=B60356.167275277521993 (code B ref 60356); Tue, 03 Jan 2023 13:33:01 +0000 Original-Received: (at 60356) by debbugs.gnu.org; 3 Jan 2023 13:32:55 +0000 Original-Received: from localhost ([127.0.0.1]:44962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pChPT-0005ie-6p for submit@debbugs.gnu.org; Tue, 03 Jan 2023 08:32:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44936) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pChPS-0005iR-0C for 60356@debbugs.gnu.org; Tue, 03 Jan 2023 08:32:54 -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 1pChPL-0005yF-F3; Tue, 03 Jan 2023 08:32:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JofVTiarFu/n3yM0+dn1YNHLWVYsKONIOiZMkZSVR+U=; b=DMj/2MicJgiK G7ihXygHf/IaklGHn82Qdp3XPJDhorVmW8mH+NnWMytCNekHoe8wtjuJBYF7/csyFk1a5K2IYKTtj lKndKjtMpt5iK1u9SRgOOe6s1gBHW3ORjyAppFgwo/AnddI0emFQk8o1IZWu8hYUw40ln+msvXm35 eyeU6gRF8Nx1JmtsNu53oe0FaFPN+AUSHTHgnviq14SRWbkVWqvQi7yukvx5qaTasiM9+CCygaXkp XZt1NsVgh9y/557DaCiTGSKE/cw3vXNljZsrkhu6+wEBYTkhwWOYccSERpHQ80Si8Pme7PC2HJSV9 cXwqc2EMt3nWKYnCc+onqw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pChPJ-0003uV-Mo; Tue, 03 Jan 2023 08:32:47 -0500 In-Reply-To: (message from Linus Heckemann on Tue, 03 Jan 2023 14:11:32 +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:252400 Archived-At: > From: Linus Heckemann > Cc: 60356@debbugs.gnu.org > Date: Tue, 03 Jan 2023 14:11:32 +0100 > > Eli Zaretskii writes: > > >> I'd be glad if anyone could point out ways to further debug this issue. > >> I'm also in #emacs:matrix.org (@linus:schreibt.jetzt) in case > >> fast-turnaround communication would be helpful :) > > > > If you attach a debugger to Emacs in that state, and type > > > > (gdb) thread apply all bt > > > > what do you get? Please post here everything that GDB prints when you > > do that. > > Thread 1 (Thread 0x7f923ad21000 (LWP 19849) "emacs"): > #0 0x00007f923c305151 in pselect () from /nix/store/4nlgxhb09sdr51nc9hdm8az5b08vzkgx-glibc-2.35-163/lib/libc.so.6 > #1 0x0000000000626b92 in really_call_select () > #2 0x000000000062731f in thread_select () > #3 0x0000000000649a51 in xg_select () > #4 0x00000000006005d3 in wait_reading_process_output () > #5 0x0000000000435846 in sit_for () > #6 0x0000000000524532 in read_char () > #7 0x0000000000524b30 in read_key_sequence () > #8 0x00000000005268b1 in command_loop_1 () > #9 0x000000000059f98f in internal_condition_case () > #10 0x0000000000511d86 in command_loop_2 () > #11 0x000000000059f8f3 in internal_catch () > #12 0x0000000000511d19 in command_loop () > #13 0x00000000005165ba in recursive_edit_1 () > #14 0x0000000000516937 in Frecursive_edit () > #15 0x000000000042abda in main () This says Emacs is waiting for input. So if you type and that has no effect, perhaps the problem really is that some wrong/non-existent frame has input focus?