aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_versionbits_warning.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-08-08 14:02:54 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2018-08-08 15:19:00 +0200
commitdf9f71274645a917e2578c52a1c59745bce8112d (patch)
treefe57b634422a8cf8688b2363314d6363dae6fbfa /test/functional/feature_versionbits_warning.py
parent78dae8caccd82cfbfd76557f1fb7d7557c7b5edb (diff)
parentfaab63111d8f27335aa1f09c1a48da3be45135de (diff)
Merge #13894: shutdown: Stop threads before resetting ptrs
faab63111d8f27335aa1f09c1a48da3be45135de shutdown: Stop threads before resetting ptrs (MarcoFalke) Pull request description: On shutdown some threads would continue to run after or during a pointer reset. This leads to occasional segfaults on shutdown. Fix this by resetting the smart pointers after all threads that might read from them have been stopped. This should fix: * A segfault in the txindex thread, that occurs when the txindex destructor is done, but the thread was not yet stopped (as this is done in the base index destructor) * A segfault in the scheduler thread, which dereferences conman. (e.g. CheckForStaleTipAndEvictPeers) Tree-SHA512: abbcf67fadd088e10fe8c384fadfb90bb115d5317145ccb5363603583b320efc18131e46384f55a9bc574969013dfcbd08c49e0d42c004ed7212eca193858ab2
Diffstat (limited to 'test/functional/feature_versionbits_warning.py')
0 files changed, 0 insertions, 0 deletions