Bitcoin Forum
May 25, 2024, 09:40:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Bug(?)] Latest bitcoind crashes Armory  (Read 2414 times)
OpenYourEyes (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 100



View Profile
February 12, 2013, 09:24:40 PM
Last edit: February 12, 2013, 09:42:27 PM by OpenYourEyes
 #1

Using the latest BitCoin (0.8.0 rc1) causes Armory (0.87) to crash on my system with the following output when launched from a terminal:
Code:
/home/me/.bitcoin/blocks/blk00020.dat is 134,217,728 bytes
Attempting to read blockchain from file: /home/me/.bitcoin/blocks/blk00021.dat

/home/me/.bitcoin/blocks/blk00021.dat is 134,217,728 bytes
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
/usr/bin/armory: line 1:  8057 Aborted (core dumped) python2.7 /usr/share/armory/ArmoryQt.py

I've read reports of others using it with no issues.

Unsure if this is related, but I was using Armory for quite some time on another laptop, and Armory would, every 30m or so, drain all my system resources, so I'd have to quit and restart; at one time my whole system became completely unresposive (mouse movements took about 30secs to respond) so I decided to hard power off my system. The hard disk, which was is relatively good condition according to SMART, is now is full of bad blocks with a lot of my data inaccessible. I was able to recover my wallet files which I have now imported into my only other system, a notebook with SSD, could my wallets be causing this issue?

Edit:
On a second load of Armory, I now get this error:
Code:
/home/me/.bitcoin/blocks/blk00025.dat is 134,217,728 bytes
/usr/bin/armory: line 1:  9533 Killed                  python2.7 /usr/share/armory/ArmoryQt.py

I've also tried loading it without any wallet files in the .armory directory but to no avail.

takemybitcoins.com: Spend a few seconds entering a merchants email address to encourage them to accept Bitcoin
PGP key | Bitmessage: BM-GuCA7CkQ8ojXSFGrREpMDuWgv495FUX7
etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
February 13, 2013, 03:29:59 AM
 #2

Using the latest BitCoin (0.8.0 rc1) causes Armory (0.87) to crash on my system with the following output when launched from a terminal:
Code:
/home/me/.bitcoin/blocks/blk00020.dat is 134,217,728 bytes
Attempting to read blockchain from file: /home/me/.bitcoin/blocks/blk00021.dat

/home/me/.bitcoin/blocks/blk00021.dat is 134,217,728 bytes
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
/usr/bin/armory: line 1:  8057 Aborted (core dumped) python2.7 /usr/share/armory/ArmoryQt.py

I've read reports of others using it with no issues.

Unsure if this is related, but I was using Armory for quite some time on another laptop, and Armory would, every 30m or so, drain all my system resources, so I'd have to quit and restart; at one time my whole system became completely unresposive (mouse movements took about 30secs to respond) so I decided to hard power off my system. The hard disk, which was is relatively good condition according to SMART, is now is full of bad blocks with a lot of my data inaccessible. I was able to recover my wallet files which I have now imported into my only other system, a notebook with SSD, could my wallets be causing this issue?

Edit:
On a second load of Armory, I now get this error:
Code:
/home/me/.bitcoin/blocks/blk00025.dat is 134,217,728 bytes
/usr/bin/armory: line 1:  9533 Killed                  python2.7 /usr/share/armory/ArmoryQt.py

I've also tried loading it without any wallet files in the .armory directory but to no avail.

It's entirely possible that you have a corrupted blockchain file. I have had this happen to me before -- https://bitcointalk.org/index.php?topic=44887.0 -- I spent like 4 hours tracking this down to a single flipped bit in 2 GB of blockchain files.  I simply redownloaded the chain, and it worked (not so "simple", anymore).

The other issue could be RAM... if you are low on RAM and have no swap space, I suppose it it could bad_alloc because it can't allocate any more resources.

Armory hardly uses any HDD resources.  If you have HDD issues, I would blame it on bitcoin-qt or some other app -- Armory uses about 50 MB total, the rest is RAM.  I suppose if you start swapping, that would cause HDD issues.  However, sometimes Armory can go into freakout mode -- where it hits some unrecoverable error, and it starts sucking up a lot of resources.  One of those, I believe has been fixed -- try going to the bitcoinarmory.googlecode.com page and download 0.87.2. 

Other than that, there's not a lot of useful information in those bug reports.  I know it's never fun to redownload the blockchain, but it is the likely culprit when you consistently fail at the same blockchain location loading.


Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
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!