Bitcoin Forum

Bitcoin => Armory => Topic started by: Aditya on April 17, 2014, 12:09:33 PM



Title: Armory Crash After updating to version 0.91
Post by: Aditya on April 17, 2014, 12:09:33 PM
After updating Armory from version 0.90 to version 0.91 I got a crash. The armory start but it is crashed after a while.

Here is the Log:

Code:
********************************************************************************
Loading Armory Engine:
   Armory Version:       0.91
   PyBtcWallet  Version: 1.35
Detected Operating system: Linux
   OS Variant            : ('Ubuntu', '13.10', 'saucy')
   User home-directory   : /home/aditya
   Satoshi BTC directory : /home/aditya/.bitcoin/
   Armory home dir       : /home/aditya/.armory/
   LevelDB directory     : /home/aditya/.armory/databases
   Armory settings file  : /home/aditya/.armory/ArmorySettings.txt
   Armory log file       : /home/aditya/.armory/armorylog.txt

(ERROR) announcefetch.py:261 - Specified URL was inaccessible
(ERROR) announcefetch.py:262 - Tried: https://bitcoinarmory.com/announce.txt?osvar=ubuntu&os=lin&ver=0.91&id=4a5ed50f
(WARNING) SDM.py:707 - Overriding not-available state. This should happen 0-5 times
(WARNING) SDM.py:707 - Overriding not-available state. This should happen 0-5 times
(WARNING) SDM.py:707 - Overriding not-available state. This should happen 0-5 times
(ERROR) ArmoryQt.py:908 - 40 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:913 - File mempool.bin does not exist. Nothing deleted.
-INFO  - 1397735957: (BlockUtils.cpp:2291) Set home directory:
(ERROR) BDM.py:1383 - Error processing BDM input
(ERROR) BDM.py:1385 - Received inputTuple: GoOnlineRequested [13, 7932911, False]
(ERROR) BDM.py:1386 - Error processing ID (7932911)
(ERROR) BDM.py:1387 - ERROR:
Traceback (most recent call last):
  File "/usr/lib/armory/armoryengine/BDM.py", line 1369, in run
    self.__startLoadBlockchain()
  File "/usr/lib/armory/armoryengine/Timer.py", line 99, in inner
    ret = func(*args, **kwargs)
  File "/usr/lib/armory/armoryengine/BDM.py", line 921, in __startLoadBlockchain
    self.bdm.SetBlkFileLocation(blockdir)
  File "/usr/lib/armory/CppBlockUtils.py", line 1791, in SetBlkFileLocation
    def SetBlkFileLocation(self, *args): return _CppBlockUtils.BlockDataManager_LevelDB_SetBlkFileLocation(self, *args)
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(WARNING) ArmoryQt.py:4847 - Called updateSyncProgress while not sync'ing
(ERROR) ArmoryQt.py:908 - 41 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:913 - File mempool.bin does not exist. Nothing deleted.
-INFO  - 1397735958: (BlockUtils.cpp:2291) Set home directory: /home/aditya/.armory/
(ERROR) BDM.py:1383 - Error processing BDM input
(ERROR) BDM.py:1385 - Received inputTuple: GoOnlineRequested [13, 1223711, False]
(ERROR) BDM.py:1386 - Error processing ID (1223711)
(ERROR) BDM.py:1387 - ERROR:
Traceback (most recent call last):
  File "/usr/lib/armory/armoryengine/BDM.py", line 1369, in run
    self.__startLoadBlockchain()
  File "/usr/lib/armory/armoryengine/Timer.py", line 99, in inner
    ret = func(*args, **kwargs)
  File "/usr/lib/armory/armoryengine/BDM.py", line 921, in __startLoadBlockchain
    self.bdm.SetBlkFileLocation(blockdir)
  File "/usr/lib/armory/CppBlockUtils.py", line 1791, in SetBlkFileLocation
    def SetBlkFileLocation(self, *args): return _CppBlockUtils.BlockDataManager_LevelDB_SetBlkFileLocation(self, *args)
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'


Armory has crashed. Please provide the following in your bug report:
Failed to dereference address (nil)
/usr/lib/armory/_CppBlockUtils.so(+0x325259)[0x7ffbf2909259]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0)[0x7ffbfa96cbb0]
/usr/lib/armory/_CppBlockUtils.so(_ZN7LDBIterC1EPN7leveldb2DBEb+0xb)[0x7ffbf27a615b]
/usr/lib/armory/_CppBlockUtils.so(_ZN14InterfaceToLDB8getTxRefE13BinaryDataRef+0x35)[0x7ffbf27b00b5]
/usr/lib/armory/_CppBlockUtils.so(_ZN24BlockDataManager_LevelDB13hasTxWithHashERK10BinaryData+0x52)[0x7ffbf27e27e2]
/usr/lib/armory/_CppBlockUtils.so(+0x38982c)[0x7ffbf296d82c]
python(PyEval_EvalFrameEx+0x3dc2)[0x564ab2]
python[0x556cea]
python(PyEval_EvalFrameEx+0x22f1)[0x562fe1]
python(PyEval_EvalFrameEx+0xc9a)[0x56198a]
python(PyEval_EvalFrameEx+0xc9a)[0x56198a]
python[0x556cea]
python[0x4b5164]
python(PyEval_CallObjectWithKeywords+0x6b)[0x4d997b]
python[0x584b42]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7f6e)[0x7ffbfa964f6e]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7ffbfa68f9cd]
Segmentation fault (core dumped)

Can you figure out what happened?  ???


Title: Re: Armory Crash After updating to version 0.91
Post by: goatpig on April 17, 2014, 06:53:24 PM
delete this folder: /home/aditya/.armory/databases


Title: Re: Armory Crash After updating to version 0.91
Post by: Aditya on April 19, 2014, 03:58:16 PM
delete this folder: /home/aditya/.armory/databases

Still the same result. That databases folder already empty by the way.

(ERROR) ArmoryQt.py:908 - 9 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:913 - File mempool.bin does not exist. Nothing deleted.


Title: Re: Armory Crash After updating to version 0.91
Post by: goatpig on April 19, 2014, 06:05:24 PM
delete this folder: /home/aditya/.armory/databases

Still the same result. That databases folder already empty by the way.

(ERROR) ArmoryQt.py:908 - 9 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:913 - File mempool.bin does not exist. Nothing deleted.


This is a trivial error, only a symptom of the real issue. Submit a ticket with a full log.


Title: Re: Armory Crash After updating to version 0.91
Post by: Aditya on April 20, 2014, 03:21:23 PM
Ticket submitted  ;)

Here is more information:

SegvAnalysis:
Segfault happened at: 0x7fafd85273a4: movl $0x0,0x0
PC(0x7fafd85273a4) ok
source "$0x0" ok
destination "0x0" (0x00000000) not located in a known VMA region (needed writable region)!
Stack memory exhausted (SP below stack segment)

SegvReason:
writing NULL VMA

Signal:
11


Title: Re: Armory Crash After updating to version 0.91
Post by: goatpig on April 20, 2014, 05:28:11 PM
Did someone answer your ticket? Cause I cant find it.


Title: Re: Armory Crash After updating to version 0.91
Post by: Aditya on April 21, 2014, 04:11:33 AM
Did someone answer your ticket? Cause I cant find it.

Wait... did you mean submit ticket from Armory website?


Title: Re: Armory Crash After updating to version 0.91
Post by: Aditya on April 21, 2014, 04:17:27 AM
Just Submitted with ticket #380294


Title: Re: Armory Crash After updating to version 0.91
Post by: Flow on July 08, 2014, 01:06:53 PM
Same crash with 0.91.2 (and the latest git version) here, 0.88 seems to work just fine. Was there any feedback from your ticket?


Title: Re: Armory Crash After updating to version 0.91
Post by: goatpig on July 08, 2014, 01:51:54 PM
Same crash with 0.91.2 (and the latest git version) here, 0.88 seems to work just fine. Was there any feedback from your ticket?

Which version are you updating from? 0.90 DB is not compatible with 0.91.2


Title: Re: Armory Crash After updating to version 0.91
Post by: goatpig on July 16, 2014, 04:56:10 PM
Some failure in the auto bitcoin folder detection.

Force the bitcoin path with the --satoshi-datadir=*bitcoinpath* command line


Title: Re: Armory Crash After updating to version 0.91
Post by: goatpig on July 17, 2014, 10:14:31 PM
For some reason the bitcoin folder autodetect code fails and passes None to the backend, which crashes. So far we have never experienced the issue in house. A few users have reported the issue but we couldn't guess much from their setup. It may get to the point where we'll put out a high verbose debug version and have you guys run it to give us a clue...


Title: Re: Armory Crash After updating to version 0.91
Post by: goatpig on July 19, 2014, 01:47:51 AM
A few short disconnects from bitcoind? That's a benign bug that shouldn't get in the way. It happens on every platform and setups (Win8 RAID0 here), and my old system too (Win7 and single SSD).


Title: Re: Armory Crash After updating to version 0.91
Post by: Aditya on September 13, 2014, 11:36:57 AM
Some failure in the auto bitcoin folder detection.

Force the bitcoin path with the --satoshi-datadir=*bitcoinpath* command line

Thank you  ;)