goatpig (OP)
Moderator
Legendary
Offline
Activity: 3766
Merit: 1364
Armory Developer
|
|
July 28, 2016, 11:33:33 AM |
|
I'll also be waiting on this fix, had the same problem as Carlton Banks, so i cannot proceed to testing either Was stupid, should be fixed now. Seems like the problem is fixed, altough i can't manage to get ArmoryDB running, seems like it can't bind... I'll see if i can find out what's wrong when i get home from work. ./ArmoryDB --testnet /home/bitcoin -INFO - 1469689140: (main.cpp:30) Running on 8 threads -INFO - 1469689140: (main.cpp:31) Ram usage level: 4 -INFO - 1469689140: (BlockUtils.cpp:1195) blkfile dir: /home/bitcoin/.bitcoin/testnet3/blocks -INFO - 1469689140: (BlockUtils.cpp:1196) lmdb dir: /home/bitcoin/.armory/testnet3/databases -INFO - 1469689140: (lmdb_wrapper.cpp:388) Opening databases... bind/listen: Address already in use
Could possibly mean it's already running. I'll add some more verbose and checks
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3542
Merit: 6886
Just writing some code
|
|
July 28, 2016, 12:42:53 PM |
|
I'll also be waiting on this fix, had the same problem as Carlton Banks, so i cannot proceed to testing either Was stupid, should be fixed now. Seems like the problem is fixed, altough i can't manage to get ArmoryDB running, seems like it can't bind... I'll see if i can find out what's wrong when i get home from work. ./ArmoryDB --testnet /home/bitcoin -INFO - 1469689140: (main.cpp:30) Running on 8 threads -INFO - 1469689140: (main.cpp:31) Ram usage level: 4 -INFO - 1469689140: (BlockUtils.cpp:1195) blkfile dir: /home/bitcoin/.bitcoin/testnet3/blocks -INFO - 1469689140: (BlockUtils.cpp:1196) lmdb dir: /home/bitcoin/.armory/testnet3/databases -INFO - 1469689140: (lmdb_wrapper.cpp:388) Opening databases... bind/listen: Address already in use
Could possibly mean it's already running. I'll add some more verbose and checks Sometimes ArmoryDB does close when ArmoryQt crashes, so it is likely that is what happened. mocacinno, check your processes to see if ArmoryDB is still running, and if it is, kill it.
|
|
|
|
mocacinno
Legendary
Offline
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
|
|
July 28, 2016, 01:15:39 PM |
|
Sometimes ArmoryDB does close when ArmoryQt crashes, so it is likely that is what happened.
mocacinno, check your processes to see if ArmoryDB is still running, and if it is, kill it.
I'll do that when i get home in a couple of hours (i quickly tried out the fixes this morning before leaving for work... I just copy/pasted the output/errors without thinking it thru). I'll see if ArmoryDB is already running, kill it, try again and report back
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3080
|
|
July 28, 2016, 11:16:42 PM |
|
I'm getting a handful of these errors, followed by segfault: -ERROR - 1469735393: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 Getting as far as tx scanning stage, sometimes the segfault struck while the block parsing was still happening.
|
Vires in numeris
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3542
Merit: 6886
Just writing some code
|
|
July 28, 2016, 11:49:05 PM |
|
I'm getting a handful of these errors, followed by segfault: -ERROR - 1469735393: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 Getting as far as tx scanning stage, sometimes the segfault struck while the block parsing was still happening. Mine does the same, although there aren't many errors. It just says that a buffer overflow was detected and then segfaults.
|
|
|
|
goatpig (OP)
Moderator
Legendary
Offline
Activity: 3766
Merit: 1364
Armory Developer
|
|
July 28, 2016, 11:55:16 PM Last edit: July 29, 2016, 12:33:57 AM by goatpig |
|
I'm getting a handful of these errors, followed by segfault: -ERROR - 1469735393: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 Getting as far as tx scanning stage, sometimes the segfault struck while the block parsing was still happening. Did you point it at an different dbdir? EDIT: also let me see dbLog.txt
|
|
|
|
mocacinno
Legendary
Offline
Activity: 3584
Merit: 5243
https://merel.mobi => buy facemasks with BTC/LTC
|
|
July 29, 2016, 08:33:09 AM |
|
just some feedback: ArmoryDB wasn't running (this wasn't the cause of my previous problem), so i tried starting it with a trace... Found this line: bind(33, {sa_family=AF_INET, sin_port=htons(9050), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EAD dup(2)
checked which process was using port 9050 with netstat -tulpn | grep 9050
turned out to be an essential process on my server, i stopped it for a (very short) while, tried starting ArmoryDB, now I get this: ./ArmoryDB /home/bitcoin -INFO - 1469781000: (main.cpp:30) Running on 8 threads -INFO - 1469781000: (main.cpp:31) Ram usage level: 4 -INFO - 1469781000: (BlockUtils.cpp:1195) blkfile dir: /home/bitcoin/.bitcoin/blocks -INFO - 1469781000: (BlockUtils.cpp:1196) lmdb dir: /home/bitcoin/.armory/databases -INFO - 1469781000: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469781000: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad -INFO - 1469781000: (DatabaseBuilder.cpp:166) Reading headers from db
-INFO - 1469781007: (BitcoinP2P.cpp:687) Connected to Bitcoin node Bus error
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3080
|
|
July 29, 2016, 09:04:55 AM |
|
Did you point it at an different dbdir? No, using the standard ~/.armory location. satoshi-datadir is customised though EDIT: also let me see dbLog.txt
Log file opened at 1469741033: /home/user/.armory/dbLog.txt -INFO - 1469741033: (main.cpp:24) Running on 4 threads -INFO - 1469741033: (main.cpp:25) Ram usage level: 4 -INFO - 1469741033: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks -INFO - 1469741033: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases -INFO - 1469741033: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469741033: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad -INFO - 1469741033: (DatabaseBuilder.cpp:166) Reading headers from db -WARN - 1469741033: (lmdb_wrapper.cpp:1202) No headers in DB yet! -INFO - 1469741033: (DatabaseBuilder.cpp:199) Found 1 headers in db -INFO - 1469741033: (DatabaseBuilder.cpp:49) updating HEADERS db -INFO - 1469741034: (BitcoinP2P.cpp:687) Connected to Bitcoin node -INFO - 1469741034: (BDM_Server.cpp:571) registered bdv: a083cb49093ba183c232 -INFO - 1469741113: (DatabaseBuilder.cpp:227) parsed block file #0 -INFO - 1469741156: (DatabaseBuilder.cpp:227) parsed block file #4 -INFO - 1469741185: (DatabaseBuilder.cpp:227) parsed block file #8 -INFO - 1469741215: (DatabaseBuilder.cpp:227) parsed block file #12 -INFO - 1469741245: (DatabaseBuilder.cpp:227) parsed block file #16 -INFO - 1469741277: (DatabaseBuilder.cpp:227) parsed block file #20 -INFO - 1469741306: (DatabaseBuilder.cpp:227) parsed block file #24 -INFO - 1469741337: (DatabaseBuilder.cpp:227) parsed block file #28 -INFO - 1469741368: (DatabaseBuilder.cpp:227) parsed block file #32 -INFO - 1469741403: (DatabaseBuilder.cpp:227) parsed block file #36 -INFO - 1469741427: (DatabaseBuilder.cpp:227) parsed block file #40 -INFO - 1469741461: (DatabaseBuilder.cpp:227) parsed block file #44 -INFO - 1469741492: (DatabaseBuilder.cpp:227) parsed block file #48 -INFO - 1469741523: (DatabaseBuilder.cpp:227) parsed block file #52 -INFO - 1469741552: (DatabaseBuilder.cpp:227) parsed block file #56 -INFO - 1469741583: (DatabaseBuilder.cpp:227) parsed block file #60 -INFO - 1469741614: (DatabaseBuilder.cpp:227) parsed block file #64 -INFO - 1469741641: (DatabaseBuilder.cpp:227) parsed block file #68 -INFO - 1469741667: (DatabaseBuilder.cpp:227) parsed block file #72 -INFO - 1469741693: (DatabaseBuilder.cpp:227) parsed block file #76 -INFO - 1469741721: (DatabaseBuilder.cpp:227) parsed block file #80 -INFO - 1469741746: (DatabaseBuilder.cpp:227) parsed block file #84 -INFO - 1469741775: (DatabaseBuilder.cpp:227) parsed block file #88 -INFO - 1469741805: (DatabaseBuilder.cpp:227) parsed block file #92 -INFO - 1469741837: (DatabaseBuilder.cpp:227) parsed block file #96 -INFO - 1469741871: (DatabaseBuilder.cpp:227) parsed block file #100 -INFO - 1469741904: (DatabaseBuilder.cpp:227) parsed block file #104 -INFO - 1469741934: (DatabaseBuilder.cpp:227) parsed block file #108 -INFO - 1469741962: (DatabaseBuilder.cpp:227) parsed block file #112 -INFO - 1469741992: (DatabaseBuilder.cpp:227) parsed block file #116 -INFO - 1469742023: (DatabaseBuilder.cpp:227) parsed block file #120 -INFO - 1469742058: (DatabaseBuilder.cpp:227) parsed block file #124 -INFO - 1469742092: (DatabaseBuilder.cpp:227) parsed block file #128 -INFO - 1469742120: (DatabaseBuilder.cpp:227) parsed block file #132 -INFO - 1469742152: (DatabaseBuilder.cpp:227) parsed block file #136 -INFO - 1469742185: (DatabaseBuilder.cpp:227) parsed block file #140 -INFO - 1469742217: (DatabaseBuilder.cpp:227) parsed block file #144 -INFO - 1469742243: (DatabaseBuilder.cpp:227) parsed block file #148 -INFO - 1469742269: (DatabaseBuilder.cpp:227) parsed block file #152 -INFO - 1469742296: (DatabaseBuilder.cpp:227) parsed block file #156 -INFO - 1469742322: (DatabaseBuilder.cpp:227) parsed block file #160 -INFO - 1469742350: (DatabaseBuilder.cpp:227) parsed block file #164 -INFO - 1469742378: (DatabaseBuilder.cpp:227) parsed block file #168 -INFO - 1469742404: (DatabaseBuilder.cpp:227) parsed block file #172 -INFO - 1469742427: (DatabaseBuilder.cpp:227) parsed block file #176 -INFO - 1469742453: (DatabaseBuilder.cpp:227) parsed block file #180 -INFO - 1469742478: (DatabaseBuilder.cpp:227) parsed block file #184 -INFO - 1469742502: (DatabaseBuilder.cpp:227) parsed block file #188 -INFO - 1469742528: (DatabaseBuilder.cpp:227) parsed block file #192 -INFO - 1469742552: (DatabaseBuilder.cpp:227) parsed block file #196 -INFO - 1469742574: (DatabaseBuilder.cpp:227) parsed block file #200 -INFO - 1469742597: (DatabaseBuilder.cpp:227) parsed block file #204 -INFO - 1469742620: (DatabaseBuilder.cpp:227) parsed block file #208 -INFO - 1469742642: (DatabaseBuilder.cpp:227) parsed block file #212 -INFO - 1469742669: (DatabaseBuilder.cpp:227) parsed block file #216 -INFO - 1469742691: (DatabaseBuilder.cpp:227) parsed block file #220 -INFO - 1469742714: (DatabaseBuilder.cpp:227) parsed block file #224 -INFO - 1469742733: (DatabaseBuilder.cpp:227) parsed block file #228 -INFO - 1469742754: (DatabaseBuilder.cpp:227) parsed block file #232 -INFO - 1469742774: (DatabaseBuilder.cpp:227) parsed block file #236 -INFO - 1469742795: (DatabaseBuilder.cpp:227) parsed block file #240 -INFO - 1469742819: (DatabaseBuilder.cpp:227) parsed block file #244 -INFO - 1469742840: (DatabaseBuilder.cpp:227) parsed block file #248 -INFO - 1469742862: (DatabaseBuilder.cpp:227) parsed block file #252 -INFO - 1469742886: (DatabaseBuilder.cpp:227) parsed block file #256 -INFO - 1469742910: (DatabaseBuilder.cpp:227) parsed block file #260 -INFO - 1469742932: (DatabaseBuilder.cpp:227) parsed block file #264 -INFO - 1469742959: (DatabaseBuilder.cpp:227) parsed block file #268 -INFO - 1469742981: (DatabaseBuilder.cpp:227) parsed block file #272 -INFO - 1469743011: (DatabaseBuilder.cpp:227) parsed block file #276 -INFO - 1469743033: (DatabaseBuilder.cpp:227) parsed block file #280 -INFO - 1469743057: (DatabaseBuilder.cpp:227) parsed block file #284 -INFO - 1469743081: (DatabaseBuilder.cpp:227) parsed block file #288 -INFO - 1469743105: (DatabaseBuilder.cpp:227) parsed block file #292 -INFO - 1469743128: (DatabaseBuilder.cpp:227) parsed block file #296 -INFO - 1469743150: (DatabaseBuilder.cpp:227) parsed block file #300 -INFO - 1469743173: (DatabaseBuilder.cpp:227) parsed block file #304 -INFO - 1469743193: (DatabaseBuilder.cpp:227) parsed block file #308 -INFO - 1469743218: (DatabaseBuilder.cpp:227) parsed block file #312 -INFO - 1469743242: (DatabaseBuilder.cpp:227) parsed block file #316 -INFO - 1469743263: (DatabaseBuilder.cpp:227) parsed block file #320 -INFO - 1469743289: (DatabaseBuilder.cpp:227) parsed block file #324 -INFO - 1469743312: (DatabaseBuilder.cpp:227) parsed block file #328 -INFO - 1469743330: (DatabaseBuilder.cpp:227) parsed block file #332 -INFO - 1469743355: (DatabaseBuilder.cpp:227) parsed block file #336 -INFO - 1469743377: (DatabaseBuilder.cpp:227) parsed block file #340 -INFO - 1469743401: (DatabaseBuilder.cpp:227) parsed block file #344 -INFO - 1469743421: (DatabaseBuilder.cpp:227) parsed block file #348 -INFO - 1469743445: (DatabaseBuilder.cpp:227) parsed block file #352 -INFO - 1469743469: (DatabaseBuilder.cpp:227) parsed block file #356 -INFO - 1469743492: (DatabaseBuilder.cpp:227) parsed block file #360 -INFO - 1469743515: (DatabaseBuilder.cpp:227) parsed block file #364 -INFO - 1469743538: (DatabaseBuilder.cpp:227) parsed block file #368 -INFO - 1469743563: (DatabaseBuilder.cpp:227) parsed block file #372 -INFO - 1469743585: (DatabaseBuilder.cpp:227) parsed block file #376 -INFO - 1469743607: (DatabaseBuilder.cpp:227) parsed block file #380 -INFO - 1469743631: (DatabaseBuilder.cpp:227) parsed block file #384 -INFO - 1469743655: (DatabaseBuilder.cpp:227) parsed block file #388 -INFO - 1469743676: (DatabaseBuilder.cpp:227) parsed block file #392 -INFO - 1469743702: (DatabaseBuilder.cpp:227) parsed block file #396 -INFO - 1469743725: (DatabaseBuilder.cpp:227) parsed block file #400 -INFO - 1469743747: (DatabaseBuilder.cpp:227) parsed block file #404 -INFO - 1469743772: (DatabaseBuilder.cpp:227) parsed block file #408 -INFO - 1469743793: (DatabaseBuilder.cpp:227) parsed block file #412 -INFO - 1469743819: (DatabaseBuilder.cpp:227) parsed block file #416 -INFO - 1469743840: (DatabaseBuilder.cpp:227) parsed block file #420 -INFO - 1469743861: (DatabaseBuilder.cpp:227) parsed block file #424 -INFO - 1469743884: (DatabaseBuilder.cpp:227) parsed block file #428 -INFO - 1469743907: (DatabaseBuilder.cpp:227) parsed block file #432 -INFO - 1469743929: (DatabaseBuilder.cpp:227) parsed block file #436 -INFO - 1469743955: (DatabaseBuilder.cpp:227) parsed block file #440 -INFO - 1469743980: (DatabaseBuilder.cpp:227) parsed block file #444 -INFO - 1469744006: (DatabaseBuilder.cpp:227) parsed block file #448 -INFO - 1469744027: (DatabaseBuilder.cpp:227) parsed block file #452 -INFO - 1469744050: (DatabaseBuilder.cpp:227) parsed block file #456 -INFO - 1469744071: (DatabaseBuilder.cpp:227) parsed block file #460 -INFO - 1469744094: (DatabaseBuilder.cpp:227) parsed block file #464 -INFO - 1469744121: (DatabaseBuilder.cpp:227) parsed block file #468 -INFO - 1469744148: (DatabaseBuilder.cpp:227) parsed block file #472 -INFO - 1469744168: (DatabaseBuilder.cpp:227) parsed block file #476 -INFO - 1469744192: (DatabaseBuilder.cpp:227) parsed block file #480 -INFO - 1469744221: (DatabaseBuilder.cpp:227) parsed block file #484 -INFO - 1469744228: (DatabaseBuilder.cpp:409) Found next block after skipping 0bytes -INFO - 1469744246: (DatabaseBuilder.cpp:227) parsed block file #488 -INFO - 1469744273: (DatabaseBuilder.cpp:227) parsed block file #492 -INFO - 1469744301: (DatabaseBuilder.cpp:227) parsed block file #496 -INFO - 1469744331: (DatabaseBuilder.cpp:227) parsed block file #500 -INFO - 1469744358: (DatabaseBuilder.cpp:227) parsed block file #504 -INFO - 1469744387: (DatabaseBuilder.cpp:227) parsed block file #508 -INFO - 1469744415: (DatabaseBuilder.cpp:227) parsed block file #512 -INFO - 1469744445: (DatabaseBuilder.cpp:227) parsed block file #516 -INFO - 1469744475: (DatabaseBuilder.cpp:227) parsed block file #520 -INFO - 1469744499: (DatabaseBuilder.cpp:227) parsed block file #524 -INFO - 1469744526: (DatabaseBuilder.cpp:227) parsed block file #528 -INFO - 1469744556: (DatabaseBuilder.cpp:227) parsed block file #532 -INFO - 1469744578: (DatabaseBuilder.cpp:227) parsed block file #536 -INFO - 1469744601: (DatabaseBuilder.cpp:227) parsed block file #540 -INFO - 1469744626: (DatabaseBuilder.cpp:227) parsed block file #544 -INFO - 1469744650: (DatabaseBuilder.cpp:227) parsed block file #548 -INFO - 1469744672: (DatabaseBuilder.cpp:227) parsed block file #552 -INFO - 1469744697: (DatabaseBuilder.cpp:227) parsed block file #556 -INFO - 1469744720: (DatabaseBuilder.cpp:227) parsed block file #560 -INFO - 1469744751: (DatabaseBuilder.cpp:227) parsed block file #564 -INFO - 1469744773: (DatabaseBuilder.cpp:227) parsed block file #568 -INFO - 1469744793: (DatabaseBuilder.cpp:227) parsed block file #572 -INFO - 1469744818: (DatabaseBuilder.cpp:227) parsed block file #576 -INFO - 1469744831: (DatabaseBuilder.cpp:227) parsed block file #580 -DEBUG - 1469744831: (Blockchain.cpp:232) Organizing chain -INFO - 1469744851: (DatabaseBuilder.cpp:53) updated HEADERS db in 3818s -INFO - 1469744851: (BlockUtils.cpp:1497) Enabling zero-conf tracking -INFO - 1469744852: (BDM_supportClasses.cpp:387) Starting address registration process -INFO - 1469744879: (BlockchainScanner.cpp:640) scanned from height #0 to #142648 -INFO - 1469744901: (BlockchainScanner.cpp:640) scanned from height #142649 to #169936 -INFO - 1469744918: (BlockchainScanner.cpp:640) scanned from height #169937 to #183098 -INFO - 1469744936: (BlockchainScanner.cpp:640) scanned from height #183099 to #189198 -INFO - 1469744955: (BlockchainScanner.cpp:640) scanned from height #189199 to #194856 -INFO - 1469744972: (BlockchainScanner.cpp:640) scanned from height #194857 to #200839 -INFO - 1469744990: (BlockchainScanner.cpp:640) scanned from height #200840 to #206610 -INFO - 1469745008: (BlockchainScanner.cpp:640) scanned from height #206611 to #211790 -INFO - 1469745024: (BlockchainScanner.cpp:640) scanned from height #211791 to #215978
Log file opened at 1469745259: /home/user/.armory/dbLog.txt -INFO - 1469745259: (main.cpp:24) Running on 4 threads -INFO - 1469745259: (main.cpp:25) Ram usage level: 4 -INFO - 1469745259: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks -INFO - 1469745259: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases -INFO - 1469745259: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469745259: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad -INFO - 1469745259: (DatabaseBuilder.cpp:166) Reading headers from db -INFO - 1469745260: (BitcoinP2P.cpp:687) Connected to Bitcoin node -INFO - 1469745260: (BDM_Server.cpp:571) registered bdv: 90a78d345aa0a3dfef2e -INFO - 1469745276: (DatabaseBuilder.cpp:199) Found 422663 headers in db -INFO - 1469745284: (DatabaseBuilder.cpp:49) updating HEADERS db -INFO - 1469745288: (DatabaseBuilder.cpp:409) Found next block after skipping 676822bytes -INFO - 1469745291: (DatabaseBuilder.cpp:227) parsed block file #582 -DEBUG - 1469745291: (Blockchain.cpp:232) Organizing chain -INFO - 1469745291: (DatabaseBuilder.cpp:53) updated HEADERS db in 3.62354s -INFO - 1469745291: (BlockUtils.cpp:1497) Enabling zero-conf tracking
Log file opened at 1469747449: /home/user/.armory/dbLog.txt -INFO - 1469747449: (main.cpp:24) Running on 4 threads -INFO - 1469747449: (main.cpp:25) Ram usage level: 4 -INFO - 1469747449: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks -INFO - 1469747449: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases -INFO - 1469747449: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469747449: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad -INFO - 1469747450: (BitcoinP2P.cpp:687) Connected to Bitcoin node -INFO - 1469747450: (DatabaseBuilder.cpp:166) Reading headers from db -INFO - 1469747450: (BDM_Server.cpp:571) registered bdv: 623907bdf363b5bce9d7 -INFO - 1469747463: (DatabaseBuilder.cpp:199) Found 422663 headers in db -INFO - 1469747469: (DatabaseBuilder.cpp:49) updating HEADERS db -INFO - 1469747470: (DatabaseBuilder.cpp:409) Found next block after skipping 676822bytes -INFO - 1469747472: (DatabaseBuilder.cpp:227) parsed block file #582 -DEBUG - 1469747472: (Blockchain.cpp:232) Organizing chain -INFO - 1469747472: (DatabaseBuilder.cpp:53) updated HEADERS db in 2.97311s -INFO - 1469747472: (BlockUtils.cpp:1497) Enabling zero-conf tracking -INFO - 1469747472: (BDM_supportClasses.cpp:387) Starting address registration process -INFO - 1469747511: (BlockchainScanner.cpp:640) scanned from height #0 to #142648 -INFO - 1469747529: (BlockchainScanner.cpp:640) scanned from height #142649 to #169936 -INFO - 1469747553: (BlockchainScanner.cpp:640) scanned from height #169937 to #183098 -INFO - 1469747585: (BlockchainScanner.cpp:640) scanned from height #183099 to #189198 -INFO - 1469747590: (BlockchainScanner.cpp:51) no history to scan -INFO - 1469747604: (BlockchainScanner.cpp:640) scanned from height #189199 to #194856 -INFO - 1469747628: (BlockchainScanner.cpp:640) scanned from height #194857 to #200839 -INFO - 1469747645: (BlockchainScanner.cpp:640) scanned from height #200840 to #206610 -INFO - 1469747666: (BlockchainScanner.cpp:640) scanned from height #206611 to #211790 -INFO - 1469747680: (BlockchainScanner.cpp:640) scanned from height #211791 to #215978 -INFO - 1469747692: (BlockchainScanner.cpp:640) scanned from height #215979 to #219364 -INFO - 1469747705: (BlockchainScanner.cpp:640) scanned from height #219365 to #222839 -INFO - 1469747719: (BlockchainScanner.cpp:640) scanned from height #222840 to #225967 -INFO - 1469747733: (BlockchainScanner.cpp:640) scanned from height #225968 to #229667 -INFO - 1469747751: (BlockchainScanner.cpp:640) scanned from height #229668 to #232781 -INFO - 1469747766: (BlockchainScanner.cpp:640) scanned from height #232782 to #235928 -INFO - 1469747780: (BlockchainScanner.cpp:640) scanned from height #235929 to #239242 -INFO - 1469747793: (BlockchainScanner.cpp:640) scanned from height #239243 to #243433 -INFO - 1469747809: (BlockchainScanner.cpp:640) scanned from height #243434 to #248498 -INFO - 1469747824: (BlockchainScanner.cpp:640) scanned from height #248499 to #252855 -INFO - 1469747840: (BlockchainScanner.cpp:640) scanned from height #252856 to #256752 -INFO - 1469747852: (BlockchainScanner.cpp:640) scanned from height #256753 to #260951 -INFO - 1469747868: (BlockchainScanner.cpp:640) scanned from height #260952 to #265182 -INFO - 1469747886: (BlockchainScanner.cpp:640) scanned from height #265183 to #268923 -INFO - 1469747901: (BlockchainScanner.cpp:640) scanned from height #268924 to #271643 -INFO - 1469747914: (BlockchainScanner.cpp:640) scanned from height #271644 to #274279 -INFO - 1469747930: (BlockchainScanner.cpp:640) scanned from height #274280 to #277415 -INFO - 1469747943: (BlockchainScanner.cpp:640) scanned from height #277416 to #280711 -INFO - 1469747957: (BlockchainScanner.cpp:640) scanned from height #280712 to #283774 -INFO - 1469747969: (BlockchainScanner.cpp:640) scanned from height #283775 to #286388 -INFO - 1469747982: (BlockchainScanner.cpp:640) scanned from height #286389 to #288717 -INFO - 1469747995: (BlockchainScanner.cpp:640) scanned from height #288718 to #290821 -INFO - 1469748007: (BlockchainScanner.cpp:640) scanned from height #290822 to #293339 -INFO - 1469748020: (BlockchainScanner.cpp:640) scanned from height #293340 to #295877
Log file opened at 1469748450: /home/user/.armory/dbLog.txt -INFO - 1469748450: (main.cpp:24) Running on 4 threads -INFO - 1469748450: (main.cpp:25) Ram usage level: 4 -INFO - 1469748450: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks -INFO - 1469748450: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases -INFO - 1469748450: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469748451: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad -INFO - 1469748451: (DatabaseBuilder.cpp:166) Reading headers from db -INFO - 1469748451: (BitcoinP2P.cpp:687) Connected to Bitcoin node -INFO - 1469748451: (BDM_Server.cpp:571) registered bdv: 00dddb35876377a99df6 -INFO - 1469748463: (DatabaseBuilder.cpp:199) Found 422668 headers in db -INFO - 1469748470: (DatabaseBuilder.cpp:49) updating HEADERS db -INFO - 1469748472: (DatabaseBuilder.cpp:409) Found next block after skipping 705598bytes -INFO - 1469748474: (DatabaseBuilder.cpp:227) parsed block file #582 -DEBUG - 1469748474: (Blockchain.cpp:232) Organizing chain -INFO - 1469748474: (DatabaseBuilder.cpp:53) updated HEADERS db in 2.68421s -INFO - 1469748474: (BlockUtils.cpp:1497) Enabling zero-conf tracking -INFO - 1469748475: (BDM_supportClasses.cpp:387) Starting address registration process -INFO - 1469748511: (BlockchainScanner.cpp:640) scanned from height #0 to #142648 -INFO - 1469748531: (BlockchainScanner.cpp:640) scanned from height #142649 to #169936 -INFO - 1469748547: (BlockchainScanner.cpp:640) scanned from height #169937 to #183098 -INFO - 1469748565: (BlockchainScanner.cpp:640) scanned from height #183099 to #189198 -INFO - 1469748587: (BlockchainScanner.cpp:640) scanned from height #189199 to #194856 -INFO - 1469748606: (BlockchainScanner.cpp:640) scanned from height #194857 to #200839 -INFO - 1469748621: (BlockchainScanner.cpp:640) scanned from height #200840 to #206610 -INFO - 1469748640: (BlockchainScanner.cpp:640) scanned from height #206611 to #211790 -INFO - 1469748659: (BlockchainScanner.cpp:640) scanned from height #211791 to #215978 -INFO - 1469748676: (BlockchainScanner.cpp:640) scanned from height #215979 to #219364
Log file opened at 1469748785: /home/user/.armory/dbLog.txt -INFO - 1469748785: (main.cpp:24) Running on 4 threads -INFO - 1469748785: (main.cpp:25) Ram usage level: 4 -INFO - 1469748785: (BlockUtils.cpp:1195) blkfile dir: /home/user/.bitcoin/blocks -INFO - 1469748785: (BlockUtils.cpp:1196) lmdb dir: /home/user/.armory/databases -INFO - 1469748785: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469748785: (BlockUtils.cpp:1386) Executing: doInitialSyncOnLoad -INFO - 1469748785: (BitcoinP2P.cpp:687) Connected to Bitcoin node -INFO - 1469748785: (DatabaseBuilder.cpp:166) Reading headers from db -INFO - 1469748786: (BDM_Server.cpp:571) registered bdv: e892133941234ef50898 -INFO - 1469748798: (DatabaseBuilder.cpp:199) Found 422668 headers in db -INFO - 1469748805: (DatabaseBuilder.cpp:49) updating HEADERS db -INFO - 1469748808: (DatabaseBuilder.cpp:409) Found next block after skipping 705598bytes -INFO - 1469748810: (DatabaseBuilder.cpp:227) parsed block file #582 -DEBUG - 1469748810: (Blockchain.cpp:232) Organizing chain -INFO - 1469748810: (DatabaseBuilder.cpp:53) updated HEADERS db in 3.02519s -INFO - 1469748810: (BlockUtils.cpp:1497) Enabling zero-conf tracking -INFO - 1469748811: (BDM_supportClasses.cpp:387) Starting address registration process -INFO - 1469748852: (BlockchainScanner.cpp:640) scanned from height #0 to #142648 -INFO - 1469748870: (BlockchainScanner.cpp:640) scanned from height #142649 to #169936 -INFO - 1469748884: (BlockchainScanner.cpp:640) scanned from height #169937 to #183098 -INFO - 1469748897: (BlockchainScanner.cpp:640) scanned from height #183099 to #189198 -INFO - 1469748911: (BlockchainScanner.cpp:640) scanned from height #189199 to #194856 -INFO - 1469748923: (BlockchainScanner.cpp:640) scanned from height #194857 to #200839 -INFO - 1469748936: (BlockchainScanner.cpp:640) scanned from height #200840 to #206610 -INFO - 1469748950: (BlockchainScanner.cpp:640) scanned from height #206611 to #211790 -INFO - 1469748968: (BlockchainScanner.cpp:640) scanned from height #211791 to #215978 -INFO - 1469748980: (BlockchainScanner.cpp:640) scanned from height #215979 to #219364 -INFO - 1469748994: (BlockchainScanner.cpp:640) scanned from height #219365 to #222839 -INFO - 1469749008: (BlockchainScanner.cpp:640) scanned from height #222840 to #225967 -INFO - 1469749020: (BlockchainScanner.cpp:640) scanned from height #225968 to #229667 -INFO - 1469749031: (BlockchainScanner.cpp:640) scanned from height #229668 to #232781
Seems pretty uneventful to me.
|
Vires in numeris
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3542
Merit: 6886
Just writing some code
|
|
July 29, 2016, 12:32:42 PM |
|
Here is my dblog
Log file opened at 1469576952: /home/andy/.armory/regtest/dbLog.txt -INFO - 1469576952: (main.cpp:30) Running on 8 threads -INFO - 1469576952: (main.cpp:31) Ram usage level: 4 -INFO - 1469576952: (BlockUtils.cpp:1219) blkfile dir: /home/andy/.bitcoin/blocks -INFO - 1469576952: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases -INFO - 1469576952: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469576952: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad -INFO - 1469576952: (DatabaseBuilder.cpp:166) Reading headers from db -WARN - 1469576952: (lmdb_wrapper.cpp:1202) No headers in DB yet! -INFO - 1469576952: (DatabaseBuilder.cpp:199) Found 1 headers in db
Log file opened at 1469576980: /home/andy/.armory/regtest/dbLog.txt -INFO - 1469576980: (main.cpp:30) Running on 8 threads -INFO - 1469576980: (main.cpp:31) Ram usage level: 4 -INFO - 1469576980: (BlockUtils.cpp:1219) blkfile dir: /home/andy/.bitcoin/blocks -INFO - 1469576980: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases -INFO - 1469576980: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469576980: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad -INFO - 1469576980: (DatabaseBuilder.cpp:166) Reading headers from db -WARN - 1469576980: (lmdb_wrapper.cpp:1202) No headers in DB yet! -INFO - 1469576980: (DatabaseBuilder.cpp:199) Found 1 headers in db -INFO - 1469576980: (DatabaseBuilder.cpp:49) updating HEADERS db -DEBUG - 1469576980: (Blockchain.cpp:232) Organizing chain -INFO - 1469576980: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.00113s -INFO - 1469576980: (BlockUtils.cpp:1521) Enabling zero-conf tracking -INFO - 1469576980: (BitcoinP2P.cpp:691) Connected to Bitcoin node
Log file opened at 1469577029: /home/andy/.armory/regtest/dbLog.txt -INFO - 1469577029: (main.cpp:30) Running on 8 threads -INFO - 1469577029: (main.cpp:31) Ram usage level: 4 -INFO - 1469577029: (BlockUtils.cpp:1219) blkfile dir: /media/andy/Data/Programs/Bitcoin/data -INFO - 1469577029: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases -INFO - 1469577029: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469577029: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad -INFO - 1469577029: (DatabaseBuilder.cpp:166) Reading headers from db
-WARN - 1469577029: (lmdb_wrapper.cpp:1202) No headers in DB yet! -INFO - 1469577029: (DatabaseBuilder.cpp:199) Found 1 headers in db -INFO - 1469577029: (DatabaseBuilder.cpp:49) updating HEADERS db -DEBUG - 1469577029: (Blockchain.cpp:232) Organizing chain -INFO - 1469577029: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.000417s -INFO - 1469577029: (BlockUtils.cpp:1521) Enabling zero-conf tracking -INFO - 1469577034: (BDM_Server.cpp:571) registered bdv: 97bb4d41e3b42f629a93 -INFO - 1469577034: (BDM_supportClasses.cpp:387) Starting address registration process -ERROR - 1469577034: (lmdb_wrapper.cpp:1461) Headers DB has no block at height: 0 -ERROR - 1469577034: (lmdb_wrapper.cpp:1441) No headers at height 0
Log file opened at 1469577043: /home/andy/.armory/regtest/dbLog.txt -INFO - 1469577043: (main.cpp:30) Running on 8 threads -INFO - 1469577043: (main.cpp:31) Ram usage level: 4 -INFO - 1469577043: (BlockUtils.cpp:1219) blkfile dir: /media/andy/Data/Programs/Bitcoin/data -INFO - 1469577043: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases -INFO - 1469577043: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469577043: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad -INFO - 1469577043: (DatabaseBuilder.cpp:166) Reading headers from db -WARN - 1469577043: (lmdb_wrapper.cpp:1202) No headers in DB yet! -INFO - 1469577043: (DatabaseBuilder.cpp:199) Found 1 headers in db -INFO - 1469577043: (DatabaseBuilder.cpp:49) updating HEADERS db -DEBUG - -INFO - 14695770431469577043: : ((BitcoinP2P.cppBlockchain.cpp::691) Connected to Bitcoin node232
-INFO - 1469577043: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.002176s -INFO - 1469577043: (BlockUtils.cpp:1521) Enabling zero-conf tracking -INFO - 1469577050: (BDM_Server.cpp:571) registered bdv: db2a604ec4cd038c1eeb -INFO - 1469577050: (BDM_supportClasses.cpp:387) Starting address registration process -ERROR - 1469577050: (lmdb_wrapper.cpp:1461) Headers DB has no block at height: 0 -ERROR - 1469577050: (lmdb_wrapper.cpp:1441) No headers at height 0
Log file opened at 1469577062: /home/andy/.armory/regtest/dbLog.txt -INFO - 1469577062: (main.cpp:30) Running on 8 threads -INFO - 1469577062: (main.cpp:31) Ram usage level: 4 -INFO - 1469577062: (BlockUtils.cpp:1219) blkfile dir: /media/andy/Data/Programs/Bitcoin/data/regtest/blocks -INFO - 1469577062: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases -INFO - 1469577062: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469577062: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad -INFO - 1469577062: (DatabaseBuilder.cpp:166) Reading headers from db -WARN - 1469577062: (lmdb_wrapper.cpp:1202) No headers in DB yet! -INFO - 1469577062: (DatabaseBuilder.cpp:199) Found 1 headers in db -INFO - 1469577062: (DatabaseBuilder.cpp:49) updating HEADERS db -INFO - 1469577062: (BitcoinP2P.cpp:691) Connected to Bitcoin node -INFO - 1469577062: (DatabaseBuilder.cpp:227) parsed block file #0 -DEBUG - 1469577062: (Blockchain.cpp:232) Organizing chain -INFO - 1469577062: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.04775s -INFO - 1469577062: (BlockUtils.cpp:1521) Enabling zero-conf tracking -INFO - 1469577065: (BDM_Server.cpp:571) registered bdv: 953a6d7b2058e212dbdd -INFO - 1469577065: (BDM_supportClasses.cpp:387) Starting address registration process -INFO - 1469577065: (BlockchainScanner.cpp:640) scanned from height #0 to #681 -INFO - 1469577065: (BlockchainScanner.cpp:222) scanned transaction history in 0.021318s -INFO - 1469577065: (BlockchainScanner.cpp:640) scanned from height #681 to #681 -INFO - 1469577065: (BDM_supportClasses.cpp:498) Done with side scan of wallet -INFO - 1469577070: (BDM_Server.cpp:602) unregistered bdv: 953a6d7b2058e212dbdd -ERROR - 1469577070: (DataObject.h:223) exhausted entries in Arguments object -INFO - 1469577077: (BDM_Server.cpp:571) registered bdv: d5afdcee13cacac3d529 -INFO - 1469577080: (BDM_Server.cpp:602) unregistered bdv: d5afdcee13cacac3d529 -ERROR - 1469577137: (DataObject.h:223) exhausted entries in Arguments object -ERROR - 1469577137: (DataObject.h:223) exhausted entries in Arguments object -ERROR - 1469577137: (DataObject.h:223) exhausted entries in Arguments object -INFO - 1469581647: (BitcoinP2P.cpp:712) Disconnected from Bitcoin node
Log file opened at 1469721946: /home/andy/.armory/regtest/dbLog.txt -INFO - 1469721946: (main.cpp:24) Running on 8 threads -INFO - 1469721946: (main.cpp:25) Ram usage level: 4 -INFO - 1469721946: (BlockUtils.cpp:1219) blkfile dir: /media/andy/Data/Programs/Bitcoin/data/regtest/blocks -INFO - 1469721946: (BlockUtils.cpp:1220) lmdb dir: /home/andy/.armory/regtest/databases -INFO - 1469721946: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469721946: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad -INFO - 1469721946: (DatabaseBuilder.cpp:166) Reading headers from db -INFO - 1469721946: (BitcoinP2P.cpp:691) Connected to Bitcoin node -INFO - 1469721946: (DatabaseBuilder.cpp:199) Found 682 headers in db -INFO - 1469721946: (DatabaseBuilder.cpp:49) updating HEADERS db -INFO - 1469721946: (DatabaseBuilder.cpp:227) parsed block file #0 -DEBUG - 1469721946: (Blockchain.cpp:232) Organizing chain -INFO - 1469721946: (DatabaseBuilder.cpp:53) updated HEADERS db in 0.286681s -INFO - 1469721946: (DatabaseBuilder.cpp:103) scanning new blocks from #682 to #682 -INFO - 1469721946: (BlockchainScanner.cpp:640) scanned from height #682 to #682 -INFO - 1469721946: (DatabaseBuilder.cpp:153) scanned new blocks in 0.01679s -INFO - 1469721946: (DatabaseBuilder.cpp:157) init db in 0.309212s -INFO - 1469721946: (BlockUtils.cpp:1521) Enabling zero-conf tracking -INFO - 1469721947: (BDM_Server.cpp:571) registered bdv: 510cfc42b010fd290cae -INFO - 1469721963: (BDM_Server.cpp:602) unregistered bdv: 510cfc42b010fd290cae -INFO - 1469721963: (BDM_Server.cpp:515) proceeding to shutdown -INFO - 1469721968: (BDM_Server.cpp:571) registered bdv: eafb083dbb49185f5236 -INFO - 1469722046: (BDM_supportClasses.cpp:387) Starting address registration process -INFO - 1469722046: (BlockchainScanner.cpp:640) scanned from height #0 to #682 -INFO - 1469722046: (BlockchainScanner.cpp:222) scanned transaction history in 0.121126s -INFO - 1469722046: (BlockchainScanner.cpp:640) scanned from height #682 to #682 -INFO - 1469722046: (BDM_supportClasses.cpp:498) Done with side scan of wallet rc7Qs5f4 -INFO - 1469722066: (BitcoinP2P.cpp:712) Disconnected from Bitcoin node
I was testing both dev and my segwit branch. The database dir was the default, which should have been empty. The satoshi datadir was custom.
Also, it looks like the build_installer.bat scripts are gone.
|
|
|
|
goatpig (OP)
Moderator
Legendary
Offline
Activity: 3766
Merit: 1364
Armory Developer
|
|
July 29, 2016, 01:16:02 PM |
|
just some feedback: ArmoryDB wasn't running (this wasn't the cause of my previous problem), so i tried starting it with a trace... Found this line: bind(33, {sa_family=AF_INET, sin_port=htons(9050), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EAD dup(2)
checked which process was using port 9050 with You should pull every time before you test, changed the default port to 9001 yesterday =D ---- Cartlon, knightdk: Let's isolate things a bit. Start from a fresh folder, spawn the db manually and build the testnet db. Then start the testnet client. Let's see if that works. Also, it looks like the build_installer.bat scripts are gone.
Will be fixed in next commit.
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3542
Merit: 6886
Just writing some code
|
|
July 29, 2016, 01:28:19 PM |
|
Let's isolate things a bit. Start from a fresh folder, spawn the db manually and build the testnet db. Then start the testnet client. Let's see if that works.
So I deleted the testnet folder. Then I started the Bitcoin Core testnet. Then I started ArmoryDB. Then I started ArmoryQt.py. It started without issue. Then I turned off the auto manage bitcoind and restarted Armory. I got the following error: (ERROR) Traceback (most recent call last): File "ArmoryQt.py", line 6681, in method_signal method() File "ArmoryQt.py", line 6727, in completeBlockchainProcessingInitialization self.setupLedgerViews() File "ArmoryQt.py", line 6745, in setupLedgerViews self.ledgerModel.setLedgerDelegate(TheBDM.bdv().getLedgerDelegateForWallets()) File "/home/andy/bitcoin/BitcoinArmory/CppBlockUtils.py", line 1248, in getLedgerDelegateForWallets def getLedgerDelegateForWallets(self): return _CppBlockUtils.BlockDataViewer_getLedgerDelegateForWallets(self) DbErrorMsg: <CppBlockUtils.DbErrorMsg; proxy of <Swig Object of type 'DbErrorMsg *' at 0x7f1fd808c060> >
Traceback (most recent call last): File "ArmoryQt.py", line 6681, in method_signal method() File "ArmoryQt.py", line 6727, in completeBlockchainProcessingInitialization self.setupLedgerViews() File "ArmoryQt.py", line 6745, in setupLedgerViews self.ledgerModel.setLedgerDelegate(TheBDM.bdv().getLedgerDelegateForWallets()) File "/home/andy/bitcoin/BitcoinArmory/CppBlockUtils.py", line 1248, in getLedgerDelegateForWallets def getLedgerDelegateForWallets(self): return _CppBlockUtils.BlockDataViewer_getLedgerDelegateForWallets(self) <class 'CppBlockUtils.DbErrorMsg'>: <CppBlockUtils.DbErrorMsg; proxy of <Swig Object of type 'DbErrorMsg *' at 0x7f1fd808c060> >
There was also an error dialog saying that it could not find the headers folder in the data directory. Looking in the data directory, the databases folder was empty. So, I restarted both the DB and Qt and now there appears to be no error.
|
|
|
|
goatpig (OP)
Moderator
Legendary
Offline
Activity: 3766
Merit: 1364
Armory Developer
|
|
July 29, 2016, 04:50:41 PM |
|
Testers, please pull the new code, some significant fixes in there. Also merged in achow's SegWit scan code. Scan speed should be significantly improved too, got rid of a pointless (yet very frequent) copy.
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3080
|
|
July 29, 2016, 06:01:38 PM |
|
Getting build errors with ac2eb68: g++ -Icryptopp -Imdb -IBlockDataManager/fcgi -DUSE_CRYPTOPP -D__STDC_LIMIT_MACROS -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -std=c++11 -O2 -pipe -fPIC -c SwigClient.cpp g++ -Icryptopp -Imdb -IBlockDataManager/fcgi -DUSE_CRYPTOPP -D__STDC_LIMIT_MACROS -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -std=c++11 -O2 -pipe -fPIC -c StringSockets.cpp swig -c++ -python -threads -outdir ../ -v CppBlockUtils.i Language subdirectory: python Search paths: ./ ./swig_lib/python/ /usr/share/swig2.0/python/ ./swig_lib/ /usr/share/swig2.0/ Preprocessing... Starting language-specific parse... BtcUtils.h:277: Error: Syntax error in input(3). Makefile:122: recipe for target 'CppBlockUtils_wrap.cxx' failed make[1]: *** [CppBlockUtils_wrap.cxx] Error 1 make[1]: Leaving directory '/home/user/BitcoinArmory/cppForSwig' Makefile:9: recipe for target 'all' failed make: *** [all] Error 2
Debian 8.5 under Qubes 3. It might be something quick to fix, but I'd rather work with whatever the eventual goatpig solution is.
|
Vires in numeris
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3542
Merit: 6886
Just writing some code
|
|
July 29, 2016, 06:15:01 PM |
|
Getting build errors with ac2eb68: g++ -Icryptopp -Imdb -IBlockDataManager/fcgi -DUSE_CRYPTOPP -D__STDC_LIMIT_MACROS -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -std=c++11 -O2 -pipe -fPIC -c SwigClient.cpp g++ -Icryptopp -Imdb -IBlockDataManager/fcgi -DUSE_CRYPTOPP -D__STDC_LIMIT_MACROS -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -std=c++11 -O2 -pipe -fPIC -c StringSockets.cpp swig -c++ -python -threads -outdir ../ -v CppBlockUtils.i Language subdirectory: python Search paths: ./ ./swig_lib/python/ /usr/share/swig2.0/python/ ./swig_lib/ /usr/share/swig2.0/ Preprocessing... Starting language-specific parse... BtcUtils.h:277: Error: Syntax error in input(3). Makefile:122: recipe for target 'CppBlockUtils_wrap.cxx' failed make[1]: *** [CppBlockUtils_wrap.cxx] Error 1 make[1]: Leaving directory '/home/user/BitcoinArmory/cppForSwig' Makefile:9: recipe for target 'all' failed make: *** [all] Error 2
Debian 8.5 under Qubes 3. It might be something quick to fix, but I'd rather work with whatever the eventual goatpig solution is. Same error.
|
|
|
|
goatpig (OP)
Moderator
Legendary
Offline
Activity: 3766
Merit: 1364
Armory Developer
|
|
July 29, 2016, 06:19:40 PM |
|
SWIG choking on some new code, fixing it as we speak.
|
|
|
|
goatpig (OP)
Moderator
Legendary
Offline
Activity: 3766
Merit: 1364
Armory Developer
|
|
July 29, 2016, 06:44:23 PM |
|
Build should be fixed now.
Segfault is apparently triggered in new node p2p code. Consider shutting down your now when build&scanning if the segfault gets too much in the way, until I fix it.
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3080
|
|
July 29, 2016, 11:04:56 PM |
|
Well, some improvement seems to be evident. Just got through a full Db build, with hiccups. ArmoryQt quit on the job: Log file doesn't exist [yet] (ERROR) ArmoryQt.py:1218 - 8 attempts to load blockchain failed. Remove mempool.bin. (ERROR) ArmoryQt.py:1223 - File mempool.bin does not exist. Nothing deleted. -ERROR - 1469826343: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469826603: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469826863: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469827273: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469827623: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469827684: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469827744: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469828604: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829005: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829055: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829115: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829175: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829175: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829235: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 terminate called after throwing an instance of 'DbErrorMsg' Aborted
Meanwhile the ArmoryDb executable kept itself afloat, and finished scanning seemingly without issues: -INFO - 1469826231: (BlockUtils.cpp:1219) blkfile dir: /home/user/.bitcoin/blocks -INFO - 1469826231: (BlockUtils.cpp:1220) lmdb dir: /home/user/.armory/databases -INFO - 1469826231: (lmdb_wrapper.cpp:388) Opening databases... -INFO - 1469826231: (BlockUtils.cpp:1410) Executing: doInitialSyncOnLoad -INFO - 1469826231: (DatabaseBuilder.cpp:166) Reading headers from db -WARN - 1469826231: (lmdb_wrapper.cpp:1202) No headers in DB yet! -INFO - 1469826231: (DatabaseBuilder.cpp:199) Found 1 headers in db -INFO - 1469826231: (DatabaseBuilder.cpp:49) updating HEADERS db -INFO - 1469826231: (BitcoinP2P.cpp:693) Connected to Bitcoin node -INFO - 1469826232: (BDM_Server.cpp:571) registered bdv: -INFO - 1469826289: (DatabaseBuilder.cpp:227) parsed block file #0 -INFO - 1469826313: (DatabaseBuilder.cpp:227) parsed block file #4 -INFO - 1469826339: (DatabaseBuilder.cpp:227) parsed block file #8
<expected results/repetition scrub>
-INFO - 1469828381: (DatabaseBuilder.cpp:227) parsed block file #476 -INFO - 1469828398: (DatabaseBuilder.cpp:227) parsed block file #480 -INFO - 1469828414: (DatabaseBuilder.cpp:227) parsed block file #484 -INFO - 1469828423: (DatabaseBuilder.cpp:409) Found next block after skipping 0bytes -INFO - 1469828430: (DatabaseBuilder.cpp:227) parsed block file #488 -INFO - 1469828448: (DatabaseBuilder.cpp:227) parsed block file #492 -INFO - 1469828465: (DatabaseBuilder.cpp:227) parsed block file #496
<expected results/repetition scrub>
-INFO - 1469828791: (DatabaseBuilder.cpp:227) parsed block file #572 -INFO - 1469828810: (DatabaseBuilder.cpp:227) parsed block file #576 -INFO - 1469828822: (DatabaseBuilder.cpp:227) parsed block file #580 -DEBUG - 1469828824: (Blockchain.cpp:232) Organizing chain -INFO - 1469828840: (DatabaseBuilder.cpp:53) updated HEADERS db in 5766.17s -INFO - 1469828840: (BlockUtils.cpp:1521) Enabling zero-conf tracking -INFO - 1469828841: (BDM_supportClasses.cpp:387) Starting address registration process -INFO - 1469828860: (BlockchainScanner.cpp:641) scanned from height #0 to #142648 -INFO - 1469828872: (BlockchainScanner.cpp:641) scanned from height #142649 to #169936 -INFO - 1469828882: (BlockchainScanner.cpp:641) scanned from height #169937 to #183098
<expected results/repetition scrub>
-INFO - 1469829795: (BlockchainScanner.cpp:641) scanned from height #375302 to #376425 -INFO - 1469829807: (BlockchainScanner.cpp:641) scanned from height #376426 to #377591 -INFO - 1469829825: (BlockchainScanner.cpp:641) scanned from height #377592 to #378482 -INFO - 1469829834: (BlockchainScanner.cpp:51) no history to scan -INFO - 1469829840: (BlockchainScanner.cpp:641) scanned from height #378483 to #379441 -INFO - 1469829854: (BlockchainScanner.cpp:641) scanned from height #379442 to #380397 -INFO - 1469829866: (BlockchainScanner.cpp:641) scanned from height #380398 to #381392
<expected results/repetition scrub>
-INFO - 1469830477: (BlockchainScanner.cpp:641) scanned from height #421428 to #422034 -INFO - 1469830486: (BlockchainScanner.cpp:641) scanned from height #422035 to #422668 -INFO - 1469830487: (BlockchainScanner.cpp:641) scanned from height #422669 to #422804 -INFO - 1469830487: (BlockchainScanner.cpp:223) scanned transaction history in 2121.4s -INFO - 1469830496: (BlockchainScanner.cpp:1513) resolving txhashes -INFO - 1469830697: (BlockchainScanner.cpp:51) no history to scan -INFO - 1469830718: (BlockchainScanner.cpp:51) no history to scan -INFO - 1469830806: (BlockchainScanner.cpp:1569) 93 blocks hit by tx filters -INFO - 1469830926: (BDM_Server.cpp:571) registered bdv: -INFO - 1469830938: (BlockchainScanner.cpp:1630) found 90 missing hashes -INFO - 1469830938: (BlockchainScanner.cpp:1675) Resolved missing hashes in 71.789s -INFO - 1469830938: (BlockchainScanner.cpp:641) scanned from height #422804 to #422807 -INFO - 1469830938: (BDM_supportClasses.cpp:498) Done with side scan of wallet -INFO - 1469830938: (BDM_Server.cpp:602) unregistered bdv: -INFO - 1469830970: (BDM_Server.cpp:602) unregistered bdv: -ERROR - 1469830998: (DataObject.h:223) exhausted entries in Arguments object
Then tried bringing up ArmoryQt again; success, but tx history and balance/s were borked. Shut ArmoryDb and ArmoryQt, re-starting them and tx's and balance/s were present and correct. tx hashes are available where they previously weren't (spends from coinbase outputs), although I haven't yet cross-checked that any are correct. Actual coinbase tx's are still unavailable to view. Wallet Properties is missing the balances (known issue, right?) Some example armorylog.txt output from my initial nosing around... A few of these when looking at tx details: Traceback (most recent call last): File "./ArmoryQt.py", line 3626, in dblClickLedger self.showLedgerTx() File "./ArmoryQt.py", line 3649, in showLedgerTx DlgDispTxInfo( pytx, self.walletMap[wltID], self, self, txtime=txtime).exec_() File "/home/user/BitcoinArmory/qtdialogs.py", line 5667, in __init__ self.data = extractTxInfo(pytx, txtime) File "/home/user/BitcoinArmory/qtdialogs.py", line 5594, in extractTxInfo prevTx = TheBDM.bdv().getTxByHash(prevTxHash) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1276, in getTxByHash def getTxByHash(self, *args): return _CppBlockUtils.BlockDataViewer_getTxByHash(self, *args) RuntimeError
And dozens of this sort of thing: Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1180, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey (ERROR) Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1139, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey
Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1139, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey (ERROR) Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1123, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey
Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1123, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey (ERROR) Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1180, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey
|
Vires in numeris
|
|
|
goatpig (OP)
Moderator
Legendary
Offline
Activity: 3766
Merit: 1364
Armory Developer
|
|
July 29, 2016, 11:26:14 PM |
|
Well, some improvement seems to be evident. Just got through a full Db build, with hiccups. ArmoryQt quit on the job: Log file doesn't exist [yet] (ERROR) ArmoryQt.py:1218 - 8 attempts to load blockchain failed. Remove mempool.bin. (ERROR) ArmoryQt.py:1223 - File mempool.bin does not exist. Nothing deleted. -ERROR - 1469826343: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469826603: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469826863: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469827273: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469827623: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469827684: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469827744: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469828604: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829005: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829055: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829115: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829175: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829175: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 -ERROR - 1469829235: (StringSockets.cpp:384) FcgiSocket::writeAndRead exception: select error: 9 terminate called after throwing an instance of 'DbErrorMsg' Aborted
Fixing that as we speak Then tried bringing up ArmoryQt again; success, but tx history and balance/s were borked. Shut ArmoryDb and ArmoryQt, re-starting them and tx's and balance/s were present and correct.
Looking into that tx hashes are available where they previously weren't (spends from coinbase outputs), although I haven't yet cross-checked that any are correct. Actual coinbase tx's are still unavailable to view.
Turns out I don't have coinbase tx to look at. I'll get me a few on the testnet and look at it directly (if you have a testnet address with a coinbase reward, feel free to provide it =P) Wallet Properties is missing the balances (known issue, right?)
Yes Some example armorylog.txt output from my initial nosing around... A few of these when looking at tx details: Traceback (most recent call last): File "./ArmoryQt.py", line 3626, in dblClickLedger self.showLedgerTx() File "./ArmoryQt.py", line 3649, in showLedgerTx DlgDispTxInfo( pytx, self.walletMap[wltID], self, self, txtime=txtime).exec_() File "/home/user/BitcoinArmory/qtdialogs.py", line 5667, in __init__ self.data = extractTxInfo(pytx, txtime) File "/home/user/BitcoinArmory/qtdialogs.py", line 5594, in extractTxInfo prevTx = TheBDM.bdv().getTxByHash(prevTxHash) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1276, in getTxByHash def getTxByHash(self, *args): return _CppBlockUtils.BlockDataViewer_getTxByHash(self, *args) RuntimeError
And dozens of this sort of thing: Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1180, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey (ERROR) Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1139, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey
Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1139, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey (ERROR) Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1123, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey
Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1123, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey (ERROR) Traceback (most recent call last): File "/home/user/BitcoinArmory/armorymodels.py", line 1180, in data cppAddr = self.wlt.cppWallet.getScrAddrObjByKey(Hash160ToScrAddr(addr160)) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 1178, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, BtcWallet, name) File "/home/user/BitcoinArmory/CppBlockUtils.py", line 57, in _swig_getattr raise AttributeError(name) AttributeError: getScrAddrObjByKey
Looks like known issues on that front.
|
|
|
|
achow101
Staff
Legendary
Offline
Activity: 3542
Merit: 6886
Just writing some code
|
|
July 29, 2016, 11:36:52 PM |
|
Turns out I don't have coinbase tx to look at. I'll get me a few on the testnet and look at it directly (if you have a testnet address with a coinbase reward, feel free to provide it =P)
Just use regtest and mine your own regtest coins. You'll need 0.13 though in order to mine to a specific address.
|
|
|
|
Carlton Banks
Legendary
Offline
Activity: 3430
Merit: 3080
|
|
July 30, 2016, 10:02:46 AM |
|
Then tried bringing up ArmoryQt again; success, but tx history and balance/s were borked. Shut ArmoryDb and ArmoryQt, re-starting them and tx's and balance/s were present and correct.
Looking into that My explanation is a little lacking: I did not shut the ArmoryDb instance down before starting ArmoryQt again (subsequent to the "throwing DBErrorMsg" crash). So any routines that involve ArmoryQt and ArmoryDb co-operating when ArmoryQt starts up may well be unprepared for a fully initialised instance of ArmoryDb already running when ArmoryQt is executed.
|
Vires in numeris
|
|
|
|