bug-bison
[Top][All Lists]
Advanced

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

Re: bison bug.


From: James Harris
Subject: Re: bison bug.
Date: Thu, 27 Dec 2001 21:42:14 -0800 (PST)

A quick update on my bug hunt. It looks like there is an overflow in at
least one of the many shorts Corbett uses. Adding "#define short int" into
system.h seems to be a down and dirty fix.  Im going to setup a watches on
each short and should have a better fix soon.  

-- James Harris

On 22 Dec 2001, Akim Demaille wrote:

> 
> | This isn't the only bug I have run across in bison, but I belive they are
> | all symptoms of the same bug. 
> 
> I don't think so, 1.30 has a lot of problems.
> 
> | I belive a some internal variable is to
> | small. As you can see the number 256 rules is rather telling. 255 is
> | acceptable, 256 produces the bug.
> 
> Your test case doesn't make it clear exactly what is the problem?  The
> total number of rules only, or is the number of symbols on the RHS
> relevant?
> 
> Whatever the answer, I agree this is a bug.  Nonetheless, it is not
> clear how to fix it: die with dignity diagnosing an overflow, or try
> to work with such grammars?
> 
> In other words: is your test case realistic of some real condition
> uses, or just a torture test?
> 




reply via email to

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