Author

Topic: When I suspend my PC with Armory open, it scans the entire blockchain (Read 718 times)

newbie
Activity: 29
Merit: 0
0.93 should fix this, if for no other reason that so much of that code is now totally different.

I'll test for the suspend scenario there.
legendary
Activity: 980
Merit: 1008
Upon further research, it seems like Armory crashes when I wake up my PC from standby.

A crash file is generated in /var/crash/ and I see a "Sorry, Ubuntu 14.04 has experienced an internal error." message.

Here's the stack trace, extracted using apport-retrace on the .crash file:

Code:
--- stack trace ---
#0  0x00007f18f87eebb9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 6624
        selftid = 6641
#1  0x00007f18f87f1fc8 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {139745225753561, 139745233211536, 3, 139745228718528, 139745228718528, 0, 139745228718659, 738604, 139745225289564, 139745174406904, 139744963579896, 139744952910672, 738604, 6095, 0, 139745230983718}}, sa_flags = 9638928, sa_restorer = 0x7f18f551dacc <__cxa_get_globals_fast+12>}
        sigs = {__val = {32, 0 }}
#2  0x00007f18f55206b5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#3  0x00007f18f551e836 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#4  0x00007f18f551e863 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#5  0x00007f18f551eaa2 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#6  0x00007f18efaa21f3 in BlockDataManager_LevelDB::addRawBlockToDB(BinaryRefReader&) () from /usr/lib/armory/_CppBlockUtils.so
No symbol table info available.
#7  0x00007f18efaaf8bd in BlockDataManager_LevelDB::addNewBlockData(BinaryRefReader&, unsigned int, unsigned int, unsigned int) () from /usr/lib/armory/_CppBlockUtils.so
No symbol table info available.
#8  0x00007f18efab67ed in BlockDataManager_LevelDB::readBlkFileUpdate() () from /usr/lib/armory/_CppBlockUtils.so
No symbol table info available.
#9  0x00007f18efbb4429 in ?? () from /usr/lib/armory/_CppBlockUtils.so
No symbol table info available.
#10 0x000000000052c6d5 in call_function (oparg=, pp_stack=0x7f18ef4d5f10) at ../Python/ceval.c:4020
        flags =
        tstate = 0x2543160
        func =
        w =
        na =
        nk =
        n =
        pfunc = 0x7f18bc9e5a68
        x =
#11 PyEval_EvalFrameEx (f=f@entry=Frame 0x7f18bc9e58e8, for file /usr/lib/armory/CppBlockUtils.py, line 1863, in readBlkFileUpdate (self=) at remote 0x7f18f01e4c68>), throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
        sp = 0x7f18bc9e5a70
        stack_pointer =
        next_instr = 0x7f18f057b2c8 "S"
        opcode =
        oparg =
        why = WHY_NOT
        err =
        x =
        v =
        w =
        u =
        t =
        stream = 0x0
        fastlocals = 0x7f18bc9e5a60
        freevars =
        retval =
        tstate =
        co =
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr =
        names =
        consts =
        enter = '__enter__'
        exit = '__exit__'
#12 0x000000000052cf32 in fast_function (nk=, na=, n=1, pp_stack=0x7f18ef4d6050, func=) at ../Python/ceval.c:4106
        retval = 0x0
        fastlocals = 0x7f18bc9e5a60
        i =
        f = Frame 0x7f18bc9e58e8, for file /usr/lib/armory/CppBlockUtils.py, line 1863, in readBlkFileUpdate (self=) at remote 0x7f18f01e4c68>)
        tstate = 0x2543160
        stack =
        co =
        nd = 0
        globals =
        argdefs =
        d = 0x0
#13 call_function (oparg=, pp_stack=0x7f18ef4d6050) at ../Python/ceval.c:4041
        func =
        w =
        na =
        nk =
        n = 1
        pfunc = 0x7f18bc9e8c88
        x =
#14 PyEval_EvalFrameEx (f=f@entry=Frame 0x7f18bc9e8b00, for file /usr/lib/armory/armoryengine/BDM.py, line 1127, in __readBlockfileUpdates (self=) at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=        sp = 0x7f18bc9e8c90
        stack_pointer =
        next_instr = 0x7f18f00f33a5 "}\001"
        opcode =
        oparg =
        why = WHY_NOT
        err =
        x =
        v =
        w =
        u =
        t =
        stream = 0x0
        fastlocals = 0x7f18bc9e8c78
        freevars =
        retval =
        tstate =
        co =
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr =
        names =
        consts =
        enter = '__enter__'
        exit = '__exit__'
#15 0x000000000056d0aa in PyEval_EvalCodeEx (closure=, defcount=, defs=0x0, kwcount=, kws=, argcount=-1130460416, args=, locals=0x0, globals=, co=) at ../Python/ceval.c:3252
        retval = 0x0
        fastlocals =
        freevars =
        u =
        f =
        tstate =
        x =
#16 function_call (func=, arg=, kw=) at ../Objects/funcobject.c:526
        argdefs =
        kwtuple =
        d =
        k =
        nk =
        nd =
#17 0x000000000052e1e6 in PyObject_Call (kw={}, arg=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=) at ../Objects/abstract.c:2529
        result =
        call = 0x56cdc0
#18 ext_do_call (nk=, na=, flags=, pp_stack=0x7f18ef4d6250, func=) at ../Python/ceval.c:4333
        kwdict = {}
        nstar = 1
        callargs =
        stararg = () at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=        result = 0x0
#19 PyEval_EvalFrameEx (f=f@entry=Frame 0x2e9feb0, for file /usr/lib/armory/armoryengine/BDM.py, line 72, in inner (args=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=        flags =
        func =
        na =
        nk =
        n =
        pfunc = 0x2ea0048
        sp = 0x2ea0050
        stack_pointer =
        next_instr = 0x7f18f00f31d9 "S\210"
        opcode =
        oparg =
        why = WHY_NOT
        err =
        x =
        v =
        w =
        u =
        t =
        stream = 0x0
        fastlocals = 0x2ea0028
        freevars =
        retval =
        tstate =
        co =
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr =
        names =
        consts =
        enter = '__enter__'
        exit = '__exit__'
#20 0x000000000056d0aa in PyEval_EvalCodeEx (closure=, defcount=, defs=0x0, kwcount=, kws=, argcount=48889520, args=, locals=0x0, globals=, co=) at ../Python/ceval.c:3252
        retval = 0x0
        fastlocals =
        freevars =
        u =
        f =
        tstate =
        x =
#21 function_call (func=, arg=, kw=) at ../Objects/funcobject.c:526
        argdefs =
        kwtuple =
        d =
        k =
        nk =
        nd =
#22 0x000000000052e1e6 in PyObject_Call (kw={}, arg=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=) at ../Objects/abstract.c:2529
        result =
        call = 0x56cdc0
#23 ext_do_call (nk=, na=, flags=, pp_stack=0x7f18ef4d6450, func=) at ../Python/ceval.c:4333
        kwdict = {}
        nstar = 1
        callargs =
        stararg = () at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=        result = 0x0
#24 PyEval_EvalFrameEx (f=f@entry=Frame 0x7f18c80152a0, for file /usr/lib/armory/armoryengine/Timer.py, line 99, in inner (args=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=        flags =
        func =
        na =
        nk =
        n =
        pfunc = 0x7f18c8015440
        sp = 0x7f18c8015448
        stack_pointer =
        next_instr = 0x7f18ef70e960 "}\002"
        opcode =
        oparg =
        why = WHY_NOT
        err =
        x =
        v =
        w =
        u =
        t =
        stream = 0x0
        fastlocals = 0x7f18c8015418
        freevars =
        retval =
        tstate =
        co =
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr =
        names =
        consts =
        enter = '__enter__'
        exit = '__exit__'
#25 0x000000000055c594 in PyEval_EvalCodeEx (co=0x7f18f010e8b0, globals=, locals=locals@entry=0x0, args=, argcount=argcount@entry=1, kws=, kwcount=0, defs=0x0, defcount=0, closure=(, )) at ../Python/ceval.c:3252
        f =
        retval = 0x0
        fastlocals =
        freevars =
        tstate =
        x =
        u =
#26 0x000000000052ca8d in fast_function (nk=, na=1, n=, pp_stack=0x7f18ef4d6630, func=) at ../Python/ceval.c:4116
        co =
        nd =
        globals =
        argdefs =
        d =
