bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

huge input files, stack size exceeded??


From: Joerg Hoffmann
Subject: huge input files, stack size exceeded??
Date: Thu, 04 Sep 2003 12:11:40 +0200
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0


Hi,

I might have found an unfixed bug in bison -- it doesn't work as it should, anyways, and I can't figure out what the problem is.

It looks very much like a stack size limit exceeded, or something of the sort. Maybe you've seen the problem before. I'm using a bison -made parser that works perfectly well for input files of some smaller size. Now I got to parse a file that is a few megabytes big (but otherwise exactly the same as the smaller files), and I get an error. The file starts with a simple list of definitions which all take a single line; after reading 2000 of these lines, while still in the middle of the list, the parser reports an error that suggests the list should have ended by this time. The nr. "2000" of lines that are maximally accepted strongly suggests that what we got here is some upper limit inherent to the parsing machinery. But the constant "2000" does not appear anywhere in the source or compiled code, and I couldn't find any size parameters to bison.

We are using GNU Bison version 1.25. Have you heard of similar problems before? Are they, possibly, already fixed in one of the newer bison versions?

Many thanks for any help on this,
Joerg Hoffmann







reply via email to

[Prev in Thread] Current Thread [Next in Thread]