Pages:
Author

Topic: Armory 0.95 testing phase - page 6. (Read 8478 times)

legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 02:17:30 PM
#73
I've seen the same debug statements on my end. Is you DB/GUI stuck or crashed? Shouldn't be.
legendary
Activity: 3430
Merit: 3080
August 02, 2016, 02:13:29 PM
#72
testing 27e3a36:
Code:
-ERROR - 1470163647: (BDM_Server.cpp:637) caught isEmpty in Clients maintenance loop

not long after, armorylog.txt hits this:

Code:
*** Error in `./ArmoryDB': double free or corruption (fasttop): 0x00007f4398000990 ***
-INFO  - 1470164078: (SocketObject.cpp:350) POLLIN recv return 0

cpplog.txt:

Code:
Log file opened at 1470158011: /home/user/.armory/armorycpplog.txt
-ERROR - 1470158308: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470158308: (SocketObject.cpp:139) POLLNVAL in writeToSocket
-ERROR - 1470158308: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470158740: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470158740: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470158740: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470159059: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470159059: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470160347: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470160347: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470160347: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470160367: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470160367: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470161382: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470161382: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470161382: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470161382: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470161604: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470161604: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-ERROR - 1470161604: (SocketObject.cpp:272) readFromSocketThread poll returned POLLNVAL, errnum: 0, errmsg: Success
-INFO  - 1470164078: (SocketObject.cpp:350) POLLIN recv return 0

This was once it went through a stable build/load. Half a dozen blocks came through once the txscan finished before.
staff
Activity: 3458
Merit: 6793
Just writing some code
August 02, 2016, 12:56:17 PM
#71
delete the content of your databases folder and try again
Then its back to the problem earlier where the DB crashes when Qt starts

Let's go to IRC
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 12:43:29 PM
#70
delete the content of your databases folder and try again
staff
Activity: 3458
Merit: 6793
Just writing some code
August 02, 2016, 12:36:44 PM
#69
show me the log output too
Code:
-INFO  - 1470159382: (main.cpp:24) Running on 8 threads
-INFO  - 1470159382: (main.cpp:25) Ram usage level: 4
-INFO  - 1470159382: (BlockUtils.cpp:1247) blkfile dir: /media/andy/Data/Programs/Bitcoin/data
-INFO  - 1470159382: (BlockUtils.cpp:1248) lmdb dir: /media/andy/Data/Data/bitcoin/ArmoryData/databases
-INFO  - 1470159382: (lmdb_wrapper.cpp:389) Opening databases...
-INFO  - 1470159382: (BlockUtils.cpp:1447) Executing: doInitialSyncOnLoad_Rescan
-INFO  - 1470159382: (BitcoinP2P.cpp:725) Connected to Bitcoin node
-INFO  - 1470159382: (lmdb_wrapper.cpp:389) Opening databases...
-INFO  - 1470159382: (DatabaseBuilder.cpp:166) Reading headers from db
-WARN  - 1470159382: (lmdb_wrapper.cpp:1203) No headers in DB yet!
-INFO  - 1470159382: (DatabaseBuilder.cpp:199) Found 1 headers in db
-INFO  - 1470159382: (DatabaseBuilder.cpp:49) updating HEADERS db
-DEBUG - 1470159382: (Blockchain.cpp:232) Organizing chain
-INFO  - 1470159382: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.000394s
-INFO  - 1470159382: (DatabaseBuilder.cpp:103) scanning new blocks from #0 to #0
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 12:19:47 PM
#68
show me the log output too
staff
Activity: 3458
Merit: 6793
Just writing some code
August 02, 2016, 11:55:45 AM
#67
Current top is 423333. Check your top block on Core first
Top block on core is right. Top block on armory is not.

Time for rebuild & rescan.
It segfaults. I'll get a backtrace in a moment.

Well that's not very helpful:
Code:
(gdb) bt
#0  0x000000000044095e in ?? ()
#1  0x0000000000000000 in ?? ()
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 11:52:09 AM
#66
Current top is 423333. Check your top block on Core first
Top block on core is right. Top block on armory is not.

Time for rebuild & rescan.
staff
Activity: 3458
Merit: 6793
Just writing some code
August 02, 2016, 11:31:11 AM
#65
Current top is 423333. Check your top block on Core first
Top block on core is right. Top block on armory is not.
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 10:03:36 AM
#64
Current top is 423333. Check your top block on Core first
staff
Activity: 3458
Merit: 6793
Just writing some code
August 02, 2016, 10:00:25 AM
#63
DB isn't outputting any error. I'm assuming it is running just fine. You saying the clients isn't displaying the proper top block?
Yes.

I think that these two lines:
Code:
-INFO  - 1470145634: (DatabaseBuilder.cpp:199) Found 422936 headers in db
...
-INFO  - 1470145637: (DatabaseBuilder.cpp:103) scanning new blocks from #422824 to #422823

Are a bit concerning. The latest top when I ran it was 423... and it is only scanning from 422823 to 422824.
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 09:51:18 AM
#62
DB isn't outputting any error. I'm assuming it is running just fine. You saying the clients isn't displaying the proper top block?
staff
Activity: 3458
Merit: 6793
Just writing some code
August 02, 2016, 09:01:21 AM
#61
Start db individually, does it catch up?
No it does not catch up.

Log file plz

dbLog.txt latest run:
Code:


Log file opened at 1470145631: /media/andy/Data/Data/bitcoin/ArmoryData/dbLog.txt
-INFO  - 1470145631: (main.cpp:24) Running on 8 threads
-INFO  - 1470145631: (main.cpp:25) Ram usage level: 4
-INFO  - 1470145631: (BlockUtils.cpp:1247) blkfile dir: /media/andy/Data/Programs/Bitcoin/data
-INFO  - 1470145631: (BlockUtils.cpp:1248) lmdb dir: /media/andy/Data/Data/bitcoin/ArmoryData/databases
-INFO  - 1470145631: (lmdb_wrapper.cpp:389) Opening databases...
-INFO  - 1470145631: (BlockUtils.cpp:1438) Executing: doInitialSyncOnLoad
-INFO  - 1470145631: (DatabaseBuilder.cpp:166) Reading headers from db
-INFO  - 1470145631: (BitcoinP2P.cpp:725) Connected to Bitcoin node
-INFO  - 1470145634: (DatabaseBuilder.cpp:199) Found 422936 headers in db
-INFO  - 1470145637: (DatabaseBuilder.cpp:49) updating HEADERS db
-DEBUG - 1470145637: (Blockchain.cpp:232) Organizing chain
-INFO  - 1470145637: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.059381s
-INFO  - 1470145637: (DatabaseBuilder.cpp:103) scanning new blocks from #422824 to #422823
-INFO  - 1470145637: (BlockchainScanner.cpp:51) no history to scan
-INFO  - 1470145637: (BlockchainScanner.cpp:802) no SSH to scan
-INFO  - 1470145637: (DatabaseBuilder.cpp:153) scanned new blocks in 0.000986s
-INFO  - 1470145637: (DatabaseBuilder.cpp:157) init db in 5.32062s
-INFO  - 1470145637: (BlockUtils.cpp:1549) Enabling zero-conf tracking
-INFO  - 1470145689: (BDM_Server.cpp:573) registered bdv: 893de640c6ee895d17ff
-INFO  - 1470145736: (BDM_Server.cpp:604) unregistered bdv: 893de640c6ee895d17ff
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 08:53:58 AM
#60
Start db individually, does it catch up?
No it does not catch up.

Log file plz
staff
Activity: 3458
Merit: 6793
Just writing some code
August 02, 2016, 08:49:08 AM
#59
Start db individually, does it catch up?
No it does not catch up.
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 08:42:46 AM
#58
Sometimes I get this error:

Code:
Traceback (most recent call last):
  File "/home/andy/bitcoin/BitcoinArmory/qtdialogs.py", line 1831, in accept
    self.saveGeometrySettings()
  File "/home/andy/bitcoin/BitcoinArmory/qtdialogs.py", line 1821, in saveGeometrySettings
    self.main.writeSetting('WltPropGeometry', str(self.saveGeometry().toHex()))
  File "ArmoryQt.py", line 2857, in writeSetting
    self.settings.set(settingName, val)
  File "/home/andy/bitcoin/BitcoinArmory/armoryengine/ArmoryUtils.py", line 3611, in set
    self.writeSettingsFile()
  File "/home/andy/bitcoin/BitcoinArmory/armoryengine/ArmoryUtils.py", line 3690, in writeSettingsFile
    f.close()
IOError: [Errno 9] Bad file descriptor


Failing to write the settings file, although that's a python only error.

Quote
Also, I have had it running since yesterday but it seems like it isn't getting any new blocks even though Core is. And it doesn't update when I restart DB and Qt.

Start db individually, does it catch up?
staff
Activity: 3458
Merit: 6793
Just writing some code
August 02, 2016, 07:52:58 AM
#57
Sometimes I get this error:

Code:
Traceback (most recent call last):
  File "/home/andy/bitcoin/BitcoinArmory/qtdialogs.py", line 1831, in accept
    self.saveGeometrySettings()
  File "/home/andy/bitcoin/BitcoinArmory/qtdialogs.py", line 1821, in saveGeometrySettings
    self.main.writeSetting('WltPropGeometry', str(self.saveGeometry().toHex()))
  File "ArmoryQt.py", line 2857, in writeSetting
    self.settings.set(settingName, val)
  File "/home/andy/bitcoin/BitcoinArmory/armoryengine/ArmoryUtils.py", line 3611, in set
    self.writeSettingsFile()
  File "/home/andy/bitcoin/BitcoinArmory/armoryengine/ArmoryUtils.py", line 3690, in writeSettingsFile
    f.close()
IOError: [Errno 9] Bad file descriptor

Also, I have had it running since yesterday but it seems like it isn't getting any new blocks even though Core is. And it doesn't update when I restart DB and Qt.
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 02, 2016, 07:11:08 AM
#56
I've been starting to get syncing issues producing this error too:
Code:
-INFO  - 1470133590: (SocketObject.cpp:338) POLLIN recv return 0

Related to the change in getter method, presumably

extra verbose for my debugging purposes.
legendary
Activity: 3430
Merit: 3080
August 02, 2016, 05:46:25 AM
#55
I've been starting to get syncing issues producing this error too:
Code:
-INFO  - 1470133590: (SocketObject.cpp:338) POLLIN recv return 0

Related to the change in getter method, presumably
legendary
Activity: 3766
Merit: 1364
Armory Developer
August 01, 2016, 04:02:56 PM
#54
Pages:
Jump to: