7.8.1 plan

Kyra kyrab at mail.ru
Thu Apr 3 14:56:43 UTC 2014


Ah, sorry. Now the policy is to set it to 2mb then.

Cheers,
Kyra

On 03.04.2014 18:50, Austin Seipp wrote:
> Actually, the 0x200000 for the reserve was just the default in the
> executable - I just set it out based on what peflags told me
> initially.
>
> Thank you again Kyrill!
>
> On Thu, Apr 3, 2014 at 9:32 AM, kyra <kyrab at mail.ru> wrote:
>> Btw,  it is committed size which is important here. I proposed to increase
>> both only to follow Linux/OSX linker policy which sets stack size to be 8mb
>> by default, otherwise we could stay at 1mb for both reserved (windows'
>> default value) and committed values.
>>
>> Regards,
>> Kyra
>>
>>
>> On 03.04.2014 18:00, Austin Seipp wrote:
>>> Kyrill, you are fantastic! I confirmed this incantation seems to have
>>> fixed the problem on my build:
>>>
>>> $ peflags --stack-reserve=0x200000 --stack-commit=0x200000 ghc.exe
>>>
>>> with the RC2 build, and not my own. Hooray!
>>>
>>> I will work up something soon. Thanks so much again!
>>>
>>> On Thu, Apr 3, 2014 at 8:50 AM, Austin Seipp <austin at well-typed.com>
>>> wrote:
>>>> Oh excellent, thank you for the tip Kyrill, I had no idea about this!
>>>> My build is on the way, so I will try this and report back soon.
>>>>
>>>> On Thu, Apr 3, 2014 at 8:34 AM, kyra <kyrab at mail.ru> wrote:
>>>>> On 4/3/2014 17:15, Austin Seipp wrote:
>>>>>> Right now, Kyrill has suggested a fix I'm attempting (I slightly
>>>>>> botched my first try), and I have found a way to avoid it at the
>>>>>> moment by turning off optimization (which seems to reduce stack
>>>>>> pressure enough to get by on Windows - see the ticket for details).
>>>>> It's absolutely not necessary to rebuild everything to check if this
>>>>> works,
>>>>> it's enough to edit ghc.exe with peflags utility (which has
>>>>> --stack-reserve
>>>>> and --stack-commit options) and look if it stop segfaulting. If I could
>>>>> reproduce the problem I'd have done this long ago.
>>>>>
>>>>> Cheers,
>>>>>
>>>>> Kyra
>>>>>
>>>>> _______________________________________________
>>>>> ghc-devs mailing list
>>>>> ghc-devs at haskell.org
>>>>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Austin Seipp, Haskell Consultant
>>>> Well-Typed LLP, http://www.well-typed.com/
>>>
>>>
>> _______________________________________________
>> ghc-devs mailing list
>> ghc-devs at haskell.org
>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>
>
>



More information about the ghc-devs mailing list