public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Odd hang in python waiting for child; strace wakes hung process?
@ 2018-03-21 17:55 Dan Kegel
  2018-03-21 19:20 ` Achim Gratz
  0 siblings, 1 reply; 10+ messages in thread
From: Dan Kegel @ 2018-03-21 17:55 UTC (permalink / raw)
  To: cygwin

Dear Cygwin heros,

I've been happily using cygwin to run buildbot slaves for several
years.  However,
periodically they hang at the end of executing git.  It kind of smells like
SIGCHLD isn't delivered somehow.

I shrugged it off as 'I'm using an ancient copy of twisted, it's my fault' for a
long time, but recently updated to latest twisted, and it is still happening;
today I came in and both of my windows buildbots are hung with it.

While sniffing around at the edges of the problem, I noticed that the
hung process would resume if I simply ran strace on it and then hit ^C
to terminate strace.

Here's the output of cygcheck and strace:
http://kegel.com/linux/cyghang/
Older context at
https://github.com/buildbot/buildbot/issues/3801

I'll surely hit this problem again soon; what other info should I gather?

My next sensible step is to use an up to date version of buildbot's slave
(I'm running a very old one at the moment), but it seems kind of
fishy that strace could wake the process up.

Thanks,
Dan

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2018-03-25 18:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-21 17:55 Odd hang in python waiting for child; strace wakes hung process? Dan Kegel
2018-03-21 19:20 ` Achim Gratz
2018-03-21 22:09   ` Dan Kegel
2018-03-22  7:38     ` Brian Inglis
2018-03-22 17:10       ` Corinna Vinschen
2018-03-22 21:05         ` Dan Kegel
2018-03-24  1:54         ` Brian Inglis
2018-03-25 18:12           ` Corinna Vinschen
2018-03-25 22:16             ` Brian Inglis
2018-03-22 17:33     ` Achim Gratz

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