bitcoin/bitcoin

Error when launching Bitcoin Core

zPapaBear opened this issue · 21 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current behaviour

image
Basically im getting this error while launching, and im fairly new to this so trying to understand what i can do to fix after the 600 gb download. i'm not able to download it all again.

Expected behaviour

the application to run normally

Steps to reproduce

its just on launch. nothing more.

Relevant log output

No response

How did you obtain Bitcoin Core

Package manager

What version of Bitcoin Core are you using?

v25.0.0

Operating system and version

Windows 10

Machine specifications

No response

Bitcoin Core makes heavy use of CPU, RAM and disk IO. Hardware defects might only become visible when running Bitcoin Core. You might want to check your hardware for defects.

  • memtest86 to check your RAM
  • to check the CPU behaviour under load, use linpack or Prime95
  • to test your storage device use smartctl or CrystalDiskInfo

Source: https://bitcoin.stackexchange.com/a/12206

ram and cpu are fine, and i believe the drive also is working fine. i took the files and moved them to another HDD. still same issue on launch.

i took the files and moved them to another HDD. still same issue on launch.

Yes, file corruption can not be fixed by moving the corrupt files from one storage to another.

alright, how can i know which file is corrupt and fix it?

How did you obtain Bitcoin Core

Package manager

What package manager exactly?

Does the error happen with the recent official Windows binaries from https://bitcoincore.org/bin/bitcoin-core-27.0/ ?

Direct download from https://bitcoin.org/en/download.
I hope its called a package manager, or its my mistake for filing it as such.

alright, how can i know which file is corrupt and fix it?

I think a -reindex-chainstate should be good enough.

alright, how can i know which file is corrupt and fix it?

I think a -reindex-chainstate should be good enough.

alright, where can i run this command though?

alright, how can i know which file is corrupt and fix it?

I think a -reindex-chainstate should be good enough.

image
still same launch result.

Is this an external HDD? What is the filesystem?

Is this an external HDD? What is the filesystem?

Windows 10, internal HDD.

Which filesystem is the HDD that holds the datadir? For example, NTFS is a possible filesystem.

In any case, this error should not happen, unless there is a serious bug, or the data on the storage is corrupt. If -reindex-chainstate does not work, you can try -reindex, but they will only fight the symptom temporarily. The issue will come back at some point, because if it was a bug, it will remain unfixed, or if the storage is corrupt, it will also not be fixed by setting a flag in the software.

Which filesystem is the HDD that holds the datadir? For example, NTFS is a possible filesystem.

In any case, this error should not happen, unless there is a serious bug, or the data on the storage is corrupt. If -reindex-chainstate does not work, you can try -reindex, but they will only fight the symptom temporarily. The issue will come back at some point, because if it was a bug, it will remain unfixed, or if the storage is corrupt, it will also not be fixed by setting a flag in the software.

i just downloaded the v27 of bitcoin core and it launched past the error. This was the launch result:
image
is it supposed to do this? i already had 590gb of the blockchain downloaded.
as for the filesystem its NTFS yes.

is it supposed to do this? i already had 590gb of the blockchain downloaded.

If you told it to reindex, it will reindex.

is it supposed to do this? i already had 590gb of the blockchain downloaded.

If you told it to reindex, it will reindex.

Alright, its been "Processing blocks on disk" for about 2 days now, without internet.
Is it just reading and verifying whats there or something else? also does it normally take so long?

You can check the progress window to see the progress and what it is doing currently. Also, you can use the task manager to see the CPU usage, or IO, to see whether it is doing work.

You can check the progress window to see the progress and what it is doing currently. Also, you can use the task manager to see the CPU usage, or IO, to see whether it is doing work.

as i said, it says "processing blocks on disk" with about 6 years remaining. But its gonna take about a week at this rate to do so, thus why im checking if its something normal. is it?

i got it on an ssd connected by usb to a laptop

How long IBD takes depends on the speed of your CPU and other hardware components.

How long IBD takes depends on the speed of your CPU and other hardware components.

if i remove the ssd and plug it to a more powerful pc, does it continue? or will it restart?

Usually the issue tracker is used to track technical issues related to the Bitcoin Core code base.

General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange or the #bitcoin IRC channel on Libera Chat, or one of the Bitcoin subreddits, or any other place that you feel is well suited.

Closing for now, but please leave a comment if you have more information indicating that this is a bug in the software, as opposed to a user error, or corrupt hardware.