Bitcoin Forum
October 01, 2016, 04:54:47 AM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Assertion Failure - Ubuntu Lucid  (Read 2749 times)
singpolyma
Jr. Member
*
Offline Offline

Activity: 43



View Profile WWW
July 16, 2010, 04:30:15 AM
 #1

I'm running Ubuntu Lucid (32 bit), all packages up to date.  I had run bitcoin 0.2 previously, and just downloaded 0.3.  I ran bitcoind and I got:

bitcoin: main.cpp:823: unsigned int GetNextWorkRequired(const CBlockIndex*): Assertion `pindexFirst' failed.
Aborted

So I ran the bitcoin GUI, and it came up and showed my existing coins, but quickly gave me the same error and died.  Then I went back and ran the 0.2 GUI again and I get:

bitcoin: main.cpp:743: unsigned int GetNextWorkRequired(const CBlockIndex*): Assertion `pindexFirst' failed.
Aborted

Has my db got corrupted?  Do I have a broken dependancy?

I tried to build 0.3 from source but got many errors, probably missing some *-dev packages.  Will look at that more later.
1475297687
Hero Member
*
Offline Offline

Posts: 1475297687

View Profile Personal Message (Offline)

Ignore
1475297687
Reply with quote  #2

1475297687
Report to moderator
1475297687
Hero Member
*
Offline Offline

Posts: 1475297687

View Profile Personal Message (Offline)

Ignore
1475297687
Reply with quote  #2

1475297687
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1475297687
Hero Member
*
Offline Offline

Posts: 1475297687

View Profile Personal Message (Offline)

Ignore
1475297687
Reply with quote  #2

1475297687
Report to moderator
1475297687
Hero Member
*
Offline Offline

Posts: 1475297687

View Profile Personal Message (Offline)

Ignore
1475297687
Reply with quote  #2

1475297687
Report to moderator
satoshi
Founder
Sr. Member
*
Offline Offline

Activity: 364


View Profile
July 16, 2010, 02:52:04 PM
 #2

That's the first time I've seen this error.

How many blocks do you have? (in the status bar)

You should move your blk*.dat files (in ~/.bitcoin) to another directory and let it start over downloading the block chain again.  If you don't mind, could you keep the old blk*.dat files for a little while in case I need to look at them?
singpolyma
Jr. Member
*
Offline Offline

Activity: 43



View Profile WWW
July 17, 2010, 10:17:16 PM
 #3

I have 58464 blocks... haven't run the software in awhile
singpolyma
Jr. Member
*
Offline Offline

Activity: 43



View Profile WWW
July 17, 2010, 10:19:48 PM
 #4

Moved the block files... it's working through them all again.  My coins disappeared, but I assume they'll come back when it's up to current?
satoshi
Founder
Sr. Member
*
Offline Offline

Activity: 364


View Profile
July 17, 2010, 10:37:06 PM
 #5

My coins disappeared, but I assume they'll come back when it's up to current?
Right, they'll re-appear when it's finished downloading all the blocks.
romsek
Newbie
*
Offline Offline

Activity: 11


View Profile
August 15, 2011, 10:51:24 PM
 #6

I just wanted to let you know that i experienced the exact same problem on Ubuntu 10.04.3 64-bit using the current version of the Bitcoin client. The block where it crashes is 130670.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!