SUMMARY: ThreadSanitizer: SEGV src/index/base.cpp:388:9 in BaseIndex::SetBestBlockIndex(CBlockIndex const*)::$_1::operator()() const #25632

issue MarcoFalke openend this issue on July 18, 2022
  1. MarcoFalke commented at 1:44 pm on July 18, 2022: member

    On current master (d806407173926e46421ad807750a06e49afbbdbd):

     0==92915==ERROR: ThreadSanitizer: SEGV on unknown address 0x000000000068 (pc 0x563f9856361b bp 0x7b140000ae48 sp 0x7f2a8bcfec90 T93437)
     1==92915==The signal is caused by a READ memory access.
     2==92915==Hint: address points to the zero page.
     3    [#0](/bitcoin-bitcoin/0/) BaseIndex::SetBestBlockIndex(CBlockIndex const*)::$_1::operator()() const src/index/base.cpp:388:9 (test_bitcoin+0xcf161b)
     4    [#1](/bitcoin-bitcoin/1/) BaseIndex::SetBestBlockIndex(CBlockIndex const*) src/index/base.cpp:388:9 (test_bitcoin+0xcf161b)
     5    [#2](/bitcoin-bitcoin/2/) BaseIndex::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*) src/index/base.cpp:273:9 (test_bitcoin+0xcf3899)
     6    [#3](/bitcoin-bitcoin/3/) CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_8::operator()() const::'lambda'(CValidationInterface&)::operator()(CValidationInterface&) const src/validationinterface.cpp:225:79 (test_bitcoin+0x104ac34)
     7    [#4](/bitcoin-bitcoin/4/) void MainSignalsImpl::Iterate<CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_8::operator()() const::'lambda'(CValidationInterface&)>(CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_8::operator()() const::'lambda'(CValidationInterface&)&&) src/validationinterface.cpp:86:17 (test_bitcoin+0x104ac34)
     8    [#5](/bitcoin-bitcoin/5/) CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_8::operator()() const src/validationinterface.cpp:225:22 (test_bitcoin+0x104ac34)
     9    [#6](/bitcoin-bitcoin/6/) CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9::operator()() const src/validationinterface.cpp:227:5 (test_bitcoin+0x104ac34)
    10    [#7](/bitcoin-bitcoin/7/) decltype(static_cast<CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9&>(fp)()) std::__1::__invoke<CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9&>(CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9&) /usr/lib/llvm-13/bin/../include/c++/v1/type_traits:3918:1 (test_bitcoin+0x104ac34)
    11    [#8](/bitcoin-bitcoin/8/) void std::__1::__invoke_void_return_wrapper<void, true>::__call<CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9&>(CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9&) /usr/lib/llvm-13/bin/../include/c++/v1/__functional/invoke.h:61:9 (test_bitcoin+0x104ac34)
    12    [#9](/bitcoin-bitcoin/9/) std::__1::__function::__alloc_func<CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9, std::__1::allocator<CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9>, void ()>::operator()() /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:171:16 (test_bitcoin+0x104ac34)
    13    [#10](/bitcoin-bitcoin/10/) std::__1::__function::__func<CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9, std::__1::allocator<CMainSignals::BlockConnected(std::__1::shared_ptr<CBlock const> const&, CBlockIndex const*)::$_9>, void ()>::operator()() /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:345:12 (test_bitcoin+0x104ac34)
    14    [#11](/bitcoin-bitcoin/11/) std::__1::__function::__value_func<void ()>::operator()() const /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:498:16 (test_bitcoin+0x10e3661)
    15    [#12](/bitcoin-bitcoin/12/) std::__1::function<void ()>::operator()() const /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:1175:12 (test_bitcoin+0x10e3661)
    16    [#13](/bitcoin-bitcoin/13/) SingleThreadedSchedulerClient::ProcessQueue() src/scheduler.cpp:175:5 (test_bitcoin+0x10e3661)
    17    [#14](/bitcoin-bitcoin/14/) SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1::operator()() const src/scheduler.cpp:144:41 (test_bitcoin+0x10e5365)
    18    [#15](/bitcoin-bitcoin/15/) decltype(static_cast<SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1&>(fp)()) std::__1::__invoke<SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1&>(SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1&) /usr/lib/llvm-13/bin/../include/c++/v1/type_traits:3918:1 (test_bitcoin+0x10e5365)
    19    [#16](/bitcoin-bitcoin/16/) void std::__1::__invoke_void_return_wrapper<void, true>::__call<SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1&>(SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1&) /usr/lib/llvm-13/bin/../include/c++/v1/__functional/invoke.h:61:9 (test_bitcoin+0x10e5365)
    20    [#17](/bitcoin-bitcoin/17/) std::__1::__function::__alloc_func<SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1, std::__1::allocator<SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1>, void ()>::operator()() /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:171:16 (test_bitcoin+0x10e5365)
    21    [#18](/bitcoin-bitcoin/18/) std::__1::__function::__func<SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1, std::__1::allocator<SingleThreadedSchedulerClient::MaybeScheduleProcessQueue()::$_1>, void ()>::operator()() /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:345:12 (test_bitcoin+0x10e5365)
    22    [#19](/bitcoin-bitcoin/19/) std::__1::__function::__value_func<void ()>::operator()() const /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:498:16 (test_bitcoin+0x10e264c)
    23    [#20](/bitcoin-bitcoin/20/) std::__1::function<void ()>::operator()() const /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:1175:12 (test_bitcoin+0x10e264c)
    24    [#21](/bitcoin-bitcoin/21/) CScheduler::serviceQueue() src/scheduler.cpp:62:17 (test_bitcoin+0x10e264c)
    25    [#22](/bitcoin-bitcoin/22/) ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0::operator()() const src/test/util/setup_common.cpp:177:110 (test_bitcoin+0xa733c8)
    26    [#23](/bitcoin-bitcoin/23/) decltype(static_cast<ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0&>(fp)()) std::__1::__invoke<ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0&>(ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0&) /usr/lib/llvm-13/bin/../include/c++/v1/type_traits:3918:1 (test_bitcoin+0xa733c8)
    27    [#24](/bitcoin-bitcoin/24/) void std::__1::__invoke_void_return_wrapper<void, true>::__call<ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0&>(ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0&) /usr/lib/llvm-13/bin/../include/c++/v1/__functional/invoke.h:61:9 (test_bitcoin+0xa733c8)
    28    [#25](/bitcoin-bitcoin/25/) std::__1::__function::__alloc_func<ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0, std::__1::allocator<ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0>, void ()>::operator()() /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:171:16 (test_bitcoin+0xa733c8)
    29    [#26](/bitcoin-bitcoin/26/) std::__1::__function::__func<ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0, std::__1::allocator<ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0>, void ()>::operator()() /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:345:12 (test_bitcoin+0xa733c8)
    30    [#27](/bitcoin-bitcoin/27/) std::__1::__function::__value_func<void ()>::operator()() const /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:498:16 (test_bitcoin+0x11a229f)
    31    [#28](/bitcoin-bitcoin/28/) std::__1::function<void ()>::operator()() const /usr/lib/llvm-13/bin/../include/c++/v1/__functional/function.h:1175:12 (test_bitcoin+0x11a229f)
    32    [#29](/bitcoin-bitcoin/29/) util::TraceThread(char const*, std::__1::function<void ()>) src/util/thread.cpp:19:9 (test_bitcoin+0x11a229f)
    33    [#30](/bitcoin-bitcoin/30/) decltype(static_cast<void (*>(fp)(static_cast<char const*>(fp0), static_cast<ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0>(fp0))) std::__1::__invoke<void (*)(char const*, std::__1::function<void ()>), char const*, ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0>(void (*&&)(char const*, std::__1::function<void ()>), char const*&&, ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0&&) /usr/lib/llvm-13/bin/../include/c++/v1/type_traits:3918:1 (test_bitcoin+0xa72fc1)
    34    [#31](/bitcoin-bitcoin/31/) void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(char const*, std::__1::function<void ()>), char const*, ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0, 2ul, 3ul>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(char const*, std::__1::function<void ()>), char const*, ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0>&, std::__1::__tuple_indices<2ul, 3ul>) /usr/lib/llvm-13/bin/../include/c++/v1/thread:280:5 (test_bitcoin+0xa72fc1)
    35    [#32](/bitcoin-bitcoin/32/) void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(char const*, std::__1::function<void ()>), char const*, ChainTestingSetup::ChainTestingSetup(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<char const*, std::__1::allocator<char const*> > const&)::$_0> >(void*) /usr/lib/llvm-13/bin/../include/c++/v1/thread:291:5 (test_bitcoin+0xa72fc1)
    36    [#33](/bitcoin-bitcoin/33/) __tsan_thread_start_func <null> (test_bitcoin+0x12d2bc)
    37    [#34](/bitcoin-bitcoin/34/) <null> <null> (libc.so.6+0x94b42)
    38    [#35](/bitcoin-bitcoin/35/) <null> <null> (libc.so.6+0x1269ff)
    39ThreadSanitizer can not provide additional info.
    40SUMMARY: ThreadSanitizer: SEGV src/index/base.cpp:388:9 in BaseIndex::SetBestBlockIndex(CBlockIndex const*)::$_1::operator()() const
    41==92915==ABORTING
    42Exit status: 2
    

    https://cirrus-ci.com/task/5494683034976256?logs=ci#L3229

  2. MarcoFalke added the label Bug on Jul 18, 2022
  3. MarcoFalke commented at 1:48 pm on July 18, 2022: member

    debug log (from the same cirrus page):

     0...
     12022-07-18T11:26:16.704534Z (mocktime: 2020-08-31T15:34:11Z) [test] [validationinterface.cpp:257] [NewPoWValidBlock] [validation] NewPoWValidBlock: block hash=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191
     22022-07-18T11:26:16.705100Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2702] [ConnectTip] [bench]   - Using cached block
     32022-07-18T11:26:16.705165Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2709] [ConnectTip] [bench]   - Load block from disk: 0.06ms [0.03s (0.07ms/blk)]
     42022-07-18T11:26:16.705254Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2052] [ConnectBlock] [bench]     - Sanity checks: 0.00ms [0.00s (0.00ms/blk)]
     52022-07-18T11:26:16.705329Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2151] [ConnectBlock] [bench]     - Fork checks: 0.08ms [0.05s (0.12ms/blk)]
     62022-07-18T11:26:16.705407Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2236] [ConnectBlock] [bench]       - Connect 1 transactions: 0.07ms (0.071ms/tx, 0.000ms/txin) [0.04s (0.09ms/blk)]
     72022-07-18T11:26:16.705509Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2249] [ConnectBlock] [bench]     - Verify 0 txins: 0.18ms (0.000ms/txin) [0.07s (0.18ms/blk)]
     82022-07-18T11:26:16.705632Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2259] [ConnectBlock] [bench]     - Write undo data: 0.12ms [0.03s (0.07ms/blk)]
     92022-07-18T11:26:16.705688Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2271] [ConnectBlock] [bench]     - Index writing: 0.06ms [0.02s (0.04ms/blk)]
    102022-07-18T11:26:16.705756Z (mocktime: 2020-08-31T15:34:11Z) [test] [validationinterface.cpp:252] [BlockChecked] [validation] BlockChecked: block hash=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191 state=Valid
    112022-07-18T11:26:16.705816Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2721] [ConnectTip] [bench]   - Connect total: 0.66ms [0.15s (0.38ms/blk)]
    122022-07-18T11:26:16.705873Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2726] [ConnectTip] [bench]   - Flush: 0.06ms [0.01s (0.03ms/blk)]
    132022-07-18T11:26:16.705941Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2732] [ConnectTip] [bench]   - Writing chainstate: 0.07ms [0.02s (0.04ms/blk)]
    142022-07-18T11:26:16.706470Z (mocktime: 2020-08-31T15:34:11Z) [test] [policy/fees.cpp:667] [processBlock] [estimatefee] Blockpolicy estimates updated by 0 of 0 block txs, since last block 0 of 0 tracked, mempool map size 0, max target 0 from current
    152022-07-18T11:26:16.706587Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2512] [UpdateTipLog] UpdateTip: new best=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191 height=100 version=0x20000000 log2_work=7.658211 tx=101 date='2020-08-31T15:34:11Z' progress=1.000000 cache=0.0MiB(100txo)
    162022-07-18T11:26:16.706645Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2743] [ConnectTip] [bench]   - Connect postprocess: 0.70ms [0.16s (0.39ms/blk)]
    172022-07-18T11:26:16.706695Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2744] [ConnectTip] [bench] - Connect block: 1.54ms [0.37s (0.92ms/blk)]
    182022-07-18T11:26:16.706756Z (mocktime: 2020-08-31T15:34:11Z) [test] [txmempool.cpp:730] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
    192022-07-18T11:26:16.706856Z (mocktime: 2020-08-31T15:34:11Z) [test] [validationinterface.cpp:229] [BlockConnected] [validation] Enqueuing BlockConnected: block hash=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191 block height=100
    202022-07-18T11:26:16.706979Z (mocktime: 2020-08-31T15:34:11Z) [test] [validationinterface.cpp:202] [UpdatedBlockTip] [validation] Enqueuing UpdatedBlockTip: new block hash=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191 fork block hash=68aef0c7c1c2cc15ca20a558ea1d6e66aecc1d6398bddea75e4c031cb79cc07e (in IBD=false)
    212022-07-18T11:26:16.707068Z (mocktime: 2020-08-31T15:34:11Z) [scheduler] [validationinterface.cpp:229] [operator()] [validation] BlockConnected: block hash=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191 block height=100
    222022-07-18T11:26:16.707279Z (mocktime: 2020-08-31T15:34:11Z) [scheduler] [validationinterface.cpp:202] [operator()] [validation] UpdatedBlockTip: new block hash=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191 fork block hash=68aef0c7c1c2cc15ca20a558ea1d6e66aecc1d6398bddea75e4c031cb79cc07e (in IBD=false)
    232022-07-18T11:26:16.708018Z (mocktime: 2020-08-31T15:34:12Z) [test] [dbwrapper.cpp:145] [CDBWrapper] Opened LevelDB successfully
    242022-07-18T11:26:16.708121Z (mocktime: 2020-08-31T15:34:12Z) [test] [dbwrapper.cpp:170] [CDBWrapper] Using obfuscation key for /tmp/test_common_Bitcoin Core/6d82bc357e1c5246adb523e63d8a859382b0e82c2712e006618e61bdd84cd715/regtest/indexes/coinstats/db: 0000000000000000
    252022-07-18T11:26:16.708801Z (mocktime: 2020-08-31T15:34:12Z) [coinstatsindex] [util/thread.cpp:18] [TraceThread] coinstatsindex thread start
    262022-07-18T11:26:16.708887Z (mocktime: 2020-08-31T15:34:12Z) [coinstatsindex] [index/base.cpp:166] [ThreadSync] Syncing coinstatsindex with block chain from height 0
    272022-07-18T11:26:16.709042Z (mocktime: 2020-08-31T15:34:12Z) [coinstatsindex] [util/system.h:50] [error] ERROR: Commit: Failed to commit latest coinstatsindex state
    282022-07-18T11:26:19.380206Z (mocktime: 2020-08-31T15:34:12Z) [coinstatsindex] [index/base.cpp:192] [ThreadSync] coinstatsindex is enabled at height 100
    292022-07-18T11:26:19.387836Z (mocktime: 2020-08-31T15:34:12Z) [coinstatsindex] [util/thread.cpp:20] [TraceThread] coinstatsindex thread exit
    302022-07-18T11:26:19.418550Z (mocktime: 2020-08-31T15:34:12Z) [test] [node/miner.cpp:163] [CreateNewBlock] CreateNewBlock(): block weight: 940 txs: 0 fees: 0 sigops 400
    312022-07-18T11:26:19.479671Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2052] [ConnectBlock] [bench]     - Sanity checks: 0.01ms [0.00s (0.00ms/blk)]
    322022-07-18T11:26:19.479778Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2151] [ConnectBlock] [bench]     - Fork checks: 0.14ms [0.05s (0.12ms/blk)]
    332022-07-18T11:26:19.479872Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2236] [ConnectBlock] [bench]       - Connect 1 transactions: 0.09ms (0.085ms/tx, 0.000ms/txin) [0.04s (0.09ms/blk)]
    342022-07-18T11:26:19.479955Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2249] [ConnectBlock] [bench]     - Verify 0 txins: 0.17ms (0.000ms/txin) [0.07s (0.18ms/blk)]
    352022-07-18T11:26:19.480039Z (mocktime: 2020-08-31T15:34:12Z) [test] [node/miner.cpp:178] [CreateNewBlock] [bench] CreateNewBlock() packages: 0.05ms (0 packages, 0 updated descendants), validity: 61.60ms (total 61.64ms)
    362022-07-18T11:26:19.480669Z (mocktime: 2020-08-31T15:34:12Z) [test] [validationinterface.cpp:257] [NewPoWValidBlock] [validation] NewPoWValidBlock: block hash=0e146357c1f82a8b9e2c54cb53a619a0ffbcace90d33ad228dc0ef44752b6844
    372022-07-18T11:26:19.481304Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2702] [ConnectTip] [bench]   - Using cached block
    382022-07-18T11:26:19.481372Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2709] [ConnectTip] [bench]   - Load block from disk: 0.06ms [0.03s (0.07ms/blk)]
    392022-07-18T11:26:19.481526Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2052] [ConnectBlock] [bench]     - Sanity checks: 0.00ms [0.00s (0.00ms/blk)]
    402022-07-18T11:26:19.481609Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2151] [ConnectBlock] [bench]     - Fork checks: 0.09ms [0.05s (0.12ms/blk)]
    412022-07-18T11:26:19.481695Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2236] [ConnectBlock] [bench]       - Connect 1 transactions: 0.08ms (0.078ms/tx, 0.000ms/txin) [0.04s (0.09ms/blk)]
    422022-07-18T11:26:19.562436Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2249] [ConnectBlock] [bench]     - Verify 0 txins: 80.77ms (0.000ms/txin) [0.15s (0.38ms/blk)]
    432022-07-18T11:26:19.562612Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2259] [ConnectBlock] [bench]     - Write undo data: 0.23ms [0.03s (0.07ms/blk)]
    442022-07-18T11:26:19.562676Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2271] [ConnectBlock] [bench]     - Index writing: 0.07ms [0.02s (0.04ms/blk)]
    452022-07-18T11:26:19.562760Z (mocktime: 2020-08-31T15:34:12Z) [test] [validationinterface.cpp:252] [BlockChecked] [validation] BlockChecked: block hash=0e146357c1f82a8b9e2c54cb53a619a0ffbcace90d33ad228dc0ef44752b6844 state=Valid
    462022-07-18T11:26:19.562861Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2721] [ConnectTip] [bench]   - Connect total: 81.49ms [0.24s (0.58ms/blk)]
    472022-07-18T11:26:19.564541Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2726] [ConnectTip] [bench]   - Flush: 0.09ms [0.01s (0.03ms/blk)]
    482022-07-18T11:26:19.564725Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2732] [ConnectTip] [bench]   - Writing chainstate: 1.76ms [0.02s (0.04ms/blk)]
    492022-07-18T11:26:19.565525Z (mocktime: 2020-08-31T15:34:12Z) [test] [policy/fees.cpp:667] [processBlock] [estimatefee] Blockpolicy estimates updated by 0 of 0 block txs, since last block 0 of 0 tracked, mempool map size 0, max target 0 from current
    502022-07-18T11:26:19.565689Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2512] [UpdateTipLog] UpdateTip: new best=0e146357c1f82a8b9e2c54cb53a619a0ffbcace90d33ad228dc0ef44752b6844 height=101 version=0x20000000 log2_work=7.672425 tx=102 date='2020-08-31T15:34:12Z' progress=1.000000 cache=0.0MiB(101txo)
    512022-07-18T11:26:19.565762Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2743] [ConnectTip] [bench]   - Connect postprocess: 1.05ms [0.16s (0.40ms/blk)]
    522022-07-18T11:26:19.565826Z (mocktime: 2020-08-31T15:34:12Z) [test] [validation.cpp:2744] [ConnectTip] [bench] - Connect block: 84.45ms [0.45s (1.12ms/blk)]
    532022-07-18T11:26:19.565902Z (mocktime: 2020-08-31T15:34:12Z) [test] [txmempool.cpp:730] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
    542022-07-18T11:26:19.566036Z (mocktime: 2020-08-31T15:34:12Z) [test] [validationinterface.cpp:229] [BlockConnected] [validation] Enqueuing BlockConnected: block hash=0e146357c1f82a8b9e2c54cb53a619a0ffbcace90d33ad228dc0ef44752b6844 block height=101
    552022-07-18T11:26:19.566174Z (mocktime: 2020-08-31T15:34:12Z) [test] [validationinterface.cpp:202] [UpdatedBlockTip] [validation] Enqueuing UpdatedBlockTip: new block hash=0e146357c1f82a8b9e2c54cb53a619a0ffbcace90d33ad228dc0ef44752b6844 fork block hash=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191 (in IBD=false)
    562022-07-18T11:26:19.566282Z (mocktime: 2020-08-31T15:34:12Z) [scheduler] [validationinterface.cpp:229] [operator()] [validation] BlockConnected: block hash=0e146357c1f82a8b9e2c54cb53a619a0ffbcace90d33ad228dc0ef44752b6844 block height=101
    572022-07-18T11:26:19.566461Z (mocktime: 2020-08-31T15:34:12Z) [scheduler] [logging/timer.h:57] [Log] [lock] Enter: lock contention ::cs_main, node/blockstorage.cpp:484 started
    582022-07-18T11:26:19.566896Z (mocktime: 2020-08-31T15:34:12Z) [scheduler] [logging/timer.h:57] [Log] [lock] Enter: lock contention ::cs_main, node/blockstorage.cpp:484 completed (0μs)
    592022-07-18T11:26:19.566974Z (mocktime: 2020-08-31T15:34:12Z) [test] [logging/timer.h:57] [Log] [lock] Enter: lock contention cs_main, validation.cpp:2322 started
    602022-07-18T11:26:19.567073Z (mocktime: 2020-08-31T15:34:12Z) [test] [logging/timer.h:57] [Log] [lock] Enter: lock contention cs_main, validation.cpp:2322 completed (0μs)
    612022-07-18T11:26:19.604723Z (mocktime: 2020-08-31T15:34:12Z) [scheduler] [logging/timer.h:57] [Log] [lock] Enter: lock contention ::cs_main, index/base.cpp:388 started
    622022-07-18T11:26:19.60698ThreadSanitizer:DEADLYSIGNAL
    63make[3]: *** [Makefile:20875: test/coinstatsindex_tests.cpp.test] Error 1
    
  4. MarcoFalke closed this on Sep 12, 2022

  5. MarcoFalke commented at 3:26 pm on September 12, 2022: member
    Duplicate of #https://github.com/bitcoin/bitcoin/issues/26068
  6. bitcoin locked this on Sep 12, 2023


MarcoFalke

Labels
Bug


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me