Re: yacc(1) causes a fault -- "fault VA = 0xa5a5a5b1"

From: Thomas Dickey <dickey_at_radix.net>
Date: Wed, 9 May 2007 15:06:02 -0400
On Wed, May 09, 2007 at 01:53:25PM -0500, Dan Nelson wrote:
> In the last episode (May 09), Scott Long said:
> >  Wojciech A. Koszek wrote:
> > > Hi,
> > > I have a file:
> > > 	http://people.freebsd.org/~wkoszek/traces/grammar.y
...
> actually a "use-before-set".  I can get it to core on 6.x too by
> setting MALLOC_OPTIONS=J.  valgrind (with MALLOC_OPTIONS=j) says:

fwiw,
	http://invisible-island.net/byacc/

does not appear to exhibit this defect.
 
> ==52609== Conditional jump or move depends on uninitialised value(s)
> ==52609==    at 0x8052B40: end_rule (reader.c:1260)
> ==52609==    by 0x805393C: read_grammar (reader.c:1621)
> ==52609==    by 0x80546C4: reader (reader.c:1926)
> ==52609==    by 0x804C3DB: main (main.c:434)

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Received on Wed May 09 2007 - 17:30:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC