Bug 131498 - gawk 3.1.4 with dfa breaks some regexes
Summary: gawk 3.1.4 with dfa breaks some regexes
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gawk
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karel Zak
QA Contact:
URL:
Whiteboard:
: 131447 131737 132456 (view as bug list)
Depends On:
Blocks: FC3Target FC4Target
TreeView+ depends on / blocked
 
Reported: 2004-09-01 19:18 UTC by Jeremy Katz
Modified: 2007-11-30 22:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-15 11:19:40 UTC


Attachments (Terms of Use)

Description Jeremy Katz 2004-09-01 19:18:12 UTC
With gawk-3.1.4-1, mkinitrd doesn't (reliably) find the jbd module as
a dependency of ext3.

Downgrading to 3.1.3-9 or setting GAWK_NO_DFA=1 works around.

For now, moved 3.1.4-1 out of dist-fc3 (to -scratch)

Comment 1 Thomas Woerner 2004-09-02 11:39:31 UTC
Oh nice, you moved my package?

Comment 4 Bill Nottingham 2004-09-02 19:59:45 UTC
*** Bug 131447 has been marked as a duplicate of this bug. ***

Comment 5 Jeremy Katz 2004-09-07 04:16:15 UTC
*** Bug 131737 has been marked as a duplicate of this bug. ***

Comment 6 Jeremy Katz 2004-09-13 17:09:48 UTC
*** Bug 132456 has been marked as a duplicate of this bug. ***

Comment 8 Eugene Kanter 2004-09-18 13:40:28 UTC
It clearly depends of the modules.dep size. If the file is small then
awk 3.1.4 works fine.
# grep ext3 modules.dep >m.dep
# ./awk -f test.awk m.dep ext3
 jbd
# ./awk -f test.awk modules.dep ext3

# ./awk --version | head -1
GNU Awk 3.1.4
# awk -f test.awk modules.dep ext3
 jbd
# awk --version | head -1
GNU Awk 3.1.3# wc modules.dep m.dep
  1051   2967 177910 modules.dep
     1      2     95 m.dep


Comment 10 Pekka Pietikäinen 2004-10-15 23:05:02 UTC
Debian seems to have the same bug filed with some commentary and a
possible fix (but yea, it's something that should probably be handled
upstream and a post-FC3 thing in any case)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=266519

Comment 11 Karel Zak 2004-11-11 15:25:52 UTC
This is bug in dfa.c, fixed by patch from Aharon Robbins. It will
fixed in FC4. The mkinitrd stuff was fixed and works with this path.
You can try test it with package and tests from:

http://people.redhat.com/kzak/gawk/

Comment 12 Karel Zak 2004-11-15 11:19:40 UTC
Fixed in gawk-3.1.4-4 [FC-4].


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