I'm not sure if this is related, but I get a similar error when I
attempt to create arrays with > 64K elements; e.g., using the following
sample code from the ChangeLog of mawk 1.3.4-20100419:

http://invisible-island.net/mawk/CHANGES-index.html#t20100419

+ increase size of reference-count for strings to unsigned.  It was an
  unsigned short, which prevented using arrays larger than 64k, e.g.,
     BEGIN{for(i = 1; i <= 65550; ++i){if(i >= 65534 && i<= 65537) print i; 
s[i] = "a"}; delete s;}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/537616

Title:
  *** glibc detected *** awk: munmap_chunk(): invalid pointer:
  0x000000000061b26c ***

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mawk/+bug/537616/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to