From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#16737: Timed out waiting for reply from selection owner Date: Wed, 25 Jun 2014 20:28:18 +0200 Message-ID: <48440A51-37B4-44A2-A999-4A0ABC90B721@swipnet.se> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403720969 23454 80.91.229.3 (25 Jun 2014 18:29:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2014 18:29:29 +0000 (UTC) Cc: Tom Tromey , 16737@debbugs.gnu.org, Alex =?UTF-8?Q?Benn=C3=A9e?= , Nicolas Richard To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 20:29:21 2014 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 1Wzrwf-0008Hj-5N for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jun 2014 20:29:21 +0200 Original-Received: from localhost ([::1]:40382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzrwc-0007pt-Ad for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Jun 2014 14:29:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzrwT-0007or-Il for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 14:29:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzrwN-0000pX-2Q for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 14:29:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzrwM-0000pP-Vv for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 14:29:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WzrwM-0006iG-D1 for bug-gnu-emacs@gnu.org; Wed, 25 Jun 2014 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Jun 2014 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16737 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 16737-submit@debbugs.gnu.org id=B16737.140372091725747 (code B ref 16737); Wed, 25 Jun 2014 18:29:02 +0000 Original-Received: (at 16737) by debbugs.gnu.org; 25 Jun 2014 18:28:37 +0000 Original-Received: from localhost ([127.0.0.1]:60788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wzrvs-0006h5-Uo for submit@debbugs.gnu.org; Wed, 25 Jun 2014 14:28:36 -0400 Original-Received: from mailfe02.swip.net ([212.247.154.33]:39887 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wzrvn-0006gd-1i for 16737@debbugs.gnu.org; Wed, 25 Jun 2014 14:28:31 -0400 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 512651112; Wed, 25 Jun 2014 20:28:19 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1878.2) 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:90802 Archived-At: Hi. 25 jun 2014 kl. 18:04 skrev Stefan Monnier : > forcemerge 17026 16737 > thanks >=20 > Do you guys still experience those hangs? > Any hope of getting a vaguely reproducible recipe? >=20 > Jan, is there some debugging code we could add somewhere around the > *select code which could help us track down the source of the problem? If it times out, it is because we don't get the PropertyNotify we = expect. There is some TRACE one can turn on in xselect.c by defining = TRACE_SELECTION. But we should add something like this (totally untested, not even = compiled): =3D=3D=3D modified file 'src/xselect.c' --- src/xselect.c 2014-01-01 07:43:34 +0000 +++ src/xselect.c 2014-06-25 18:27:16 +0000 @@ -1144,8 +1144,19 @@ { struct prop_location *rest; =20 + fprintf (stderr, "Got property notify for %s, %s, %lu %p\n", + (event->state =3D=3D PropertyDelete ? "deletion" : = "change"), + XGetAtomName (event->display, event->atom), + (unsigned long)event->window, + event-display); + for (rest =3D property_change_wait_list; rest; rest =3D rest->next) { + fprintf (stderr, "Check property notify against %s, %s, %lu = %p\n", + (rest->desired_state =3D=3D PropertyDelete ? "deletion" = : "change"), + XGetAtomName (rest->display, rest->atom), + (unsigned long)rest->window, + rest->display); if (!rest->arrived && rest->property =3D=3D event->atom && rest->window =3D=3D event->window @@ -1166,6 +1177,7 @@ return; } } + fprintf (stderr, "No property match\n"); } =20 Jan D.