Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: JuanPabloCuervo on August 10, 2016, 03:55:55 PM



Title: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 10, 2016, 03:55:55 PM
Please make GPU Activation/Verification, CPU is vveeerrrryyyyy sssllloooowwww...!!!

~20% CPU intel i7-970 3.2GHz
Up Time 0:13:45:26
still processing.!

Makes me want to buy an E5-1680 v3 + supermicro X10SRA-F board. "the non -F does not have IPMI, what a waste."
http://www.cpu-monkey.com/en/compare_cpu-intel_core_i7_5960x-438-vs-intel_xeon_e5_1680_v3-490
http://www.cpu-monkey.com/en/cpu-intel_xeon_e5_1680_v3-490
https://www.supermicro.com/products/motherboard/Xeon/C600/X10SRA-F.cfm

Other threads about the same:
https://bitcointalk.org/index.php?topic=1152109.0
https://bitcointalk4.com/technical-support/bitcoin-core-stuck-at-activating-best-chain/
https://github.com/bitcoin/bitcoin/issues/7038
http://bitcoin.stackexchange.com/questions/41524/what-does-activating-best-chain-mean
https://www.reddit.com/r/Bitcoin/comments/3nb284/bitcoin_core_0110_stuck_at_activating_best_chain/
https://www.reddit.com/r/Bitcoin_Classic/comments/46vgw9/classic_node_stuck_on_activating_best_chain/
https://forum.bitnodes.io/t/error-code-28-message-activating-best-chain/67


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: achow101 on August 10, 2016, 04:30:42 PM
That's normal. Just wait.

How much RAM do you have?


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: cr1776 on August 10, 2016, 04:57:39 PM
In the next version - 0.13.0 - the "activating best chain" process should run in the background.


(see e.g. https://github.com/bitcoin/bitcoin/pull/7917  
https://github.com/bitcoin/bitcoin/issues/8299
)


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 10, 2016, 05:01:21 PM
That's normal. Just wait.

How much RAM do you have?

8GB ddr3 1333MHz,

i had 12GB, but for some reason... Kingston or X58 motherboards, do not like Triple Channel...
Memtest+ fail with triple channel,

i have 2 different x58 boards, both fail memory test.. exactly the same place.
BUT...

each memory module Pass OK individually.
want to buy another brand of memory to test.

but purchasing NonECC memory is a waste of money.
better to invest in a New Board with ECC Registered.

http://www.memtest.org/
http://www.memtest86.com/
http://hcidesign.com/memtest/

Windows Memory Diagnostic Pass, but in standar mode, if Advanced Fails.


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: cr1776 on August 10, 2016, 05:22:48 PM
...both fail memory test.. exactly the same place.
...

You should definitely get this resolved as this is a very memory intensive process.


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: oblivi on August 10, 2016, 06:43:06 PM
I have 4 gb and sometimes it takes ages... it's very annoying to be honest. I know 4GB is not much these days...
They are in good standing, memtest passed.


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 10, 2016, 07:42:38 PM
...both fail memory test.. exactly the same place.
...

You should definitely get this resolved as this is a very memory intensive process.

yes, using 2x works fine...
Both X58 boards are different brand, Asus & MSI.
error is at 11GB.

Anyway...
Up Time 0:17:43:00
still processing.!


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: achow101 on August 10, 2016, 07:55:44 PM
Can you post the debug.log file?


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 10, 2016, 08:16:56 PM
Can you post the debug.log file?

debug.log is 1GB...

donīt know how to post that here.

blocks folder decreased from 35.5GB to 33.9GB

Up Time 0:18:22:02
still processing.!


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: achow101 on August 10, 2016, 08:28:48 PM
Can you post the debug.log file?

debug.log is 1GB...

donīt know how to post that here.
Start from the bottom of the log and post as much as you can.


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 10, 2016, 09:32:54 PM
Can you post the debug.log file?

debug.log is 1GB...

donīt know how to post that here.
Start from the bottom of the log and post as much as you can.

It makes no sense...

To erase all and download again takes less time, all blocks takes at 10Mbps "1.25MB/s"
45GB in 10 Hours...
Validating Longest Chain is a waste of time.

But I will wait 24hours, then kaput.

