From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31828 invoked by alias); 3 Nov 2016 13:42:45 -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 31797 invoked by uid 89); 3 Nov 2016 13:42:43 -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,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=exhibit, H*RU:sk:omr-a01, Hx-spam-relays-external:sk:omr-a01, H*i:sk:9619f42 X-HELO: omr-a015e.mx.aol.com Received: from omr-a015e.mx.aol.com (HELO omr-a015e.mx.aol.com) (204.29.186.63) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 Nov 2016 13:42:41 +0000 Received: from mtaout-mbb02.mx.aol.com (mtaout-mbb02.mx.aol.com [172.26.254.110]) by omr-a015e.mx.aol.com (Outbound Mail Relay) with ESMTP id 21C8B38000AD for ; Thu, 3 Nov 2016 09:42:40 -0400 (EDT) Received: from renog13-lin01.localdomain (0x72656e6f6731332d6c696e30312e6c6f63616c646f6d61696e [47.196.166.20]) by mtaout-mbb02.mx.aol.com (MUA/Third Party Client Interface) with ESMTPA id 411C238000094 for ; Thu, 3 Nov 2016 09:42:39 -0400 (EDT) Message-ID: <581B3ECE.1030000@verizon.net> Date: Thu, 03 Nov 2016 13:42:00 -0000 From: Gerry Reno User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Windows 10 updates causes fork retry no child processes References: <581A0AA5.5030107@verizon.net> <0d98a082-e270-659f-5b48-b9dfd01fc85f@SystematicSw.ab.ca> <581AD3D3.2020908@verizon.net> <9619f42f-e8c8-c48c-fd6d-48e8bf33789d@SystematicSw.ab.ca> In-Reply-To: <9619f42f-e8c8-c48c-fd6d-48e8bf33789d@SystematicSw.ab.ca> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit x-aol-global-disposition: G x-aol-sid: 3039ac1afe6e581b3ecf00d7 X-AOL-IP: 47.196.166.20 X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00022.txt.bz2 On 11/03/2016 09:00 AM, Brian Inglis wrote: > On 2016-11-03 00:06, Gerry Reno wrote: >> On 11/03/2016 01:06 AM, Brian Inglis wrote: >>> On 2016-11-02 09:47, Gerry Reno wrote: >>>> Is there some automated way I can stop Windows 10 updates from >>>> continuously causing these fork retry no child process issues after >>>> every damn update? >>>> We use an application based on Cygwin (2.6.0) on our clients that >>>> gets wrecked everytime a Windows 10 update occurs. >>>> The users have no idea about Cygwin because it's hidden from them so >>>> I cannot ask them to do anything with regard to Cygwin. >>>> Any ideas for an automated way to stop these errors would be >>>> appreciated. >>> Could be caused by changed addresses used by Windows dlls, especially >>> if you are using the limited address space of Cygwin32. >>> After each update, have you tried shutting down all Cygwin processes >>> and either running setup unattended, if you sometimes do that, or a >>> full rebase from a cmd script? >>> For example: >>> c:\cygwin64\bin\dash /bin/rebase-trigger fullrebase >>> c:\cygwin64\bin\ash /bin/rebaseall >>> You can check if an update has been performed by caching and comparing >>> the timestamp and/or name of the last update log saved: >>> $ ls -lt --time-style=long-iso \ >>> /proc/cygdrive/c/Windows/Logs/WindowsUpdate/WindowsUpdate.20??????.??????.???.?.etl \ >>> | head -n 1 >>> e.g. >>> -rwxr-x---+ 1 SYSTEM SYSTEM 77824 2016-11-02 22:27 >>> /proc/cygdrive/c/Windows/Logs/WindowsUpdate/WindowsUpdate.20161102.214528.076.1.etl >>> and checking whether a restart has been been performed since to apply >>> the update by comparing against the output of: >>> $ date -d "now - `cut -d' ' -f1 /proc/uptime` seconds" +'%F %R' >>> e.g. >>> 2016-10-22 19:44 >>> in this case indicating Windows has not been (auto)restarted since >>> the update. >>> If you don't use mintty, you could do this in an ash or dash script >>> at Windows login, which does the rebase-trigger then exec rebaseall, >>> so no other process is running using Cygwin. >>> If you use Cygwin mintty you would have to do the equivalent from a >>> cmd or PowerShell script before launching any Cygwin process. >>> If your client systems run Windows Enterprise or Education or use >>> SCCM instead of Windows Update, details may need to be changed. >> The users cannot do anything with Cygwin. >> And the client machines are out in the field and not even connected >> to a network. >> What is needed is for Cygwin itself to detect and manage the >> situation. > > Myself and others are not seeing these specific problems every update. > You may want to try following the problem reporting guidelines for help. > > You need to see if you can diagnose and fix these problems in the > clients' environment by getting access and trying disabling or > deinstalling BLODAs or running rebaseall. > > If you can do that, you can try patching setup, or writing scripts, > to provide a fix. > > Finally, you can try submitting those patches upstream to Cygwin for > inclusion in setup, or as a separate package performing the fix. > We are only seeing this on the newer W10 machines. W8 machines don't exhibit this problem. And both have the exact same set of software installed on them. So there must be something different about W10. -- 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