delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/21/14:55:10

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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=PhIHM
Zh/KK6ZwBP5uOCL6szutMOB5fjjx1fvFCHoBK3pbCXCJH64RaW2GsAT/PR2z3xQd
MVkH8Cu9ExS/oZY79uxn4SeegUJPVZhrwqJ55Ako5qmN51F6K1SapJY3LOcH6PKJ
QQEZuqTKTOaFQLrJfbxHlK8TH4S1zjw+UvStG0=
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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=sK8GMH/qN32
HExN4UqGnNFyQIgw=; b=f7beVFm9haqdSBMYlM4g8VZfVRzkQo+b18Bk5gC0/A2
A3BlfNlr/mNWo1Yyx63iN+vdzpSrjuypghDwlW2H+KewqIc2bbA7UPe3nS8sCTGi
VOOeB/cV5snEisCvrY+CEXcUsUmDFA6aumy0nhTorTYTzeLeTlQHwqAlaiYGp844
=
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.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=hanging, Hx-spam-relays-external:ESMTPA
X-HELO: mx009.vodafonemail.xion.oxcs.net
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Odd hang in python waiting for child; strace wakes hung process?
References: <CAPF-yOYzTr-jh__S_imaAcdk5Vf4tGD1xFLuTDu4-qsg_+HiCA AT mail DOT gmail DOT com>
Date: Wed, 21 Mar 2018 19:54:52 +0100
In-Reply-To: <CAPF-yOYzTr-jh__S_imaAcdk5Vf4tGD1xFLuTDu4-qsg_+HiCA@mail.gmail.com> (Dan Kegel's message of "Wed, 21 Mar 2018 10:36:48 -0700")
Message-ID: <877eq5fedf.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
X-VADE-STATUS: LEGIT

Dan Kegel writes:
> 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.

That smells like it's the same as a longstanding problem I have with
certain Perl tests and a few (a bit too complicated) Perl scripts at
work.  I have never been able to reproduce it in a way that might enable
Corinna to have a look, unfortunately.

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

Well, with the sporadic hanging/defunct processes at work my routine is
to send CONT to all Cygwin processes, then HUP/KILL to anything that's
still not live or gone and then another round of CONT.  This works
_most_ of the time, anything more stubborn I /bin/kill -f usually.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

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