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#74535: 30.0.92; partial hang, esp. keyboard events Date: Mon, 25 Nov 2024 21:27:34 +0200 Message-ID: <8634jfi061.fsf@gnu.org> References: <22277.1732561980@alto.camomileplus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18815"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74535@debbugs.gnu.org To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 25 20:28:31 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 1tFel2-0004iU-Up for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Nov 2024 20:28:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFekk-0004TT-Jp; Mon, 25 Nov 2024 14:28:10 -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 1tFekd-0004Sb-7C for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 14:28:04 -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 1tFekc-0008Mn-NZ for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 14:28:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=WgSFwjc2qt4ubMUKajt3qt8akXW96kSmymh8t/tOtD0=; b=RcZn9fOgxZrK4N5VQ4B8oOcSGI4B/32V2DvLZ7BywBEXWZh/OLEx4jTKUhBMcpZGZwMvSbhrHOMIylu4rMFtjMx2PwvH9VmvgwIA3VNozJ+cXtMngEomD1eQSNpN+bbGdpzI4dYHS1QPcoIzFyUT3TS8dz6qq5Ra+MvJohKgqrQgn8JNd89iKkcDnv5pTO+hqea60dTdJIjgdaYV4P3eiPNC0OJ4t14CGUh+vEvTeKJkYnt8ZZ8AsvCzxKs4bbzoknDAyQ4xdR4pEt8CRM/nfwRdGDvYVPdRDAl0LAZ+iukjI9bwH+nCiujaTZAohNsgyCrb+qVK79ISo8/LBSFWVQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFekc-0008N0-Ft for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 14:28: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: Mon, 25 Nov 2024 19:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74535 X-GNU-PR-Package: emacs Original-Received: via spool by 74535-submit@debbugs.gnu.org id=B74535.173256286832129 (code B ref 74535); Mon, 25 Nov 2024 19:28:02 +0000 Original-Received: (at 74535) by debbugs.gnu.org; 25 Nov 2024 19:27:48 +0000 Original-Received: from localhost ([127.0.0.1]:40870 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFekN-0008M6-VQ for submit@debbugs.gnu.org; Mon, 25 Nov 2024 14:27:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFekI-0008Lk-M2 for 74535@debbugs.gnu.org; Mon, 25 Nov 2024 14:27:46 -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 1tFekD-0008JX-5Q; Mon, 25 Nov 2024 14:27:37 -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=WgSFwjc2qt4ubMUKajt3qt8akXW96kSmymh8t/tOtD0=; b=ePulU2Q7FPIJ R2JxybPwHVLiLSPCSmvxMYlme1jy9FyRRvc6e+GQIYjeTdj99Z3S+eCMlFU3Q1A3SNi8tZAEqbufw Qj1sc7OCatPBSmYTtFxGljqJ1mHJDfNbHK621Ryse1VgJ8XxU6dEZdpLkY6VXa4v++XS7cEEhPQU+ 9rxg9iF0uX+8jC5s0EZCaA/unQLqLeajt57b3oQBWdSdpb3FmRCN39qF8Fc+H/1a+Z97TzcUNHfkN Z1e3vsK68ZipQby3z43Y6cU0KA9hrYzHnSme8DIvGKesituXXL//TYzQ5HWI4bguGtAFEyLDqlk6N /1e/Cmh/AVp+S5krbDrcRQ==; In-Reply-To: <22277.1732561980@alto.camomileplus.org> (message from Mike Kupfer on Mon, 25 Nov 2024 11:13:00 -0800) 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:295956 Archived-At: > From: Mike Kupfer > Date: Mon, 25 Nov 2024 11:13:00 -0800 > > I've been getting occasional Emacs hangs, under both Xfce and MATE. I > haven't seen the problem (so far) with i3. Emacs seems to handle mouse > events okay, e.g., it looks like point is moving in response to a mouse > click. And I can create new frames using emacsclient. But keyboard > events don't seem to be processed--there's no response to C-g, M-x, > C-p, C-n, simple text, F10. > > I tried troubleshooting the problem using strace (simple "strace -p > "), but there's so much output I've been unable to make sense > of it. > > I don't have a reliable recipe for reproducing the problem. It *might* > be related to closing a frame. > > I did not see this problem with 30.0.91. > > My current plan for troubleshooting (the next time it happens) is to > attach gdb, dump the last 10 items in recent_keys (using the > instructions in etc/DEBUG), resume the process, type a few keys, go back > into gdb, and see if recent_keys and recent_keys_index have changed. Is > there a better approach? Bisecting is better. Since you didn't have this problem with the previous pretest (but please verify that first: it could be that the problem started happening because of an unrelated change to your system), you need to bisect between that and the last pretest, which shouldn't be a lot of revisions. Thanks.