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

Thomas Dickey dickey at radix.net
Wed May 9 19:30:38 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070509/fe7f680f/attachment.pgp


More information about the freebsd-current mailing list