Author

Topic: [solved] EXCEPTION: NSt8ios_base7failureE on ubuntu (Read 5592 times)

full member
Activity: 169
Merit: 100
thanks worked for my namecoin problem too Smiley
sr. member
Activity: 250
Merit: 250
Is there any other solution for this ? downloading the block chain takes few days :-(
newbie
Activity: 4
Merit: 0
It works !!!
thanks a lot !
legendary
Activity: 1596
Merit: 1100
And I don't find any blk....dat file in data :/

I have blk0001.dat and blkindex.dat in /home/lalejand/.bitcoin

Yes, ".bitcoin" is the proper directory for you.  I set mine to "data", sorry for the confusion.

administrator
Activity: 5222
Merit: 13032
I have blk0001.dat and blkindex.dat in /home/lalejand/.bitcoin

Delete those. Delete everything there except wallet.dat and bitcoin.conf (if it exists).
newbie
Activity: 4
Merit: 0
And I don't find any blk....dat file in data :/

I have blk0001.dat and blkindex.dat in /home/lalejand/.bitcoin
newbie
Activity: 4
Merit: 0
Will try, but how do I download the block chain ?
legendary
Activity: 1596
Merit: 1100
Delete data/blk*.dat and re-download the block chain, see if that helps.
newbie
Activity: 4
Merit: 0
Hi,

I use(d) bitcoin on Ubuntu Maverick :
bitcoin:
  Installé : 0.3.19-maverick6
  Candidat : 0.3.19-maverick6
 Table de version :
 *** 0.3.19-maverick6 0
        500 http://ppa.launchpad.net/stretch/bitcoin/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

Yesterday my computer crashed and I had to reboot by staying pushing the on-off button.
Since that moment Bitcoin refuses to work. I get this error :
lalejand@lalejand-laptop:~$ /usr/bin/bitcoin &
[1] 2469
lalejand@lalejand-laptop:~$

************************
EXCEPTION: NSt8ios_base7failureE      
CAutoFile::read : end of file      
bitcoin in AppInit()      



************************
EXCEPTION: NSt8ios_base7failureE      
CAutoFile::read : end of file      
bitcoin in CMyApp::OnUnhandledException()      

terminate called after throwing an instance of 'std::ios_base::failure'
  what():  CAutoFile::read : end of file

[1]+  Abandon                 (core dumped) /usr/bin/bitcoin

I found in this forum that the cause can be a malformed block.
badblocks says :
lalejand@lalejand-laptop:~$ badblocks -s /dev/*
badblocks: dernier bloc invalide - /dev/autofs
lalejand@lalejand-laptop:~$ sudo badblocks -n /dev/autofs
badblocks: bloc de départ invalide (0): doit être moins de 0

I restarted my computer on a live usb and checked /dev/sda1 with e2fsck and badblocks. And everything is alright.

So I don't know what i can do :/
Jump to: