Post
Topic
Board Project Development
Re: [BOUNTY] Help test next major release of Armory! [0.04 BTC/bug]
by
ACVentures
on 19/11/2013, 19:36:35 UTC
OSX 10.8, armory testing v14. I'm receiving an error slightly similar to the poster above:

Code:
2013-11-19 13:34 (INFO) -- ArmoryQt.py:4803 - Current block number: 270488
2013-11-19 14:17 (ERROR) -- armoryengine.py:12372 - Waiting for BDM output that didn't come after 20s.
2013-11-19 14:17 (ERROR) -- armoryengine.py:12373 - BDM state is currently: BlockchainReady
2013-11-19 14:17 (ERROR) -- armoryengine.py:12374 - Called from: armoryengine.py:12563 (20743723)
2013-11-19 14:17 (ERROR) -- armoryengine.py:12375 - BDM currently doing: ZeroConfTxToInsert (14629250)
2013-11-19 14:17 (ERROR) -- armoryengine.py:12376 - Direct traceback
2013-11-19 14:17 (ERROR) -- armoryengine.py:12378 - Traceback:
Traceback (most recent call last):
  File "/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/armoryengine.py", line 12368, in waitForOutputIfNecessary
    return self.outputQueue.get(True, self.mtWaitSec)
  File "/Users/joeschmoe/BitcoinArmory/osx_picobit/workspace/Armory.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Queue.py", line 176, in get
Empty
2013-11-19 14:17 (ERROR) -- armoryengine.py:13289 - ErrorOut var over-represented number of errors!
 

I'm guessing this to be related to coming out of screen saver/sleep mode. My bitcoin-QT manages to pick up the connection after a moment, but sometimes it may cause armory to crash. Usually there is no error in the armory log file. This happens a 1-3 times a day. Every time it happens, armory needs to rescan the blockchain (20-30min) and then it's normal.

Here is the relevant section from the system crash/hang log. It looks like thread #2 is the one that crashed, so that's what I copied:

Code:
Process:         Python [66359]
Path:            /Applications/Armory.app/Contents/MacOS/Python
Identifier:      com.armory.armory
Version:         ???
Code Type:       X86-64 (Native)
Parent Process:  bash [66356]
User ID:         501

Date/Time:       2013-11-19 14:17:28.853 -0500
OS Version:      Mac OS X 10.8.5 (12F45)
Report Version:  10
Sleep/Wake UUID: 3175AE78-633C-412C-B9D9-09218547AFC1

Crashed Thread:  2

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
-->
    __TEXT                 0000000100000000-0000000100001000 [    4K] r-x/rwx SM=COW  /Applications/Armory.app/Contents/MacOS/Python

-------snip-------


Thread 2 Crashed:
0   _CppBlockUtils.so              0x0000000103943c13 BtcWallet::isMineBulkFilter(Tx&, std::__1::map, std::__1::allocator > >&, bool) + 259
1   _CppBlockUtils.so              0x00000001039476f8 BtcWallet::scanTx(Tx&, unsigned int, unsigned int, unsigned int) + 120
2   _CppBlockUtils.so              0x0000000103957675 BlockDataManager_LevelDB::rescanWalletZeroConf(BtcWallet&) + 277
3   _CppBlockUtils.so              0x0000000103b2434c _wrap_BlockDataManager_LevelDB_rescanWalletZeroConf + 172
4   org.python.python              0x00000001000a5655 PyEval_EvalFrameEx + 16725
5   org.python.python              0x00000001000a1386 PyEval_EvalCodeEx + 1734
6   org.python.python              0x0000000100033556 function_call + 342
7   org.python.python              0x000000010000fe25 PyObject_Call + 101
8   org.python.python              0x00000001000a57f6 PyEval_EvalFrameEx + 17142
9   org.python.python              0x00000001000a81e2 fast_function + 194
10  org.python.python              0x00000001000a459b PyEval_EvalFrameEx + 12443
11  org.python.python              0x00000001000a81e2 fast_function + 194
12  org.python.python              0x00000001000a459b PyEval_EvalFrameEx + 12443
13  org.python.python              0x00000001000a1386 PyEval_EvalCodeEx + 1734
14  org.python.python              0x0000000100033556 function_call + 342
15  org.python.python              0x000000010000fe25 PyObject_Call + 101
16  org.python.python              0x000000010001be46 instancemethod_call + 166
17  org.python.python              0x000000010000fe25 PyObject_Call + 101
18  org.python.python              0x00000001000a79ad PyEval_CallObjectWithKeywords + 93
19  org.python.python              0x00000001000def26 t_bootstrap + 70
20  libsystem_c.dylib              0x00007fff88351772 _pthread_start + 327
21  libsystem_c.dylib              0x00007fff8833e1a1 thread_start + 13

-----snip-----

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000103cad240  rcx: 0x0000000000000000  rdx: 0x000000010f59bd78
  rdi: 0x0000000106000130  rsi: 0x000000010901efb0  rbp: 0x0000000105fffa90  rsp: 0x0000000105fff820
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000001002  r11: 0x00000001c8f22000
  r12: 0x0000000103cad260  r13: 0x000000010901efb0  r14: 0x000000010f59bd78  r15: 0x0000000000000000
  rip: 0x0000000103943c13  rfl: 0x0000000000010202  cr2: 0x0000000000000000
Logical CPU: 0

Hope this helps