bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] gawk 4.2: crash


From: Denis Shirokov
Subject: Re: [bug-gawk] gawk 4.2: crash
Date: Tue, 16 Jan 2018 14:30:33 +0200

script to reproduce:

BEGIN{ isarray(a) }

best regards
Denis Shirokov



2018-01-14 17:58 GMT+02:00, Eli Zaretskii <address@hidden>:
>> From: Denis Shirokov <address@hidden>
>> Date: Sun, 14 Jan 2018 13:47:42 +0200
>>
>> my script working well with gawk 4.1.4 but crashes with the gawk
>> 4.2.with the following message (see attached .png):
>>
>> Assertion failed: r->valref > 0, file awk.h, line 1253
>>
>> the gawk version is:
>>
>> GNU Awk 4.2.0, API: 2.0 (GNU MPFR 3.1.0-p8, GNU MP 5.0.2)
>> Copyright (C) 1989, 1991-2017 Free Software Foundation.
>
> Please report this to address@hidden, together with the script which
> causes the crash.  I very much doubt that this is a problem specific
> to the Windows port of Gawk.
>
>> possibly the problem is in that gawk 4.2 binaries (downloaded from
>> https://sourceforge.net/projects/ezwinports/files/ at 10.1.2018)  are
>> 32-bit while my system (Win7SP1)  is 64-bit.
>
> No, this couldn't be the reason.  32-bit executables run on 64-bit
> Windows with no problems, I use Gawk like that all the time.
>
>> i can't provide the source code for reproducing the problem right now
>> because it's too large. but i'll be glad to find simple form of the
>> source that is reproducing the issue.
>
> Please do.
>
>> this may be done in a few days
>> if i will know as the minimum the line number/filename of the source
>> where gawk actually crashed. is there a way to quickly get this
>> information?
>
> You can run Gawk in debug mode, and then you can step your script one
> line at a time.
>



reply via email to

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