Author

Topic: Bitcoin Core keeps crashing while opening (Read 3633 times)

legendary
Activity: 3808
Merit: 7912
June 14, 2016, 09:40:18 PM
#31
Yes ! When everything is ok I let you know, but it may take 1 month lol !

Isn't it a way to download the blocks from somewhere else than the wallet which is slow ?

 How about an update?  Is the program still running? Can you see any progress?
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
Yes ! When everything is ok I let you know, but it may take 1 month lol !

Isn't it a way to download the blocks from somewhere else than the wallet which is slow ?

Only other way is using bootstrap.dat. But they're downloaded using torrent and the download speed depends on the number of seed/peers. And you'll have to download the entire bootstrap which almost as huge as the current block size. The latest one is here (posted by wayneyoyo).

Edit:
Oh wait. That's not bootstrap.dat but the archived block files. Not much difference, though. The bootstrap.dat download link is posted on the first post of that thread.
member
Activity: 83
Merit: 10
Yes ! When everything is ok I let you know, but it may take 1 month lol !

Isn't it a way to download the blocks from somewhere else than the wallet which is slow ?
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
about 20 hours yes I have a 4 year old mac

No it been 12 hours !

Ok I checked it is not reindexing, it is downloading the blocks now

Ah. That's good. I think reindexing fixed your problem. Post here if it still crashes after all that.
member
Activity: 83
Merit: 10
about 20 hours yes I have a 4 year old mac

No it been 12 hours !

Ok I checked it is not reindexing, it is downloading the blocks now
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
Ok lol now it's 2 years and 25 weeks, I will let you know in 2 weeks

It's been what, 20 hours? You're still reindexing after all that time? That's not normal. If it goes on for 20 hours more it'll be faster to delete the block files and resync (if you don't mind the redownloading.).
member
Activity: 83
Merit: 10
Ok lol now it's 2 years and 25 weeks, I will let you know in 2 weeks
legendary
Activity: 3808
Merit: 7912
That's good news.  Hopefully this fixes your crashing issue.
Let us know!
member
Activity: 83
Merit: 10
It's been reindexing since 8:37p yesterday.

It's 7:57am

It has reindexed until 2 years and 48 weeks.

And I don't have all the blocks on my computer since I hadn't opened bitcoin wallet since about 1-2 years.
legendary
Activity: 3808
Merit: 7912
If I go to another disk and copy paste wallet.dat will it work ?

 This will work but it would take days to get the entire block chain and you would have to rescan which would also take quite some time.
Are you saying it crashed again when you ran Bitcoin-qt with the -reindex command?  Is it running or not?

 I had to reindex on my laptop computer in the fall of last year and it took a good portion of a day.  My laptop contained an I7-720M with an SSD - the speed of your computer and virtual memory is critical in determining how long it will take.
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
If I go to another disk and copy paste wallet.dat will it work ?

No because wallet.dat only have your wallet info and not the blocks. This is seems to be an issue with verifying blocks. Something which to my understanding usually caused by corrupted files or bad sectors in harddisk.

And I forgot that you can try downloading the whole blockchain again before trying to reformat.
member
Activity: 83
Merit: 10
If I go to another disk and copy paste wallet.dat will it work ?
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
Yes it crashes always at the same point... "Verifying last 288 blocks at level 3"

WOOOW your command opened the wallet in 1 second !

What should I do now, if it keeps crashing ?

How long does it takes to reindex ?

Few minutes to couple of hours depending on your pc's performance, your sync stats before, and how bad the damage is.

If it keeps crashing then I don't know what to do except to reformat your harddisk (that's what I once did.).
member
Activity: 83
Merit: 10
Yes it crashes always at the same point... "Verifying last 288 blocks at level 3"

WOOOW your command opened the wallet in 1 second !

What should I do now, if it keeps crashing ?

How long does it takes to reindex ?
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
There is nothing after this line,

I suppose the program crash at this moment

For the console

Marie-Stellas-MacBook-Pro:~ Ilan$ /Applications/bitcoin-qt.app -reindex
-bash: /Applications/bitcoin-qt.app: is a directory

Marie-Stellas-MacBook-Pro:~ Ilan$ bitcoin-qt -reindex
-bash: bitcoin-qt: command not found

It's /Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt -reindex

And in the debug.log, there should be some spaces between each of your sessions. You said the client crashed multiple times so check the last few lines of each sessions which the client crashed on and see if they are the same.

You can copy the debug.log and clear it, by the way. That way the file won't be so huge for you to post it here.
member
Activity: 83
Merit: 10
There is nothing after this line,

I suppose the program crash at this moment

For the console

