[abrt] gawk-4.0.2-4.el7.x86_64 : gawk killed by SIGABRT

Solution In Progress - Updated -

Issue

  • We have a script using gawk with multidimensional arrays . Everytime we run this script gawk crashes, after accessing the last entry in the array. We suspect that gawk is crashing, once it tries to free memory. The issue happens on Red Hat Enterprise Linux 7 system; the crash does not happen on Red Hat Enterprise Linux 5 and 6 systems.
*** Error in `gawk': free(): invalid next size (fast): 0x0000000002dd99b0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7c503)[0x7faf4d117503]
gawk(valinfo+0x74)[0x40e434]
gawk(print_vars+0xbe)[0x40e65e]
gawk(dump_vars+0x31)[0x40e691]
gawk(main+0x11a4)[0x408984]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7faf4d0bcb35]
gawk[0x408aa5]
  • Memory leak seen when running script which uses gawk on Red Hat Enterprise Linux 7.

Environment

  • Red Hat Enterprise Linux 7
  • gawk-4.0.2-4.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.