From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Fischmeister Newsgroups: gmane.emacs.help Subject: Emacs >24.5 hangs on yank() Date: Wed, 21 Oct 2015 07:43:55 -0400 Message-ID: <87y4ewphxy.fsf@uwaterloo.ca> Reply-To: sfischme@uwaterloo.ca NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445453980 24948 80.91.229.3 (21 Oct 2015 18:59:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 18:59:40 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 21 20:59:27 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 1ZoybZ-000821-Vy for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Oct 2015 20:59:22 +0200 Original-Received: from localhost ([::1]:51472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZotDa-000186-Fw for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Oct 2015 09:14:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoroM-0002f2-TA for help-gnu-emacs@gnu.org; Wed, 21 Oct 2015 07:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoroI-0004U0-Q7 for help-gnu-emacs@gnu.org; Wed, 21 Oct 2015 07:44:06 -0400 Original-Received: from mailservices.uwaterloo.ca ([129.97.128.141]:60680 helo=mailchk-m04.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoroI-0004Rl-M7 for help-gnu-emacs@gnu.org; Wed, 21 Oct 2015 07:44:02 -0400 Original-Received: from connect.uwaterloo.ca (connhub1.connect.uwaterloo.ca [129.97.149.113]) by mailchk-m04.uwaterloo.ca (8.14.4/8.14.4) with ESMTP id t9LBhvV7015657 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK) for ; Wed, 21 Oct 2015 07:43:58 -0400 Original-Received: from CONNHUB4.connect.uwaterloo.ca (129.97.149.104) by connhub1.connect.uwaterloo.ca (129.97.149.101) with Microsoft SMTP Server (TLS) id 14.3.235.1; Wed, 21 Oct 2015 07:43:57 -0400 Original-Received: from uwaterloo.ca (172.16.39.193) by connhub4.connect.uwaterloo.ca (129.97.149.122) with Microsoft SMTP Server (TLS) id 14.3.210.2; Wed, 21 Oct 2015 07:43:55 -0400 X-Homepage: http://esg.uwaterloo.ca X-UUID: a7d61cb6-be42-4b69-b936-2bea2e2fc275 X-Miltered: at mailchk-m04 with ID 56277A7D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Virus-Scanned: clamav-milter 0.98.7 at mailchk-m04 X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 129.97.128.141 X-Mailman-Approved-At: Wed, 21 Oct 2015 09:14:00 -0400 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:107770 Archived-At: Hi, 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. Thanks, Sebastian