-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
Description
I've been running bitcoin-qt inside gdb for over a year now, because it used to crash pretty often. It just crashed for the first time in over 6 months, a week or two after upgrading to the recent release. I would guess this is a new issue introduced in 0.9.
I built the code myself, from the git v0.9.0 tag, on a 64 bit Linux system.
Here's what gdb said:
Program received signal SIGSEGV, Segmentation fault.
CMerkleTx::GetDepthInMainChainINTERNAL (this=this@entry=0x7fffb77d7ac0,
pindexRet=@0x7fffffffd148: 0x555556ca0120) at main.cpp:884
884 if (!pindex || !chainActive.Contains(pindex))
(gdb) where
#0 CMerkleTx::GetDepthInMainChainINTERNAL (this=this@entry=0x7fffb77d7ac0,
pindexRet=@0x7fffffffd148: 0x555556ca0120) at main.cpp:884
#1 0x000055555571dca6 in CMerkleTx::GetDepthInMainChain (
this=this@entry=0x7fffb77d7ac0, pindexRet=@0x7fffffffd148: 0x555556ca0120)
at main.cpp:901
#2 0x00005555556b632d in GetDepthInMainChain (this=0x7fffb77d7ac0)
at ../../src/main.h:466
#3 CWalletTx::IsTrusted (this=this@entry=0x7fffb77d7ac0)
at ../../src/wallet.h:665
#4 0x00005555556b40cd in TransactionRecord::updateStatus (
this=this@entry=0x555556c00ca0, wtx=...) at transactionrecord.cpp:167
#5 0x00005555556933cd in TransactionTablePriv::index (this=<optimized out>,
idx=idx@entry=6314) at transactiontablemodel.cpp:201
#6 0x000055555569231e in TransactionTableModel::index (this=0x555556a5b340,
row=6314, column=0, parent=...) at transactiontablemodel.cpp:615
#7 0x000055555568f398 in TransactionFilterProxy::filterAcceptsRow (this=
0x55555625ee30, sourceRow=6314, sourceParent=...)
at transactionfilterproxy.cpp:33
and here's debug.log (it looks like bitcoin-qt was only just getting started):
2014-03-31 04:41:51 Bitcoin version v0.9.0-1-gd824858-beta (2014-03-20 09:19:05 -0700)
2014-03-31 04:41:51 Using OpenSSL version OpenSSL 1.0.1c 10 May 2012
2014-03-31 04:41:51 Default data directory /home/chris/.bitcoin
2014-03-31 04:41:51 Using data directory /home/chris/.bitcoin
2014-03-31 04:41:51 Using at most 125 connections (1024 file descriptors available)
2014-03-31 04:41:51 Using 2 threads for script verification
2014-03-31 04:41:51 Using wallet wallet.dat
2014-03-31 04:41:51 init message: Verifying wallet...
2014-03-31 04:41:51 dbenv.open LogDir=/home/chris/.bitcoin/database ErrorFile=/home/chris/.bitcoin/db.log
2014-03-31 04:42:16 Bound to [::]:8333
2014-03-31 04:42:16 Bound to 0.0.0.0:8333
2014-03-31 04:42:16 init message: Loading block index...
2014-03-31 04:42:16 Opening LevelDB in /home/chris/.bitcoin/blocks/index
2014-03-31 04:42:17 Opened LevelDB successfully
2014-03-31 04:42:17 Opening LevelDB in /home/chris/.bitcoin/chainstate
2014-03-31 04:42:18 Opened LevelDB successfully
2014-03-31 04:42:36 LoadBlockIndexDB(): last block file = 89
2014-03-31 04:42:36 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=338, size=67010312, heights=292948...293280, time=2014-03-28...2014-03-30)
2014-03-31 04:42:36 LoadBlockIndexDB(): transaction index disabled
2014-03-31 04:42:36 LoadBlockIndexDB(): hashBestChain=000000000000000052d11e4b468cf8e66152f4687ccf6f7b24a4eb8c7c183bbb height=293280 date=2014-03-30 20:05:47 progress=0.998126
2014-03-31 04:42:36 init message: Verifying blocks...
2014-03-31 04:42:36 Verifying last 288 blocks at level 2
2014-03-31 04:43:30 No coin database inconsistencies in last 0 blocks (0 transactions)
2014-03-31 04:43:30 block index 74479ms
2014-03-31 04:43:30 init message: Loading wallet...
2014-03-31 04:44:50 nFileVersion = 90000
2014-03-31 04:44:50 Keys: 36667 plaintext, 0 encrypted, 0 w/ metadata, 36667 total
2014-03-31 04:44:50 wallet 80181ms
2014-03-31 04:44:50 init message: Loading addresses...
2014-03-31 04:44:50 Loaded 18722 addresses from peers.dat 118ms
2014-03-31 04:44:50 mapBlockIndex.size() = 293606
2014-03-31 04:44:50 nBestHeight = 293280
2014-03-31 04:44:50 setKeyPool.size() = 4996
2014-03-31 04:44:50 mapWallet.size() = 30432
2014-03-31 04:44:50 mapAddressBook.size() = 19485
2014-03-31 04:44:50 ext-ip thread start
2014-03-31 04:44:50 dnsseed thread start
2014-03-31 04:44:50 net thread start
2014-03-31 04:44:50 Loading addresses from DNS seeds (could take a while)
2014-03-31 04:44:50 addcon thread start
2014-03-31 04:44:50 msghand thread start
2014-03-31 04:44:50 opencon thread start
2014-03-31 04:44:50 dumpaddr thread start
2014-03-31 04:44:50 init message: Done loading
2014-03-31 04:44:51 ERROR: AcceptToMemoryPool : nonstandard transaction: dust
2014-03-31 04:44:51 GetMyExternalIP() received [a.b.c.d] a.b.c.d:0
2014-03-31 04:44:51 GetMyExternalIP() returned a.b.c.d
2014-03-31 04:44:51 AddLocal(a.b.c.d:8333,4)
2014-03-31 04:44:51 ext-ip thread exit
2014-03-31 04:44:51 ERROR: AcceptToMemoryPool : nonstandard transaction: dust
2014-03-31 04:44:51 ERROR: AcceptToMemoryPool : nonstandard transaction: dust
2014-03-31 04:44:51 ERROR: AcceptToMemoryPool : nonstandard transaction: dust
2014-03-31 04:44:51 receive version message: /Satoshi:0.8.6/: version 70001, blocks=293333, us=a.b.c.d:9089, them=e.f.g.h:8333, peer=e.f.g.h:8333
2014-03-31 04:44:51 Added time data, samples 2, offset -7 (+0 minutes)
2014-03-31 04:44:51 ERROR: AcceptToMemoryPool : nonstandard transaction: dust
2014-03-31 04:44:51 Initialization result: 1
2014-03-31 04:44:53 Pre-allocating up to position 0x5000000 in blk00089.dat
2014-03-31 04:45:08 118 addresses found from DNS seeds
2014-03-31 04:45:08 dnsseed thread exit