bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] typeof1.awk causes segfault when run through the debugger


From: arnold
Subject: Re: [bug-gawk] typeof1.awk causes segfault when run through the debugger
Date: Sun, 21 Jun 2015 08:39:16 -0600
User-agent: Heirloom mailx 12.4 7/29/08

Hi.

Very nice catch.  I have started looking into this.  The debugger
doesn't understand typed regexes but I think that can be fixed.

Thanks,

Arnold

Hermann Peifer <address@hidden> wrote:

> Hi again,
>
> Below is what I get using gawk from master, on OS X 10.10.3
>
> Hermann
>
> $ gawk -D -f test/typeof1.awk
> gawk> watch e
> Watchpoint 1: e
> gawk> run
> Starting program:
> scalar_n
> untyped
> regexp
> scalar_s
> array scalar_n
> Stopping in BEGIN ...
> Watchpoint 1: e
>    Old value: untyped variable
>    New value: array, 0 elements
> main() at `test/typeof1.awk':7
> 7             e = @/foo/ ; print typeof(e)
> gawk> next
> gawk: test/typeof1.awk:7: fatal error: internal error: segfault
> Abort trap: 6



reply via email to

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