This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Cyg32 on Win64 fails with stack-protector
- From: "Ford, Brian" <brian dot ford at flightsafety dot com>
- To: Ben RUBSON <ben dot rubson at gmail dot com>
- Cc: "cygwin-developers at cygwin dot com" <cygwin-developers at cygwin dot com>, JonY <10walls at gmail dot com>
- Date: Wed, 20 Jun 2018 17:21:21 +0000
- Subject: Re: Cyg32 on Win64 fails with stack-protector
- Fsi-etr-processed: True
- References: <8A9D918F-F233-48DA-9B98-B87D7B188C21@gmail.com> <20180529165958.GK3501@calimero.vinschen.de>,<F0A87C8A-0D15-4D21-B09F-6BA03F8B6FD7@gmail.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
She means a binary search of source revisions to isolate when the problem was first introduced.
--
Brian Ford - Systems Architect
FlightSafety Visual Systems
> On Jun 20, 2018, at 11:51 AM, Ben RUBSON <ben.rubson@gmail.com> wrote:
>
>> On 29 May 2018 18:59, Corinna Vinschen wrote:
>>
>> Hi Ben,
>>
>>> On Apr 27 19:12, Ben RUBSON wrote:
>>> Hi,
>>>
>>> We are facing an issue with Cygwin 2.10 32 bits running on Windows 64 bits.
>>>
>>> Issue was found running EncFS FUSE FS using WinFsp.
>>>
>>> When forking, and calling StartServiceCtrlDispatcher, program fails with
>>> 0xC0000028 / STATUS_BAD_STACK.
>>>
>>> Testing several Cygwin versions reveals that issue was introduced between
>>> 2017-11-14 and 2017-12-01.
>>> And Bill (WinFsp author) found that compiling with -fno-stack-protector
>>> works around the issue.
>>>
>>> There you can then find the full story and Bill's nice investigation :
>>> https://github.com/billziss-gh/winfsp/issues/161
>>>
>>> Could it be possible something went wrong with Cygwin ?
>>>
>>> Thank you very much for your support !
>>
>> Even with Bill's additionl info I have no idea what change in the
>> above time frame might be the culprit, especially since no change
>> has been made to stack handling.
>>
>> I suggest to build your own Cygwin and bisect it.
>
> Corinna, could you elaborate please ?
> I'm not sure to clearly understand what you mean by bisecting Cygwin.
>
> Thank you !
>
> Ben
>