From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.help Subject: Re: Emacs >24.5 hangs on yank() Date: Wed, 21 Oct 2015 18:18:52 +0200 Organization: Gnus News User Services Message-ID: <876120gpoz.fsf@turtle.gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445444452 21806 80.91.229.3 (21 Oct 2015 16:20:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 16:20:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 21 18:20:52 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zow86-0003Le-Ao for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Oct 2015 18:20:46 +0200 Original-Received: from localhost ([::1]:52746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zow80-0006kV-Ow for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Oct 2015 12:20:40 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!quimby.gnus.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: p50903043.dip0.t-ipconnect.de Original-X-Trace: quimby.gnus.org 1445444329 7228 80.144.48.67 (21 Oct 2015 16:18:49 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 21 Oct 2015 16:18:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux) Cancel-Lock: sha1:4p+6Wjp0cKjZpCRKcj+X5nfOPHg= Original-Xref: usenet.stanford.edu gnu.emacs.help:215486 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107767 Archived-At: On 2015-10-21 13:43 +0200, Sebastian Fischmeister wrote: > Every since the upgrade to 24.5 (also on 24.5.1), after a while of using > emacs, it hangs when I want to paste some text using yank(). Sometimes > Emacs recovers after a timeout but sometimes it is stuck forever; C-g > does not help. > > If Emacs recovers, every subsequent yank will also cause the same > behaviour. Quitting my clipboard manager has no effect. Setting > x-select-enable-primary and x-select-enable-clipboard to nil helps, but > only if I start emacs with it and not once the problem is occurring. > > Emcas 24.4 does not have this problem. > > When running strace on the PID while emacs hangs, it produces a lot of > brk() followed by a couple of recvmsg() with '-1 EAGAIN (Resource > temporarily unavailable)'. > > When quitting emacs, it briefly hangs with the message that it is > syncing with the clipboard manager. > > Sometimes, I also get this message: "x-dnd-handle-xdnd: Timed out > waiting for reply from selection owner". > > Any ideas what is going on? At the moment I have to restart emacs about > every two hours because of this. Try to apply commit a27ae9d7650a1230d4359eaf0a949f827315a6d2[1] from the emacs-24 branch, hopefully it will fix the issue. Cheers, Sven 1. http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-24&id=a27ae9d7650a1230d4359eaf0a949f827315a6d2