From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Crowe Newsgroups: gmane.emacs.bugs Subject: bug#16737: A bit of digging Date: Wed, 8 Jul 2015 21:54:13 +0100 Message-ID: <20150708205413.GB18890@mcrowe.com> References: <21244.16071.147204.408385@gargle.gargle.HOWL> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1436388922 15703 80.91.229.3 (8 Jul 2015 20:55:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2015 20:55:22 +0000 (UTC) To: 16737@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 08 22:55:13 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 1ZCwN6-000898-JX for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jul 2015 22:55:12 +0200 Original-Received: from localhost ([::1]:36851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCwN6-00016e-5z for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jul 2015 16:55:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCwN3-00015R-3A for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2015 16:55:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCwMy-0005C8-45 for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2015 16:55:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCwMx-0005BN-W8 for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2015 16:55:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZCwMx-0001SD-FE for bug-gnu-emacs@gnu.org; Wed, 08 Jul 2015 16:55:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <21244.16071.147204.408385@gargle.gargle.HOWL> Resent-From: Mike Crowe Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jul 2015 20:55: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.14363888625534 (code B ref 16737); Wed, 08 Jul 2015 20:55:02 +0000 Original-Received: (at 16737) by debbugs.gnu.org; 8 Jul 2015 20:54:22 +0000 Original-Received: from localhost ([127.0.0.1]:44521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCwMH-0001RB-8H for submit@debbugs.gnu.org; Wed, 08 Jul 2015 16:54:21 -0400 Original-Received: from smtpout.karoo.kcom.com ([212.50.160.34]:39371) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZCwMF-0001Qr-3g for 16737@debbugs.gnu.org; Wed, 08 Jul 2015 16:54:19 -0400 X-IronPort-AV: E=Sophos;i="5.15,434,1432594800"; d="scan'208";a="131192771" Original-Received: from deneb.mcrowe.com (HELO deneb) ([82.152.148.4]) by smtpout.karoo.kcom.com with ESMTP; 08 Jul 2015 21:54:13 +0100 Original-Received: from mac by deneb with local (Exim 4.84) (envelope-from ) id 1ZCwM9-0005e1-7F for 16737@debbugs.gnu.org; Wed, 08 Jul 2015 21:54:13 +0100 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) 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:104839 Archived-At: Thanks to Alan's reproduction recipe in message #158 I've been able to do a bit of digging. >From what I can determine pselect is continuously being woken up due to activity on the X file descriptor (this can be seen in message #70) yet pending_signals never gets set so unblock_input_to never calls process_pending_signals so xgselect just goes round and round until the timeout time is reached. :( I suspected that SIGIO was left being incorrectly blocked but I haven't been able to find any evidence for that yet. But, I have been able to make the problem go away by recompiling without USABLE_SIGIO defined so I'm reasonably sure that it's something going awry in the signal area. Perhaps this will help someone more knowledgeable than me work out where the problem lies. Mike.