SUSE Support

Here When You Need Us

Applications crash with "free(): invalid pointer" errors after updating glibc-32bit

This document (7017485) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)

Situation

After updating to the latest glibc-32bit from the update channels applications fail to launch and crash with the backtrace showing the following:

*** glibc detected *** application_name: free(): invalid pointer: 0x087b0040 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71f04)[0xf3f64f04]
/lib/libc.so.6(+0x73813)[0xf3f66813]
/lib/libc.so.6(cfree+0x6d)[0xf3f699bd]
/lib/libnss_dns.so.2(_nss_dns_gethostbyname4_r+0x26b)[0xf3ea8b3b]
/lib/libc.so.6(+0xc2dd8)[0xf3fb5dd8]
/lib/libc.so.6(getaddrinfo+0x1b4)[0xf3fb8c64]
...

Resolution

Export and set the RTLD_DEEPBIND environment variable to 0.

Cause

Previously the condition that causes a call to malloc in libresolv was only satisfied under exceptional circumstances, now it is always true.

Additional Information

To export the variable simply from the command line execute: export RTLD_DEEPBIND=0

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7017485
  • Creation Date: 11-Apr-2016
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.