[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gawk] gawk master: test/printf0.awk:3: fatal error: internal er
From: |
arnold |
Subject: |
Re: [bug-gawk] gawk master: test/printf0.awk:3: fatal error: internal error: segfault |
Date: |
Mon, 29 Feb 2016 10:53:36 -0700 |
User-agent: |
Heirloom mailx 12.4 7/29/08 |
Hi.
I can reproduce this under Linux. I'll take a look.
Thanks,
Arnold
Hermann Peifer <address@hidden> wrote:
> Hi,
>
> I came across the below segfault by coincidence. I occurs when
> pretty-printing with gawk/master, both under Linux and Mac OS X.
>
> Hermann
>
> # Using gawk 4.1.3 on MacOS X
> $ /opt/local/bin/gawk -f test/printf0.awk
> gawk: test/printf0.awk:3: fatal: printf: no arguments
> $ /opt/local/bin/gawk -o -f test/printf0.awk
> gawk: test/printf0.awk:3: fatal: printf: no arguments
>
> # Using gawk/master on MacOS X
> $ gawk -f test/printf0.awk
> gawk: test/printf0.awk:3: fatal: printf: no arguments
> $ gawk -o -f test/printf0.awk
> gawk: test/printf0.awk:3: fatal error: internal error: segfault
> Abort trap: 6
>
> The crash report mentions:
> Thread 0:: Dispatch queue: com.apple.main-thread
> 0 gawk 0x00000001047fbd43 pp_list + 675
> 1 gawk 0x00000001047f86dc pprint + 6988
> 2 gawk 0x00000001047f6e42 pprint + 690
> 3 gawk 0x00000001047f6b80 dump_prog + 240
> 4 gawk 0x00000001047ee1fe main + 6302
> 5 libdyld.dylib 0x00007fff91df65ad start + 1