From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121804 invoked by alias); 21 Mar 2018 18:54:59 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 121792 invoked by uid 89); 21 Mar 2018 18:54:58 -0000 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 Received: from mx009.vodafonemail.xion.oxcs.net (HELO mx009.vodafonemail.xion.oxcs.net) (153.92.174.39) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Mar 2018 18:54:56 +0000 Received: from vsmx002.vodafonemail.xion.oxcs.net (unknown [192.168.75.192]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTP id E34CFD9B661 for ; Wed, 21 Mar 2018 18:54:54 +0000 (UTC) Received: from Gertrud (unknown [91.47.53.106]) by mta-6-out.mta.xion.oxcs.net (Postfix) with ESMTPA id BD527199C3E for ; Wed, 21 Mar 2018 18:54:52 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Odd hang in python waiting for child; strace wakes hung process? References: Date: Wed, 21 Mar 2018 19:20:00 -0000 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 X-SW-Source: 2018-03/txt/msg00336.txt.bz2 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