Author

Topic: can't sync database.. always different error messages (Read 1395 times)

copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
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?
member
Activity: 154
Merit: 10
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
staff
Activity: 3458
Merit: 6793
Just writing some code
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.
member
Activity: 154
Merit: 10
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
staff
Activity: 3458
Merit: 6793
Just writing some code
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.
member
Activity: 154
Merit: 10
and how would I find the file that contains that block?
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
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
staff
Activity: 3458
Merit: 6793
Just writing some code
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.
member
Activity: 154
Merit: 10
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
Jump to: