RHEL6: bash dies with Segmentation fault, core_backtrace shows it died in "hash_flush"

Solution Verified - Updated -

Issue

  • A bash script dies with Segmentation fault, ABRT report's core_backtrace file contains the following back trace

    {   "signal": 11
    ,   "executable": "/bin/bash"
    ,   "stacktrace":
          [ {   "crash_thread": true
            ,   "frames":
                  [ {  [...]
                    ,   "function_name": "__libc_free"
                    ,   "file_name": "/lib64/libc.so.6"
                    }
                  , {   [...]
                    ,   "function_name": "hash_flush"
                    ,   "file_name": "/bin/bash"
                    }
                  , {   [...]
                    ,   "function_name": "assoc_dispose"
                    ,   "file_name": "/bin/bash"
                    }
                  , {   [...]
                    ,   "function_name": "dispose_variable"
                    ,   "file_name": "/bin/bash"
                    }
                  [...]
    

Environment

  • Red Hat Enterprise Linux 6
    • bash

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