unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15311: 24.3; Infinite loop in x_make_frame_visible
@ 2013-09-09  8:49 Andreas Schwab
  2014-09-10  1:31 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2013-09-09  8:49 UTC (permalink / raw)
  To: 15311

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-26  0:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-09  8:49 bug#15311: 24.3; Infinite loop in x_make_frame_visible Andreas Schwab
2014-09-10  1:31 ` Stefan Monnier
2015-12-26  0:56   ` Lars Ingebrigtsen

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