Up Time 0:19:33:00
still processing.!


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 10, 2016, 09:48:51 PM
I have 4 gb and sometimes it takes ages... it's very annoying to be honest. I know 4GB is not much these days...
They are in good standing, memtest passed.

The problem is not memory, because task manager say Bitcoin only uses 164K, and 1.6GB total system.


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 10, 2016, 11:04:59 PM
Up Time 0:21:05:15
still processing.!


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: achow101 on August 11, 2016, 01:05:21 AM
Again, we need to see the log file. Just telling us how long it is taking does not help at all. The information you are giving us is not enough for anyone to diagnose the problem or be able help you.

If you give us the log file, we can better help you. Otherwise, just kill it and restart the program. It will not redownload the blockchain and it should not corrupt the database.


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 11, 2016, 01:10:23 AM
Again, we need to see the log file. Just telling us how long it is taking does not help at all. The information you are giving us is not enough for anyone to diagnose the problem or be able help you.

If you give us the log file, we can better help you. Otherwise, just kill it and restart the program. It will not redownload the blockchain and it should not corrupt the database.

Close & Open Bitcoin Core fast, it will Open 2 bitcoin in TaskManager, then close & Open again,
or remove the power from your PC, or The battery if its a laptop.
That's enough to Make "Activating Best Chain."
Or try to run in server mode with latest guiminer.

You Don't Need my lol file, you can have your own.
LOL.

Do it specially when you are 1 year behind. You won't regret it. LOL. Jajajajajaja

Up Time 0:23:18:15
Still processing...


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: achow101 on August 11, 2016, 01:35:36 AM
Again, we need to see the log file. Just telling us how long it is taking does not help at all. The information you are giving us is not enough for anyone to diagnose the problem or be able help you.

If you give us the log file, we can better help you. Otherwise, just kill it and restart the program. It will not redownload the blockchain and it should not corrupt the database.

Close & Open Bitcoin Core fast, it will Open 2 bitcoin in TaskManager, then close & Open again,
or remove the power from your PC, or The battery if its a laptop.
That's enough to Make "Activating Best Chain."
Or try to run in server mode with latest guiminer.
Everyone's computer is different. Bitcoin Core behaves differently depending on the computer, the software on your system, and whatever else that you did with it. It always depends on your installation. There are these things called edge cases, they aren't always reproducible and can be extremely difficult to intentionally cause.

You Don't Need my lol file, you can have your own.
LOL.
Since you refuse to let yourself to be helped, I will stop helping you.

Do it specially when you are 1 year behind. You won't regret it. LOL. Jajajajajaja

Up Time 0:23:18:15
Still processing...
And the key difference between you and me is that I know what I am doing and can identify the issue and resolve it myself. I won't go crying to some forum and then refuse help when it is offered. If I need help, I will ask for it and accept the assistance when it is offered. As a developer, I can find the issue, and if it can be reliably reproduced, fix the problem and submit a patch.



Edit: Did exactly what you said. Started Bitcoin Core, killed it via task manager. Did it again, no problems there. Started it again, pulled the plug on my computer, rebooted, started the program again, no problems there. So, as I said above, this problem is not reproducible, there are edge cases that happen. In order to diagnose the issue and in order to help you, we need to see the logs.


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: cr1776 on August 11, 2016, 01:53:13 AM
You should move this out of technical support, since you clearly don't want "technical support" and are just trolling.

Again, we need to see the log file. Just telling us how long it is taking does not help at all. The information you are giving us is not enough for anyone to diagnose the problem or be able help you.

If you give us the log file, we can better help you. Otherwise, just kill it and restart the program. It will not redownload the blockchain and it should not corrupt the database.

Close & Open Bitcoin Core fast, it will Open 2 bitcoin in TaskManager, then close & Open again,
or remove the power from your PC, or The battery if its a laptop.
That's enough to Make "Activating Best Chain."
Or try to run in server mode with latest guiminer.

You Don't Need my lol file, you can have your own.
LOL.

Do it specially when you are 1 year behind. You won't regret it. LOL. Jajajajajaja

Up Time 0:23:18:15
Still processing...


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 11, 2016, 04:52:07 PM
The problem is in the C:\bitcoin-0.12.1-win64
 folder
something gets corrupted...

