Author

Topic: POLLERR error in readAndWrite (Read 148 times)

full member
Activity: 147
Merit: 100
Do you like fire? I'm full of it.
December 18, 2017, 06:45:25 PM
#11
Only goatpig could know.
newbie
Activity: 8
Merit: 0
December 18, 2017, 06:12:31 PM
#10
Yes! After switching back to the older build I recreated the wallet without generating the addresses and armorydb worked fine. Not a regression issue, then?
full member
Activity: 147
Merit: 100
Do you like fire? I'm full of it.
December 18, 2017, 05:58:37 PM
#9
Does it work if you don't do that? Long story short I'm having your exact issue, except my armorydb.exe silently exits instead of hanging. And it does it only if I generate extra addresses.
newbie
Activity: 8
Merit: 0
December 18, 2017, 05:56:53 PM
#8
In fact, I did, right after restoring the wallet I generated 100 P2SH-P2PK addresses to check their balance manually. The addresses I was looking for (previously the first ones in the list) didn't even show up.
full member
Activity: 147
Merit: 100
Do you like fire? I'm full of it.
December 17, 2017, 09:43:47 AM
#7
This seems oddly familiar. By chance did you generate any new addresses from the wallet? And if so, how many?
newbie
Activity: 8
Merit: 0
December 17, 2017, 05:53:40 AM
#6
I resolved by reverting to 0.96.2.
newbie
Activity: 8
Merit: 0
December 16, 2017, 06:53:50 PM
#5
This https://pastebin.com/k7RNsahV is the complete log file created when starting with an empty datadir at an earlier time. Same problem happened after I restored the wallet. ArmoryDB hangs after writing the last log line.
legendary
Activity: 3640
Merit: 1345
Armory Developer
December 16, 2017, 06:36:52 PM
#4
I need to see the full dbLog.txt. Use pastebin.
newbie
Activity: 8
Merit: 0
December 16, 2017, 05:33:13 PM
#3
Quote
old CPU
got it, thanks!

Quote
Post your logs.

