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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: cygwin AT cygwin DOT com Subject: Re: Odd hang in python waiting for child; strace wakes hung process? References: Date: Wed, 21 Mar 2018 19:54:52 +0100 In-Reply-To: (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 Content-Type: text/plain 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