Thursday, 10 February 2011

Linux C++ error (double free or corruption error)

if your program suddenly crashed during runtime and give you this kind of error:

*** glibc detected *** double free or corruption (fasttop): 0x08097c40 ***

use this command before executing your program:

export MALLOC_CHECK_=0
start_program &

No comments:

Post a Comment