Marie-Stellas-MacBook-Pro:~ Ilan$ /Applications/bitcoin-qt.app -reindex
-bash: /Applications/bitcoin-qt.app: is a directory

Marie-Stellas-MacBook-Pro:~ Ilan$ bitcoin-qt -reindex
-bash: bitcoin-qt: command not found
legendary
Activity: 3808
Merit: 7912
Hey guys thanks for the help and messages my computer was not with me, I was at my GF place :p

I try your solution now

However I'm on mac, will it work with the .exe extension ?
Just omit the .exe part.

today's debug.log
Is that it? We need to see the full thing.

The entire file is huge,

I have omited the .exe part but I get an invalid command


 Okay then, first show us the next 30 lines of the log after this line
Code:
2016-06-10 15:35:46 Verifying last 288 blocks at level 3
and also show us what you are typing into the console that gives an invalid command.
member
Activity: 83
Merit: 10
Hey guys thanks for the help and messages my computer was not with me, I was at my GF place :p

I try your solution now

However I'm on mac, will it work with the .exe extension ?
Just omit the .exe part.

today's debug.log
Is that it? We need to see the full thing.

The entire file is huge,

I have omited the .exe part but I get an invalid command
legendary
Activity: 2814
Merit: 2472
https://JetCash.com
Just as an aside. I back up the blockchain as well as my wallet. I don't want to have to download the blockchain again if I have a hardware problem.
staff
Activity: 3458
Merit: 6793
Just writing some code
Hey guys thanks for the help and messages my computer was not with me, I was at my GF place :p

I try your solution now

However I'm on mac, will it work with the .exe extension ?
Just omit the .exe part.

today's debug.log
Is that it? We need to see the full thing.
member
Activity: 83
Merit: 10
Hey guys thanks for the help and messages my computer was not with me, I was at my GF place :p

I try your solution now

However I'm on mac, will it work with the .exe extension ?

today's debug.log

2016-06-10 15:35:28 Bitcoin version v0.12.1 (2016-04-11 13:01:43 +0200)
2016-06-10 15:35:28 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2016-06-10 15:35:32 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2016-06-10 15:35:32 Default data directory /Users/Ilan/Library/Application Support/Bitcoin
2016-06-10 15:35:32 Using data directory /Users/Ilan/Library/Application Support/Bitcoin
2016-06-10 15:35:32 Using config file /Users/Ilan/Library/Application Support/Bitcoin/bitcoin.conf
2016-06-10 15:35:32 Using at most 125 connections (2560 file descriptors available)
2016-06-10 15:35:32 Using 2 threads for script verification
2016-06-10 15:35:32 Using wallet wallet.dat
2016-06-10 15:35:32 scheduler thread start
2016-06-10 15:35:32 init message: Verifying wallet...
2016-06-10 15:35:32 CDBEnv::Open: LogDir=/Users/Ilan/Library/Application Support/Bitcoin/database ErrorFile=/Users/Ilan/Library/Application Support/Bitcoin/db.log
2016-06-10 15:35:35 Bound to [::]:8333
2016-06-10 15:35:35 Bound to 0.0.0.0:8333
2016-06-10 15:35:35 Cache configuration:
2016-06-10 15:35:35 * Using 2.0MiB for block index database
2016-06-10 15:35:35 * Using 32.5MiB for chain state database
2016-06-10 15:35:35 * Using 65.5MiB for in-memory UTXO set
2016-06-10 15:35:35 init message: Loading block index...
2016-06-10 15:35:35 Opening LevelDB in /Users/Ilan/Library/Application Support/Bitcoin/blocks/index
2016-06-10 15:35:36 Opened LevelDB successfully
2016-06-10 15:35:36 Using obfuscation key for /Users/Ilan/Library/Application Support/Bitcoin/blocks/index: 0000000000000000
2016-06-10 15:35:36 Opening LevelDB in /Users/Ilan/Library/Application Support/Bitcoin/chainstate
2016-06-10 15:35:39 Opened LevelDB successfully
2016-06-10 15:35:39 Using obfuscation key for /Users/Ilan/Library/Application Support/Bitcoin/chainstate: 60e545cbe8463538
2016-06-10 15:35:45 LoadBlockIndexDB: last block file = 23
2016-06-10 15:35:45 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=282, size=49159492, heights=272691...273714, time=2013-12-02...2013-12-08)
2016-06-10 15:35:45 Checking all blk files are present...
2016-06-10 15:35:45 LoadBlockIndexDB: transaction index disabled
2016-06-10 15:35:45 LoadBlockIndexDB: hashBestChain=00000000000000048a7b11f71c6ee2926bb2b91e5e20fd953446f7f2be18fb2d height=272857 date=2013-12-03 13:46:45 progress=0.103760
2016-06-10 15:35:46 init message: Verifying blocks...
2016-06-10 15:35:46 Verifying last 288 blocks at level 3
legendary
Activity: 3808
Merit: 7912
Wow.  Twenty-four hours and OP hasn't logged in since.  Maybe it was a hardware issue and the computer died.
legendary
Activity: 3808
Merit: 7912
yes my wallet.dat file is secure and copied somewhere else also !

 Excellent.  Since you recently updated the version, I think the first thing to try is rebuilding the block chain index.
