Page MenuHomePhabricator

Add another UBSAN vptr suppression
ClosedPublic

Authored by jasonbcox on Mar 22 2020, 23:26.

Details

Summary

The recent UBSAN failures ( example: https://build.bitcoinabc.org/viewLog.html?buildId=32136&buildTypeId=BitcoinABC_Master_BitcoinAbcMasterUbsan&tab=buildLog&_focus=2561 ) appear to be triggered by a recent patch ( D5527 ) but I can find no definite root cause within that patch itself. I am able to reproduce this error with clang-8, but tests pass building with clang-9.

Similar to D4848, the exact root cause of this vptr issue is unknown. This patch adds a similar suppression.

Test Plan
ABC_BUILD_NAME=build-ubsan ./contrib/teamcity/build-configurations.sh

export UBSAN_OPTIONS="suppressions=/home/jasonbcox/projects/bitcoin-abc/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1"
./test/functional/test_runner.py wallet_multiwallet

+ UBSAN on CI

Diff Detail

Repository
rABC Bitcoin ABC
Branch
ubsan-suppressions
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9925
Build 17709: Default Diff Build & Tests
Build 17708: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 23 2020, 01:20
This revision was automatically updated to reflect the committed changes.