Bitcoin Forum
May 11, 2024, 01:46:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: can't sync database.. always different error messages  (Read 1365 times)
AnCapFree (OP)
Member
**
Offline Offline

Activity: 154
Merit: 10


View Profile
October 12, 2015, 09:11:56 PM
 #1

I was getting

"error: a fatal internal error occurred. see debug.log for details" and also

MinGW Runtime Assertion

Assertion failed!

Program: C:\Program Files\Bitcoin\bitcoin-qt.exe
File: Main.cpp Line 1789

Expression: hashPrevBlock == view.getBestBlock()




I've tried reindexing but now it just showed me "error: a fatal internal error occurred. see debug.log for details"


The debug.log but I've taken this from the end when it appears that things started to go to hell


2015-10-12 02:30:00 LoadExternalBlockFile: Processing out of order child 00000000000000002f6d526c8fc6c9fa33751da5ef11b09fb5b51e8e111e96d6 of 000000000000000060e324620c21e32d8b436b7df21760ff0e8330ea2b73ce19
2015-10-12 02:30:01 UpdateTip: new best=00000000000000002f6d526c8fc6c9fa33751da5ef11b09fb5b51e8e111e96d6  height=303254  log2_work=78.878142  tx=39756095  date=2014-05-30 02:56:44 progress=0.259639  cache=49.1MiB(12357tx)
2015-10-12 02:30:04 UpdateTip: new best=00000000000000003930122f048abff5a3ecd3c82bb391040985949af4d57c92  height=303255  log2_work=78.878259  tx=39757103  date=2014-05-30 03:22:52 progress=0.259664  cache=60.1MiB(14254tx)
2015-10-12 02:30:04 Corruption: block checksum mismatch
2015-10-12 02:30:04 *** System error while flushing: Database corrupted
2015-10-12 02:41:20 UPnP Port Mapping successful.
2015-10-12 03:01:20 UPnP Port Mapping successful.
2015-10-12 03:21:20 UPnP Port Mapping successful.
2015-10-12 03:41:20 UPnP Port Mapping successful.
2015-10-12 04:01:20 UPnP Port Mapping successful.
2015-10-12 04:21:20 UPnP Port Mapping successful.
2015-10-12 04:41:20 UPnP Port Mapping successful.
2015-10-12 05:01:20 UPnP Port Mapping successful.
2015-10-12 05:21:20 UPnP Port Mapping successful.
2015-10-12 05:41:20 UPnP Port Mapping successful.
2015-10-12 06:01:20 UPnP Port Mapping successful.
2015-10-12 06:21:20 UPnP Port Mapping successful.
2015-10-12 06:41:20 UPnP Port Mapping successful.
2015-10-12 07:01:20 UPnP Port Mapping successful.
2015-10-12 07:21:41 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 07:42:02 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 08:02:05 UPnP Port Mapping successful.
2015-10-12 08:22:26 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 08:42:29 UPnP Port Mapping successful.
2015-10-12 09:02:29 UPnP Port Mapping successful.
2015-10-12 09:22:29 UPnP Port Mapping successful.
2015-10-12 09:42:29 UPnP Port Mapping successful.
2015-10-12 10:02:29 UPnP Port Mapping successful.
2015-10-12 10:22:29 UPnP Port Mapping successful.
2015-10-12 10:42:29 UPnP Port Mapping successful.
2015-10-12 11:02:29 UPnP Port Mapping successful.
2015-10-12 11:22:29 UPnP Port Mapping successful.
2015-10-12 11:42:29 UPnP Port Mapping successful.
2015-10-12 12:02:29 UPnP Port Mapping successful.
2015-10-12 12:22:29 UPnP Port Mapping successful.
2015-10-12 12:42:29 UPnP Port Mapping successful.
2015-10-12 13:02:29 UPnP Port Mapping successful.
2015-10-12 13:22:29 UPnP Port Mapping successful.
2015-10-12 13:42:29 UPnP Port Mapping successful.
2015-10-12 14:02:29 UPnP Port Mapping successful.
2015-10-12 14:22:50 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 14:43:11 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 15:03:32 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 15:23:53 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 15:44:14 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 16:04:35 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 16:24:35 UPnP Port Mapping successful.
2015-10-12 16:44:35 UPnP Port Mapping successful.
2015-10-12 17:04:56 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 17:25:17 AddPortMapping(8333, 8333, 192.168.0.4) failed with code -3 (UnknownError)
2015-10-12 17:45:17 UPnP Port Mapping successful.
2015-10-12 18:05:17 UPnP Port Mapping successful.
2015-10-12 18:25:17 UPnP Port Mapping successful.
2015-10-12 18:45:17 UPnP Port Mapping successful.
2015-10-12 19:05:17 UPnP Port Mapping successful.
2015-10-12 19:25:17 UPnP Port Mapping successful.
2015-10-12 19:45:17 UPnP Port Mapping successful.
2015-10-12 20:05:17 UPnP Port Mapping successful.
2015-10-12 20:25:17 UPnP Port Mapping successful.
2015-10-12 20:45:17 UPnP Port Mapping successful.
2015-10-12 21:05:05 ERROR: ProcessNewBlock: ActivateBestChain failed
2015-10-12 21:05:05 socket sending timeout: 66905s
2015-10-12 21:05:05 socket sending timeout: 66964s
2015-10-12 21:05:05 socket receive timeout: 66904s
2015-10-12 21:05:05 socket sending timeout: 66948s
2015-10-12 21:05:05 socket sending timeout: 66984s
2015-10-12 21:05:05 socket sending timeout: 66936s
2015-10-12 21:05:05 socket sending timeout: 66936s
2015-10-12 21:05:05 socket sending timeout: 66984s
2015-10-12 21:05:05 socket sending timeout: 66984s
2015-10-12 21:05:05 socket sending timeout: 66936s
2015-10-12 21:05:05 socket sending timeout: 66932s
2015-10-12 21:05:05 socket sending timeout: 66904s
2015-10-12 21:05:05 socket sending timeout: 66904s
2015-10-12 21:05:05 socket sending timeout: 66932s
2015-10-12 21:05:05 socket sending timeout: 66911s
2015-10-12 21:05:05 socket sending timeout: 66964s
2015-10-12 21:05:05 socket sending timeout: 66932s
2015-10-12 21:05:05 socket sending timeout: 66925s
2015-10-12 21:05:05 socket sending timeout: 66932s
2015-10-12 21:05:05 socket sending timeout: 66932s
2015-10-12 21:05:05 socket sending timeout: 66932s
2015-10-12 21:05:05 socket sending timeout: 67009s
2015-10-12 21:05:05 socket sending timeout: 66905s
2015-10-12 21:05:05 socket sending timeout: 66948s
2015-10-12 21:05:05 socket sending timeout: 67000s
2015-10-12 21:05:05 socket sending timeout: 66905s
2015-10-12 21:05:05 net thread interrupt
2015-10-12 21:05:05 addcon thread interrupt
2015-10-12 21:05:05 Loaded 331 blocks from external file in 67362423ms
2015-10-12 21:05:05 Reindexing block file blk00145.dat...
2015-10-12 21:05:05 opencon thread interrupt
2015-10-12 21:05:05 scheduler thread interrupt
2015-10-12 21:05:06 msghand thread interrupt
2015-10-12 21:05:06 Shutdown: In progress...
2015-10-12 21:05:06 StopNode()
2015-10-12 21:05:06 UPNP_DeletePortMapping() returned: 714
2015-10-12 21:05:06 upnp thread interrupt
2015-10-12 21:05:06 Corruption: block checksum mismatch
2015-10-12 21:05:06 *** System error while flushing: Database corrupted
2015-10-12 21:05:08 Shutdown: done

