From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Rees via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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 10:59:16 -0600 Message-ID: References: <831qalivwr.fsf@gnu.org> <83le8sfnae.fsf@gnu.org> Reply-To: Jim Rees Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18837"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, acm@muc.de, 65116@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 14 18:00:38 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 1rP3qe-0004kp-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Jan 2024 18:00:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rP3q9-0001X0-La; Sun, 14 Jan 2024 12:00:05 -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 1rP3q7-0001WV-F9 for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 12:00: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 1rP3q7-0001PV-49 for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 12:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rP3q6-0000A1-9q for bug-gnu-emacs@gnu.org; Sun, 14 Jan 2024 12:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Rees Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Jan 2024 17:00:02 +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.1705251568528 (code B ref 65116); Sun, 14 Jan 2024 17:00:02 +0000 Original-Received: (at 65116) by debbugs.gnu.org; 14 Jan 2024 16:59:28 +0000 Original-Received: from localhost ([127.0.0.1]:44056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP3pX-00008S-QL for submit@debbugs.gnu.org; Sun, 14 Jan 2024 11:59:28 -0500 Original-Received: from out-170.mta0.migadu.com ([91.218.175.170]:26316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP3pV-00008I-CJ for 65116@debbugs.gnu.org; Sun, 14 Jan 2024 11:59:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rees.org; s=key1; t=1705251564; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=A/SCeW6kiZgk+LkIkAdgK8Y5SpJSEWlxYHsCDXpTR9M=; b=EMZINfJaDQc+XSkGrl3y1UhWLPuH6pfsCSdxa+i8HK6qfcWwaKjsqxTlgh62OMV9wwh52i r3oC5z4gV6WfZX4409ilwGQ06M/Ldv/dwm5ooeCkxOobbLY17vH3shb/QUUniUbILbURmg V2Aac5HGzl6Wyr9EoLsvR4RlaEXOc5FU8VCyNHtunqWE/d4+jqIV8bby5yiLZMthX+Y1tl 8W5O/syb3tfnX31DguV9847DANIWVuKClHRBAu76Aw9vEu8Z+Cjyuzk3RDMTIE2UxjGvgn sbKlOrXXDzllNCxviYmRvm+HYbizbf9HexCIyFD75B7os7opGASmwFFBJ6RvcA== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Content-Disposition: inline In-Reply-To: <83le8sfnae.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT 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:278229 Archived-At: While Po's patch fixes the read-args focus bug, I now have a new bug. It happens irregularly and I can't say for sure yet that it's caused by Po's patch. I don't know what triggers it but it seems I need to have at least two edit frames open. 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] Note this is Po's patch on top of stock 29.1. If I get ambitious I'll try building from master. I would not normally report a bug with such sketchy information but I thought you should know. If I figure out anything more I will make a proper bug report.