Re: Stack size allocations

2005-05-07 Thread Robert Lunnon
On Sat, 7 May 2005 10:06 pm, Alexandre Julliard wrote: > Robert Lunnon <[EMAIL PROTECTED]> writes: > > The first patch addresses a problem I have found where Windows > > applications under wine exceed the allocated stack. By default wine > > allocates the same 1MB stack that windows does but wine h

Re: Stack size allocations

2005-05-07 Thread Alexandre Julliard
Robert Lunnon <[EMAIL PROTECTED]> writes: > The first patch addresses a problem I have found where Windows applications > under wine exceed the allocated stack. By default wine allocates the same 1MB > stack that windows does but wine has a different stack consumption that does > windows, addi

Re: Stack size allocations

2005-05-07 Thread Mike Hearn
On Sat, 07 May 2005 18:13:41 +1000, Robert Lunnon wrote: > Comments anyone ? I have to echo Joris, why don't we just increase the default stack size if this is causing problems? Does it cost us anything? thanks -mike

Re: Stack size allocations

2005-05-07 Thread Robert Lunnon
On Sat, 7 May 2005 07:47 pm, Joris Huizer wrote: > Robert Lunnon wrote: > > I wish to propose two changes that I currently have in my Solaris > > patchkit. I'll use two separate e-mails here to avoid confusion. > > > > Both changes add environment variables controlling the way wine does > > things.

Re: Stack size allocations

2005-05-07 Thread Mike Hearn
On Sat, 07 May 2005 18:13:41 +1000, Robert Lunnon wrote: > Comments anyone ?

Re: Stack size allocations

2005-05-07 Thread Joris Huizer
Robert Lunnon wrote: I wish to propose two changes that I currently have in my Solaris patchkit. I'll use two separate e-mails here to avoid confusion. Both changes add environment variables controlling the way wine does things. The first patch addresses a problem I have found where Windows appli

Stack size allocations

2005-05-07 Thread Robert Lunnon
MEM_SYSTEM, PAGE_EXECUTE_READWRITE ); info->pthread_info.teb_size = size; info->pthread_info.teb_sel = teb->teb_sel; - + + + /* Allocate the stack: + Allow the user to set an environment variable to specify the stack size +

Stack size

2004-02-10 Thread Robert Lunnon
I have a program which used to work under wine but now seems to fail due to a stack overflow. Unfortunately I'm no windows expert, but I vaguely recollect that tthe stack size for a windows program is declared in the PE executable header. Does wine honour this setting and can someone poi