Bitcoin Forum
May 08, 2024, 03:28:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-qt crash with solo mining  (Read 1602 times)
amano (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile WWW
August 13, 2014, 05:04:20 PM
Last edit: August 13, 2014, 05:51:39 PM by amano
 #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 ;-))
1715182098
Hero Member
*
Offline Offline

Posts: 1715182098

View Profile Personal Message (Offline)

Ignore
1715182098
Reply with quote  #2

1715182098
Report to moderator
1715182098
Hero Member
*
Offline Offline

Posts: 1715182098

View Profile Personal Message (Offline)

Ignore
1715182098
Reply with quote  #2

1715182098
Report to moderator
1715182098
Hero Member
*
Offline Offline

Posts: 1715182098

View Profile Personal Message (Offline)

Ignore
1715182098
Reply with quote  #2

1715182098
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
hotwired007
Hero Member
*****
Offline Offline

Activity: 585
Merit: 500


View Profile
August 14, 2014, 03:22:30 PM
 #2

is your bitcoin-qt fully sync'd? are you running it with the -server command from a batch file?

This account was hacked & possibly sold during the period of August 1st and October 24th 2017.
Anything done or said in this period wasnt me.
Many thanks to Cyrus for his help restoring access to my account.
amano (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile WWW
August 14, 2014, 05: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.
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
August 14, 2014, 09: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

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
amano (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile WWW
August 17, 2014, 04: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://bitcointalk.org/index.php?topic=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()




 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!