[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug? - GNU Awk 5.0.1, API: 2.0 (GNU MPFR 3.1.5, GNU MP 6.1.2)
From: |
J Naman |
Subject: |
Bug? - GNU Awk 5.0.1, API: 2.0 (GNU MPFR 3.1.5, GNU MP 6.1.2) |
Date: |
Thu, 9 Jan 2020 21:58:25 -0500 |
I read about Namespace and decided to print SYMTAB. It blew up with
"Assertion failed: n->type == Node_val, file awk.h, line 1942 This
application has requested the Runtime to terminate it in an unusual
way. Please contact the application's support team for more information." I
am running *Windows 7 x64*, GNU Awk 5.0.1, API: 2.0 (GNU MPFR 3.1.5, GNU MP
6.1.2). Problem code is:
function show_symbol_table( count,i) {
for (i in SYMTAB) {
printf("%s ",i)
if (isarray(SYMTAB[i])) { count++ }
}
printf("\nsymbol table contains %d names of which %d are
arrays\n\n",length(SYMTAB),count)
}
I did NOT use @namespace "anything" (yet), just vanilla gawk. Tried it with
i & count global, same blow up. This is not a huge bug, just FYI. And a
million thanks for all the time & effort everyone puts into keeping GAWK
alive and evolving. Thanks, John Naman (address@hidden, if you want to get
my attention, screen shots, etc.)
JohnN
- Bug? - GNU Awk 5.0.1, API: 2.0 (GNU MPFR 3.1.5, GNU MP 6.1.2),
J Naman <=