Skip to content

Instantly share code, notes, and snippets.

@Sjors
Last active March 21, 2023 14:32
Show Gist options
  • Save Sjors/ea51c96aec671181e6351eb75e2819ca to your computer and use it in GitHub Desktop.
Save Sjors/ea51c96aec671181e6351eb75e2819ca to your computer and use it in GitHub Desktop.
create legacy
valgrind --leak-check=full --show-leak-kinds=all src/bitcoind -regtest -nowallet
2023-03-21T14:31:52Z Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010)
2023-03-21T14:31:52Z Using wallet /home/sjors/.bitcoin/regtest/wallets/test_legacy_5/wallet.dat
2023-03-21T14:31:52Z BerkeleyEnvironment::Open: LogDir=/home/sjors/.bitcoin/regtest/wallets/test_legacy_5/database ErrorFile=/home/sjors/.bitcoin/regtest/wallets/test_legacy_5/db.log
2023-03-21T14:31:52Z init message: Loading wallet…
==1989969== Thread 19 b-httpworker.0:
==1989969== Conditional jump or move depends on uninitialised value(s)
==1989969== at 0xE68B5F: __log_putr (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE6A017: __log_put (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xEF8A4B: __crdel_metasub_log (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2DBB1: __db_log_page (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE9CF1A: __bam_new_subdb (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE5E9A4: __fop_subdb_setup (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE408BE: __db_open (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE3AFB5: __db_open_pp (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE1693D: Db::open(DbTxn*, char const*, char const*, DBTYPE, unsigned int, int) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0x9F1FB1: wallet::BerkeleyDatabase::Open() (bdb.cpp:346)
==1989969== by 0x9F1C03: wallet::BerkeleyBatch::BerkeleyBatch(wallet::BerkeleyDatabase&, bool, bool) (bdb.cpp:314)
==1989969== by 0x9FAB98: std::__detail::_MakeUniq<wallet::BerkeleyBatch>::__single_object std::make_unique<wallet::BerkeleyBatch, wallet::BerkeleyDatabase&, bool, bool&>(wallet::BerkeleyDatabase&, bool&&, bool&) (unique_ptr.h:1065)
==1989969==
==1989969== Syscall param pwrite64(buf) points to uninitialised byte(s)
==1989969== at 0x4EEDDC7: __libc_pwrite64 (pwrite64.c:25)
==1989969== by 0x4EEDDC7: pwrite (pwrite64.c:23)
==1989969== by 0xE7D4F4: __os_io (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE6887C: __log_write (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE68F57: __log_flush_int (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE69B65: __log_flush (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE7A023: __memp_sync_int (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2F0EE: __db_sync (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2D317: __db_refresh (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2D906: __db_close (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE5EA3D: __fop_subdb_setup (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE408BE: __db_open (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE3AFB5: __db_open_pp (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== Address 0x1382bdbb is 347 bytes inside a block of size 65,544 alloc'd
==1989969== at 0x4844899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xE7B064: __os_malloc (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE4E729: __env_alloc (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE62BDC: __log_open (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE52DB7: __env_attach_regions (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE52F38: __env_open (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE1AEA8: DbEnv::open(char const*, unsigned int, int) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0x9F0338: wallet::BerkeleyEnvironment::Open(bilingual_str&) (bdb.cpp:164)
==1989969== by 0x9F1484: wallet::BerkeleyDatabase::Verify(bilingual_str&) (bdb.cpp:271)
==1989969== by 0x9F6718: wallet::MakeBerkeleyDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) (bdb.cpp:849)
==1989969== by 0x9A2C9A: wallet::MakeDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) (walletdb.cpp:1228)
==1989969== by 0x933113: wallet::MakeWalletDatabase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) (wallet.cpp:2907)
==1989969==
==1989969== Syscall param pwrite64(buf) points to uninitialised byte(s)
==1989969== at 0x4EEDDC7: __libc_pwrite64 (pwrite64.c:25)
==1989969== by 0x4EEDDC7: pwrite (pwrite64.c:23)
==1989969== by 0xE7D4F4: __os_io (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xF11A06: __memp_pgwrite.part.0 (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xF11CFF: __memp_bhwrite (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE79EA0: __memp_sync_int (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2F0EE: __db_sync (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2D317: __db_refresh (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2D906: __db_close (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE5EA3D: __fop_subdb_setup (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE408BE: __db_open (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE3AFB5: __db_open_pp (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE1693D: Db::open(DbTxn*, char const*, char const*, DBTYPE, unsigned int, int) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== Address 0x18a91fa8 is 600 bytes inside a block of size 4,184 alloc'd
==1989969== at 0x4844899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xE7B064: __os_malloc (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE4E729: __env_alloc (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xF1051A: __memp_alloc (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE6DEB0: __memp_fget (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE3DE5F: __db_new (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2C4A2: __db_master_update (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE5E8C2: __fop_subdb_setup (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE408BE: __db_open (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE3AFB5: __db_open_pp (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE1693D: Db::open(DbTxn*, char const*, char const*, DBTYPE, unsigned int, int) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0x9F1FB1: wallet::BerkeleyDatabase::Open() (bdb.cpp:346)
==1989969==
2023-03-21T14:31:52Z [test_legacy_5] Wallet file version = 10500, last client version = 249900
2023-03-21T14:31:52Z [test_legacy_5] Keys: 0 plaintext, 0 encrypted, 0 w/ metadata, 0 total. Unknown wallet records: 0
2023-03-21T14:31:52Z [test_legacy_5] Setting minversion to 169900
==1989969== Conditional jump or move depends on uninitialised value(s)
==1989969== at 0xE68B5F: __log_putr (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE6A017: __log_put (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xEB8BB6: __bam_split_log (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xEAE720: __bam_split (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE99C6D: __bamc_put (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE31776: __dbc_iput (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2E8E5: __db_put (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE3B77C: __db_put_pp (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE16B80: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0x9F5EA3: wallet::BerkeleyBatch::WriteKey(DataStream&&, DataStream&&, bool) (bdb.cpp:783)
==1989969== by 0x9B10AB: bool wallet::DatabaseBatch::Write<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey>, std::pair<std::vector<unsigned char, secure_allocator<unsigned char> >, uint256> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey> const&, std::pair<std::vector<unsigned char, secure_allocator<unsigned char> >, uint256> const&, bool) (db.h:91)
==1989969== by 0x9A9A0A: bool wallet::WalletBatch::WriteIC<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey>, std::pair<std::vector<unsigned char, secure_allocator<unsigned char> >, uint256> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey> const&, std::pair<std::vector<unsigned char, secure_allocator<unsigned char> >, uint256> const&, bool) (walletdb.h:194)
==1989969==
==1989969== Syscall param pwrite64(buf) points to uninitialised byte(s)
==1989969== at 0x4EEDDC7: __libc_pwrite64 (pwrite64.c:25)
==1989969== by 0x4EEDDC7: pwrite (pwrite64.c:23)
==1989969== by 0xE7D4F4: __os_io (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE6887C: __log_write (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE6A180: __log_put (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE866E3: __txn_regop_log (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE852F3: __txn_commit (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE3B791: __db_put_pp (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE16B80: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0x9F5EA3: wallet::BerkeleyBatch::WriteKey(DataStream&&, DataStream&&, bool) (bdb.cpp:783)
==1989969== by 0x9B10AB: bool wallet::DatabaseBatch::Write<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey>, std::pair<std::vector<unsigned char, secure_allocator<unsigned char> >, uint256> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey> const&, std::pair<std::vector<unsigned char, secure_allocator<unsigned char> >, uint256> const&, bool) (db.h:91)
==1989969== by 0x9A9A0A: bool wallet::WalletBatch::WriteIC<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey>, std::pair<std::vector<unsigned char, secure_allocator<unsigned char> >, uint256> >(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey> const&, std::pair<std::vector<unsigned char, secure_allocator<unsigned char> >, uint256> const&, bool) (walletdb.h:194)
==1989969== by 0x99B20F: wallet::WalletBatch::WriteKey(CPubKey const&, std::vector<unsigned char, secure_allocator<unsigned char> > const&, wallet::CKeyMetadata const&) (walletdb.cpp:118)
==1989969== Address 0x1382bcf8 is 152 bytes inside a block of size 65,544 alloc'd
==1989969== at 0x4844899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xE7B064: __os_malloc (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE4E729: __env_alloc (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE62BDC: __log_open (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE52DB7: __env_attach_regions (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE52F38: __env_open (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE1AEA8: DbEnv::open(char const*, unsigned int, int) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0x9F0338: wallet::BerkeleyEnvironment::Open(bilingual_str&) (bdb.cpp:164)
==1989969== by 0x9F1484: wallet::BerkeleyDatabase::Verify(bilingual_str&) (bdb.cpp:271)
==1989969== by 0x9F6718: wallet::MakeBerkeleyDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) (bdb.cpp:849)
==1989969== by 0x9A2C9A: wallet::MakeDatabase(fs::path const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) (walletdb.cpp:1228)
==1989969== by 0x933113: wallet::MakeWalletDatabase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, wallet::DatabaseOptions const&, wallet::DatabaseStatus&, bilingual_str&) (wallet.cpp:2907)
==1989969==
==1989969== Conditional jump or move depends on uninitialised value(s)
==1989969== at 0xE68B5F: __log_putr (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE6A017: __log_put (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xEB8BB6: __bam_split_log (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xEAE3B0: __bam_split (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE99C6D: __bamc_put (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE31776: __dbc_iput (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE2E8E5: __db_put (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE3B77C: __db_put_pp (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0xE16B80: Db::put(DbTxn*, Dbt*, Dbt*, unsigned int) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969== by 0x9F5EA3: wallet::BerkeleyBatch::WriteKey(DataStream&&, DataStream&&, bool) (bdb.cpp:783)
==1989969== by 0x9B0E23: bool wallet::DatabaseBatch::Write<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey>, wallet::CKeyMetadata>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey> const&, wallet::CKeyMetadata const&, bool) (db.h:91)
==1989969== by 0x9A97E2: bool wallet::WalletBatch::WriteIC<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey>, wallet::CKeyMetadata>(std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, CPubKey> const&, wallet::CKeyMetadata const&, bool) (walletdb.h:194)
==1989969==
2023-03-21T14:32:16Z [test_legacy_5] keypool added 2000 keys (1000 internal), size=2000 (1000 internal)
2023-03-21T14:32:16Z [test_legacy_5] LegacyScriptPubKeyMan::NewKeyPool rewrote keypool
2023-03-21T14:32:16Z [test_legacy_5] Wallet completed loading in 23548ms
2023-03-21T14:32:16Z [test_legacy_5] setKeyPool.size() = 2000
2023-03-21T14:32:16Z [test_legacy_5] mapWallet.size() = 0
2023-03-21T14:32:16Z [test_legacy_5] m_address_book.size() = 0
^C2023-03-21T14:32:25Z tor: Thread interrupt
2023-03-21T14:32:25Z Shutdown: In progress...
2023-03-21T14:32:25Z net thread exit
2023-03-21T14:32:25Z msghand thread exit
2023-03-21T14:32:25Z opencon thread exit
2023-03-21T14:32:25Z addcon thread exit
2023-03-21T14:32:25Z torcontrol thread exit
2023-03-21T14:32:25Z DumpAnchors: Flush 0 outbound block-relay-only peer addresses to anchors.dat started
2023-03-21T14:32:25Z DumpAnchors: Flush 0 outbound block-relay-only peer addresses to anchors.dat completed (0.01s)
2023-03-21T14:32:25Z scheduler thread exit
2023-03-21T14:32:25Z Writing 0 unbroadcast transactions to disk.
2023-03-21T14:32:25Z Dumped mempool: 0.0108823s to copy, 0.0107455s to dump
2023-03-21T14:32:26Z [test_legacy_5] Releasing wallet
2023-03-21T14:32:26Z Shutdown: done
==1989969==
==1989969== HEAP SUMMARY:
==1989969== in use at exit: 2,577 bytes in 13 blocks
==1989969== total heap usage: 389,832 allocs, 389,819 frees, 176,341,301 bytes allocated
==1989969==
==1989969== Thread 1 b-shutoff:
==1989969== 24 bytes in 1 blocks are still reachable in loss record 1 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xDF6FF1: std::thread::thread<void (&)(leveldb::(anonymous namespace)::PosixEnv*), leveldb::(anonymous namespace)::PosixEnv*, void>(void (&)(leveldb::(anonymous namespace)::PosixEnv*), leveldb::(anonymous namespace)::PosixEnv*&&) (std_thread.h:142)
==1989969== by 0xDF6C34: leveldb::(anonymous namespace)::PosixEnv::Schedule(void (*)(void*), void*) (env_posix.cc:802)
==1989969== by 0xDBC58A: leveldb::DBImpl::MaybeScheduleCompaction() (db_impl.cc:671)
==1989969== by 0xDC0EAD: leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**) (db_impl.cc:1510)
==1989969== by 0x7647A0: CDBWrapper::CDBWrapper(DBParams const&) (dbwrapper.cpp:156)
==1989969== by 0x32BE11: CBlockTreeDB::CDBWrapper(DBParams const&) (txdb.h:89)
==1989969== by 0x32BE7A: std::__detail::_MakeUniq<CBlockTreeDB>::__single_object std::make_unique<CBlockTreeDB, DBParams>(DBParams&&) (unique_ptr.h:1065)
==1989969== by 0x3282A1: node::CompleteChainstateInitialization(ChainstateManager&, node::CacheSizes const&, node::ChainstateLoadOptions const&) (chainstate.cpp:42)
==1989969== by 0x32979F: node::LoadChainstate(ChainstateManager&, node::CacheSizes const&, node::ChainstateLoadOptions const&) (chainstate.cpp:189)
==1989969== by 0x16004F: AppInitMain(node::NodeContext&, interfaces::BlockAndHeaderTipInfo*)::{lambda()#5}::operator()() const (init.cpp:1506)
==1989969== by 0x1600B2: auto AppInitMain(node::NodeContext&, interfaces::BlockAndHeaderTipInfo*)::{lambda(auto:1&&)#4}::operator()<AppInitMain(node::NodeContext&, interfaces::BlockAndHeaderTipInfo*)::{lambda()#5}>(AppInitMain(node::NodeContext&, interfaces::BlockAndHeaderTipInfo*)::{lambda()#5}&&) const (init.cpp:1500)
==1989969==
==1989969== 40 bytes in 1 blocks are still reachable in loss record 2 of 13
==1989969== at 0x4844899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0x486B3B5: ??? (in /usr/lib/x86_64-linux-gnu/libevent_pthreads-2.1.so.7.0.1)
==1989969== by 0x48917B6: event_global_setup_locks_ (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==1989969== by 0x486B690: evthread_use_pthreads (in /usr/lib/x86_64-linux-gnu/libevent_pthreads-2.1.so.7.0.1)
==1989969== by 0x78B621: InitHTTPServer() (httpserver.cpp:394)
==1989969== by 0x158D25: AppInitServers(node::NodeContext&) (init.cpp:661)
==1989969== by 0x161B7B: AppInitMain(node::NodeContext&, interfaces::BlockAndHeaderTipInfo*) (init.cpp:1186)
==1989969== by 0x145399: AppInit(node::NodeContext&, int, char**) (bitcoind.cpp:222)
==1989969== by 0x145991: main (bitcoind.cpp:266)
==1989969==
==1989969== 40 bytes in 1 blocks are still reachable in loss record 3 of 13
==1989969== at 0x4844899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0x486B3B5: ??? (in /usr/lib/x86_64-linux-gnu/libevent_pthreads-2.1.so.7.0.1)
==1989969== by 0x48990A7: evsig_global_setup_locks_ (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==1989969== by 0x48917C9: event_global_setup_locks_ (in /usr/lib/x86_64-linux-gnu/libevent-2.1.so.7.0.1)
==1989969== by 0x486B690: evthread_use_pthreads (in /usr/lib/x86_64-linux-gnu/libevent_pthreads-2.1.so.7.0.1)
==1989969== by 0x78B621: InitHTTPServer() (httpserver.cpp:394)
==1989969== by 0x158D25: AppInitServers(node::NodeContext&) (init.cpp:661)
==1989969== by 0x161B7B: AppInitMain(node::NodeContext&, interfaces::BlockAndHeaderTipInfo*) (init.cpp:1186)
==1989969== by 0x145399: AppInit(node::NodeContext&, int, char**) (bitcoind.cpp:222)
==1989969== by 0x145991: main (bitcoind.cpp:266)
==1989969==
==1989969== 40 bytes in 1 blocks are still reachable in loss record 4 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xCE2FA2: std::__new_allocator<std::__detail::_Hash_node<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, false> >::allocate(unsigned long, void const*) (new_allocator.h:137)
==1989969== by 0xCE0C44: std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, false> > >::allocate(std::allocator<std::__detail::_Hash_node<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, false> >&, unsigned long) (alloc_traits.h:464)
==1989969== by 0xCDDD34: std::__detail::_Hash_node<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, false>* std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, false> > >::_M_allocate_node<std::piecewise_construct_t const&, std::tuple<std::thread::id&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<std::thread::id&&>&&, std::tuple<>&&) (hashtable_policy.h:1963)
==1989969== by 0xCDB0F3: std::_Hashtable<std::thread::id, std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > >, std::__detail::_Select1st, std::equal_to<std::thread::id>, std::hash<std::thread::id>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_Scoped_node::_Scoped_node<std::piecewise_construct_t const&, std::tuple<std::thread::id&&>, std::tuple<> >(std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, false> > >*, std::piecewise_construct_t const&, std::tuple<std::thread::id&&>&&, std::tuple<>&&) (hashtable.h:308)
==1989969== by 0xCDA123: std::__detail::_Map_base<std::thread::id, std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > >, std::__detail::_Select1st, std::equal_to<std::thread::id>, std::hash<std::thread::id>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](std::thread::id&&) (hashtable_policy.h:805)
==1989969== by 0xCD9294: std::unordered_map<std::thread::id, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > >, std::hash<std::thread::id>, std::equal_to<std::thread::id>, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > > >::operator[](std::thread::id&&) (unordered_map.h:984)
==1989969== by 0xCD6790: LockHeld(void*) (sync.cpp:266)
==1989969== by 0xCD8B60: void AssertLockNotHeldInternal<AnnotatedMixin<std::mutex> >(char const*, char const*, int, AnnotatedMixin<std::mutex>*) (sync.cpp:287)
==1989969== by 0x1F65A7: AssertLockNotHeldInline(char const*, char const*, int, AnnotatedMixin<std::mutex>*) (sync.h:145)
==1989969== by 0x1DB882: CConnman::SocketHandlerConnected(std::vector<CNode*, std::allocator<CNode*> > const&, std::unordered_map<std::shared_ptr<Sock const>, Sock::Events, Sock::HashSharedPtrSock, Sock::EqualSharedPtrSock, std::allocator<std::pair<std::shared_ptr<Sock const> const, Sock::Events> > > const&) (net.cpp:1287)
==1989969== by 0x1DB6B4: CConnman::SocketHandler() (net.cpp:1277)
==1989969==
==1989969== 57 bytes in 1 blocks are still reachable in loss record 5 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0x4BFC424: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
==1989969== by 0x4C38F92: std::filesystem::__cxx11::path::operator/=(std::filesystem::__cxx11::path const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
==1989969== by 0x175771: fs::path::operator/=(std::filesystem::__cxx11::path) (fs.h:38)
==1989969== by 0xCC23AE: fs::operator/(fs::path, fs::path) (fs.h:102)
==1989969== by 0xCC255F: fsbridge::AbsPathJoin(fs::path const&, fs::path const&) (fs.cpp:38)
==1989969== by 0xD02A2B: AbsPathForConfigVal(ArgsManager const&, fs::path const&, bool) (system.cpp:1354)
==1989969== by 0xB4BDF9: init::SetLoggingOptions(ArgsManager const&) (common.cpp:48)
==1989969== by 0x15BA62: InitLogging(ArgsManager const&) (init.cpp:767)
==1989969== by 0x144FB4: AppInit(node::NodeContext&, int, char**) (bitcoind.cpp:169)
==1989969== by 0x145991: main (bitcoind.cpp:266)
==1989969==
==1989969== 64 bytes in 1 blocks are still reachable in loss record 6 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xDF9204: std::__new_allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem*>::allocate(unsigned long, void const*) (new_allocator.h:137)
==1989969== by 0xDF8E8D: std::allocator_traits<std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem*> >::allocate(std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem*>&, unsigned long) (alloc_traits.h:464)
==1989969== by 0xDF8653: std::_Deque_base<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::_M_allocate_map(unsigned long) (stl_deque.h:597)
==1989969== by 0xDF7D55: std::_Deque_base<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::_M_initialize_map(unsigned long) (stl_deque.h:646)
==1989969== by 0xDF757C: std::_Deque_base<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::_Deque_base() (stl_deque.h:460)
==1989969== by 0xDF6F3A: std::deque<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::deque() (stl_deque.h:855)
==1989969== by 0xDF6F93: std::queue<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::deque<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> > >::queue<std::deque<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >, void>() (stl_queue.h:167)
==1989969== by 0xDF6AC2: leveldb::(anonymous namespace)::PosixEnv::PosixEnv() (env_posix.cc:792)
==1989969== by 0xDF7322: leveldb::(anonymous namespace)::SingletonEnv<leveldb::(anonymous namespace)::PosixEnv>::SingletonEnv() (env_posix.cc:859)
==1989969== by 0xDF6EB0: leveldb::Env::Default() (env_posix.cc:902)
==1989969== by 0xDF34F3: leveldb::Options::Options() (options.cc:12)
==1989969==
==1989969== 192 bytes in 1 blocks are still reachable in loss record 7 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xCD4C8A: GetLockData() (sync.cpp:91)
==1989969== by 0xCD7A72: void push_lock<std::mutex>(std::mutex*, CLockLocation const&) (sync.cpp:158)
==1989969== by 0xCD888F: void EnterCritical<std::mutex>(char const*, char const*, int, std::mutex*, bool) (sync.cpp:211)
==1989969== by 0x187039: UniqueLock<AnnotatedMixin<std::mutex> >::Enter(char const*, char const*, int) (sync.h:159)
==1989969== by 0x17C2F2: UniqueLock<AnnotatedMixin<std::mutex> >::UniqueLock(AnnotatedMixin<std::mutex>&, char const*, char const*, int, bool) (sync.h:183)
==1989969== by 0xCD003E: (anonymous namespace)::RNGState::MixExtract(unsigned char*, unsigned long, CSHA512&&, bool) (random.cpp:414)
==1989969== by 0xCD09E0: ProcRand(unsigned char*, int, RNGLevel) (random.cpp:571)
==1989969== by 0xCD0AB3: GetRandBytes(Span<unsigned char>) (random.cpp:579)
==1989969== by 0xCD0C97: GetRandHash() (random.cpp:594)
==1989969== by 0x5D4E63: (anonymous namespace)::CSignatureCache::CSignatureCache() (sigcache.cpp:40)
==1989969== by 0x5D5BB2: __static_initialization_and_destruction_0(int, int) (sigcache.cpp:91)
==1989969==
==1989969== 224 bytes in 1 blocks are still reachable in loss record 8 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xCC2A07: LogInstance() (logging.cpp:37)
==1989969== by 0xCCF36E: LogAcceptCategory(BCLog::LogFlags, BCLog::Level) (logging.h:208)
==1989969== by 0xCD07A1: SeedStartup(CSHA512&, (anonymous namespace)::RNGState&) (random.cpp:538)
==1989969== by 0xCD0A0F: ProcRand(unsigned char*, int, RNGLevel) (random.cpp:574)
==1989969== by 0xCD0AB3: GetRandBytes(Span<unsigned char>) (random.cpp:579)
==1989969== by 0xCD0C97: GetRandHash() (random.cpp:594)
==1989969== by 0x5D4E63: (anonymous namespace)::CSignatureCache::CSignatureCache() (sigcache.cpp:40)
==1989969== by 0x5D5BB2: __static_initialization_and_destruction_0(int, int) (sigcache.cpp:91)
==1989969== by 0x5D5C16: _GLOBAL__sub_I__Z18InitSignatureCachem (sigcache.cpp:128)
==1989969== by 0x4E0663D: call_init (libc-start.c:145)
==1989969== by 0x4E0663D: __libc_start_main@@GLIBC_2.34 (libc-start.c:368)
==1989969== by 0x144544: (below main) (in /home/sjors/dev/bitcoin/src/bitcoind)
==1989969==
==1989969== 232 bytes in 1 blocks are still reachable in loss record 9 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0x2346F8: std::__new_allocator<std::__detail::_Hash_node_base*>::allocate(unsigned long, void const*) (new_allocator.h:137)
==1989969== by 0x22DF5D: std::allocator_traits<std::allocator<std::__detail::_Hash_node_base*> >::allocate(std::allocator<std::__detail::_Hash_node_base*>&, unsigned long) (alloc_traits.h:464)
==1989969== by 0xCE3F5E: std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, false> > >::_M_allocate_buckets(unsigned long) (hashtable_policy.h:2017)
==1989969== by 0xCE31A1: std::_Hashtable<std::thread::id, std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > >, std::__detail::_Select1st, std::equal_to<std::thread::id>, std::hash<std::thread::id>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_allocate_buckets(unsigned long) (hashtable.h:443)
==1989969== by 0xCE0DB1: std::_Hashtable<std::thread::id, std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > >, std::__detail::_Select1st, std::equal_to<std::thread::id>, std::hash<std::thread::id>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (hashtable.h:2562)
==1989969== by 0xCDDE6E: std::_Hashtable<std::thread::id, std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > >, std::__detail::_Select1st, std::equal_to<std::thread::id>, std::hash<std::thread::id>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash(unsigned long, unsigned long const&) (hashtable.h:2541)
==1989969== by 0xCDB213: std::_Hashtable<std::thread::id, std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > >, std::__detail::_Select1st, std::equal_to<std::thread::id>, std::hash<std::thread::id>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, false>*, unsigned long) (hashtable.h:2155)
==1989969== by 0xCDA141: std::__detail::_Map_base<std::thread::id, std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > >, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > >, std::__detail::_Select1st, std::equal_to<std::thread::id>, std::hash<std::thread::id>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](std::thread::id&&) (hashtable_policy.h:812)
==1989969== by 0xCD9294: std::unordered_map<std::thread::id, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > >, std::hash<std::thread::id>, std::equal_to<std::thread::id>, std::allocator<std::pair<std::thread::id const, std::vector<std::pair<void*, CLockLocation>, std::allocator<std::pair<void*, CLockLocation> > > > > >::operator[](std::thread::id&&) (unordered_map.h:984)
==1989969== by 0xCD7DF9: void push_lock<std::recursive_mutex>(std::recursive_mutex*, CLockLocation const&) (sync.cpp:161)
==1989969== by 0xCD8956: void EnterCritical<std::recursive_mutex>(char const*, char const*, int, std::recursive_mutex*, bool) (sync.cpp:211)
==1989969==
==1989969== 336 bytes in 1 blocks are possibly lost in loss record 10 of 13
==1989969== at 0x4849A83: calloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0x4012949: calloc (rtld-malloc.h:44)
==1989969== by 0x4012949: allocate_dtv (dl-tls.c:375)
==1989969== by 0x4012949: _dl_allocate_tls (dl-tls.c:634)
==1989969== by 0x4E73F99: allocate_stack (allocatestack.c:423)
==1989969== by 0x4E73F99: pthread_create@@GLIBC_2.34 (pthread_create.c:650)
==1989969== by 0x4B8C478: std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
==1989969== by 0xDF7050: std::thread::thread<void (&)(leveldb::(anonymous namespace)::PosixEnv*), leveldb::(anonymous namespace)::PosixEnv*, void>(void (&)(leveldb::(anonymous namespace)::PosixEnv*), leveldb::(anonymous namespace)::PosixEnv*&&) (std_thread.h:142)
==1989969== by 0xDF6C34: leveldb::(anonymous namespace)::PosixEnv::Schedule(void (*)(void*), void*) (env_posix.cc:802)
==1989969== by 0xDBC58A: leveldb::DBImpl::MaybeScheduleCompaction() (db_impl.cc:671)
==1989969== by 0xDC0EAD: leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**) (db_impl.cc:1510)
==1989969== by 0x7647A0: CDBWrapper::CDBWrapper(DBParams const&) (dbwrapper.cpp:156)
==1989969== by 0x32BE11: CBlockTreeDB::CDBWrapper(DBParams const&) (txdb.h:89)
==1989969== by 0x32BE7A: std::__detail::_MakeUniq<CBlockTreeDB>::__single_object std::make_unique<CBlockTreeDB, DBParams>(DBParams&&) (unique_ptr.h:1065)
==1989969== by 0x3282A1: node::CompleteChainstateInitialization(ChainstateManager&, node::CacheSizes const&, node::ChainstateLoadOptions const&) (chainstate.cpp:42)
==1989969==
==1989969== 344 bytes in 1 blocks are still reachable in loss record 11 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0x4C363C6: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
==1989969== by 0x4C38FF7: std::filesystem::__cxx11::path::operator/=(std::filesystem::__cxx11::path const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30)
==1989969== by 0x175771: fs::path::operator/=(std::filesystem::__cxx11::path) (fs.h:38)
==1989969== by 0xCC23AE: fs::operator/(fs::path, fs::path) (fs.h:102)
==1989969== by 0xCC255F: fsbridge::AbsPathJoin(fs::path const&, fs::path const&) (fs.cpp:38)
==1989969== by 0xD02A2B: AbsPathForConfigVal(ArgsManager const&, fs::path const&, bool) (system.cpp:1354)
==1989969== by 0xB4BDF9: init::SetLoggingOptions(ArgsManager const&) (common.cpp:48)
==1989969== by 0x15BA62: InitLogging(ArgsManager const&) (init.cpp:767)
==1989969== by 0x144FB4: AppInit(node::NodeContext&, int, char**) (bitcoind.cpp:169)
==1989969== by 0x145991: main (bitcoind.cpp:266)
==1989969==
==1989969== 472 bytes in 1 blocks are still reachable in loss record 12 of 13
==1989969== at 0x4844899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0x4E5E1AD: __fopen_internal (iofopen.c:65)
==1989969== by 0x4E5E1AD: fopen@@GLIBC_2.2.5 (iofopen.c:86)
==1989969== by 0xCC244C: fsbridge::fopen(fs::path const&, char const*) (fs.cpp:28)
==1989969== by 0xCC2C1E: BCLog::Logger::StartLogging() (logging.cpp:57)
==1989969== by 0xB4CFE7: init::StartLogging(ArgsManager const&) (common.cpp:113)
==1989969== by 0x161006: AppInitMain(node::NodeContext&, interfaces::BlockAndHeaderTipInfo*) (init.cpp:1106)
==1989969== by 0x145399: AppInit(node::NodeContext&, int, char**) (bitcoind.cpp:222)
==1989969== by 0x145991: main (bitcoind.cpp:266)
==1989969==
==1989969== 512 bytes in 1 blocks are still reachable in loss record 13 of 13
==1989969== at 0x4845013: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==1989969== by 0xDF90C4: std::__new_allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem>::allocate(unsigned long, void const*) (new_allocator.h:137)
==1989969== by 0xDF8BDC: std::allocator_traits<std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::allocate(std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem>&, unsigned long) (alloc_traits.h:464)
==1989969== by 0xDF813E: std::_Deque_base<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::_M_allocate_node() (stl_deque.h:583)
==1989969== by 0xDF86DF: std::_Deque_base<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::_M_create_nodes(leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem**, leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem**) (stl_deque.h:684)
==1989969== by 0xDF7DAB: std::_Deque_base<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::_M_initialize_map(unsigned long) (stl_deque.h:658)
==1989969== by 0xDF757C: std::_Deque_base<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::_Deque_base() (stl_deque.h:460)
==1989969== by 0xDF6F3A: std::deque<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >::deque() (stl_deque.h:855)
==1989969== by 0xDF6F93: std::queue<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::deque<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> > >::queue<std::deque<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem, std::allocator<leveldb::(anonymous namespace)::PosixEnv::BackgroundWorkItem> >, void>() (stl_queue.h:167)
==1989969== by 0xDF6AC2: leveldb::(anonymous namespace)::PosixEnv::PosixEnv() (env_posix.cc:792)
==1989969== by 0xDF7322: leveldb::(anonymous namespace)::SingletonEnv<leveldb::(anonymous namespace)::PosixEnv>::SingletonEnv() (env_posix.cc:859)
==1989969== by 0xDF6EB0: leveldb::Env::Default() (env_posix.cc:902)
==1989969==
==1989969== LEAK SUMMARY:
==1989969== definitely lost: 0 bytes in 0 blocks
==1989969== indirectly lost: 0 bytes in 0 blocks
==1989969== possibly lost: 336 bytes in 1 blocks
==1989969== still reachable: 2,241 bytes in 12 blocks
==1989969== suppressed: 0 bytes in 0 blocks
==1989969==
==1989969== Use --track-origins=yes to see where uninitialised values come from
==1989969== For lists of detected and suppressed errors, rerun with: -s
==1989969== ERROR SUMMARY: 2459 errors from 8 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment