Bitcoin Forum

Bitcoin => Armory => Topic started by: mulga on April 05, 2015, 09:13:01 AM



Title: Armory 0.93.1-beta upgrade > failing rebuild/rescan. EDIT: debug log included
Post by: mulga on April 05, 2015, 09:13:01 AM
Hi everyone,
I'm having problems with Armory giving repeated scan/build errors, and showing incorrect balances and after recent upgrade.

--------------------------
-ERROR - 1428217001: (BDM_mainthread.cpp:429) BDM thread failed: The scanning process interrupted unexpectedly, Armory will now shutdown. If the error persists, you will have to rebuild and rescan your database. If rebuilding and rescaning did not fix the issue, contact support. Refer to your log file for more details on the error.
--------------------------

I've had this error twice now; i tried a rebuild and rescan as suggested, but unfortunately the error persists, hence asking for some support here. Debug log seems normal from my (limited) experience and will provide on request.
Ubuntu 14.04 / Bitcoin 0.9.3-linux / Armory 0.93.1-b (latest)

Any suggestions/ideas at all would be great.
Thanks



Title: Re: Armory 0.93.1-beta upgr > failing rebuild/rescan. EDIT: Known BDM bug?
Post by: Carlton Banks on April 05, 2015, 03:20:24 PM
Anything to indicate that bitcoin core has a missing block in it's DB? 


Title: Re: Armory 0.93.1-beta upgr > failing rebuild/rescan. EDIT: Known BDM bug?
Post by: goatpig on April 05, 2015, 07:13:16 PM
logs


Title: Re: Armory 0.93.1-beta upgr > failing rebuild/rescan. EDIT: attached logfile
Post by: mulga on April 07, 2015, 03:24:57 PM
Hey,
Carlton Banks: There does seems to be numerous cases of block headers referring to missing hashs. (see log below)

goatpig: armorycpplog.txt uploaded to a Pastebin-style site below:
https://cryptobin.org/35e230q5 (https://cryptobin.org/35e230q5) pwd = mulga! (will burn after 1 week)

 /home/**renamed**/.armory/armorycpplog.txt

Just let me know if you need additional log files, and thanks again for taking the time to go through this with this me.

Cheers.        

EDIT: Wtf? BCT keeps flagging my link as suspicious!? looking into it now...      

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            


Title: Re: Armory 0.93.1-beta upgr > failing rebuild/rescan. EDIT: attached logfile
Post by: Carlton Banks on April 07, 2015, 03:53:48 PM
Time to delete and re-sync bitcoin database then. Keep a backup of a good copy of the bitcoin blockchain, especially if your internet connection has a poor rate.


Title: Re: Armory 0.93.1-beta upgr > failing rebuild/rescan. EDIT: Known BDM bug?
Post by: goatpig on April 07, 2015, 05:50:07 PM
Code:
-ERROR - 1428149860: (BlockWriteBatcher.cpp:977) No block in DB at height 344058

One of the last file in your raw blk data is missing a block. You should download the bootstrap torrent manually, let another instance of Core sync with it and rebuild&rescan Armory off of that. That will probably fix your issue and you can get rid of the old Core files + Armory DB.

And yeah you should be backing up a copy of Core's raw files.


Title: Re: Armory 0.93.1-beta upgr > failing rebuild/rescan. EDIT: Known BDM bug?
Post by: mulga on April 08, 2015, 02:12:29 AM
OK, just to clarify i understand you.

Firstly download bootstrap.dat torrent > Then I’m not completely sure i understand this, 'use another instance of core to sync?' Do you mean using ./bitcoin-qt for example? And then allow Armory to rebuild/scan after after removing the broken blockchain dir data from Armory.

Thanks


Title: Re: Armory 0.93.1-beta upgr > failing rebuild/rescan. EDIT: Known BDM bug?
Post by: goatpig on April 08, 2015, 04:18:25 AM
OK, just to clarify i understand you.

Firstly download bootstrap.dat torrent > Then I’m not completely sure i understand this, 'use another instance of core to sync?' Do you mean using ./bitcoin-qt for example? And then allow Armory to rebuild/scan after after removing the broken blockchain dir data from Armory.

Thanks


I mean use a custom -datadir to sync that bootstrap off of another folder (instead of the default Core folder). I prefer people to have the old data and the fresh data available in case the bootstrap wasn't enough to defuse the issue. Gives me some room to poke around the problem.