Update of /cvsroot/monetdb/pathfinder/runtime
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv29202/runtime
Modified Files:
pathfinder.mx
Log Message:
propagated changes of Saturday Nov 21 2009 - Saturday Nov 28 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/11/21 - stmane: runtime/pathfinder.mx,1.462.4.12
use more conservative stack limit (PFmaxstack)
for too deep recusion check (PFrecursion_fence())
to prevent segfault (due to too deep recursion and
consequent stack overflow) in tests
tests/BugTracker/Tests/collection_management.SF-1726599.*
tests/BugTracker/Tests/crash_on_concatenated_query.SF-1730547.*
cf.,
https://sourceforge.net/tracker/?func=detail&aid=1607210&group_id=56967&atid=482468
https://sourceforge.net/tracker/?func=detail&aid=1730547&group_id=56967&atid=482468
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/11/23 - stmane: runtime/pathfinder.mx,1.462.4.13
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.473
retrieving revision 1.474
diff -u -d -r1.473 -r1.474
--- pathfinder.mx 19 Nov 2009 10:12:02 -0000 1.473
+++ pathfinder.mx 28 Nov 2009 19:58:26 -0000 1.474
@@ -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)*2048 -
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)*2048 -
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