Error when launching Bitcoin Core #29995

issue zPapaBear openend this issue on April 29, 2024
  1. zPapaBear commented at 2:34 pm on April 29, 2024: none

    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

  2. maflcko commented at 2:37 pm on April 29, 2024: member

    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

  3. maflcko added the label Windows on Apr 29, 2024
  4. maflcko added the label Data corruption on Apr 29, 2024
  5. maflcko added the label Resource usage on Apr 29, 2024
  6. zPapaBear commented at 2:39 pm on April 29, 2024: none
    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.
  7. maflcko commented at 2:42 pm on April 29, 2024: member

    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.

  8. zPapaBear commented at 2:44 pm on April 29, 2024: none
    alright, how can i know which file is corrupt and fix it?
  9. hebasto commented at 2:46 pm on April 29, 2024: member

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

  10. zPapaBear commented at 2:51 pm on April 29, 2024: none
    Direct download from https://bitcoin.org/en/download. I hope its called a package manager, or its my mistake for filing it as such.
  11. maflcko commented at 2:52 pm on April 29, 2024: member

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

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

  12. zPapaBear commented at 2:54 pm on April 29, 2024: none

    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?

  13. zPapaBear commented at 3:03 pm on April 29, 2024: none

    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.

  14. maflcko commented at 3:09 pm on April 29, 2024: member
    Is this an external HDD? What is the filesystem?
  15. zPapaBear commented at 3:13 pm on April 29, 2024: none

    Is this an external HDD? What is the filesystem?

    Windows 10, internal HDD.

  16. maflcko commented at 3:18 pm on April 29, 2024: member

    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.

  17. zPapaBear commented at 3:21 pm on April 29, 2024: none

    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.

  18. maflcko commented at 5:21 am on April 30, 2024: member

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

    If you told it to reindex, it will reindex.

  19. zPapaBear commented at 7:13 am on May 1, 2024: none

    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?

  20. maflcko commented at 7:16 am on May 1, 2024: member
    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.
  21. zPapaBear commented at 7:21 am on May 1, 2024: none

    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

  22. maflcko commented at 7:28 am on May 1, 2024: member
    How long IBD takes depends on the speed of your CPU and other hardware components.
  23. zPapaBear commented at 7:29 am on May 1, 2024: none

    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?

  24. maflcko commented at 7:44 am on May 1, 2024: member

    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.

  25. maflcko commented at 9:11 am on May 4, 2024: member
    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.
  26. maflcko closed this on May 4, 2024


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-21 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me