Alexandre Julliard : ntdll: Increase the signal stack size to avoid crashes on nested signals.

Alexandre Julliard julliard at winehq.org
Thu Nov 8 07:07:40 CST 2007


Module: wine
Branch: master
Commit: 0156dbba4f4d1b1d55a359fea15a217ff2a103ac
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0156dbba4f4d1b1d55a359fea15a217ff2a103ac

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Nov  8 13:53:47 2007 +0100

ntdll: Increase the signal stack size to avoid crashes on nested signals.

---

 dlls/ntdll/signal_i386.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 0603e44..a6f6ed5 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -1334,7 +1334,7 @@ size_t get_signal_stack_total_size(void)
 
     if (!signal_stack_size)
     {
-        size_t size = 4096, min_size = teb_size + max( MINSIGSTKSZ, 4096 );
+        size_t size = 8192, min_size = teb_size + max( MINSIGSTKSZ, 8192 );
         /* find the first power of two not smaller than min_size */
         while (size < min_size) size *= 2;
         signal_stack_mask = size - 1;




More information about the wine-cvs mailing list