Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-50184

ASAN failing to parse supressions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Dev Platform 2020-08-10

      Unit tests are not building when using ASAN:
      [21/22] Building +bson_lexer_test
      AddressSanitizer: failed to parse suppressions
      Aborted
      FAILED: +bson_lexer_test
      PATH=/opt/mongodbtoolchain/v3/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin ASAN_SYMBOLIZER_PATH=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer LSAN_SYMBOLIZER_PATH=/opt/mongodbtoolchain/v3/bin/llvm-symbolizer ASAN_OPTIONS=check_initialization_order=true:strict_init_order=true:abort_on_error=1:disable_coredump=0:handle_abort=1:detect_leaks=1:report_objects=1:suppressions=/home/ubuntu/mongo/etc/lsan.suppressions CCACHE_NOCPP2=1 ICECC_CLANG_REMOTE_CPP=1 ICECC_VERSION=/home/ubuntu/mongo/build/scons/icecc/opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz CCACHE_PREFIX=/usr/bin/icecc build/install/bin/cst_test -fileNameFilter bson_lexer_test
      SCons invocation:

      ./buildscripts/scons.py --allocator=system --sanitize=address --link-model=dynamic --variables-files=./etc/scons/mongodbtoolchain_stable_clang.vars --ninja generate-ninja ICECC=icecc NINJA_PREFIX=asan

            Assignee:
            ryan.egesdahl@mongodb.com Ryan Egesdahl (Inactive)
            Reporter:
            karmen.liang@mongodb.com Karmen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: