Author

Topic: Bitcoin-qt crash with solo mining (Read 1608 times)

newbie
Activity: 25
Merit: 0
August 17, 2014, 12:12:07 PM
#5
bitcoin-qt should not crash regardless of how you've set it up. Assuming you have the latest bitcoind and this isn't coincidentally related to your bitcoin-qt being corrupted by a virus or otherwise, you should report this bug to the main bitcoin development team either via github or here: https://bitcointalk.org/index.php?board=6.0

Created a new topic there : https://bitcointalksearch.org/topic/assertion-failed-maincpp-line-1738-hashprevblock-viewgetbestblock-743134

Tried to set it up so that bitcoin-qt just mines by itself ( just as a test) : it crashes with
Assertion Failed main.cpp Line 1738 hashPrevBlock == view.getBestBlock()




 
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
August 14, 2014, 05:43:30 PM
#4
bitcoin-qt should not crash regardless of how you've set it up. Assuming you have the latest bitcoind and this isn't coincidentally related to your bitcoin-qt being corrupted by a virus or otherwise, you should report this bug to the main bitcoin development team either via github or here: https://bitcointalk.org/index.php?board=6.0
newbie
Activity: 25
Merit: 0
August 14, 2014, 01:35:11 PM
#3
yup, fully synced.
The config file contains server=1, so the server is up and running when I start the miner.
It mines for a few seconds / minutes ( depends), but then crashes.

Maybe I should try another pc, dunno, seriously lost here.
hero member
Activity: 585
Merit: 500
August 14, 2014, 11:22:30 AM
#2
is your bitcoin-qt fully sync'd? are you running it with the -server command from a batch file?
newbie
Activity: 25
Merit: 0
August 13, 2014, 01:04:20 PM
#1
ok, I'm a bit stuck here.
I start bitcoin qt, runs ok, until I start mining.
It mines for a bit ( few minutes tops, sometimes only a few seconds), and then Bitcoin-qt crashes.
It seems to happen right after a new block has been found on the network.


In the system application log, it only says it got stuck on msvcrt.dll, version: 7.0.2600.5512 on 0x00023509.

My bitcoin.conf :

datadir=e:\btc\data
server=1
rpcuser=xxx
rpcpassword=xxx
rpcallowip=127.0.0.1
rpcport=2223
addnode=85.214.251.25   
addnode=137.116.225.142   
addnode=67.186.224.85   
addnode=88.198.58.172   
gen=0
daemon=1
listen=1

Last output from the debug.log :
2014-08-12 18:27:40 ProcessBlock: ACCEPTED
2014-08-12 18:30:10 CreateNewBlock(): total size 83774
2014-08-12 18:30:11 keypool reserve 1
2014-08-12 18:30:11 CreateNewBlock(): total size 83774
2014-08-12 18:31:12 CreateNewBlock(): total size 111262
2014-08-12 18:32:14 CreateNewBlock(): total size 122229
2014-08-12 18:33:16 CreateNewBlock(): total size 141977
2014-08-12 18:33:45 UpdateTip: new best=0000000000000000016a11f217915dde48677209b336cb0ca7d1fa79660c6b8f  height=315296  log2_work=80.161218  tx=44404034  date=2014-08-12 18:32:24 progress=0.999997
2014-08-12 18:33:45 ProcessBlock: ACCEPTED
2014-08-12 18:33:46 CreateNewBlock(): total size 28232

I'm using bfg-miner:  mining seems to work (getting hashrate and stuff) , it's just impossible to mine since the bitcoin-qt always crashes.
Any thoughts on this one ?

EDIT:
 just tried it again. I let the client sync first (runs fine during that), after that I start bfg-miner, and it crashes. Last output from debug.log:

2014-08-13 17:40:19 ProcessBlock: ACCEPTED
2014-08-13 17:42:10 CreateNewBlock(): total size 159490
2014-08-13 17:42:11 keypool reserve 1
2014-08-13 17:42:11 CreateNewBlock(): total size 159715
2014-08-13 17:42:26 ERROR: CheckTransaction() : vin empty
2014-08-13 17:42:26 ERROR: AcceptToMemoryPool: : CheckTransaction failed
2014-08-13 17:42:26 Misbehaving: 72.90.92.111:8333 (10 -> 20)
2014-08-13 17:42:26 ERROR: AcceptToMemoryPool : inputs already spent
2014-08-13 17:43:12 CreateNewBlock(): total size 184167
 



(Side note: I'm solo mining, it's a long shot (very long shot ;-)) since I only have an Antminer U1, but it's a fun little project ;-))
Jump to: