Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bitcoin-Qt suddenly stopped with "assertion failed" #2547
Bitcoin version 0.8.1-beta
I have used this Bitcoin client for a while. The configuration was initialized under Windows XP, and later on transferred to a Windows 7 machine. It has worked for several months swithout any notable problems -- with the only exception of it sometimes not including a "mined" transaction into my free balance immediately as it matures (instead it needs to be restarted).
Today, about 4 hours after receiving a "mined" transaction, it then crashed telling:
After restarting, it appears to have recovered fully.
Would retargeting code only run on an instance of Bitcoin intended for mining?
In that case, I have to clarify: I have in the past, used this Bitcoin instance for mining too, and now that I checked, as a historic leftover, "rpcuser" and "rpcpassword" are still set in "bitcoin.conf".
The part of the code which triggers your problem is (in GetNextWorkRequired()):
// Go back by what we want to be 14 days worth of blocks const CBlockIndex* pindexFirst = pindexLast; for (int i = 0; pindexFirst && i < nInterval-1; i++) pindexFirst = pindexFirst->pprev; assert(pindexFirst);
But this needs to be looked at by a core dev...
@sipa @gavinandresen no matter what button I choose from the error above, bitcoin-qt.exe has stopped working. This is my problem since I started downloading the client for more than 2 weeks now and I keep having this problem no matter how many times I have re-download the client whether I using the install version or the zip version. same issues.
btw, I using windows 7 Ultimate with 4GB RAM (just for reference).