#27 call_function (oparg=, pp_stack=0x7f18ef4d6630) at ../Python/ceval.c:4041
        func =
        w =
        na = 1
        nk =
        n =
        pfunc = 0x7f18e8000d70
        x =
#28 PyEval_EvalFrameEx (f=f@entry=Frame 0x7f18e8000b50, for file /usr/lib/armory/armoryengine/BDM.py, line 1488, in run (self=) at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=        sp = 0x7f18e8000d78
        stack_pointer =
        next_instr = 0x2549ab3 "}\005"
        opcode =
        oparg =
        why = WHY_NOT
        err =
        x =
        v =
        w =
        u =
        t =
        stream = 0x0
        fastlocals = 0x7f18e8000cc8
        freevars =
        retval =
        tstate =
        co =
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr =
        names =
        consts =
        enter = '__enter__'
        exit = '__exit__'
#29 0x000000000056d0aa in PyEval_EvalCodeEx (closure=, defcount=, defs=0x0, kwcount=, kws=, argcount=-402650288, args=, locals=0x0, globals=, co=) at ../Python/ceval.c:3252
        retval = 0x0
        fastlocals =
        freevars =
        u =
        f =
        tstate =
        x =
#30 function_call (func=, arg=, kw=) at ../Objects/funcobject.c:526
        argdefs =
        kwtuple =
        d =
        k =
        nk =
        nd =
#31 0x000000000052e1e6 in PyObject_Call (kw={}, arg=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=) at ../Objects/abstract.c:2529
        result =
        call = 0x56cdc0
#32 ext_do_call (nk=, na=, flags=, pp_stack=0x7f18ef4d6830, func=) at ../Python/ceval.c:4333
        kwdict = {}
        nstar = 1
        callargs =
        stararg = () at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=        result = 0x0
#33 PyEval_EvalFrameEx (f=f@entry=Frame 0x7f18f01ec050, for file /usr/lib/armory/armoryengine/BDM.py, line 72, in inner (args=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=        flags =
        func =
        na =
        nk =
        n =
        pfunc = 0x7f18f01ec1e8
        sp = 0x7f18f01ec1f0
        stack_pointer =
        next_instr = 0x7f18f00f31d9 "S\210"
        opcode =
        oparg =
        why = WHY_NOT
        err =
        x =
        v =
        w =
        u =
        t =
        stream = 0x0
        fastlocals = 0x7f18f01ec1c8
        freevars =
        retval =
        tstate =
        co =
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr =
        names =
        consts =
        enter = '__enter__'
        exit = '__exit__'
#34 0x000000000055c594 in PyEval_EvalCodeEx (co=0x7f18f05b0bb0, globals=, locals=locals@entry=0x0, args=, argcount=argcount@entry=1, kws=, kwcount=0, defs=0x0, defcount=0, closure=(,)) at ../Python/ceval.c:3252
        f =
        retval = 0x0
        fastlocals =
        freevars =
        tstate =
        x =
        u =
#35 0x000000000052ca8d in fast_function (nk=, na=1, n=, pp_stack=0x7f18ef4d6a10, func=) at ../Python/ceval.c:4116
        co =
        nd =
        globals =
        argdefs =
        d =
#36 call_function (oparg=, pp_stack=0x7f18ef4d6a10) at ../Python/ceval.c:4041
        func =
        w =
        na = 1
        nk =
        n =
        pfunc = 0x7f18e8000aa8
        x =
#37 PyEval_EvalFrameEx (f=f@entry=Frame 0x7f18e8000910, for file /usr/lib/python2.7/threading.py, line 810, in __bootstrap_inner (self=) at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=        sp = 0x7f18e8000ab0
        stack_pointer =
        next_instr = 0x1e17e3a "\001Wn\a\001\004t\016"
        opcode =
        oparg =
        why = WHY_NOT
        err =
        x =
        v =
        w =
        u =
        t =
        stream = 0x0
        fastlocals = 0x7f18e8000a88
        freevars =
        retval =
        tstate =
        co =
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr =
        names =
        consts =
        enter = '__enter__'
        exit = '__exit__'
