Bitcoin Forum
November 14, 2024, 03:01:00 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory crashes with segmentation fault on linux mint debian edition [SOLVED]  (Read 1957 times)
erekose (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 05, 2014, 05:17:29 PM
Last edit: December 10, 2014, 01:09:35 AM by erekose
 #1

Hi to all. I'm trying to get started into bitcoins, but I'm having problems with armory.

Armory came installed with the system (Linux Mint Debian Edition 64 bit), so I created a wallet and let it for 3 days updating the block chain, up to 99%, so it's almost done.

After that I noticed installed armory was version 0.88, so just to be on the safe side I installed the ubuntu 12.04 .deb version 0.92.3 from armory's website. Now when I start armory, it crashes with a segmentation fault after 5 minutes of running or so. When I launch it from command line I get this output:

Code:
$ armory
(WARNING) SDM.py:729 - Overriding not-available state. This should happen 0-5 times
(WARNING) SDM.py:729 - Overriding not-available state. This should happen 0-5 times
(WARNING) SDM.py:729 - Overriding not-available state. This should happen 0-5 times
(ERROR) ArmoryQt.py:1176 - 49 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:1181 - File mempool.bin does not exist. Nothing deleted.
-INFO  - 1417799098: (BlockUtils.cpp:2196) Set home directory:
(ERROR) BDM.py:1534 - Error processing BDM input
(ERROR) BDM.py:1536 - Received inputTuple: GoOnlineRequested [13, 95729319, False]
(ERROR) BDM.py:1537 - Error processing ID (95729319)
(ERROR) BDM.py:1538 - ERROR:
Traceback (most recent call last):
  File "/usr/lib/armory/armoryengine/BDM.py", line 1520, 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 72, in inner
    return func(*newArgs, **kwargs)
  File "/usr/lib/armory/armoryengine/BDM.py", line 988, in __startLoadBlockchain
    self.bdm.SetBlkFileLocation(blockdir)
  File "/usr/lib/armory/CppBlockUtils.py", line 1792, in SetBlkFileLocation
    def SetBlkFileLocation(self, *args): return _CppBlockUtils.BlockDataManager_LevelDB_SetBlkFileLocation(self, *args)
TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'
(ERROR) ArmoryQt.py:1176 - 50 attempts to load blockchain failed.  Remove mempool.bin.
(ERROR) ArmoryQt.py:1181 - File mempool.bin does not exist. Nothing deleted.
-INFO  - 1417799099: (BlockUtils.cpp:2196) Set home directory: /home/marrasmint/.armory/
(ERROR) BDM.py:1534 - Error processing BDM input
(ERROR) BDM.py:1536 - Received inputTuple: GoOnlineRequested [13, 4406336, False]
(ERROR) BDM.py:1537 - Error processing ID (4406336)
(ERROR) BDM.py:1538 - ERROR:
Traceback (most recent call last):
  File "/usr/lib/armory/armoryengine/BDM.py", line 1520, 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 72, in inner
    return func(*newArgs, **kwargs)
  File "/usr/lib/armory/armoryengine/BDM.py", line 988, in __startLoadBlockchain
    self.bdm.SetBlkFileLocation(blockdir)
  File "/usr/lib/armory/CppBlockUtils.py", line 1792, 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(+0x3046ac)[0x7f6669fb66ac]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf210)[0x7f6671fe5210]
/usr/lib/armory/_CppBlockUtils.so(_ZN7LDBIterC2EPN7leveldb2DBEb+0xb)[0x7f6669e68ceb]
/usr/lib/armory/_CppBlockUtils.so(_ZN14InterfaceToLDB8getTxRefE13BinaryDataRef+0x22)[0x7f6669e71fc2]
/usr/lib/armory/_CppBlockUtils.so(_ZN24BlockDataManager_LevelDB13hasTxWithHashERK10BinaryData+0x4d)[0x7f6669ea017d]
/usr/lib/armory/_CppBlockUtils.so(+0x36d305)[0x7f666a01f305]
python(PyEval_EvalFrameEx+0x3629)[0x52d069]
python[0x4c726a]
python(PyEval_EvalFrameEx+0x2747)[0x52c187]
python[0x4c726a]
python(PyEval_EvalFrameEx+0x2747)[0x52c187]
python(PyEval_EvalCodeEx+0x2a4)[0x567c24]
python(PyEval_EvalFrameEx+0x7bd)[0x52a1fd]
python(PyEval_EvalFrameEx+0xc67)[0x52a6a7]
python[0x4c726a]
python[0x51e204]
python(PyEval_CallObjectWithKeywords+0x6b)[0x4db6eb]
python[0x584652]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e0e)[0x7f6671fdde0e]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f66713f60fd]
Violación de segmento

I tried uninstalling armory along with it's configuration, and installing again to no use.

I would really appreciate any help, guideline on where to start or any help at all, I'm really lost here and have no idea where to go from here. IF I can't get it to work I would appreciate some alternative to armory or even a good guide (I've searched but didn't find a simple one) to manage my wallet from command line.

Thanks!!
njaard
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
December 08, 2014, 06:45:41 PM
 #2

There is a bug that has to do with the databases and how they set the file location.
 
In your log file this line tells me that you are experiencing this problem:

def SetBlkFileLocation(self, *args): return _CppBlockUtils.BlockDataManager_LevelDB_SetBlkFileLocation(self, *args) TypeError: in method 'BlockDataManager_LevelDB_SetBlkFileLocation', argument 2 of type 'string'

To correct this, you will need to simply modify how Armory starts the program.
 
Please start Armory with --satoshi-datadir="/home/yourownhomedirectory/.bitcoin/"  where "/home/yourownhomedirectory/.bitcoin" should be replaced with YOUR own home directory.
erekose (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 10, 2014, 01:08:42 AM
 #3

That solved the problem! Thank you really much!!
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!