GNU bug report logs - #17172
24.3.50; Timeouts when pasting from mouse

Previous Next

Package: emacs;

Reported by: Alex Bennée <alex.bennee <at> linaro.org>

Date: Wed, 2 Apr 2014 13:40:02 UTC

Severity: important

Tags: moreinfo, patch

Merged with 16737, 17026, 17101, 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 #25 received at 17172 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: "Jan D." <jan.h.d <at> swipnet.se>
Cc: Eli Zaretskii <eliz <at> gnu.org>,
 Alex Bennée <alex.bennee <at> linaro.org>, 17172 <at> debbugs.gnu.org
Subject: Re: bug#17172: 24.3.50; Timeouts when pasting from mouse
Date: Tue, 15 Apr 2014 09:01:46 -0700
Jan D. wrote:
> I don't think xgselect has anything to do with this.  Either a response
> comes on the X connection, or it doesn't.  It can't come anywhere else.

Although there's every chance you are right, the existing code is 
definitely buggy: if one of glib's fds is greater than xgselect's 
initial fds_lim, xgselect can inspect garbage in its masks, which can't 
be good.  There are some other glitches there too, e.g., mask bits might 
not be properly cleared if pselect times out and returns zero.

Since the patch fixes bugs (even if not *this* bug) I installed it as 
emacs-24 bzr 116966.

And thanks, Eli, for fixing the ChangeLog entries I inadvertently nuked. 
 I was fixing them myself but bzr is pretty slow for me.  I don't know 
how it happened; I just edited the ChangeLog file as usual with emacs-24 
Emacs.




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

Previous Next


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