Page MenuHomePhabricator

don't pass the avalanche processor pointer by reference to the TreadImport lambda
ClosedPublic

Authored by PiRK on Mon, Jun 10, 14:29.

Details

Summary

This causes an intermittent ASAN failure. There is probably some undefined behavior involved.

Depends on D16317

Test Plan
cmake -GNinja .. -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DENABLE_SANITIZERS="address;undefined"
cmake -E env ASAN_OPTIONS=malloc_context_size=0:log_path=stdout ASAN_OPTIONS=detect_stack_use_after_return=1:log_path=stdout ASAN_OPTIONS=check_initialization_order=1:log_path=stdout ASAN_OPTIONS=strict_init_order=1:log_path=stdout LSAN_OPTIONS=suppressions=../test/sanitizer_suppressions/lsan:log_path=stdout python ./test/functional/test_runner.py feature_init

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable