Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BITCOIN CORE CRASHED #8081

Closed
tomatemozarella opened this issue May 21, 2016 · 16 comments
Closed

BITCOIN CORE CRASHED #8081

tomatemozarella opened this issue May 21, 2016 · 16 comments

Comments

@tomatemozarella
Copy link

Hello !
I am using Bitocin core v0.11.2 without problem since a few months now.
This morning when i restarted my computer Bitcoin core did not restarted and i got the message:
" Error: a fatal internal error occured, see debug.log for details ".
I installed v0.12.1 and i got same message.
It seems block verification is Ok then program crashes !

This is the last message debug file:

2016-05-21 07:36:01 Bitcoin version v0.12.1 (2016-04-11 13:01:43 +0200)
2016-05-21 07:36:01 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2016-05-21 07:36:01 GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core didn't yet exit safely..."
2016-05-21 07:36:03 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010)
2016-05-21 07:36:03 Default data directory C:\Users\alex\AppData\Roaming\Bitcoin
2016-05-21 07:36:03 Using data directory C:\Users\alex\AppData\Roaming\Bitcoin
2016-05-21 07:36:03 Using config file C:\Users\alex\AppData\Roaming\Bitcoin\bitcoin.conf
2016-05-21 07:36:03 Using at most 125 connections (2048 file descriptors available)
2016-05-21 07:36:03 Using 2 threads for script verification
2016-05-21 07:36:03 Using wallet wallet.dat
2016-05-21 07:36:03 scheduler thread start
2016-05-21 07:36:03 init message: Vérification du portefeuille...
2016-05-21 07:36:03 CDBEnv::Open: LogDir=C:\Users\alex\AppData\Roaming\Bitcoin\database ErrorFile=C:\Users\alex\AppData\Roaming\Bitcoin\db.log
2016-05-21 07:36:03 Bound to [::]:8333
2016-05-21 07:36:03 Bound to 0.0.0.0:8333
2016-05-21 07:36:03 Cache configuration:
2016-05-21 07:36:03 * Using 2.0MiB for block index database
2016-05-21 07:36:03 * Using 32.5MiB for chain state database
2016-05-21 07:36:03 * Using 65.5MiB for in-memory UTXO set
2016-05-21 07:36:03 init message: Chargement de l'index des blocs...
2016-05-21 07:36:03 Opening LevelDB in C:\Users\alex\AppData\Roaming\Bitcoin\blocks\index
2016-05-21 07:36:03 Opened LevelDB successfully
2016-05-21 07:36:03 Using obfuscation key for C:\Users\alex\AppData\Roaming\Bitcoin\blocks\index: 0000000000000000
2016-05-21 07:36:03 Opening LevelDB in C:\Users\alex\AppData\Roaming\Bitcoin\chainstate
2016-05-21 07:36:03 Opened LevelDB successfully
2016-05-21 07:36:03 Using obfuscation key for C:\Users\alex\AppData\Roaming\Bitcoin\chainstate: 0000000000000000
2016-05-21 07:36:17 LoadBlockIndexDB: last block file = 522
2016-05-21 07:36:17 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=153, size=125227861, heights=412442...412607, time=2016-05-19...2016-05-20)
2016-05-21 07:36:17 Checking all blk files are present...
2016-05-21 07:36:18 LoadBlockIndexDB: transaction index disabled
2016-05-21 07:36:18 LoadBlockIndexDB: hashBestChain=000000000000000004b8c41d4917e7fe1f36b1dfb16ff9ab1fc48bac2732c1d2 height=412590 date=2016-05-20 15:18:53 progress=0.999597
2016-05-21 07:36:18 init message: Vérifications des blocs...
2016-05-21 07:36:18 Verifying last 288 blocks at level 3
2016-05-21 07:37:22 No coin database inconsistencies in last 12 blocks (18790 transactions)
2016-05-21 07:37:22 block index 79575ms
2016-05-21 07:37:22 init message: Chargement du porte-monnaie...
2016-05-21 07:37:22 nFileVersion = 120100
2016-05-21 07:37:22 Keys: 182 plaintext, 0 encrypted, 71 w/ metadata, 182 total
2016-05-21 07:37:22 wallet 127ms
2016-05-21 07:37:22 init message: Activation de la meilleure chaîne...
2016-05-21 07:37:22 ERROR: CheckProofOfWork(): nBits below minimum work
2016-05-21 07:37:22 ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=522, nPos=124229782)
2016-05-21 07:37:22 *** Failed to read block
2016-05-21 07:37:29 scheduler thread interrupt
2016-05-21 07:37:29 Shutdown: In progress...
2016-05-21 07:37:29 StopNode()
2016-05-21 07:37:29 Shutdown: done

What to do ?
Let me know if u need more details
Is it possible to save my wallet and use it with another program if needed ?
Thanks a lot !

@pstratem
Copy link
Contributor

Hardware failure.

@tomatemozarella
Copy link
Author

So what to do ?
I copied all datas file of bticoin Core to another computer and i got the same message Error.
So what can i do now ??

@pstratem
Copy link
Contributor

reindex

@tomatemozarella
Copy link
Author

thanks for you help but what is reindex ?
Do you think i have to re-download all blocks from beginning ?
That will solve the problem ?
I am in india with a slow connection....

@sipa
Copy link
Member

sipa commented May 21, 2016

Start bitcoind or bitcoin-qt with the -reindex command line option. This will throw away the indexes and rebuild them from scratch, but reuse the blocks on disk in so far as they are usable.

@tomatemozarella
Copy link
Author

Great answer !
Can i do this with Windows ?

@tomatemozarella
Copy link
Author

in cmd.exe ? it will work ?

@sipa
Copy link
Member

sipa commented May 21, 2016

yes

@tomatemozarella
Copy link
Author

great !
Thanks a lot
i have bitcoind.exe and bitcoin-cli.exe
bitcoind.exe is best ?

@maflcko
Copy link
Member

maflcko commented May 21, 2016

It would also work with bitcoin-qt.exe if that's what you are using.

@tomatemozarella
Copy link
Author

ok
i have bitcoin-qt.exe in directory Bitcoin
and
bitcoind.exe + bitcoin-cli.exe in directory Bitcoin/daemon
I have started " bitcoind.exe -reindex "
It is running ...
Any idea how long it will take ? :-)

@maflcko
Copy link
Member

maflcko commented May 21, 2016

Could make sense to add steps for windows to https://en.bitcoin.it/wiki/Running_Bitcoin, which is the first result for "reindex bitcoin windows" on google

@tomatemozarella
Copy link
Author

Thanks for the link !
Command line still running ...
Any idea of the time needed to rebuilt index with a slow internet connection ?

@sipa
Copy link
Member

sipa commented May 21, 2016

@tomatemozarella Close it, and run bitcoin-qt as you normally do instead. I will show a progress bar.

@tomatemozarella
Copy link
Author

ok thanks man !

@tomatemozarella
Copy link
Author

Very nice to have your support !
much appreciated !!

@laanwj laanwj closed this as completed May 21, 2016
@bitcoin bitcoin deleted a comment from SupportBlockchain Jan 29, 2018
@bitcoin bitcoin locked and limited conversation to collaborators Jan 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants