|
From: | Joerg Hoffmann |
Subject: | Re: huge input files, stack size exceeded?? |
Date: | Tue, 07 Oct 2003 10:08:15 +0200 |
User-agent: | Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 |
Joerg Hoffmann <address@hidden> writes:#0 0x08064744 in ops_pddlparse () at scan-ops_pddl.tab.c:1070 1070 YYSTACK_RELOCATE (yyss);Most likely your hosts has an inadequate check for stack overflow, i.e. when you call alloca with a large number, it will return a bad pointer. If my guess is right, try doing this: #define YYSTACK_ALLOC malloc #define YYSTACK_FREE free This will cause the parser to use 'malloc' and 'free' rather than the inadequate 'alloca' implementation.
[Prev in Thread] | Current Thread | [Next in Thread] |