From d98733b37e3117b8be0e11ff697f25ba44d9db6a Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 1 Oct 2018 17:50:16 -0700 Subject: [PATCH] restored backtrace on failure for Linux and Mac OS-X. Note : the backtraces fires up through a trap before the sanitizer get a chance to report. There are situations where the sanitizer report is actually preferable. It might be good to consider a kind of build macro which can disable backtrace when sanitizer is enabled. --- programs/zstdcli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/zstdcli.c b/programs/zstdcli.c index 6b0c89d46..1545d1cac 100644 --- a/programs/zstdcli.c +++ b/programs/zstdcli.c @@ -547,7 +547,7 @@ int main(int argCount, const char* argv[]) memset(&compressionParams, 0, sizeof(compressionParams)); /* init crash handler */ - //FIO_addAbortHandler(); + FIO_addAbortHandler(); /* command switches */ for (argNb=1; argNb