gdb aborts with a "double free or corruption" when calling inferior functions with print or call command

Solution Verified - Updated -

Issue

  • gdb aborts with a "double free or corruption" when calling inferior functions with print or call command
  • This occurs only when the inferior function dynamically loads a shared library

Environment

  • Red Hat Enterprise Linux 5
  • gdb-7.0.1-23.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content