delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/21/13:37:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=FZmJkvlfcGZe55ib3lEOgjsJsXKuA
VUsYOf5jSR7RXND410lV/44wTUSC60qAe0+Vq0/keFrtNVnJjeMMgh4JxZi0ud4X
lGzeOZFB6imwbjAkvh9dPsVygI8rH6nm2qmIxl0lIkCaTvou5/EXhJK/qUL20Y9M
aX1356nwgT9hjM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=JXyOxtq4YxWHBl6RzHb/QZbAiTA=; b=ApJ
6E1mIppLwBbc0MRIfquK+QSPp9e8AVR2TqSfTXnMhk8okjRf5sQjmTehqqWl3fgK
peUI5ZgUgYHLRKbH37cabmcE+8tLX654YYnBw6k5YOGWPw/282SSdwltxDecYPcR
jhCcLnaO2XP+JIkMhVhrwcqc+PieVs3xOXywfN5I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=dan, ancient, wake, Dan
X-HELO: mail-pg0-f53.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=zy71qN8GSN6G11AILj/S5PZU0EwfLPPsBmtmtQf00KI=; b=kXA7J1gHOgGMBNRZtIAvAtxa7UGFoUDzeSJuQgrbjXyo6OZgg9j51EfMnPb+HkkLP7 7MoZqc+kJ31YJdt/pWuXZQxiNMvrmZ3UUNawIlRT9ImPikhuQbWEJ3fO3PKeqccrDT8L l/PhKDDwZh55P/+IZzeVF3sVhaO2uxt23KuxVBIAqptOPHr0Vt/7ENp9V1mT4i8U6Jco YLSxRhEg00fO7bMqmpgw8Edt6nIGb4g15i7azi2MAmN5Edat9sxADA0P4dY4yo0c5k8p mDh6h0oVhcTPFU6a+0MES2j4F48B4riqlJzZFfjclK8wd6kA8sq8Ha92Bu+yT5BSQJee 7d9Q==
X-Gm-Message-State: AElRT7FI+TaMrFgPOkrzArBF3TWiK/6srKF3g4A++DYHuh9fqGefhBbJ tBGSuTppzbfyCXCEwyxtMnv2FrJhq4mrD1fnbBR9WQ==
X-Google-Smtp-Source: AG47ELtiWQCIniCINqHcbDL0PiohLqxLvVzsAlpzsMQf/QiaarYZja/FG8H3mmD308iRfisQm63bakdYG7xP1yCVFBQ=
X-Received: by 10.99.167.6 with SMTP id d6mr4614153pgf.287.1521653809212; Wed, 21 Mar 2018 10:36:49 -0700 (PDT)
MIME-Version: 1.0
From: Dan Kegel <dank AT kegel DOT com>
Date: Wed, 21 Mar 2018 10:36:48 -0700
Message-ID: <CAPF-yOYzTr-jh__S_imaAcdk5Vf4tGD1xFLuTDu4-qsg_+HiCA@mail.gmail.com>
Subject: Odd hang in python waiting for child; strace wakes hung process?
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019