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

Error when launching Bitcoin Core #29995

Closed
1 task done
zPapaBear opened this issue Apr 29, 2024 · 21 comments
Closed
1 task done

Error when launching Bitcoin Core #29995

zPapaBear opened this issue Apr 29, 2024 · 21 comments

Comments

@zPapaBear
Copy link

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

@maflcko
Copy link
Member

maflcko commented Apr 29, 2024

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

@zPapaBear
Copy link
Author

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.

@maflcko
Copy link
Member

maflcko commented Apr 29, 2024

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.

@zPapaBear
Copy link
Author

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

@hebasto
Copy link
Member

hebasto commented Apr 29, 2024

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/ ?

@zPapaBear
Copy link
Author

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

@maflcko
Copy link
Member

maflcko commented Apr 29, 2024

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

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

@zPapaBear
Copy link
Author

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?

@zPapaBear
Copy link
Author

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.

@maflcko
Copy link
Member

maflcko commented Apr 29, 2024

Is this an external HDD? What is the filesystem?

@zPapaBear
Copy link
Author

Is this an external HDD? What is the filesystem?

Windows 10, internal HDD.

@maflcko
Copy link
Member

maflcko commented Apr 29, 2024

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.

@zPapaBear
Copy link
Author

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.

@maflcko
Copy link
Member

maflcko commented Apr 30, 2024

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

If you told it to reindex, it will reindex.

@zPapaBear
Copy link
Author

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?

@maflcko
Copy link
Member

maflcko commented May 1, 2024

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.

@zPapaBear
Copy link
Author

zPapaBear commented May 1, 2024

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

@maflcko
Copy link
Member

maflcko commented May 1, 2024

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

@zPapaBear
Copy link
Author

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?

@maflcko
Copy link
Member

maflcko commented May 1, 2024

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.

@maflcko
Copy link
Member

maflcko commented May 4, 2024

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.

@maflcko maflcko closed this as completed May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants