Bitcoin Forum
April 20, 2024, 12:13:46 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory Crash After updating to version 0.91  (Read 6669 times)
Aditya (OP)
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile WWW
April 17, 2014, 12:09:33 PM
 #1

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

  ATLAS.WORK     ║   WHITEPAPER  •  BOUNTIES  •  TELEGRAM     ║     JOIN THE FREELANCE REVOLUTION
1713572026
Hero Member
*
Offline Offline

Posts: 1713572026

View Profile Personal Message (Offline)

Ignore
1713572026
Reply with quote  #2

1713572026
Report to moderator
1713572026
Hero Member
*
Offline Offline

Posts: 1713572026

View Profile Personal Message (Offline)

Ignore
1713572026
Reply with quote  #2

1713572026
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713572026
Hero Member
*
Offline Offline

Posts: 1713572026

View Profile Personal Message (Offline)

Ignore
1713572026
Reply with quote  #2

1713572026
Report to moderator
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
April 17, 2014, 06:53:24 PM
 #2

delete this folder: /home/aditya/.armory/databases

Aditya (OP)
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile WWW
April 19, 2014, 03:58:16 PM
 #3

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.

  ATLAS.WORK     ║   WHITEPAPER  •  BOUNTIES  •  TELEGRAM     ║     JOIN THE FREELANCE REVOLUTION
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
April 19, 2014, 06:05:24 PM
 #4

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.

Aditya (OP)
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile WWW
April 20, 2014, 03:21:23 PM
 #5

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

  ATLAS.WORK     ║   WHITEPAPER  •  BOUNTIES  •  TELEGRAM     ║     JOIN THE FREELANCE REVOLUTION
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
April 20, 2014, 05:28:11 PM
 #6

Did someone answer your ticket? Cause I cant find it.

Aditya (OP)
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile WWW
April 21, 2014, 04:11:33 AM
 #7

Did someone answer your ticket? Cause I cant find it.

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

  ATLAS.WORK     ║   WHITEPAPER  •  BOUNTIES  •  TELEGRAM     ║     JOIN THE FREELANCE REVOLUTION
Aditya (OP)
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile WWW
April 21, 2014, 04:17:27 AM
 #8

Just Submitted with ticket #380294

  ATLAS.WORK     ║   WHITEPAPER  •  BOUNTIES  •  TELEGRAM     ║     JOIN THE FREELANCE REVOLUTION
Flow
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 08, 2014, 01:06:53 PM
 #9

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?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
July 08, 2014, 01:51:54 PM
 #10

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

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
July 16, 2014, 04:56:10 PM
 #11

Some failure in the auto bitcoin folder detection.

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

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
July 17, 2014, 10:14:31 PM
 #12

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...

goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
July 19, 2014, 01:47:51 AM
 #13

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).

Aditya (OP)
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile WWW
September 13, 2014, 11: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

  ATLAS.WORK     ║   WHITEPAPER  •  BOUNTIES  •  TELEGRAM     ║     JOIN THE FREELANCE REVOLUTION
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!