XRPLF / rippled

Decentralized cryptocurrency blockchain daemon implementing the XRP Ledger protocol in C++
https://xrpl.org
ISC License
4.5k stars 1.46k forks source link

ASAN build fails unit tests on Ubuntu 20.04 #4661

Open intelliot opened 1 year ago

intelliot commented 1 year ago

This appears to still be an issue in rippled 1.6.0 with Pop OS / Ubuntu 20.04.

mkdir -p build/cmake/gcc.release
pushd build/cmake/gcc.release
cmake -Dassert=true -Dsan=address -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ../../..
popd
cmake --build build/cmake/gcc.release --target rippled -- -j$(nproc)
build/cmake/gcc.release/rippled --unittest  --unittest-jobs=$(nproc)

Originally posted by @ximinez in https://github.com/XRPLF/rippled/issues/2046#issuecomment-686647505

intelliot commented 1 year ago

@MarkusTeufelberger - is this something you could try to fix?