Why do I get sporadic crashes with some applications in Red Hat Enterprise Linux when the MALLOC_CHECK_ environment variable is set?
Issue
- I receive sporadic crashes with some applications in Red Hat Enterprise Linux (RHEL) 5.4 or 5.5 when the MALLOC_CHECK_ environment variable is set
- SIGSEGV occurs when freeing memory with checking free() with MALLOC_CHECK_.
# MALLOC_CHECK_=3 ./malloc_test malloc: using debugging hooks Segmentation fault
Environment
-
Red Hat Enterprise Linux 5.4
-
Red Hat Enterprise Linux 5.5
- MALLOC_CHECK_ environment variable is set
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.