From 06c22e76d45a5f8f2fd15fea6a8e7c9efa80962f Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 25 Sep 2012 01:22:01 -0400 Subject: MALLOC_CHECK_ is not thread safe. Don't enable it by default even in debug mode. (#853175) --- sysconfig/debug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sysconfig/debug b/sysconfig/debug index 3a251fd4..4ae4e7b5 100644 --- a/sysconfig/debug +++ b/sysconfig/debug @@ -4,7 +4,8 @@ # 0: silently ignore errors # 1: print diagnostics on stderr when an error is detected # 2: call abort when an error is detected -export MALLOC_CHECK_=1 +# Note: MALLOC_CHECK_ is not thread safe, enable at your own risk. +# export MALLOC_CHECK_=1 # MALLOC_PERTURB_: initialize cleared memory to the specified value export MALLOC_PERTURB_=$(($RANDOM % 255 + 1)) -- cgit v1.2.1