GNU bug report logs - #17026
24.3.50; x-get-selection: Timed out waiting for reply from selection owner

Previous Next

Package: emacs;

Reported by: Tom Tromey <tromey <at> redhat.com>

Date: Mon, 17 Mar 2014 14:50:04 UTC

Severity: important

Tags: moreinfo, patch

Merged with 16737, 17101, 17172, 19320, 20283

Found in versions 24.3.50, 24.4, 25.0.50

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 17026 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Mariusz Gronczewski <xani666 <at> gmail.com>
Cc: 17026 <at> debbugs.gnu.org
Subject: Re: bug#17026: 24.4+1-5 x-get-selection: Timed out waiting for reply
 from selection owner
Date: Sun, 22 Mar 2015 14:39:42 +0100
Hi.

> 20 mar 2015 kl. 14:06 skrev Mariusz Gronczewski <xani666 <at> gmail.com>:
> 
> Seems like easiest way to reproduce it is to run any command that touches primary selection, for example:
> 
> (shell-command "xclip -o -selection XA_PRIMARY”)

This is not the same.  This hangs because of a deadlock.  Shell runs synchronous, and hangs until the command output has been read.  But when emacs does that, it can’t respond to the request from xclip.
It also only hangs if Emacs owns the primary selection, not if another process does.

> 
> freezes whole emacs until Ctrl+G but with XA_CLIPBOARD it works as intended

It is because there is a clipboard handler running, i.e. Emacs does not answer to xclip in this case.

	Jan D.





This bug report was last modified 9 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.