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#63865: 29.0.90; call-process while owning the X selection hangs other processes Date: Sat, 03 Jun 2023 14:16:13 +0300 Message-ID: <83r0qs94oy.fsf@gnu.org> References: <83edmt9j8i.fsf@gnu.org> <87bkhxnhpk.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31312"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 63865@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 03 13:16:15 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 1q5PF1-0007xj-37 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Jun 2023 13:16:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5PEp-0002fL-SK; Sat, 03 Jun 2023 07:16:03 -0400 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 1q5PEo-0002es-Ev for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 07:16:02 -0400 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 1q5PEo-00069R-6g for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 07:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5PEo-00025E-2G for bug-gnu-emacs@gnu.org; Sat, 03 Jun 2023 07:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Jun 2023 11:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63865 X-GNU-PR-Package: emacs Original-Received: via spool by 63865-submit@debbugs.gnu.org id=B63865.16857909397973 (code B ref 63865); Sat, 03 Jun 2023 11:16:02 +0000 Original-Received: (at 63865) by debbugs.gnu.org; 3 Jun 2023 11:15:39 +0000 Original-Received: from localhost ([127.0.0.1]:41654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5PEQ-00024R-Nx for submit@debbugs.gnu.org; Sat, 03 Jun 2023 07:15:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5PEO-000246-U2 for 63865@debbugs.gnu.org; Sat, 03 Jun 2023 07:15:37 -0400 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 1q5PEI-0005q1-HK; Sat, 03 Jun 2023 07:15:31 -0400 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=8dSm1Uc5tEhWx2CzA72duI1YDgEgsgkeqi6bgmbCE/A=; b=WoM6IB6BAm1V CzYzHiC5V38YAelBHqWCfYUa2dy452CBscBxF21s06QNPkMn2TkkvHl//dzNEGTiZDmHXE3CQLvPl 2mdcNtTmhpmPuKFH37hsbcZBa1Aez1i/01wWEip5hl9rQKjNStIPWk9DuNp4wW0yTMY37UCIMBmfi 9/mgqr8AKeoe7/zOJoWPqAeHVTSpXB+oNkpzp6OifDdVde95FUW9oAwoZup6DlNaCJFh7kMf1QtWT k2f+w/KQC0jrxNCe4DjoBuWYF2n1ngha0DE3cJuHu8vpk4yRqy+zKxSQKBf7mJQHcsT3gt40iCMNB 3KZ4NbakcUCXlVRcAYtTPg==; 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 1q5PEA-0002Si-1R; Sat, 03 Jun 2023 07:15:30 -0400 In-Reply-To: (message from Spencer Baugh on Sat, 03 Jun 2023 07:10:41 -0400) 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:262822 Archived-At: > From: Spencer Baugh > Cc: Eli Zaretskii , 63865@debbugs.gnu.org > Date: Sat, 03 Jun 2023 07:10:41 -0400 > > BTW, this can also be reproduced using just Emacs. If I try to paste in > another Emacs instead of in Google Chrome, I get a hang, followed by: > > gui-get-selection: (error "Timed out waiting for reply from selection owner") Isn't this exactly what is expected to happen in this case? Po Lu said, in response to my question: > > It is strange that you cannot reproduce this. I thought that when > > another application requests a selection or clipboard text, the owner > > (Emacs in this case) gets called, and since Emacs is sleeping, we > > won't respond. > > > > Are there some other factors involved in this interaction that I'm > > missing? > > In this case, the requestor should time out and give up (which is what I > see.) It should not simply freeze. And that is exactly what happens when Emacs requests the selection: it times out. What else did you expect?