]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Try keeping ASan builds w/o LeakSanitizer (which segfaults).
authorYann Ylavic <ylavic@apache.org>
Mon, 17 Oct 2022 17:48:51 +0000 (17:48 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 17 Oct 2022 17:48:51 +0000 (17:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1904660 13f79535-47bb-0310-9956-ffa450edef68

.travis.yml

index 604f14e9954930ddce0be40ea10a0c68afbe0e8d..0d60bf07eb0a530243515664f20600a91860279c 100644 (file)
@@ -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"