bug-gawk
[Top][All Lists]
Advanced

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

Re: Internal error with gawk 5.2.0


From: arnold
Subject: Re: Internal error with gawk 5.2.0
Date: Wed, 14 Sep 2022 13:39:40 -0600
User-agent: Heirloom mailx 12.5 7/5/10

Hello.

Thank you for the report and test case. This error and the bug
you cited have the same root cause.  The suggested patch for that
bug did not fix this one. Instead, the patch attached to this email
does, and I will be pushing it to the Savannah repo shortly.

Thanks!

Arnold

Pascal Terjan <pterjan@gmail.com> wrote:

> This was reported to Mageia in
> https://bugs.mageia.org/show_bug.cgi?id=30825 and I reduced it down to
> the following code:
>
> $ awk -e 'function foo(x)
> {
>         if (x == int(x))
>                 return (int(x) != 0)
> }
> BEGIN {
>         foo(P["bar"])
> }'
> awk: cmd. line:4: fatal: internal error: file interpret.h, line 254:
> unexpected parameter type Node_val
>
> Error is similar to
> https://lists.gnu.org/archive/html/bug-gawk/2022-09/msg00032.html

Attachment: D1
Description: Text document


reply via email to

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