From e13420734ca89c503a95ba2bbb7771a650dc6cc0 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Mon, 17 Oct 2022 17:48:51 +0000 Subject: [PATCH] Try keeping ASan builds w/o LeakSanitizer (which segfaults). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1904660 13f79535-47bb-0310-9956-ffa450edef68 --- .travis.yml | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 604f14e9954..0d60bf07eb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -436,22 +436,17 @@ jobs: APR_VERSION=1.7.x APU_VERSION=1.7.x APU_CONFIG="--with-crypto --with-ldap" CONFIG="--enable-mods-shared=reallyall" - TEST_ASAN=1 + TEST_ASAN=1 ASAN_OPTIONS="detect_leaks=0" # LeakSanitizer segfaults some{how,times}.. CLEAR_CACHE=1 # ------------------------------------------------------------------------- - ## icing: disabled due to persistent errors, reported as - ## Tracer caught signal 11: addr=0x0 pc=0x7fbae3b894f0 sp=0x7fbade4c3ce0 - ## 4526==66806==LeakSanitizer has encountered a fatal error. - ## 4527==66806==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1 - ## 4528==66806==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc) - #- name: Linux Ubuntu Focal, ASan, pool-debug - # dist: focal - # env: NOTEST_CFLAGS="-ggdb -fsanitize=address -fno-sanitize-recover=address -fno-omit-frame-pointer" - # APR_VERSION=1.7.x APR_CONFIG="--enable-pool-debug" - # APU_VERSION=1.7.x APU_CONFIG="--with-crypto --with-ldap" - # CONFIG="--enable-mods-shared=reallyall" - # TEST_ASAN=1 - # CLEAR_CACHE=1 + - name: Linux Ubuntu Focal, ASan, pool-debug + dist: focal + env: NOTEST_CFLAGS="-ggdb -fsanitize=address -fno-sanitize-recover=address -fno-omit-frame-pointer" + APR_VERSION=1.7.x APR_CONFIG="--enable-pool-debug" + APU_VERSION=1.7.x APU_CONFIG="--with-crypto --with-ldap" + CONFIG="--enable-mods-shared=reallyall" + TEST_ASAN=1 ASAN_OPTIONS="detect_leaks=0" # LeakSanitizer segfaults some{how,times}.. + CLEAR_CACHE=1 allow_failures: # Intermittent failures: - env: CONFIG="--enable-mods-shared=reallyall --with-mpm=worker" -- 2.47.3