#38 0x000000000052cf32 in fast_function (nk=, na=, n=1, pp_stack=0x7f18ef4d6b50, func=) at ../Python/ceval.c:4106
        retval = 0x0
        fastlocals = 0x7f18e8000a88
        i =
        f = Frame 0x7f18e8000910, for file /usr/lib/python2.7/threading.py, line 810, in __bootstrap_inner (self=) at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=        tstate = 0x2543160
        stack =
        co =
        nd = 0
        globals =
        argdefs =
        d = 0x0
#39 call_function (oparg=, pp_stack=0x7f18ef4d6b50) at ../Python/ceval.c:4041
        func =
        w =
        na =
        nk =
        n = 1
        pfunc = 0x7f18ef735a90
        x =
#40 PyEval_EvalFrameEx (f=f@entry=Frame 0x7f18ef735910, for file /usr/lib/python2.7/threading.py, line 783, in __bootstrap (self=) at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=        sp = 0x7f18ef735a98
        stack_pointer =
        next_instr = 0x7f18f6df7c00 "\001Wn#"
        opcode =
        oparg =
        why = WHY_NOT
        err =
        x =
        v =
        w =
        u =
        t =
        stream = 0x0
        fastlocals = 0x7f18ef735a88
        freevars =
        retval =
        tstate =
        co =
        instr_ub = -1
        instr_lb = 0
        instr_prev = -1
        first_instr =
        names =
        consts =
        enter = '__enter__'
        exit = '__exit__'
#41 0x000000000056d0aa in PyEval_EvalCodeEx (closure=, defcount=, defs=0x0, kwcount=, kws=, argcount=-277653232, args=, locals=0x0, globals=, co=) at ../Python/ceval.c:3252
        retval = 0x0
        fastlocals =
        freevars =
        u =
        f =
        tstate =
        x =
#42 function_call (func=func@entry=, arg=arg@entry=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=        argdefs =
        kwtuple =
        d =
        k =
        nk =
        nd =
#43 0x00000000004d9854 in PyObject_Call (kw=0x0, arg=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=) at ../Objects/abstract.c:2529
        result =
        call = 0x56cdc0
#44 instancemethod_call.8802 (func=, func@entry=, arg=() at remote 0x7f18f01e4dd0>, _Thread__started=<_Event(_Verbose__verbose=False, _Event__flag=True, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01d6f50>) at remote 0x7f18f01d6e90>, aboutToRescan=False, prefMode=2, blkMode=4, btcdir='/home/rune/.bitcoin/', _Thread__initialized=True, _Thread__block=<_Condition(_Verbose__verbose=False, _Condition__lock=, acquire=, _Condition__waiters=[], release=) at remote 0x7f18f01ee050>, bdm=        self =
        klass =
#45 0x00000000004da20b in PyObject_Call (kw=, arg=(), func=) at ../Objects/abstract.c:2529
        result =
        call = 0x4d9700
#46 PyEval_CallObjectWithKeywords (func=, arg=(), kw=) at ../Python/ceval.c:3889
No locals.
#47 0x00000000005872b2 in t_bootstrap.71638 (boot_raw=0x23b25c0) at ../Modules/threadmodule.c:614
        boot = 0x23b25c0
        tstate = 0x2543160
        res =
#48 0x00007f18f8b88182 in start_thread (arg=0x7f18ef4d7700) at pthread_create.c:312
        __res =
        pd = 0x7f18ef4d7700
        now =
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139745070774016, 498833300362529220, 0, 0, 139745070774720, 139745070774016, -513998988282787388, -514035638645519932}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call =
        pagesize_m1 =
        sp =
        freesize =
        __PRETTY_FUNCTION__ = "start_thread"
#49 0x00007f18f88b2fbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
legendary
Activity: 980
Merit: 1008
I've experienced this a couple of times.

I open Armory, and it needs to scan the new transactions in the blockchain that it hasn't seen yet. This takes around 5 minutes. When it is done doing this, it's ready for use. If I then suspend my PC, turn it on again and open Armory, it now needs to scan the entire blockchain, which takes a couple of hours.

I don't know why this happens.

Here's the relevant log (I turned my PC on at 10:32, and opened Armory at 10:52 (it seems it had been running in the background)):

