Bitcoin Forum
June 22, 2024, 10:20:18 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: Error: A fatal internal error occured, see dubug.log for details [UPDATED] on: October 10, 2017, 06:14:25 PM
I'm running -rescan and -reindex right now. It's sitting at about 17% with an "Unknown" number of blocks left. Syncing headers.
2  Bitcoin / Bitcoin Technical Support / Re: Error: A fatal internal error occured, see dubug.log for details [UPDATED] on: October 05, 2017, 08:01:28 PM
Thanks for the replies.


Can you post the debug.log from the start of the last session?
If nothing shows up, then use the command -debug as well to check if there's anything extra that might be missed by the regular command, that'll be a bit longer though.
Can you also state the version you're using?

If you for some reason don't want to post the reindex command, you could try the -reindex command (or it's already reindexing for you as it appears that is what you mean buy it trying to sync again.

Here is the debug (kinda big)

You could check the db.log file as well. It might have something to do with that. As for the permission part, I believe that when you use sudo, since you run as root, bitcoin-qt probably uses root home directory and it looks for the data directory there, which is probably "/root/.bitcoin". You can check if that folder was created and if it was, there is your answer to why it syncs again.

PS: In future, don't run any programs as root unless it was intended as so by the program creators. I know it was maybe your last resort, but last thing you want is a buggy network program to be running as root on your device.

He said the version in the OP, you missed it. "Running bitcoin client v0.14.2.0-91be5e3e-dirty on raspbian"

db.log is empty. /root/.bitcoin was where the original "blocks" folder was created, and I don't see an additional one.
3  Bitcoin / Bitcoin Technical Support / Error: A fatal internal error occured, see dubug.log for details [UPDATED] on: October 03, 2017, 07:19:08 PM
I ran ./bitcoin-qt and synced the blockchain without issue. However, when I start qt, I get the following "Error: A fatal internal error occured, see dubug.log for details".

Last 5 lines from debug.log text:

    2017-08-25 06:04:16 HTTP: starting 4 worker threads
    2017-08-25 06:04:16 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
    2017-08-25 06:04:16 Using wallet wallet.dat
    2017-08-25 06:04:16 init message: Verifying wallet...
    2017-08-25 06:04:16 CDBEnv::Open: LogDir=/home/pi/.bitcoin/database ErrorFile=/home/pi/.bitcoin/db.log

This doesn't seem like a whole lot for me to go on, so my instinct is that it is some sort of permission error.

When I execute `sudo ./bitcoin-qt` qt seemingly tries to sync the entire blockchain (again); I already have 139.6GB in the "blocks" folder.

Also of note: I am not sure this is relevant but at an uncertain point terminal output the following:
    pi@raspberrypi:~/bin/bitcoin/src/qt $ ./bitcoin-qt
    bitcoin-qt: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:81: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.
    Aborted

Running bitcoin client v0.14.2.0-91be5e3e-dirty on raspbian 
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!