i have deleted completely the C:\Users\jpc\AppData\Roaming\Bitcoin
3-times and downloading new blocks gives an error,
enters Activating Best Chain mode.
delete /Roaming/Bitcoin folder
downloading new blocks gives an error,
done 3-times.

deleted C:\bitcoin-0.12.1-win64
 folder and works again.

older Bitcoin 0.3.x, had a folder called BitData.
that change could have caused some problems.
file/folder structures are very different.

Original software was not designed like this.

for example: older wallets.dat do not work with new Bitcoin cores,
and older Bitcoin cannot download all blocks.


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: achow101 on August 11, 2016, 05:03:31 PM
The problem is in the C:\bitcoin-0.12.1-win64
 folder
something gets corrupted...
No such folder of that name should ever be created by the software unless you set that as the data directory or that is where you installed the progra. Having that folder is unusual; something is wrong here.

Is that folder created every time you run bitcoin core? Where did you download Bitcoin Core from?


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 11, 2016, 05:16:18 PM
The problem is in the C:\bitcoin-0.12.1-win64
 folder
something gets corrupted...
No such folder of that name should ever be created by the software unless you set that as the data directory or that is where you installed the progra. Having that folder is unusual; something is wrong here.

Is that folder created every time you run bitcoin core? Where did you download Bitcoin Core from?


i have WinRAR, drag clicking a .zip or .rar file can be extracted to a folder named exactly the same as the file name or not...
http://rarsoft.com/download.htm

i have downloaded BitCoin Core 0.12.1 from:
https://bitcoin.org/bin/bitcoin-core-0.12.1/bitcoin-0.12.1-win64.zip

i like to download .zip or .rar because it can be crc32 verified by WinRAR,
i donīt like to download .exe because i canīt see whatīs inside, before itīs too late.

error happened again...
problem must be or mi Wi-Fi adapter RTL8192SL drivers are crap, or my ISP provider.
nothing like RTL8187 compatible with everything.
My SSD error check pass OK, with Windows disk error check and with HDTune:
http://www.hdtune.com/download.html
and with Samsung Magician.
http://www.samsung.com/semiconductor/minisite/ssd/download/tools.html

Quote
2016-08-11 17:08:35 UpdateTip: new best=00000000000000671151640efa35800a6a7d3d8297554c38048e1deb4ca0e951  height=246825  log2_work=70.745525  tx=20737349  date=2013-07-16 06:57:57 progress=0.070779  cache=63.5MiB(62364tx)
2016-08-11 17:08:35 UpdateTip: new best=000000000000003412ac98bcc5885de616e0729efd0102b8b999b7d144e14b5b  height=246826  log2_work=70.745607  tx=20737362  date=2013-07-16 07:07:25 progress=0.070779  cache=63.5MiB(62369tx)
2016-08-11 17:08:35 UpdateTip: new best=000000000000005d720e236dc888377a9c6a4f312e88259a6d8c5b333e8a97c0  height=246827  log2_work=70.745689  tx=20737582  date=2013-07-16 07:20:29 progress=0.070780  cache=63.6MiB(62623tx)
2016-08-11 17:08:35 UpdateTip: new best=000000000000004e79a680599d4e3a2f3fc244d7ef7238666fa52418008d53a0  height=246828  log2_work=70.745771  tx=20738005  date=2013-07-16 07:33:26 progress=0.070781  cache=63.9MiB(62859tx)
2016-08-11 17:08:35 UpdateTip: new best=000000000000006a8dc175ed0b4c792a4de2d545a33afba0394d19a4837ce922  height=246829  log2_work=70.745853  tx=20738056  date=2013-07-16 07:34:38 progress=0.070782  cache=63.9MiB(62875tx)
2016-08-11 17:08:35 UpdateTip: new best=0000000000000022c5c66dd8dabaf23a76d066848abde8f3c10622ccc9f58708  height=246830  log2_work=70.745935  tx=20738092  date=2013-07-16 07:41:59 progress=0.070782  cache=63.9MiB(62896tx)
2016-08-11 17:08:35 UpdateTip: new best=00000000000000a2f691004edb30e2fde29395ec4ef842815be11ee943f079d5  height=246831  log2_work=70.746016  tx=20738601  date=2013-07-16 08:01:17 progress=0.070783  cache=64.1MiB(63263tx)
2016-08-11 17:08:36 Corruption: block checksum mismatch
2016-08-11 17:08:36 *** System error while flushing: Database corrupted
2016-08-11 17:08:48 ERROR: ProcessNewBlock: ActivateBestChain failed
2016-08-11 17:08:48 Corruption: block checksum mismatch
2016-08-11 17:08:48 *** System error while flushing: Database corrupted
2016-08-11 17:08:48 ERROR: ProcessNewBlock: ActivateBestChain failed
2016-08-11 17:08:48 tor: Thread interrupt
2016-08-11 17:08:48 Corruption: block checksum mismatch
2016-08-11 17:08:48 *** System error while flushing: Database corrupted
2016-08-11 17:08:48 torcontrol thread exit
2016-08-11 17:08:48 opencon thread interrupt
2016-08-11 17:08:48 addcon thread interrupt
2016-08-11 17:08:48 scheduler thread interrupt
2016-08-11 17:08:48 net thread interrupt
2016-08-11 17:08:51 ERROR: ProcessNewBlock: ActivateBestChain failed
2016-08-11 17:08:51 msghand thread interrupt
2016-08-11 17:08:51 Shutdown: In progress...
2016-08-11 17:08:51 StopNode()
2016-08-11 17:08:51 Corruption: block checksum mismatch
2016-08-11 17:08:51 *** System error while flushing: Database corrupted
2016-08-11 17:08:52 Shutdown: done


Title: Re: bitcoin core v12.1 stuck at activating best chain AGAIN!!!
Post by: JuanPabloCuervo on August 15, 2016, 03:20:45 AM
I have downloaded blocks on Linux, Bitcoin Client "older version of Bitcoin Core", i liked more the Client,
anyway...

copyed Bitcoin data folder from Linux to Windows...
and Windows Bitcoin Core 0.12.1 is doing "Rendering Blocks on Disk"

very high CPU: All cores 50% except 1x working at 100% Load.
same thing as "Activating Best Chain!"

still want to buy an E5-1680v3, this is ridiculous.!

3 years 20 weeks behind!
and processing...

the good thing about Rendering Blocks vs. Activating Best Chain is that i can see progress...

3 years 15 weeks behind!
Windows gives a Visual C++ error! "contact the Team"

Quote
2016-08-15 03:25:32 UpdateTip: new best=00000000000000c247572fe2e2e891465762548008dbce7c4cd83d7ab2c6933b  height=233299  log2_work=69.87559  tx=16806467  date=2013-04-26 19:48:27 progress=0.057162  cache=18.7MiB(6397tx)
2016-08-15 03:25:32 UpdateTip: new best=000000000000009937fb932fd95b0116184868b80e6ff251fc0a14804294e5aa  height=233300  log2_work=69.875641  tx=16806812  date=2013-04-26 19:57:24 progress=0.057163  cache=19.2MiB(6835tx)
2016-08-15 03:25:32 UpdateTip: new best=000000000000000ab566fd6efcecffcbd9a833d495979233df2fa0b921249224  height=233301  log2_work=69.875693  tx=16807015  date=2013-04-26 20:06:57 progress=0.057164  cache=20.4MiB(7373tx)
2016-08-15 03:25:32 UpdateTip: new best=00000000000000d7cb76882cbd7c17dc817ef9fa1861a1c6173217ab212d79d3  height=233302  log2_work=69.875744  tx=16807400  date=2013-04-26 20:08:23 progress=0.057165  cache=20.7MiB(7782tx)
2016-08-15 03:25:32 LevelDB read failure: Corruption: block checksum mismatch
2016-08-15 03:25:32 Corruption: block checksum mismatch
2016-08-15 03:25:45 Error reading from database: Database corrupted


i think i know why Linux Works & Windows7x64 fails.!
i have PACE Anti-Piracy, Inc. Visual C++ v1.1.0.0929
from iLok License Manager v2.6.0.1134 installed, but i cannot remove that.
a clean windows install must be made if those drivers FAiL or get corrupted, too secure, does not work unistalling and re installing.
Once installed act like a Blood Sucker.! LOL.

was not the Wi-Fi.