glibc Heap Consistency Checking

Posted by idimba on Stack Overflow See other posts from Stack Overflow or by idimba
Published on 2010-05-14T07:11:02Z Indexed on 2010/05/14 7:14 UTC
Read the original article Hit count: 312

Filed under:
|
|
  1. According to posts from 2008 (I can't find it right now), glibc heap check doesn't work in multithreaded environment. Is it still situation now in 2010?
  2. Does heap check enabled by default? (gcc 4.1.2)? I don't set MALLOC_CHECK_, don't aware of calling mcheck(), but still sometimes receive double free glibc error with backtrace. Maybe it's enabled by some ccompilation flag?

© Stack Overflow or respective owner

Related posts about gcc

Related posts about memory-corruption