diff options
author | fanquake <fanquake@gmail.com> | 2023-03-28 10:42:12 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-03-28 11:14:02 +0100 |
commit | 86e7410b22d506a6ff22ccc36afac29dd10d0ede (patch) | |
tree | ec075ac60dfb794e7a234e910d1a12e8edb7e02c /src/test/blockmanager_tests.cpp | |
parent | b759cefe936ed3991633acff215ea1dcec5ece28 (diff) | |
parent | f8abcb3e3b2e731c002ec88f7559c21e26a2c079 (diff) |
Merge bitcoin/bitcoin#27348: test: fix intermittent failure in ChainStateManager tests
f8abcb3e3b2e731c002ec88f7559c21e26a2c079 test: Fix intermittent failure in ChainStateManager tests (Martin Zumsande)
Pull request description:
Before wiping a `ChainStateManager` and creating a new one, the `validationinterface` queue should be emptied to avoid the possibility of accessing deleted memory.
This could lead to very rare CI failures reported in #26613 and #27320 (see [here](https://github.com/bitcoin/bitcoin/issues/27320#issuecomment-1485694691) for a more detailed explanation).
Fixes #27320
ACKs for top commit:
jamesob:
crACK https://github.com/bitcoin/bitcoin/pull/27348/commits/f8abcb3e3b2e731c002ec88f7559c21e26a2c079
MarcoFalke:
lgtm ACK f8abcb3e3b2e731c002ec88f7559c21e26a2c079
Tree-SHA512: 953fcca46ffee039ae1c8c98eed5464ba7ee0007f54e18989caab3f645f5f45e64407a21f614984fd2843a3d56219f44603086b0c305a9a5cec64a8bf76c110a
Diffstat (limited to 'src/test/blockmanager_tests.cpp')
0 files changed, 0 insertions, 0 deletions