Subject: Re: PR/33392 CVS commit: src/dist/nawk
To: Dan McMahill <dmcmahill@NetBSD.org>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 07/26/2006 09:47:58
On Jul 25, 11:20pm, dmcmahill@NetBSD.org (Dan McMahill) wrote:
-- Subject: Re: PR/33392 CVS commit: src/dist/nawk

| Christos Zoulas wrote:
| > On Jul 3,  1:41pm, cheusov@tut.by (Aleksey Cheusov) wrote:
| > -- Subject: Re: PR/33392 CVS commit: src/dist/nawk
| > 
| > | Changes you commited to the HEAD related to this PR seems good to me,
| > | everything works correctly and much faster than gawk (for huge
| > | regexps) that i used for years.
| > | 
| 
| unfortunately, there seem to be some bugs introduced by these commits. 
| I'm getting lots of junk pointer complaints from free() followed by a 
| segfault.  nawk prior to these changes don't have this problem.  The 
| patch Christos attached to PR/3406 makes the segfaults go away, but this 
| new nawk uses more than 10x the RAM on the same script with the same 
| input file than an older (prior to these changes) nawk.
| 
| I can send the awk script and input file if anyone cares to dig around.

I fixed all of it...

christos