From 7ec39330d29f3fdc34b70e47a6eb3d4f157dbb91 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 20 Oct 2020 15:57:09 +0200 Subject: [PATCH] Increase LSAN verbosity in Travis CI builds Its own error message recommends using these options if it fails (as it did in one of the builds with an irreproducible crash), so try doing it. --- build/tools/travis-ci.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/tools/travis-ci.sh b/build/tools/travis-ci.sh index 7cd5152621..bac37774e1 100755 --- a/build/tools/travis-ci.sh +++ b/build/tools/travis-ci.sh @@ -73,7 +73,9 @@ case $wxTOOLSET in fi if [ "$wxUSE_ASAN" = 1 ]; then - export LSAN_OPTIONS=suppressions=$(pwd)/misc/suppressions/lsan + # Increase verbosity in case something goes wrong and suppress the + # known leaks outside of wx itself that we can do nothing about. + export LSAN_OPTIONS=verbosity=1:log_threads=1:suppressions=$(pwd)/misc/suppressions/lsan wxASAN_CFLAGS="-fsanitize=address -fno-omit-frame-pointer" wxASAN_CXXFLAGS=$wxASAN_CFLAGS