bug-gawk
[Top][All Lists]
Advanced

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

Re: [bug-gawk] gawk debugger: internal error line 1711, file: debug.c


From: Hermann Peifer
Subject: Re: [bug-gawk] gawk debugger: internal error line 1711, file: debug.c
Date: Tue, 7 Jun 2016 08:36:44 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

On 2016-06-06 19:27, Aharon Robbins wrote:
> Greetings. Re this:
> 
>> From: Hermann Peifer <address@hidden>
>> To: "address@hidden" <address@hidden>
>> Date: Sat, 4 Jun 2016 13:12:02 +0200
>> Subject: Re: [bug-gawk] gawk debugger: internal error line 1711,
>>  file: debug.c
>>
>> On 2016-06-03 19:18, Hermann Peifer wrote:
>>> Hi again,
>>>
>>> While running some recent sample code from c.l.a through the debugger, I
>>> came across the below fatal error.
>>>
>>> I was using gawk from git/master, on a MacBook.
>>>
>>
>> Just to add another example, with minimum test code. Hermann
>>
>> $ cat test.awk
>> BEGIN { SYMTAB["x"] ; y=1 ; y++ }
>>
>> # Using gawk from git/gawk-4.1-stable
>> $ ./gawk-stable -D -f test.awk
>> gawk> w y
>> Watchpoint 1: y
>> gawk> r
>> Starting program:
>> Stopping in BEGIN ...
>> Watchpoint 1: y
>>   Old value: untyped variable
>>   New value: 1
>> main() at `test.awk':1
>> 1       BEGIN { SYMTAB["x"] ; y=1 ; y++ }
>> gawk> w x
>> Watchpoint 2: (null)
>> gawk> c
>> gawk-stable: test.awk:1: fatal: internal error line 1711, file: debug.c
>> Program exited abnormally with exit value: 2
> 
> Very nice test case. Here is the fix. I'll push it shortly.
> 

Thanks for taking care. Your patch works fine. Now, `watch x' (or
display x, print x) results into:

no symbol `x' in current context

Hermann





reply via email to

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