Red Hat Bugzilla – Bug 116823
bison crashes with missing ending semicolon
Last modified: 2007-11-30 17:07:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922
Description of problem:
Running bison on this three line input file
results in a segmentation violation.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: bash-2.05b$ bison ah.y
Expected Results: A correct (if pretty uninteresting) ah.c parser.
This does not happen on i386. It happens on x86_64.
I'm aware omitting the final semicolon from rules is considered
obsolecent. For a while bison warned about it, but that seems to be
gone again. In any case, it should not crash.
This is fixed by upgrading to version 1.875c, which will be in the
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.