From the command line, run bitcoin-qt.exe with the -reindex command.

That's not going to help with the software continuously crashing.

OP, please post the debug.log file. It should be in the same place that you found the wallet.dat file.

 Program crashed on thread 7 which appeared to me to be running the UniValue subroutine which contains the comments

143     // Strict type-specific getters, these throw std::runtime_error if the
144     // value is of unexpected type

Which lead me to believe the block chain index needs to be rebuilt.  I believe that running the bitcoin-qt executable with the -reindex command will accomplish this task.  That being said, it could be a hardware issue - perhaps some bad memory?

 You may be right but it can't hurt to try my advice.  Worst case scenario is another program crash.



staff
Activity: 3458
Merit: 6793
Just writing some code
yes my wallet.dat file is secure and copied somewhere else also !

 Excellent.  Since you recently updated the version, I think the first thing to try is rebuilding the block chain index.
From the command line, run bitcoin-qt.exe with the -reindex command.

That's not going to help with the software continuously crashing.

OP, please post the debug.log file. It should be in the same place that you found the wallet.dat file.
legendary
Activity: 3808
Merit: 7912
yes my wallet.dat file is secure and copied somewhere else also !

 Excellent.  Since you recently updated the version, I think the first thing to try is rebuilding the block chain index.
From the command line, run bitcoin-qt.exe with the -reindex command.
member
Activity: 83
Merit: 10
yes my wallet.dat file is secure and copied somewhere else also !
legendary
Activity: 3808
Merit: 7912
The wallet.dat file should be store here  ~/Library/Application Support/Bitcoin/
on a Mac.  Make a copy of that before you do anything else.
staff
Activity: 3458
Merit: 6793
Just writing some code
Please post the debug.log file, your crash log means nothing to us as that is generated by the OS, not Bitcoin Core.

Your Bitcoin is safe so long as you do not delete your wallet.dat file. It doesn't matter whether your wallet is synced as once the transaction is in the blockchain, the wallet will be able to find it when it does sync up.
legendary
Activity: 3556
Merit: 9709
#1 VIP Crypto Casino
You'll get better advice here bro - https://bitcointalk.org/index.php?board=4.0

Too many trolls & people who haven't got a clue in this section.
legendary
Activity: 3808
Merit: 7912
Hey

I updated bitcoin core recently, it worked perfectly fine until yesterday when I came home I found a crash notice, I tried to reopen it, and it keeps crashing with this message, I'm on mac

What is going on, I don't want to loose my coin Sad

The error message is too long for here so I pasted it

http://pastebin.com/58bBBkEQ

Thanks

Also I transfered some btc to my wallet from coinbase when my wallet was not yet updated, have I lost those btc ? Since my wallet is crashing, the wallet has not yet retrieves the coins ? Will my wallet.dat file retrieve the btc that I have not yet in my wallet if I completely change it.

 The transfer from coinbase doesn't care if your wallet is update or not - it happened.    Have you made a backup of your wallet.dat file? 
member
Activity: 83
Merit: 10
Hey

I updated bitcoin core recently, it worked perfectly fine until yesterday when I came home I found a crash notice, I tried to reopen it, and it keeps crashing with this message, I'm on mac

What is going on, I don't want to loose my coin Sad

The error message is too long for here so I pasted it

http://pastebin.com/58bBBkEQ

Thanks

Also I transfered some btc to my wallet from coinbase when my wallet was not yet updated, have I lost those btc ? Since my wallet is crashing, the wallet has not yet retrieves the coins ? Will my wallet.dat file retrieve the btc that I have not yet in my wallet if I completely change it.

I don't know if it makes sens lol

So I transfered some btc from coinbase to my wallet, then I updated it, then while the wallet was reindexing the blocks, I arrived at the time where it retrieved my original btc, but not the new ones, then it crashed, and now it keeps crashing, and I'm wondering if I change totally the wallet and copy paste my wallet.dat, if it will retrieve the new btc I bought before the update.

thanks
Jump to: