unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: 15311@debbugs.gnu.org
Subject: bug#15311: 24.3; Infinite loop in x_make_frame_visible
Date: Mon, 09 Sep 2013 10:49:33 +0200	[thread overview]
Message-ID: <mvm1u4yfkgy.fsf@hawking.suse.de> (raw)

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."





             reply	other threads:[~2013-09-09  8:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09  8:49 Andreas Schwab [this message]
2014-09-10  1:31 ` bug#15311: 24.3; Infinite loop in x_make_frame_visible Stefan Monnier
2015-12-26  0:56   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mvm1u4yfkgy.fsf@hawking.suse.de \
    --to=schwab@suse.de \
    --cc=15311@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).