==16359== Memcheck, a memory error detector ==16359== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==16359== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info ==16359== Command: /home/sdelse/app/devl/source/gawk-4.1.4/gawk -F | -f test.awk ==16359== ==16359== ==16359== HEAP SUMMARY: ==16359== in use at exit: 113,054,448 bytes in 1,176,900 blocks ==16359== total heap usage: 601,323,587 allocs, 600,146,687 frees, 26,741,049,054 bytes allocated ==16359== ==16359== 14 bytes in 7 blocks are possibly lost in loss record 56 of 128 ==16359== at 0x4A0717A: malloc (vg_replace_malloc.c:298) ==16359== by 0x462F59: emalloc_real (awk.h:1820) ==16359== by 0x46394A: r_dupnode (node.c:318) ==16359== by 0x4416A4: dupnode (awk.h:1770) ==16359== by 0x445950: r_interpret (interpret.h:360) ==16359== by 0x4605F8: main (main.c:518) ==16359== ==16359== 79 bytes in 5 blocks are possibly lost in loss record 71 of 128 ==16359== at 0x4A0717A: malloc (vg_replace_malloc.c:298) ==16359== by 0x4093A2: emalloc_real (awk.h:1820) ==16359== by 0x409FC2: concat_exp (array.c:420) ==16359== by 0x447334: r_interpret (interpret.h:817) ==16359== by 0x4605F8: main (main.c:518) ==16359== ==16359== 256 bytes in 1 blocks are possibly lost in loss record 90 of 128 ==16359== at 0x4A0717A: malloc (vg_replace_malloc.c:298) ==16359== by 0x42486B: emalloc_real (awk.h:1820) ==16359== by 0x425D39: tree_lookup (cint_array.c:757) ==16359== by 0x424D0A: cint_lookup (cint_array.c:244) ==16359== by 0x40970B: null_lookup (array.c:150) ==16359== by 0x445700: r_interpret (interpret.h:309) ==16359== by 0x4605F8: main (main.c:518) ==16359== ==16359== 7,200 bytes in 1 blocks are possibly lost in loss record 126 of 128 ==16359== at 0x4A0717A: malloc (vg_replace_malloc.c:298) ==16359== by 0x462F59: emalloc_real (awk.h:1820) ==16359== by 0x464DC1: more_blocks (node.c:1003) ==16359== by 0x463A87: r_make_number (node.c:339) ==16359== by 0x426C5B: leaf_list (cint_array.c:1179) ==16359== by 0x426307: tree_list (cint_array.c:911) ==16359== by 0x42560B: cint_list (cint_array.c:469) ==16359== by 0x40BC6D: assoc_list (array.c:1348) ==16359== by 0x4477C9: r_interpret (interpret.h:900) ==16359== by 0x4605F8: main (main.c:518) ==16359== ==16359== 14,400 bytes in 2 blocks are possibly lost in loss record 127 of 128 ==16359== at 0x4A0717A: malloc (vg_replace_malloc.c:298) ==16359== by 0x462F59: emalloc_real (awk.h:1820) ==16359== by 0x464DC1: more_blocks (node.c:1003) ==16359== by 0x44F375: rebuild_record (field.c:201) ==16359== by 0x450975: get_field (field.c:844) ==16359== by 0x443755: r_get_field (eval.c:1202) ==16359== by 0x4458D0: r_interpret (interpret.h:352) ==16359== by 0x4605F8: main (main.c:518) ==16359== ==16359== LEAK SUMMARY: ==16359== definitely lost: 0 bytes in 0 blocks ==16359== indirectly lost: 0 bytes in 0 blocks ==16359== possibly lost: 21,949 bytes in 16 blocks ==16359== still reachable: 113,032,499 bytes in 1,176,884 blocks ==16359== suppressed: 0 bytes in 0 blocks ==16359== Reachable blocks (those to which a pointer was found) are not shown. ==16359== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==16359== ==16359== For counts of detected and suppressed errors, rerun with: -v ==16359== ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 4 from 4)