From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleh Krehel Newsgroups: gmane.emacs.bugs Subject: bug#20283: bug#16737: Timed out waiting for reply from selection owner Date: Wed, 03 Jun 2015 17:39:42 +0200 Message-ID: <87r3psvm0x.fsf@gmail.com> References: <877frkvn0b.fsf@gnu.org> <87iob4byae.fsf@linaro.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1433346460 32356 80.91.229.3 (3 Jun 2015 15:47:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jun 2015 15:47:40 +0000 (UTC) Cc: Nicolas Richard , Tassilo Horn , 20283@debbugs.gnu.org, Tom Tromey , 16737@debbugs.gnu.org, Jan =?UTF-8?Q?Dj=C3=A4rv?= To: Alex =?UTF-8?Q?Benn=C3=A9e?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 03 17:47:24 2015 Return-path: Envelope-to: geb-bug-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 1Z0Asq-0005ep-KP for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jun 2015 17:47:12 +0200 Original-Received: from localhost ([::1]:36336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0Asp-0002do-Sh for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jun 2015 11:47:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0Asl-0002ar-L8 for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 11:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0Asg-00016w-Su for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 11:47:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0Asg-00016s-Pr for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 11:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z0Asg-00066c-DZ for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2015 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Oleh Krehel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jun 2015 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20283 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 20283-submit@debbugs.gnu.org id=B20283.143334637923409 (code B ref 20283); Wed, 03 Jun 2015 15:47:02 +0000 Original-Received: (at 20283) by debbugs.gnu.org; 3 Jun 2015 15:46:19 +0000 Original-Received: from localhost ([127.0.0.1]:39197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0Ary-00065Q-D6 for submit@debbugs.gnu.org; Wed, 03 Jun 2015 11:46:18 -0400 Original-Received: from mail-wi0-f175.google.com ([209.85.212.175]:33529) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0Arv-000652-OV; Wed, 03 Jun 2015 11:46:16 -0400 Original-Received: by wiwd19 with SMTP id d19so57406625wiw.0; Wed, 03 Jun 2015 08:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=Y9VEQFOUe1ZEPAl5l0lJ4wgoLQ6Mur7EQBdTDelE4tg=; b=Q4/YDDFWoYl4YhGE/SiXNtVA8jy7Pp9C8dW/RE4u+ciDDzbmws48bWZjzCImF8PQu8 H8SUOM2YGalJWZ49m+xm9iHSius2SutngEz9TpMc/avhhfdQWWm9HqHRfrd2d9zop3qB MeyliB3CJj9YAVe9QMKSaTLVFZ2m5Wo7VJjvaEryw1m0qxSPvn/jiywCE5Eh+t19Sk9x mVR0PAqOkLaRyBThU59aokqwDveRqpuFyDXY9+6iV+K2f5Qbn+71QpqYoeVFUUZA3y/m OavHmv0CRhK0cJFFSB56hV/sNEtgQntK7HAKL/yY2uQhdw4Gdp8bvRD9JABpR6D59N6s uW6Q== X-Received: by 10.194.200.42 with SMTP id jp10mr60966036wjc.66.1433346370076; Wed, 03 Jun 2015 08:46:10 -0700 (PDT) Original-Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by mx.google.com with ESMTPSA id ha4sm27104107wib.0.2015.06.03.08.46.08 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 03 Jun 2015 08:46:09 -0700 (PDT) In-Reply-To: <87iob4byae.fsf@linaro.org> ("Alex \=\?utf-8\?Q\?Benn\=C3\=A9e\=22's\?\= message of "Wed, 03 Jun 2015 16:35:05 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103543 Archived-At: Alex Benn=C3=A9e writes: > Tassilo Horn writes: > >> Alex Benn=C3=A9e writes: >> >>> I still see it and I've been tracking the emacs-24 branch. It seems to = be a >>> consequence of a long lived Emacs daemon session >> >> I'm using the current master branch but I also use the server (which >> should be kind of the same to starting emacs as a doemon, no?). Kill >> and yank for hours, and then out of sudden the timeouts appear. > > I haven't hit the problem for ages then suddenly this week as I was > pasting a URL it triggered again. Trouble is being able to get useful > diagnostics out when the problem hits. I tend to get this problem a lot more since I've switched from 24.5 to master. This code makes Emacs report the error immediately instead of freezing: (setq x-selection-timeout 10) When the bug occurs, a fix that typically works is to: 1. kill some text while in Emacs. 2. copy the text from outside 3. wait for 3-4 seconds before attempting to paste into Emacs Step 3 could be important, since if I paste quickly, the bug seems to re-occur more often. Oleh