Update of /cvsroot/monetdb/pathfinder/runtime
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28703/pathfinder/runtime

Modified Files:
      Tag: Nov2009
        pathfinder.mx 
Log Message:

try even more conservative stack limit (PFmaxstack)
for too deep recusion check (PFrecursion_fence())
to check whether this helps to prevent the remaining segfaults with test
tests/BugTracker/Tests/server-side_compilation_crash.SF-1607210.*
on some platforms; cf.
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-Debian4.0/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.64.64.d.1-Gentoo2.0.1/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html
http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTests103/GNU.32.32.d.1-SunOS5.11/tests_BugTracker/server-side_compilation_crash.SF-1607210.err.00.html


Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.462.4.12
retrieving revision 1.462.4.13
diff -u -d -r1.462.4.12 -r1.462.4.13
--- pathfinder.mx       21 Nov 2009 14:32:26 -0000      1.462.4.12
+++ pathfinder.mx       23 Nov 2009 18:07:59 -0000      1.462.4.13
@@ -4768,7 +4768,7 @@
                local var to conservatively estimate bottom of stack
                and to have some slack after last test, then subtract
                stack size to find top */
-            PFmaxstack = ((char*) &xquery) + sizeof(size_t)*4096 - 
THREAD_STACK_SIZE;
+            PFmaxstack = ((char*) &xquery) + sizeof(size_t)*8192 - 
THREAD_STACK_SIZE;
 #if defined(_MSC_VER) && SIZEOF_SIZE_T == 8
             /* On Windows, the application stack (i.e. the stack of
                the main thread) is 1 MB.  On 64 bit Windows, our
@@ -4778,7 +4778,7 @@
                again for a 1 MB stack.
                Did somebody say HACK? */
             if (PFmaxstack > (char*) &xquery)
-                    PFmaxstack = ((char*) &xquery) + sizeof(size_t)*4096 - 
1024*1024;
+                    PFmaxstack = ((char*) &xquery) + sizeof(size_t)*8192 - 
1024*1024;
 #endif
             PFerrbuf = ctx->errbuf;
             PFerrbuf[0] = 0;


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to