1715391969
Hero Member
*
Offline Offline

Posts: 1715391969

View Profile Personal Message (Offline)

Ignore
1715391969
Reply with quote  #2

1715391969
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
October 12, 2015, 09:22:45 PM
 #2

It looks like one of the blocks is corrupted, so you will actually need to resync. The easiest way is to just delete the blocks folder in the data directory. But that takes the most amount of time. You could try to find which blk.dat file contains the problem block, which in your case, looks like 303256. If you can figure out which blk.dat file it is in, then delete that file and all of the higher number files after it. You will still need to download some blocks, but not all of them. A reindex will also be required if you do that.

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
October 13, 2015, 05:42:47 AM
 #3

2015-10-12 06:01:20 UPnP Port Mapping successful.

You should also disable UPnP[1] for now.


[1] https://bitcoin.org/en/alert/2015-10-12-upnp-vulnerability

Im not really here, its just your imagination.
AnCapFree (OP)
Member
**
Offline Offline

Activity: 154
Merit: 10


View Profile
October 13, 2015, 03:11:02 PM
 #4

and how would I find the file that contains that block?

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
October 13, 2015, 04:13:06 PM
 #5

and how would I find the file that contains that block?
Very carefully Grin

Honestly, it would just be easier to delete the blocks folder and let it do a full resync.

AnCapFree (OP)
Member
**
Offline Offline

Activity: 154
Merit: 10


View Profile
October 13, 2015, 06:08:52 PM
 #6

that will take me like 3 days and I want to spend now.

I'm using bitcoin-cli dumpprivkey myPublicAddres so that I can use my coins in a lightweight wallet but I'm getting:

error: couldn't connect to server


My bitcoin.conf is

server=1

rpcuser=generated_by_armory

rpcpassword=slclsnlklkfqndmsnnswliqnsonlqsln

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
October 13, 2015, 06:58:12 PM
 #7

that will take me like 3 days and I want to spend now.

I'm using bitcoin-cli dumpprivkey myPublicAddres so that I can use my coins in a lightweight wallet but I'm getting:

error: couldn't connect to server


My bitcoin.conf is

server=1

rpcuser=generated_by_armory

rpcpassword=slclsnlklkfqndmsnnswliqnsonlqsln
Do you have Bitcoin Core running? It needs to be running. If it isn't, set it to reindex and then do that command before it exits out.

AnCapFree (OP)
Member
**
Offline Offline

Activity: 154
Merit: 10


View Profile
October 14, 2015, 12:13:59 PM
 #8

oh great

Now, I've deleted all the blocks and uninstalled and reinstalled thew core (0.11) and now it can't open, it says:


MinGW Runtime Assertion

Assertion failed!

Program: C:\Program Files\Bitcoin\bitcoin-qt.exe
File: Main.cpp Line 1789

Expression: hashPrevBlock == view.getBestBlock()


WTF

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
October 14, 2015, 03:49:18 PM
 #9

oh great

Now, I've deleted all the blocks and uninstalled and reinstalled thew core (0.11) and now it can't open, it says:


MinGW Runtime Assertion

Assertion failed!

Program: C:\Program Files\Bitcoin\bitcoin-qt.exe
File: Main.cpp Line 1789

Expression: hashPrevBlock == view.getBestBlock()


WTF

Does it show in the debug.log that its missing files?

Im not really here, its just your imagination.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!