From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#15311: 24.3; Infinite loop in x_make_frame_visible Date: Mon, 09 Sep 2013 10:49:33 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378716679 27529 80.91.229.3 (9 Sep 2013 08:51:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2013 08:51:19 +0000 (UTC) To: 15311@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 09 10:51:21 2013 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 1VIxBo-0001U3-PT for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Sep 2013 10:51:20 +0200 Original-Received: from localhost ([::1]:49958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIxBo-0002ud-Fl for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Sep 2013 04:51:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIxBe-0002uN-JC for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 04:51:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIxBX-0000ku-DV for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 04:51:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIxBX-0000kq-A0 for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 04:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VIxBW-0004Ts-Ho for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 04:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Sep 2013 08:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15311 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137871660817160 (code B ref -1); Mon, 09 Sep 2013 08:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Sep 2013 08:50:08 +0000 Original-Received: from localhost ([127.0.0.1]:49950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIxAc-0004Se-IA for submit@debbugs.gnu.org; Mon, 09 Sep 2013 04:50:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59974) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VIxAZ-0004S6-Vf for submit@debbugs.gnu.org; Mon, 09 Sep 2013 04:50:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIxAN-0000MI-OU for submit@debbugs.gnu.org; Mon, 09 Sep 2013 04:49:58 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIxAN-0000MD-Lx for submit@debbugs.gnu.org; Mon, 09 Sep 2013 04:49:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIxAH-0002ZG-8d for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 04:49:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIxA7-0000KR-TD for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 04:49:45 -0400 Original-Received: from cantor2.suse.de ([195.135.220.15]:59020 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIxA7-0000KB-Mj for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 04:49:35 -0400 Original-Received: from relay1.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 910ABA4EB7 for ; Mon, 9 Sep 2013 10:49:33 +0200 (CEST) X-Yow: Yow! Am I cleansed yet?! User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:78143 Archived-At: In a long running Emacs session creating a new frame causes x_make_frame_visible to hang while waiting for FRAME_VISIBLE_P (f), with input_signal_count never changing (XTread_socket is never called). I can force breaking out of the loop from the debugger and everything continues to work, including the newly created frame (but the problem reappears with every new frame). The syscall trace shows these calls repeated indefinitely during the hang: poll([{fd=4, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=4, revents=POLLOUT}]) writev(4, [{"+\10\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4 poll([{fd=4, events=POLLIN}], 1, 4294967295) = 1 ([{fd=4, revents=POLLIN}]) --- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} --- recvfrom(4, "\1\1\24\240\0\0\0\0+\0\200\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096, 0, NULL, NULL) = 32 recvfrom(4, 0xc21f34, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) recvfrom(4, 0xc21f34, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable) Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."