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#65116: 29.1; query-replace-read-args fails reading second arg in detached minibuf Date: Sun, 14 Jan 2024 19:17:13 +0200 Message-ID: <83sf2zesx2.fsf@gnu.org> References: <831qalivwr.fsf@gnu.org> <83le8sfnae.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25443"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, acm@muc.de, 65116@debbugs.gnu.org To: Jim Rees Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 14 18:18:27 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 1rP47u-0006L4-7f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jan 2024 18:18:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rP47a-0006mA-Ff; Sun, 14 Jan 2024 12:18: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 1rP47Y-0006lt-HI for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 12:18: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 1rP47W-0003eM-UZ for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 12:18:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rP47V-0005uU-Ph for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 12:18: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: Sun, 14 Jan 2024 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65116 X-GNU-PR-Package: emacs Original-Received: via spool by 65116-submit@debbugs.gnu.org id=B65116.170525266422695 (code B ref 65116); Sun, 14 Jan 2024 17:18:01 +0000 Original-Received: (at 65116) by debbugs.gnu.org; 14 Jan 2024 17:17:44 +0000 Original-Received: from localhost ([127.0.0.1]:44061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP47D-0005tz-K3 for submit@debbugs.gnu.org; Sun, 14 Jan 2024 12:17:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP47B-0005tk-7I for 65116@debbugs.gnu.org; Sun, 14 Jan 2024 12:17:42 -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 1rP475-0003LC-PX; Sun, 14 Jan 2024 12:17:35 -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=6LmqrkTYwVscB4HJWIc6gj3W6IG+nFtx/YPv6EIKhEI=; b=MbEwD43PiSFw /JHiG/RgnbtlfVCZ3gPjRFP0V/oR3rw5RyvEgZp7nrbB3XcqmUGqco9w25ubwq5Ovtmb930HO2GGg +pb3c2lU6pam7I97c0+ZbmjwFd+BHpfsvGax051vhSlrUHYt8ovoB+mqC0r1v7m1tIdYdOmOVNhye gqvNlT1Oe/kxZYgSRQjuFuBl8fREIV01ZLzAageIe69mksVxgtrt1MY2OxyRC9nK9i2lbcu5Lir8E u47TLdrwNAirwgssLOQnDRnfxKc85AnEjBAI89qtlWGXQUaayMU3PxMtklz4WLKlim773g3WyTxDa l9Cm7gwhCO85/hb8vngGTQ==; In-Reply-To: (message from Jim Rees on Sun, 14 Jan 2024 10:59:16 -0600) 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:278230 Archived-At: > Date: Sun, 14 Jan 2024 10:59:16 -0600 > From: Jim Rees > Cc: acm@muc.de, luangruo@yahoo.com, 65116@debbugs.gnu.org > > What happens first is the mouse pointer disappears, but I can still edit. > After a while emacs hangs and ignores all input. A bit later it won't even > redisplay frames on X exposure. > > Here is the stack when it hangs: > > % sudo gdb -batch -ex bt -p 174496 > [New LWP 174497] > [New LWP 174498] > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/usr/lib/libthread_db.so.1". > 0x00007f7f6ee3e9d8 in pthread_sigmask () from /usr/lib/libc.so.6 > #0 0x00007f7f6ee3e9d8 in pthread_sigmask () at /usr/lib/libc.so.6 > #1 0x000055e30363ed64 in block_interrupt_signal () > #2 0x000055e3036d3a2a in really_call_select () > #3 0x000055e3036d3ee9 in thread_select () > #4 0x000055e3036ec3e4 in xg_select () > #5 0x000055e3036baaa2 in wait_reading_process_output () > #6 0x000055e303634352 in read_char () > #7 0x000055e303635b0d in read_key_sequence () > #8 0x000055e303636999 in command_loop_1 () > #9 0x000055e3036870a9 in internal_condition_case () > #10 0x000055e30362a3d2 in command_loop_2 () > #11 0x000055e303687027 in internal_catch () > #12 0x000055e30362a374 in command_loop () > #13 0x000055e30362d1c3 in recursive_edit_1 () > #14 0x000055e30362d418 in Frecursive_edit () > #15 0x000055e30356b311 in main () > [Inferior 1 (process 174496) detached] AFAIU, this backtrace just says that Emacs waits for some input, so it isn't very informative. The question is why it doesn't _get_ any input?