tag:help.appveyor.com,2012-11-13:/discussions/problems/27526-cygwin-broken-wfso-failedn-cant-update-my-handlers-win32-error-6AppVeyor: Discussion 2020-07-03T19:29:40Ztag:help.appveyor.com,2012-11-13:Comment/483957362020-06-10T18:33:09Z2020-06-10T18:33:46ZCygwin broken (WFSO failed, Can't update my handlers, Win32 error 6, ...)<div><p><a href="https://ci.appveyor.com/project/GitMensch/gnucobol-3-x-win32-posix/history">https://ci.appveyor.com/project/GitMensch/gnucobol-3-x-win32-posix/...</a> showing stuff like (...I may shouldn't have deleted all the broken builds...)</p>
<blockquote>
<p>1 [fifo_reader] sh 1439 C:\cygwin64\bin\sh.exe: *** fatal error - Can't update my handlers, Win32 error 6</p>
<p>0 [exiting thread] sh 20175 C:\cygwin64\bin\sh.exe: *** fatal error - WFSO failed, Win32 error</p>
</blockquote>
<p>and other similar issues since yesterday. In general they got slower over the last days...</p>
<p>Additional the cygwin setup says:</p>
<blockquote>
<p>This setup is version 2.900, but setup.ini claims version 2.904 is available.</p>
</blockquote>
<p>Can you update the VS2015 image with an up-to-date cygwin + packages?<br>
Or even better: update cygwin + cygwin64 on the "newer" images and make "plain" mingw available there, too (mingw is only available up to vs2015, theoretically it should be enough to copy+paste the C:\MinGW folder from the old image to the new one).</p></div>humantag:help.appveyor.com,2012-11-13:Comment/483957362020-06-10T19:33:00Z2020-06-10T19:33:00ZCygwin broken (WFSO failed, Can't update my handlers, Win32 error 6, ...)<div><p>Have you tried running on <code>Visual Studio 2019</code> image?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/483957362020-06-10T20:03:55Z2020-06-10T20:03:55ZCygwin broken (WFSO failed, Can't update my handlers, Win32 error 6, ...)<div><p>Not yet, but I'll switch as <a href="https://www.appveyor.com/docs/windows-images-software/#mingw-msys-cygwin">https://www.appveyor.com/docs/windows-images-software/#mingw-msys-c...</a> shows plain MinGW only be missing from the 2017 image.</p>
<p>New build is running, I'll report my findings tomorrow.</p></div>humantag:help.appveyor.com,2012-11-13:Comment/483957362020-06-10T20:24:12Z2020-06-10T20:24:12ZCygwin broken (WFSO failed, Can't update my handlers, Win32 error 6, ...)<div><p>Switching to VS2019 image didn't help:</p>
<blockquote>
<p>0 [exiting thread] sh 17303 C:\cygwin\bin\sh.exe: *** fatal error - WFSO failed, Win32 error 6</p>
</blockquote>
<p>Only change: the setup.exe is on 2.904 already.</p></div>humantag:help.appveyor.com,2012-11-13:Comment/483957362020-06-11T20:44:29Z2020-06-11T20:44:29ZCygwin broken (WFSO failed, Can't update my handlers, Win32 error 6, ...)<div><p>OK, cygwin is being installed on VS 2019 with the following script: <a href="https://github.com/appveyor/build-images/blob/master/scripts/Windows/install_cygwin.ps1">https://github.com/appveyor/build-images/blob/master/scripts/Window...</a> and it's basically pulling the latest on every image update with the last one occurred on May 29th: <a href="https://www.appveyor.com/updates/2020/05/29/">https://www.appveyor.com/updates/2020/05/29/</a></p>
<p>It would be great if you could indicate what's wrong with that script, so we can improve.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/483957362020-06-11T20:50:01Z2020-06-11T20:50:01ZCygwin broken (WFSO failed, Can't update my handlers, Win32 error 6, ...)<div><p>The script and the install is not the issue - it also happens "now, but not earlier" with the VS2015 image.<br>
It currently just tends to break, if there's an issue with the setup it is other parts of the image.<br>
I guess you already made sure to disable stuff like the indexing service, windows defender service, user experience service (out of my mind those are the ones that like to break MinGW and Cygwin) - but it may be reasonable to check this again, along with the check if the workers get out of free space/ram for whatever reasons.</p></div>humantag:help.appveyor.com,2012-11-13:Comment/483957362020-06-11T20:54:46Z2020-06-11T20:54:46ZCygwin broken (WFSO failed, Can't update my handlers, Win32 error 6, ...)<div><p>Correct, mentioned suspects are disabled on build VMs. Well, I'd recommend you to look around VM <a href="https://www.appveyor.com/docs/how-to/rdp-to-build-worker/">via RDP</a> to see what's going on during the build/tests.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/483957362020-07-03T19:29:39Z2020-07-03T19:29:39ZCygwin broken (WFSO failed, Can't update my handlers, Win32 error 6, ...)<div><p>Just to drop a "no-update" the processes still regularly fail (and I did not found the time yet to attach and inspect, but that's maybe also related to the part that I'm not so optimistic to find much).</p>
<p>... note: obviously the MinGW environment is different between the 2015 worker and the 2019 one, this is NOT documented in <a href="https://www.appveyor.com/docs/windows-images-software/#mingw-msys-cygwin">https://www.appveyor.com/docs/windows-images-software/#mingw-msys-c...</a> and was therefore unexpected. In my ideal world the 2019 worker would have both in different folders...</p></div>human