bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gawk: Internal Error


From: Lakshmankumar Mukkavilli
Subject: Re: gawk: Internal Error
Date: Mon, 25 Jun 2001 07:46:37 -0700

Thanks. I got the 3.1.0 version and the problem does not happen. But there
is a new issue. I am seeing a lot of new warnings about escape sequences
like

myprog1.awk:123: warning: escape sequence `\}' treated as plain `}'
myprog2.awk:194: warning: escape sequence `\$' treated as plain `$'
myprog3.awk:104: warning: escape sequence `\{' treated as plain `{'
myprog3.awk:105: warning: escape sequence `\}' treated as plain `}'
myprog3.awk:116: warning: escape sequence `\}' treated as plain `}'
myprog3.awk:125: warning: escape sequence `\$' treated as plain `$'

Is there a way to supress these kinds of messages. Looking  at the
documentation I did not see any. We dont like to change the source files.
These warnings are confusing the users and breaking the builds.

Regards,

Lakshmankumar Mukkavilli
address@hidden



----- Original Message -----
From: "Aharon Robbins" <address@hidden>
To: <address@hidden>; <address@hidden>
Sent: Sunday, June 24, 2001 5:09 AM
Subject: Re: gawk: Internal Error


> Greetings.  Thanks for the bug report.
>
> The version of gawk you're using is very much out of date.  The current
> version is 3.1.0, which has many new features and many bug fixes.  When I
> run your program with your data on the current gawk, it exits quietly,
> without failing.
>
> I suggest you upgrade; the latest version is available from a GNU mirror
> near you.
>
> Thanks,
>
> Arnold Robbins
>
> > From: Lakshmankumar Mukkavilli <address@hidden>
> > Subject: gawk: Internal Error
> > To: address@hidden
> > Date: Fri, 22 Jun 2001 10:17:02 -0700 (PDT)
> > Cc: address@hidden, address@hidden
> >
> > Dear gawk support:
> >
> > When I run gawk I get a message indicating an internal error.
> > I have tried to provide all the info I got.
> >
> > Regards,
> >
> > Lakshmankumar Mukkavilli
> > address@hidden
> >
> > gawk --version output:
> >
> > Gnu Awk (gawk) 2.15, patchlevel 3
> > Gnu Awk (gawk) 2.15, patchlevel 3
> > Usage: gawk [POSIX or GNU style options] -f progfile [--] file ...
> >         gawk [POSIX or GNU style options] [--] 'program' file ...
> > POSIX options:          GNU long options:
> >         -f progfile             --file=progfile
> >         -F fs                   --field-separator=fs
> >         -v var=val              --assign=var=val
> >         -W compat               --compat
> >         -W copyleft             --copyleft
> >         -W copyright            --copyright
> >         -W help                 --help
> >         -W lint                 --lint
> >         -W posix                --posix
> >         -W source=program-text  --source=program-text
> >         -W usage                --usage
> >         -W version              --version
> >
> > OS info (output of uname -a):
> > SunOS myhost 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-Enterprise
> >
> > Command used:
> >
> > gawk -f testreformat1.awk \
> >      -vwhat=a12345  \
> >      -vfilepath=../xyz/abcde_fg_xyz.c testinputforgawk4
> >
> > gawk output:
> > gawk: testreformat1.awk:8: (FILENAME=testinputforgawk4 FNR=1) fatal
error: internal error
> > Abort - core dumped
> >
> > testreformat1.awk:
> >
> > BEGIN{
> >      filename=basename(filepath);
> >      }
> > (what=="a12345")&&match($0,/^\"/) {next}
> > (what=="a12345")&&match($0,filename ", line ") {s="^" filename ", line
";
> >                   n=sub(s,filepath ":");
> >                  if (n==0){next} else {what="op";};
> >                  sub(/[ \t]+:/,":");
> >                 }
> >
> > # Return the basename of a file path
> > function basename(file)
> > {
> >     count=split(file,fileparts,"/");
> >     return fileparts[count];
> > }
> >
> >
> > testinputforgawk4- There is only one line. That is
> > abcde_fg_xyz.c, line 2290 : warning (5): freeing pointer to
already-freed memory 'fg_gen_info'
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]