Re: [PATCH] Cygwin: Fixing the math behind rounding down ch.stacklimit to page size

2018-07-03 Thread Tim Adye
Hi Corinna, Sergejs, Sorry, I should have followed up in this thread sooner. I can confirm that I tested the x86_64 cygwin1-20180607.dll.xz snapshot and it resolved my issue with bash with HitmanPro. Thanks! Tim. On 05/06/2018 12:16, Tim Adye wrote: Hi Corinna, On 29 May, 18:44, Corinna Vi

Re: [PATCH] Cygwin: Fixing the math behind rounding down ch.stacklimit to page size

2018-06-05 Thread Tim Adye
Hi Corinna, On 29 May, 18:44, Corinna Vinschen wrote: Hi Sergejs, On May 25 17:43, Sergejs Lukanihins wrote: > Hello, > > Looks like ch.stacklimit wasn't being page-aligned correctly in > fork.cc; you need to subtract 1 from page_size to do it correctly (see > the attached patch). > > As a r

Re: [PATCH] Cygwin: Fixing the math behind rounding down ch.stacklimit to page size

2018-05-29 Thread Corinna Vinschen
Hi Sergejs, On May 25 17:43, Sergejs Lukanihins wrote: > Hello, > > Looks like ch.stacklimit wasn't being page-aligned correctly in > fork.cc; you need to subtract 1 from page_size to do it correctly (see > the attached patch). > > As a result, this was causing stack-overflow exceptions whenever

[PATCH] Cygwin: Fixing the math behind rounding down ch.stacklimit to page size

2018-05-25 Thread Sergejs Lukanihins
Hello, Looks like ch.stacklimit wasn't being page-aligned correctly in fork.cc; you need to subtract 1 from page_size to do it correctly (see the attached patch). As a result, this was causing stack-overflow exceptions whenever the stack needed to grow beyond the stacklimit value. When the stack