Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: rhjones19 on November 29, 2020, 01:01:38 AM



Title: Bitcoin Core - fatal internal error
Post by: rhjones19 on November 29, 2020, 01:01:38 AM
This is what I found in the debug.log - ERROR: ReadBlockFromDisk: Errors in block header at FlatFilePos(nFile=128, nPos=881892)

How can I fix it.

Thanks

Roz


Title: Re: Bitcoin Core - fatal internal error
Post by: ranochigo on November 29, 2020, 03:27:31 AM
You've given us too little information. What version are you using, did you modify your Bitcoin Core in any way?

It's usually due to a corrupted block file and would require a reindex. I assume you're asking as the next line says failed to read block?


Title: Re: Bitcoin Core - fatal internal error
Post by: rhjones19 on November 29, 2020, 04:39:18 PM
I'm using Bitcoin Core 0.20.1

I've never force closed the software.  I'm using an old MacBook Pro, I just wish I could afford a new one.

Roz


Title: Re: Bitcoin Core - fatal internal error
Post by: TofuDefi on November 30, 2020, 10:38:23 AM
I'm using Bitcoin Core 0.20.1

I've never force closed the software.  I'm using an old MacBook Pro, I just wish I could afford a new one.

Roz

Looks like some part of your blockchain files were corrupted. Check your disk and make backup of everything important. If disk is ok you can delete blockchain files and download it again, but it will take time.


Title: Re: Bitcoin Core - fatal internal error
Post by: ranochigo on November 30, 2020, 11:02:43 AM
Looks like some part of your blockchain files were corrupted. Check your disk and make backup of everything important. If disk is ok you can delete blockchain files and download it again, but it will take time.
You don't have to delete the blocks, doing so would just result in additional bandwidth and time wasted to download all the blocks again. You should run Bitcoin Core with a -reindex flag. It'll rebuild the blocks using the existing data again and will take quite a while.

OP, did the client prompt you to reindex or are you encountering any errors in the client other than the debug.log.


Title: Re: Bitcoin Core - fatal internal error
Post by: bob123 on November 30, 2020, 11:48:42 AM
Check this out: [READ BEFORE POSTING] Tech Support Help Request Format (https://bitcointalk.org/index.php?topic=1741772.0)


I don't see nearly as much information as needed to help you out.



I'm using an old MacBook Pro, I just wish I could afford a new one.

Or.. you could spent 1/4 of the cost for even better hardware instead of buying into a brand. Up to you.