Bug 116823 - bison crashes with missing ending semicolon
Summary: bison crashes with missing ending semicolon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: bison
Version: 3.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Roland McGrath
QA Contact:
URL:
Whiteboard:
Depends On: 127101
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-25 15:43 UTC by Göran Uddeborg
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-02 02:33:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2004:267 0 normal SHIPPED_LIVE Updated bison package fixes crash 2004-09-01 04:00:00 UTC

Description Göran Uddeborg 2004-02-25 15:43:03 UTC
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

   %%
   some_identifier:
   %%

results in a segmentation violation.

Version-Release number of selected component (if applicable):
bison-1.875-4

How reproducible:
Always

Steps to Reproduce:
1.bison ah.y    

Actual Results:  bash-2.05b$ bison ah.y
Segmentation fault

Expected Results:  A correct (if pretty uninteresting) ah.c parser.

Additional info:

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.

Comment 1 Roland McGrath 2004-06-25 08:48:31 UTC
This is fixed by upgrading to version 1.875c, which will be in the
next erratum.

Comment 2 Jay Turner 2004-09-02 02:33:19 UTC
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.

http://rhn.redhat.com/errata/RHEA-2004-267.html



Note You need to log in before you can comment on or make changes to this bug.