armorylog.txt:
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1147 - C++ block utilities loaded successfully
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1264 -
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1265 -
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1266 -
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1267 - ************************************************************
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1268 - Invoked: C:\Program Files\Armory\ArmoryQt.exe
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1269 - ************************************************************
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1270 - Loading Armory Engine:
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1271 -    Armory Version        : 0.96.3
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1272 -    Armory Build:         : 2b65ac0648
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1273 -    PyBtcWallet  Version  : 1.35
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1274 - Detected Operating system: Windows
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1275 -    OS Variant            : 8-6.2.9200--Multiprocessor Free
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1276 -    User home-directory   : C:\Users\me\AppData\Roaming
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1277 -    Satoshi BTC directory : C:\Users\me\AppData\Roaming\Bitcoin
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1278 -    Armory home dir       : C:\Users\me\AppData\Roaming\Armory\
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1279 - Detected System Specs    :
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1280 -    Total Available RAM   : 7.88 GB
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1281 -    CPU ID string         : Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1282 -    Number of CPU cores   : 8 cores
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1283 -    System is 64-bit      : True
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1284 -    Preferred Encoding    : cp1252
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1285 -    Machine Arch          : amd64
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1286 -    Available HDD (ARM)   : 99 GB
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1287 -    Available HDD (BTC)   : 70 GB
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1288 -
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1289 - Network Name: Main Network
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1290 - Satoshi Port: 8333
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1291 - Do wlt check: True
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1292 - Named options/arguments to armoryengine.py:
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     thread_count    : -1
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     rescan          : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     ignoreAllZC     : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     rescanBalance   : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     disableModules  : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     port            : None
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     interport       : 8223
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     coverageOutputDir: None
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     forceWalletCheck: False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     regtest         : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     rebuild         : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     nettimeout      : 2
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     datadir         : DEFAULT
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     clearMempool    : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     offline         : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     armoryDBDir     : DEFAULT
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     armorydb_port   : 9001
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     satoshiPort     : DEFAULT
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     useTorSettings  : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     netlog          : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     keypool         : 100
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     coverageInclude : None
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     forceOnline     : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     redownload      : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     rpcBindAddr     : 127.0.0.1
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     armorydb_ip     : 127.0.0.1
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     multisigFile    : DEFAULT
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     ram_usage       : -1
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     mtdebug         : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     logDisable      : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     settingsPath    : C:\Users\me\AppData\Roaming\Armory\ArmorySettings.txt
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     language        : en
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     db_type         : DB_FULL
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     doDebug         : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     enableDetSign   : True
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     disableConfPermis: False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     testnet         : False
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     rpcport         : DEFAULT
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     satoshiHome     : DEFAULT
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     satoshiRpcport  : DEFAULT
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     logFile         : C:\Users\me\AppData\Roaming\Armory\ArmoryQt.exe.log.txt
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1294 -     verbosity       : None
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1295 - Other arguments:
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1298 - ************************************************************
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:1701 - C++ block utilities loaded successfully
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:3559 - Using settings file: C:\Users\me\AppData\Roaming\Armory\ArmorySettings.txt
2017-12-16 19:01:56 (ERROR) -- ArmoryUtils.pyc:3716 - Unsupported language  specified. Defaulting to English (en)
2017-12-16 19:01:56 (INFO) -- ArmoryUtils.pyc:3719 - Using Language: en
2017-12-16 19:01:56 (INFO) -- BDM.pyc:355 - Using the asynchronous/multi-threaded BlockDataManager.
2017-12-16 19:01:56 (INFO) -- BDM.pyc:356 - Blockchain operations will happen in the background. 
2017-12-16 19:01:56 (INFO) -- BDM.pyc:357 - Devs: check TheBDM.getState() before asking for data.
2017-12-16 19:01:56 (INFO) -- BDM.pyc:358 - Registering addresses during rescans will queue them for
2017-12-16 19:01:56 (INFO) -- BDM.pyc:359 - inclusion after the current scan is completed.
2017-12-16 19:01:57 (INFO) -- ArmoryUtils.pyc:3559 - Using settings file: C:\Users\me\AppData\Roaming\Armory\ArmorySettings.txt
2017-12-16 19:01:57 (INFO) -- ArmoryQt.py:2061 - loadWalletsAndSettings
2017-12-16 19:01:57 (INFO) -- ArmoryQt.py:2121 - Loading wallets...
2017-12-16 19:01:58 (INFO) -- ArmoryQt.py:2186 - Number of wallets read in: 1
2017-12-16 19:01:58 (INFO) -- ArmoryQt.py:2191 -    Wallet (2R3LUF3R9):   "Restored - 2R3LUF3R9            "   (Encrypted)
2017-12-16 19:01:58 (INFO) -- ArmoryQt.py:1763 - acquiring process mutex...
2017-12-16 19:01:59 (INFO) -- ArmoryQt.py:1395 - setupUriRegistration
2017-12-16 19:01:59 (INFO) -- ArmoryQt.py:1463 - Armory already registered for current user.  Done!
2017-12-16 19:01:59 (INFO) -- ArmoryQt.py:566 - Usermode: Advanced
2017-12-16 19:01:59 (INFO) -- ArmoryQt.py:1698 - Changing usermode:
2017-12-16 19:01:59 (INFO) -- ArmoryQt.py:1699 -    From: Advanced
2017-12-16 19:01:59 (INFO) -- ArmoryQt.py:1707 -      To: Advanced
2017-12-16 19:01:59 (INFO) -- ArmoryQt.py:1836 - startBitcoindIfNecessary
2017-12-16 19:02:02 (INFO) -- ArmoryQt.py:1872 - setSatoshiPaths
2017-12-16 19:02:02 (WARNING) -- SDM.pyc:396 - Spawning DB with command: ./ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="C:\Users\me\AppData\Roaming\Bitcoin\blocks" --datadir="C:\Users\me\AppData\Roaming\Armory\" --dbdir="C:\Users\me\AppData\Roaming\Armory\databases"
2017-12-16 19:02:02 (INFO) -- ArmoryUtils.pyc:672 - Executing popen: ['./ArmoryDB.exe', '--db-type="DB_FULL"', '--cookie', u'--satoshi-datadir="C:\\Users\\me\\AppData\\Roaming\\Bitcoin\\blocks"', '--datadir="C:\\Users\\me\\AppData\\Roaming\\Armory\\"', u'--dbdir="C:\\Users\\me\\AppData\\Roaming\\Armory\\databases"']
2017-12-16 19:02:04 (INFO) -- ArmoryQt.py:1824 - Connecting on port 49951
2017-12-16 19:02:04 (INFO) -- ArmoryQt.py:1924 - Setting netmode: 1
2017-12-16 19:02:04 (INFO) -- ArmoryQt.py:1906 - loadBlockchainIfNecessary
2017-12-16 19:02:04 (ERROR) -- ArmoryQt.py:1198 - 3 attempts to load blockchain failed.  Remove mempool.bin.
2017-12-16 19:02:04 (ERROR) -- ArmoryQt.py:1203 - File mempool.bin does not exist. Nothing deleted.
2017-12-16 19:02:04 (INFO) -- ArmoryQt.py:1924 - Setting netmode: 1
2017-12-16 19:02:04 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode
2017-12-16 19:02:04 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode
2017-12-16 19:02:06 (WARNING) -- ArmoryQt.py:4108 - Called updateSyncProgress while not sync'ing
2017-12-16 19:02:06 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode
...
2017-12-16 20:19:29 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode
2017-12-16 20:19:55 (INFO) -- ArmoryQt.py:4612 - Dashboard switched to auto-InitSync
2017-12-16 20:19:55 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode
...
2017-12-16 20:56:29 (INFO) -- ArmoryQt.py:4670 - Dashboard switched to "Scanning" mode


