{section: Building, Running and Testing HTCondor with the Address Sanitizer (asan) under Linux} {snip: NOTE}I've only run this with a non-rootly personal condor{endsnip} *ALSO NOTE*: asan does not work correctly with the ancient compilers and library packages included with Centos 7! It is known to work on Fedora 32 and on recent Ubuntu. 0: on your build container/server, install asan libraries if not already there; e.g. on Fedora, do {code} yum install -y libasan {endcode} 1: cd to a checked out source directory {code} cd condor {endcode} 2: mkdir a new binary directory and cd there {code} mkdir asan cd asan {endcode} 3: configure with -DWITH_ADDRESS_SANITIZER:bool=true, and any other needed cmake options, and make {code} rm ../CMakeCache.txt ../configure_uw -DWITH_ADDRESS_SANITIZER:bool=true .. make install {endcode} 4: make a directory for asan to write files to, and start the condor master with ASAN_OPTIONS pointing to this directory: {code} mkdir /tmp/asan ASAN_OPTIONS="log_path=/tmp/asan/condor" condor_master {endcode} 5: Run tests, submit jobs, and condor_off -master. One file per process will be in /tmp/asan. 6: If brave, run the whole test suite under asan: {code} ASAN_OPTIONS="log_path=/tmp/asan/condor" ctest {endcode}