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

Wojciech A. Koszek wkoszek at freebsd.org
Wed May 9 18:24:22 UTC 2007


I have a file:


I run this command:

	yacc -d -o grammar.c grammar.y

While I get a following warning on RELENG_6 machines:

	$ yacc -d -o grammar.c grammar.y
	yacc: w - line 36 of "grammar.y", the default action assigns an
	undefined value to $$
	yacc: w - the symbol NUMBER is undefined

On various -CURRENT boxes I see:

	$ yacc -d -o grammar.c grammar.y
	fatal process exception: page fault, fault VA = 0xa5a5a5b1
	zsh: segmentation fault (core dumped)  yacc -d -o grammar.c grammar.y

Sounds like a regression in malloc(3) ?


Wojciech A. Koszek
wkoszek at FreeBSD.org

More information about the freebsd-current mailing list