Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GNU gdb (Debian 8.2.1-2+b3) 8.2.1
- Copyright (C) 2018 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law.
- Type "show copying" and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from ./src/bitcoind...done.
- (gdb) run -datadir=/mnt/data/blockchains/btc/blockchain
- Starting program: /home/sid/projects/btc/bitcoind -datadir=/mnt/data/blockchains/btc/blockchain
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- 2021-02-15T18:21:06Z Bitcoin Core version v0.21.0.0-7d8a10a6f (release build)
- 2021-02-15T18:21:06Z Assuming ancestors of block 0000000000000000000b9d2ec5a352ecba0592946514a92f14319dc2b367fc72 have valid signatures.
- 2021-02-15T18:21:06Z Setting nMinimumChainWork=00000000000000000000000000000000000000001533efd8d716a517fe2c5008
- 2021-02-15T18:21:06Z Using the 'standard' SHA256 implementation
- 2021-02-15T18:21:06Z Default data directory [redacted]
- 2021-02-15T18:21:06Z Using data directory /mnt/data/blockchains/btc/blockchain
- 2021-02-15T18:21:06Z Config file: /mnt/data/blockchains/btc/blockchain/bitcoin.conf
- 2021-02-15T18:21:06Z Config file arg: rpcallowip="[redacted]"
- 2021-02-15T18:21:06Z Config file arg: rpcallowip="127.0.0.1"
- 2021-02-15T18:21:06Z Config file arg: rpcpassword=****
- 2021-02-15T18:21:06Z Config file arg: rpcport="8332"
- 2021-02-15T18:21:06Z Command-line arg: datadir="/mnt/data/blockchains/btc/blockchain"
- 2021-02-15T18:21:06Z Using at most 125 automatic connections (1024 file descriptors available)
- 2021-02-15T18:21:06Z Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
- 2021-02-15T18:21:06Z Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
- 2021-02-15T18:21:06Z Script verification uses 1 additional threads
- [New Thread 0x7ffff51e1700 (LWP 12543)]
- [New Thread 0x7ffff49e0700 (LWP 12544)]
- 2021-02-15T18:21:06Z scheduler thread start
- 2021-02-15T18:21:06Z WARNING: option -rpcallowip was specified without -rpcbind; this doesn't usually make sense
- 2021-02-15T18:21:06Z HTTP: creating work queue of depth 16
- 2021-02-15T18:21:06Z Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcauth for rpcauth auth generation.
- 2021-02-15T18:21:06Z HTTP: starting 4 worker threads
- [New Thread 0x7fffeffff700 (LWP 12545)]
- [New Thread 0x7fffef7fe700 (LWP 12546)]
- [New Thread 0x7fffeeffd700 (LWP 12547)]
- [New Thread 0x7fffee7fc700 (LWP 12548)]
- [New Thread 0x7fffedffb700 (LWP 12549)]
- 2021-02-15T18:21:06Z Using wallet directory /mnt/data/blockchains/btc/blockchain
- 2021-02-15T18:21:06Z init message: Verifying wallet(s)...
- 2021-02-15T18:21:06Z Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010)
- 2021-02-15T18:21:06Z Using wallet /mnt/data/blockchains/btc/blockchain/wallet.dat
- 2021-02-15T18:21:06Z BerkeleyEnvironment::Open: LogDir=/mnt/data/blockchains/btc/blockchain/database ErrorFile=/mnt/data/blockchains/btc/blockchain/db.log
- 2021-02-15T18:21:06Z init message: Loading banlist...
- 2021-02-15T18:21:06Z SetNetworkActive: true
- 2021-02-15T18:21:06Z Using /16 prefix for IP bucketing
- 2021-02-15T18:21:06Z Cache configuration:
- 2021-02-15T18:21:06Z * Using 2.0 MiB for block index database
- 2021-02-15T18:21:06Z * Using 8.0 MiB for chain state database
- 2021-02-15T18:21:06Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
- 2021-02-15T18:21:06Z init message: Loading block index...
- 2021-02-15T18:21:06Z Switching active chainstate to Chainstate [ibd] @ height -1 (null)
- 2021-02-15T18:21:06Z Opening LevelDB in /mnt/data/blockchains/btc/blockchain/blocks/index
- 2021-02-15T18:21:07Z Opened LevelDB successfully
- 2021-02-15T18:21:07Z Using obfuscation key for /mnt/data/blockchains/btc/blockchain/blocks/index: 0000000000000000
- 2021-02-15T18:21:13Z LoadBlockIndexDB: last block file = 1548
- [New Thread 0x7fffce8b0700 (LWP 12550)]
- 2021-02-15T18:21:13Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=102, size=110195747, heights=565199...565487, time=2019-03-01...2019-03-03)
- 2021-02-15T18:21:13Z Checking all blk files are present...
- 2021-02-15T18:21:13Z Opening LevelDB in /mnt/data/blockchains/btc/blockchain/chainstate
- 2021-02-15T18:21:13Z Opened LevelDB successfully
- 2021-02-15T18:21:13Z Using obfuscation key for /mnt/data/blockchains/btc/blockchain/chainstate: aedfad69a0bd6230
- 2021-02-15T18:21:13Z Loaded best chain: hashBestChain=0000000000000000001264dd8d41f4cfd26cf9930e90bad773b16dd82449b9fd height=565308 date=2019-03-02T06:50:19Z progress=0.631060
- 2021-02-15T18:21:13Z init message: Rewinding blocks...
- 2021-02-15T18:21:14Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) started
- 2021-02-15T18:21:14Z FlushStateToDisk: write coins cache to disk (0 coins, 0kB) completed (0.00s)
- 2021-02-15T18:21:14Z init message: Verifying blocks...
- 2021-02-15T18:21:14Z Verifying last 6 blocks at level 3
- 2021-02-15T18:21:14Z [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE].
- 2021-02-15T18:21:15Z No coin database inconsistencies in last 6 blocks (15138 transactions)
- 2021-02-15T18:21:15Z block index 9156ms
- 2021-02-15T18:21:15Z init message: Loading wallet...
- 2021-02-15T18:21:15Z BerkeleyEnvironment::Open: LogDir=/mnt/data/blockchains/btc/blockchain/database ErrorFile=/mnt/data/blockchains/btc/blockchain/db.log
- 2021-02-15T18:21:16Z [default wallet] Wallet File Version = 139900
- 2021-02-15T18:21:16Z [default wallet] Keys: 0 plaintext, 4024 encrypted, 4024 w/ metadata, 4024 total. Unknown wallet records: 2
- 2021-02-15T18:21:16Z [default wallet] Wallet completed loading in 219ms
- 2021-02-15T18:21:16Z init message: Rescanning...
- 2021-02-15T18:21:16Z [default wallet] Rescanning last 13167 blocks (from block 552141)...
- 2021-02-15T18:21:16Z [default wallet] Rescan started from block 00000000000000000015bdff45dbb8b100397cf9bf2acae6452c339c325637de...
- Thread 1 "bitcoind" received signal SIGSEGV, Segmentation fault.
- LegacyScriptPubKeyMan::MarkUnusedAddresses (this=0x555555f81840, script=...) at wallet/scriptpubkeyman.cpp:363
- 363 if (!TopUpInactiveHDChain(meta.hd_seed_id, index, internal)) {
- (gdb) bt
- #0 LegacyScriptPubKeyMan::MarkUnusedAddresses (this=0x555555f81840, script=...) at wallet/scriptpubkeyman.cpp:363
- #1 0x000055555594ccb5 in CWallet::AddToWalletIfInvolvingMe (this=0x555560ea4610, ptx=..., confirm=..., fUpdate=<optimized out>) at /usr/include/c++/8/bits/unique_ptr.h:342
- #2 0x000055555594d4b1 in CWallet::SyncTransaction (this=this@entry=0x555560ea4610, ptx=std::shared_ptr<const CTransaction> (use count 1, weak count 0) = {...}, confirm=...,
- update_tx=<optimized out>) at wallet/wallet.cpp:1152
- #3 0x000055555594e7ba in CWallet::ScanForWalletTransactions (this=0x555560ea4610, start_block=..., start_height=<optimized out>, max_height=..., reserver=..., fUpdate=<optimized out>)
- at /usr/include/c++/8/bits/stl_vector.h:930
- #4 0x0000555555950f45 in CWallet::Create (chain=..., name="", database=std::unique_ptr<WalletDatabase> = {...}, wallet_creation_flags=<optimized out>, error=..., warnings=...)
- at /usr/include/boost/optional/detail/optional_trivially_copyable_base.hpp:25
- #5 0x00005555558b0493 in LoadWallets (chain=...) at /usr/include/c++/8/bits/move.h:74
- #6 0x000055555564bd06 in AppInitMain (context=..., node=..., tip_info=<optimized out>) at /usr/include/c++/8/bits/unique_ptr.h:342
- #7 0x000055555563308a in AppInit (argc=2, argv=<optimized out>) at /usr/include/c++/8/bits/basic_string.h:189
- #8 0x000055555562a993 in main (argc=2, argv=0x7fffffffe268) at bitcoind.cpp:172
- (gdb) list
- 358 CKeyMetadata meta = it->second;
- 359 if (!meta.hd_seed_id.IsNull() && meta.hd_seed_id != m_hd_chain.seed_id) {
- 360 bool internal = (meta.key_origin.path[1] & ~BIP32_HARDENED_KEY_LIMIT) != 0;
- 361 int64_t index = meta.key_origin.path[2] & ~BIP32_HARDENED_KEY_LIMIT;
- 362
- 363 if (!TopUpInactiveHDChain(meta.hd_seed_id, index, internal)) {
- 364 WalletLogPrintf("%s: Adding inactive seed keys failed\n", __func__);
- 365 }
- 366 }
- 367 }
- (
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement