zsh crashes with "hrealloc() called for non-heap memory"

Solution Unverified - Updated -

Issue

  • zsh crashes with an error message similar to:

    mem.c:604: BUG: hrealloc() called for non-heap memory.
    [1]    2554 segmentation fault (core dumped)  zsh
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • Z shell (zsh) 5.0.2-25

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.