dbLog.txt:

Log file opened at 19:02:03.000: C:\Users\yann\AppData\Roaming\Armory\dbLog.txt
-INFO  - 19:02:03.000: (..\main.cpp:32) Running on 8 threads
-INFO  - 19:02:03.000: (..\main.cpp:33) Ram usage level: 4
-INFO  - 19:02:03.000: (..\BlockUtils.cpp:915) blkfile dir: C:\Users\me\AppData\Roaming\Bitcoin\blocks
-INFO  - 19:02:03.000: (..\BlockUtils.cpp:916) lmdb dir: C:\Users\me\AppData\Roaming\Armory\databases
-INFO  - 19:02:03.000: (..\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 19:02:03.015: (c:\users\goat\code\armory3\cppforswig\BDM_Server.h:263) Listening on port 49951
-INFO  - 19:02:04.140: (..\BDM_Server.cpp:1114) registered bdv: 45785110e2f2d46ae4b4
-INFO  - 19:02:06.344: (..\nodeRPC.cpp:57) RPC connection established
-INFO  - 19:02:06.344: (..\BitcoinP2P.cpp:947) Connected to Bitcoin node
-INFO  - 19:02:06.344: (..\nodeRPC.cpp:346) Node is ready
-INFO  - 19:02:06.344: (..\BlockUtils.cpp:1108) Executing: doInitialSyncOnLoad
-INFO  - 19:02:06.531: (..\DatabaseBuilder.cpp:199) Reading headers from db
-INFO  - 19:02:10.469: (..\DatabaseBuilder.cpp:238) Found 499622 headers in db
-INFO  - 19:02:13.500: (..\DatabaseBuilder.cpp:64) Rewinding 100 blocks
-INFO  - 19:02:13.500: (..\DatabaseBuilder.cpp:71) updating HEADERS db
-INFO  - 19:02:14.828: (..\DatabaseBuilder.cpp:493) Found next block after skipping 1054845bytes
-INFO  - 19:02:15.250: (..\DatabaseBuilder.cpp:281) parsed block file #1103
-INFO  - 19:02:16.500: (..\Blockchain.cpp:248) Organizing chain
-INFO  - 19:02:16.547: (..\Blockchain.cpp:370) Organized chain in 0s
-INFO  - 19:02:16.547: (..\DatabaseBuilder.cpp:76) updated HEADERS db in 3s
-INFO  - 19:02:16.562: (..\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 19:02:16.562: (..\DatabaseBuilder.cpp:1231) verifying txfilters integrity
-INFO  - 19:02:17.937: (..\DatabaseBuilder.cpp:1314) done checking txfilters
-INFO  - 19:02:17.969: (..\BDM_supportClasses.cpp:1890) Enabling zero-conf tracking
-INFO  - 19:02:17.000: (..\BDM_supportClasses.cpp:401) Starting address registration process
-INFO  - 19:02:38.265: (..\BlockchainScanner.cpp:852) scanned from block #0 to #142691
...
-INFO  - 20:19:29.422: (..\BlockchainScanner.cpp:852) scanned from block #449887 to #450470
-ERROR - 20:19:43.672: (..\BitcoinP2P.cpp:1037) caught StopBlockingLoop in processDataStackThread
-INFO  - 20:19:43.672: (..\BitcoinP2P.cpp:969) Disconnected from Bitcoin node
-INFO  - 20:19:55.750: (..\BlockchainScanner.cpp:852) scanned from block #450471 to #451046
...
-INFO  - 20:31:14.406: (..\BlockchainScanner.cpp:852) scanned from block #465663 to #466224
-INFO  - 20:31:19.500: (..\BitcoinP2P.cpp:947) Connected to Bitcoin node
-INFO  - 20:31:40.812: (..\BlockchainScanner.cpp:852) scanned from block #466225 to #466777
...
-INFO  - 20:56:29.656: (..\BlockchainScanner.cpp:852) scanned from block #498700 to #499207


armorycpplog.txt:

Log file opened at 19:01:56.000: C:\Users\me\AppData\Roaming\Armory\armorycpplog.txt
-ERROR - 20:56:51.015: (..\SocketObject.cpp:447) POLLERR error in readAndWrite
-ERROR - 20:56:51.015: (..\StringSockets.cpp:359) POLLERR error in readAndWrite


Thank you for your help!
legendary
Activity: 3640
Merit: 1345
Armory Developer
December 16, 2017, 05:01:50 PM
#2
Quote
I've tried to use Armory 0.96.3 on Ubuntu 16.04 but there it won't even starts (I get Illegal instruction (core dumped) short after launch).

old CPU

Quote
I just need to transfer my balance (which is on a P2SH-P2PK address) and have already spent three days trying. Is there a way to import the address/private key on the Bitcoin Core client to accomplish this (or get Armory to create a transaction)? I'm so frustrated. Please help me!

Post your logs.
newbie
Activity: 8
Merit: 0
December 16, 2017, 04:41:54 PM
#1
Armory 0.96.3 build 2b65ac0648 with bitcoind v0.15.1 running on Windows 10 spawns ArmoryDB and starts scanning the transaction history. At 99% ArmoryDB exits and this messages are logged to armorycpplog.txt

-ERROR - 20:56:51.015: (..\SocketObject.cpp:447) POLLERR error in readAndWrite
-ERROR - 20:56:51.015: (..\StringSockets.cpp:359) POLLERR error in readAndWrite


The UI says "Scanning Transaction History 99% 20 seconds" indefinitely ("Connected (0 blocks)" in the lower right corner). If I start Armory with no wallet, everything runs fine. But as soon as I restore my wallet I get this behavior. I've tried this several times in many variations (loading the wallet before and after Armory is online and connected). The result is always the same. If I restart Armory the whole process repeats.

I've tried to use Armory 0.96.3 on Ubuntu 16.04 but there it won't even starts (I get Illegal instruction (core dumped) short after launch).

I just need to transfer my balance (which is on a P2SH-P2PK address) and have already spent three days trying. Is there a way to import the address/private key on the Bitcoin Core client to accomplish this (or get Armory to create a transaction)? I'm so frustrated. Please help me!
Jump to: