View Issue Details

IDProjectCategoryView StatusLast Update
0005162CentOS-6gawkpublic2011-10-04 11:43
Reporterkjhambrick 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
PlatformIntelOSCentOS 6OS Version
Product Version6.1 
Target VersionFixed in Version 
Summary0005162: gawk 3.1.7 on CentOS 6 - YACC Stack Overflow
DescriptionComplex awk scripts cause YACC Stack Overflow on CentOS 6 (note that RHEL 6 has the same bug).

gawk 3.1.7 built from source does not fail.

gawk 3.1.5 from CentOS 5 does not fail.

I suspect byacc vs bison issue ??
Steps To Reproduce1. download the attached gawk-yacc-stack-overflow-B11004.tgz
2. cd into a local temp directory
3. tar -zxvf gawk-yacc-stack-overflow-B11004.tgz
4. run this command from your bash prompt:

   /bin/gawk -f ProcessParms.awk ppdf-rsync-proc-iplinput.26923

5. output will be:

   gawk: ProcessParms.awk:202: YarCmpTab = $2 ""
   gawk: ProcessParms.awk:202: ^ yacc stack overflow
Additional Information$ uname -a

   Linux ppdf-dental 2.6.32-71.29.1.el6.i686 #1 SMP Mon Jun 27 18:07:00 BST 2011 i686 i686 i386 GNU/Linux

$ cat /etc/redhat-release

   CentOS Linux release 6.0 (Final)

$ /bin/gawk --version

   GNU Awk 3.1.7

$ tar -ztvf gawk-yacc-stack-overflow-B11004.tgz

-rw-r--r-- ppdf0/clients 42522 2011-01-02 08:36 ProcessParms.awk
-rw-rw-r-- ppdf0/clients 5303 2011-10-04 04:29 ppdf-rsync-proc-iplinput.26923
TagsNo tags attached.

Activities

kjhambrick

kjhambrick

2011-10-04 09:27

reporter  

gawk-yacc-stack-overflow-B11004.tgz (10,342 bytes)
kjhambrick

kjhambrick

2011-10-04 11:09

reporter   ~0013451

I just now submitted the same bug report to RH as bug #743242

Issue History

Date Modified Username Field Change
2011-10-04 09:27 kjhambrick New Issue
2011-10-04 09:27 kjhambrick File Added: gawk-yacc-stack-overflow-B11004.tgz
2011-10-04 11:09 kjhambrick Note Added: 0013451