Code:
2015-01-06 10:32 (INFO) -- announcefetch.py:264 - Fetching: https://bitcoinarmory.com/announce.txt
2015-01-06 10:32 (ERROR) -- announcefetch.py:276 - Specified URL was inaccessible
2015-01-06 10:32 (ERROR) -- announcefetch.py:277 - Tried: https://bitcoinarmory.com/announce.txt
2015-01-06 10:32 (INFO) -- announcefetch.py:264 - Fetching: https://s3.amazonaws.com/bitcoinarmory-media/announce.txt
2015-01-06 10:32 (ERROR) -- announcefetch.py:276 - Specified URL was inaccessible
2015-01-06 10:32 (ERROR) -- announcefetch.py:277 - Tried: https://s3.amazonaws.com/bitcoinarmory-media/announce.txt
2015-01-06 10:32 (WARNING) -- announcefetch.py:290 - Error fetching announce digest
2015-01-06 10:32 (ERROR) -- Networking.py:357 - ***Connection to Satoshi client LOST!  Attempting to reconnect...
2015-01-06 10:32 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:User, State:Disconnected
2015-01-06 10:32 (INFO) -- ArmoryQt.py:5384 - Switching Armory functional mode to "Offline"
2015-01-06 10:32 (INFO) -- ArmoryQt.py:2386 - Setting netmode: 1
2015-01-06 10:32 (INFO) -- Networking.py:63 - Connection initiated.  Start handshake
2015-01-06 10:32 (INFO) -- ArmoryQt.py:6128 - Dashboard switched to fully-online mode
2015-01-06 10:32 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:User, State:OnlineFull1
2015-01-06 10:32 (INFO) -- ArmoryQt.py:5384 - Switching Armory functional mode to "Online"
2015-01-06 10:32 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:User, State:OnlineFull2
2015-01-06 10:32 (INFO) -- Networking.py:152 - Received version message from peer:
2015-01-06 10:32 (INFO) -- Networking.py:153 -    Version:     70002
2015-01-06 10:32 (INFO) -- Networking.py:154 -    SubVersion:  /Satoshi:0.9.99/
2015-01-06 10:32 (INFO) -- Networking.py:155 -    TimeStamp:   1420536755
2015-01-06 10:32 (INFO) -- Networking.py:156 -    StartHeight: 337679
2015-01-06 10:32 (INFO) -- Networking.py:348 - Handshake finished, connection open!
2015-01-06 10:32 (INFO) -- Networking.py:63 - Connection initiated.  Start handshake
2015-01-06 10:32 (INFO) -- ArmoryQt.py:6128 - Dashboard switched to fully-online mode
2015-01-06 10:32 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:User, State:OnlineFull1
2015-01-06 10:32 (INFO) -- ArmoryQt.py:5384 - Switching Armory functional mode to "Online"
2015-01-06 10:32 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:User, State:OnlineFull2
2015-01-06 10:32 (INFO) -- Networking.py:152 - Received version message from peer:
2015-01-06 10:32 (INFO) -- Networking.py:153 -    Version:     70002
2015-01-06 10:32 (INFO) -- Networking.py:154 -    SubVersion:  /Satoshi:0.9.99/
2015-01-06 10:32 (INFO) -- Networking.py:155 -    TimeStamp:   1420536758
2015-01-06 10:32 (INFO) -- Networking.py:156 -    StartHeight: 337679
2015-01-06 10:32 (INFO) -- Networking.py:348 - Handshake finished, connection open!
2015-01-06 10:32 (INFO) -- ArmoryQt.py:6561 - New Block! : 337680
2015-01-06 10:32 (INFO) -- ArmoryQt.py:6582 - Current block number: 337680
2015-01-06 10:32 (INFO) -- Networking.py:212 - Received new block.  00000000000000000b1c01d6d290cda21aeaebc3b34e29466322c9e98c47118e
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1020 - C++ block utilities loaded successfully
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:565 - Executing popen: free -m
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:565 - Executing popen: ['cat', '/proc/cpuinfo']
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1127 -
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1128 -
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1129 -
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1130 - ************************************************************
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1131 - Invoked: /usr/lib/armory/ArmoryQt.py
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1132 - ************************************************************
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1133 - Loading Armory Engine:
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1134 -    Armory Version        : 0.92.3
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1135 -    PyBtcWallet  Version  : 1.35
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1136 - Detected Operating system: Linux
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1137 -    OS Variant            : Ubuntu-14.04-trusty
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1138 -    User home-directory   : /home/rune
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1139 -    Satoshi BTC directory : /home/rune/.bitcoin/
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1140 -    Armory home dir       : /home/rune/.armory/
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1141 - Detected System Specs    :
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1142 -    Total Available RAM   : 15.58 GB
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1143 -    CPU ID string         : AMD FX(tm)-8320 Eight-Core Processor
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1144 -    Number of CPU cores   : 8 cores
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1145 -    System is 64-bit      : True
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1146 -    Preferred Encoding    : UTF-8
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1147 -    Machine Arch          : x86_64
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1148 -    Available HDD (ARM)   : 8 GB
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1149 -    Available HDD (BTC)   : 8 GB
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1150 -
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1151 - Network Name: Main Network
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1152 - Satoshi Port: 8333
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1153 - Do wlt check: True
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1154 - Named options/arguments to armoryengine.py:
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     maxOpenFiles    : 0
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     nettimeout      : 2
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     rescan          : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     leveldbDir      : DEFAULT
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     ignoreAllZC     : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     disableModules  : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     port            : None
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     interport       : 8223
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     skipStatsReport : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     forceWalletCheck: False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     rebuild         : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     datadir         : DEFAULT
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     offline         : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     coverageOutputDir: None
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     satoshiPort     : DEFAULT
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     useTorSettings  : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     netlog          : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     keypool         : 100
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     coverageInclude : None
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     forceOnline     : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     skipAnnounceCheck: False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     redownload      : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     multisigFile    : DEFAULT
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     disableTorrent  : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     testAnnounceCode: False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     mtdebug         : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     logDisable      : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     settingsPath    : /home/rune/.armory/ArmorySettings.txt
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     verbosity       : None
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     doDebug         : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     testnet         : False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     rpcport         : DEFAULT
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     satoshiHome     : DEFAULT
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     satoshiRpcport  : DEFAULT
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     logFile         : /home/rune/.armory/ArmoryQt.py.log.txt
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1156 -     disableConfPermis: False
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1157 - Other arguments:
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1160 - ************************************************************
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:1555 - C++ block utilities loaded successfully
2015-01-06 10:52 (INFO) -- BDM.py:1568 - Using the asynchronous/multi-threaded BlockDataManager.
2015-01-06 10:52 (INFO) -- BDM.py:1569 - Blockchain operations will happen in the background. 
2015-01-06 10:52 (INFO) -- BDM.py:1570 - Devs: check TheBDM.getBDMState() before asking for data.
2015-01-06 10:52 (INFO) -- BDM.py:1571 - Registering addresses during rescans will queue them for
2015-01-06 10:52 (INFO) -- BDM.py:1572 - inclusion after the current scan is completed.
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:3447 - Using settings file: /home/rune/.armory/ArmorySettings.txt
2015-01-06 10:52 (INFO) -- announcefetch.py:88 - Reading files in fetcher directory:
2015-01-06 10:52 (INFO) -- announcefetch.py:97 -    announce         : 5946e84327e26ff5eff6f8677a5b2a7165f18e5aa33d17aac21bc4e6352a3c19
2015-01-06 10:52 (INFO) -- announcefetch.py:97 -    changelog        : c85ce5fde5a156c5db41be26eb8bb669ff9602acc92fc8ed1587ffde0b7e4b5b
2015-01-06 10:52 (INFO) -- announcefetch.py:97 -    downloads        : 049bf369f1279ea1dec0a279ce93add4962df889d5b9fbfb6e0b4fd48f6720b9
2015-01-06 10:52 (INFO) -- announcefetch.py:97 -    bootstrap        : b229da7b17a86a01bf1d167f8811383e36616b198d18c0a4918c843691682c50
2015-01-06 10:52 (INFO) -- announcefetch.py:97 -    notify           : 8df17b142a8c44800848168a0304386ddf61195c02caf12af121db508fd26cc4
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2566 - loadWalletsAndSettings
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2622 - Loading wallets...
2015-01-06 10:52 (INFO) -- announcefetch.py:264 - Fetching: https://bitcoinarmory.com/announce.txt?osvar=ubuntu&os=lin&ver=0.92.3&id=642af22e
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2668 - Number of wallets read in: 2
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2673 -    Wallet (6QZdwscT):    "offline (Watch)                 "   (No Encryption)
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2673 -    Wallet (2uyc3aSdm):   "new pocket change               "   (Encrypted)
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2682 - Loading Multisig Lockboxes
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2106 - Setting up networking...
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2159 - Internet connection is Available: True
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2160 - Bitcoin-Qt/bitcoind is Available: 8333
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2161 - The first blk*.dat was Available: True
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2162 - Online mode currently possible:   True
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2349 - loadBlockchainIfNecessary
2015-01-06 10:52 (INFO) -- ArmoryQt.py:2386 - Setting netmode: 1
2015-01-06 10:52 (INFO) -- BDM.py:470 - Setting online mode: True (wait=False)
2015-01-06 10:52 (INFO) -- BDM.py:1509 - Go online requested
2015-01-06 10:52 (INFO) -- BDM.py:982 - Setting Armory Home Dir: /home/rune/.armory/
2015-01-06 10:52 (INFO) -- BDM.py:983 - Setting BlkFile Dir:     /home/rune/.bitcoin/blocks
2015-01-06 10:52 (INFO) -- BDM.py:984 - Setting LevelDB Dir:     /home/rune/.armory/databases
2015-01-06 10:52 (INFO) -- ArmoryQt.py:1367 - setupUriRegistration
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:565 - Executing popen: gconftool-2 --get /desktop/gnome/url-handlers/bitcoin/command
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:565 - Executing popen: xdg-mime query default x-scheme-handler/bitcoin
2015-01-06 10:52 (INFO) -- ArmoryUtils.py:565 - Executing popen: find /home/rune -type f -name "mimeTypes.rdf"
2015-01-06 10:52 (INFO) -- ArmoryQt.py:617 - Usermode: Expert
2015-01-06 10:52 (INFO) -- ArmoryQt.py:1662 - Changing usermode:
2015-01-06 10:52 (INFO) -- ArmoryQt.py:1663 -    From: Expert
2015-01-06 10:52 (INFO) -- ArmoryQt.py:1671 -      To: Expert
2015-01-06 10:52 (INFO) -- ArmoryQt.py:6138 - Dashboard switched to "Scanning" mode
2015-01-06 10:52 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:User, State:ScanWithWallets
2015-01-06 10:52 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2015-01-06 10:52 (INFO) -- ArmoryQt.py:5384 - Switching Armory functional mode to "Scanning"
2015-01-06 10:52 (INFO) -- Networking.py:63 - Connection initiated.  Start handshake
2015-01-06 10:52 (INFO) -- ArmoryQt.py:6138 - Dashboard switched to "Scanning" mode
2015-01-06 10:52 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:User, State:ScanWithWallets
2015-01-06 10:52 (INFO) -- ArmoryQt.py:5442 - Switching Armory state text to Mgmt:Auto, State:NewUserInfo
2015-01-06 10:52 (INFO) -- ArmoryQt.py:5384 - Switching Armory functional mode to "Scanning"
2015-01-06 10:52 (INFO) -- Networking.py:152 - Received version message from peer:
2015-01-06 10:52 (INFO) -- Networking.py:153 -    Version:     70002
2015-01-06 10:52 (INFO) -- Networking.py:154 -    SubVersion:  /Satoshi:0.9.99/
2015-01-06 10:52 (INFO) -- Networking.py:155 -    TimeStamp:   1420537927
2015-01-06 10:52 (INFO) -- Networking.py:156 -    StartHeight: 337739
2015-01-06 10:52 (INFO) -- Networking.py:348 - Handshake finished, connection open!
2015-01-06 10:53 (INFO) -- BDM.py:419 - Reading blockchain, pct complete: 0.1
2015-01-06 10:53 (INFO) -- BDM.py:419 - Reading blockchain, pct complete: 0.3
2015-01-06 10:53 (INFO) -- BDM.py:419 - Reading blockchain, pct complete: 0.4

Perhaps the issue is that I open Armory while it's already running in the background? But it had disappeared both from the the top bar on the screen in Ubuntu, and the launcher on the left as well.

Let me know if additional info is needed to solve this issue.
Jump to: