Author

Topic: Armory Crash After updating to version 0.91 (Read 6697 times)

full member
Activity: 164
Merit: 100
September 13, 2014, 06:36:57 AM
#14
Some failure in the auto bitcoin folder detection.

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

Thank you  Wink
legendary
Activity: 3766
Merit: 1364
Armory Developer
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).
legendary
Activity: 3766
Merit: 1364
Armory Developer
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...
legendary
Activity: 3766
Merit: 1364
Armory Developer
Some failure in the auto bitcoin folder detection.

Force the bitcoin path with the --satoshi-datadir=*bitcoinpath* command line
legendary
Activity: 3766
Merit: 1364
Armory Developer
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
newbie
Activity: 17
Merit: 0
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?
full member
Activity: 164
Merit: 100
Just Submitted with ticket #380294
full member
Activity: 164
Merit: 100
Did someone answer your ticket? Cause I cant find it.

Wait... did you mean submit ticket from Armory website?
legendary
Activity: 3766
Merit: 1364
Armory Developer
Did someone answer your ticket? Cause I cant find it.
full member
Activity: 164
Merit: 100
Ticket submitted  Wink

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
legendary
Activity: 3766
Merit: 1364
Armory Developer
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.
full member
Activity: 164
Merit: 100
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.
legendary
Activity: 3766
Merit: 1364
Armory Developer
delete this folder: /home/aditya/.armory/databases
full member
Activity: 164
Merit: 100
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?  Huh
Jump to: