Gridcoin-research: RPC stops responding

Created on 23 Oct 2019  Â·  73Comments  Â·  Source: gridcoin-community/Gridcoin-Research

I'm calling the RPC to retrieve MiningInfo; specifically to get the staking flag following the removal of the autounlock feature (very annoying btw - if hackers get access to my hardware i've got bigger problems to worry about than my GRC account). I'm polling every few minutes to test atm (I'll reduce frequency when proofed) but as it stands after a few hours the RPC just dies (connections timeout) and I have to exit the wallet and restart. My RPC client picks up where it left off afterwards; no client reset needed.

Notably the debug window is still able to execute commands happily without needing to restart the wallet after the RPC server stops responding to external calls. Does the debug window actually use the RPC interface?

I found the -debug command line option; but it doesn't seem to have added anything to the logs for RPC. Is there any way for me to get more info that might help me resolve or to give you more info to fix the problem?

bug

All 73 comments

Can you provide any other details?

What OS
What client version
How often are you calling the RPC for getmininginfo
debug4 flag can give how long it takes the RPC to respond in milliseconds
is getmininginfo the only rpc command your calling regularly?

Side Note: debug window does not use the actually RPC Connection interface.

This seems it could be a dead lock of some sorts

OS running wallet is Windows Server 2012
Client v4.0.5.0-gddaaf8d5a
In test phase I'm currently polling getmininginfo (and only getmininginfo) about once every minute or two (inexact repeat) - intention would be to reduce to three or four times a day I suppose.
debug4 I will try; generally speaking the response when it works is well under a second IIRC - certainly doesn't hang for any undue or irritating length of time until it just stops responding altogether
getmininginfo is the only rpc command being called on the timer. The wider application would call also getBalance and getInfo but only upon UI request, not on a timer. Every time the RPC has stopped responding I haven't used the UI in a long time; the only request will have been the background timer calling getmininginfo.

...on the debug window side note; as I suspected but I thought it was worth pointing out.

everything is worth pointing out, so no worries there. if this happens again check the debug.log and see how far apart the getmininginfo call was and any other calls made by ui. i'd like to know if they were closely called, etc. keep us up to date.

Also wanted to let you know a leisure of 4.0.6.0 is out.

There were some other RPCs I added in the past as getmininginfo is pretty intensive as it locks multiple areas for data. We have the features that could give you the data as well with less locking if your interested as well.

./src/gridcoinresearchd -testnet getwalletinfo
{
  "walletversion": 60000,
  "balance": 75457.93407000,
  "newmint": 0.00000000,
  "stake": 0.00000000,
  "keypoololdest": 1571849190,
  "keypoolsize": 101,
  "unlocked_until": 1581849325
}

./src/gridcoinresearchd -testnet getblockchaininfo
{
  "blocks": 1061475,
  "moneysupply": 369132415.76601731,
  "difficulty": {
    "proof-of-work": 0.006455256165368031,
    "proof-of-stake": 0.4397377744377047
  },
  "testnet": true,
  "errors": ""
}

./src/gridcoinresearchd -testnet getnetworkinfo
{
  "version": "v4.0.5.4-ga5af63e3a-dirty",
  "minor_version": 0,
  "protocolversion": 180323,
  "timeoffset": 0,
  "connections": 3,
  "paytxfee": 0.00010000,
  "mininput": 0.00000000,
  "proxy": "",
  "ip": "redacted",
  "errors": ""
}

Running with debug it's died again in the last couple of hours. Reviewing logs seems like from around the same time it died there started appearing batches of 6 or so:

10/23/19 16:30:38 Cleaning inbound connections
10/23/19 16:30:38 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 92949363f6791aaae0e94f82e45bed46929b26f4de8ffd82da377cf807be58b5
10/23/19 16:30:38 ERROR: AcceptToMemoryPool : Unable to Connect Inputs a675e4bea12a21fcf388e98628bd20f7a2e40e6bc76373205c3ea79e4a61ba44
10/23/19 16:30:38 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 964ad129720532f17925b2c926db72e64784f9cad87ce3e7e5a45357a0365bfb
10/23/19 16:30:38 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 05f9328fb9cc23b6511c4a01e2e71ff289d821fb68b3e093e26c15dd3e4700d8

Randomly, certainly not every minute or so; anywhere from 5 minutes apart to 30 minutes silence then batches start again.

Final close of client appended:

10/23/19 16:39:01 Tally (v9)
10/23/19 16:39:01 {SBC} new best {31bd38e071cdf71093e72d4350a65c28324ffceec45670c031d67db2db81cff6 1745570} ; 
10/23/19 16:40:26  Received block 160504da993554c54d593dc1ad7602030a2b99f263ffafb38f74252902e7ebbb; 
10/23/19 16:40:27 {SBC} new best {160504da993554c54d593dc1ad7602030a2b99f263ffafb38f74252902e7ebbb 1745571} ; 
10/23/19 16:41:09  Received block e8e1caebf2fc2e641f97fb4c7c604c7716508bb28b5360b58d4eba00877e5bd4; 
10/23/19 16:41:10 {SBC} new best {e8e1caebf2fc2e641f97fb4c7c604c7716508bb28b5360b58d4eba00877e5bd4 1745572} ; 
10/23/19 16:41:43 Main calling Shutdown...
10/23/19 16:41:43 gridcoinresearch exiting...
10/23/19 16:41:43 ThreadSocketHandler exited
10/23/19 16:41:43 ipcThread exited
10/23/19 16:41:43 ThreadStakeMiner exited
10/23/19 16:41:43 ThreadMessageHandler exited
10/23/19 16:41:44 StopNode()
10/23/19 16:41:44 ThreadOpenConnections exited
10/23/19 16:41:44 Wait for 10 threads to join.
10/23/19 16:41:44 ThreadOpenAddedConnections exited (interrupt)
10/23/19 16:41:44 ThreadMapPort exited (interrupt)
10/23/19 16:41:44 ThreadNeuralNetwork exited (interrupt)
10/23/19 16:41:44 ThreadDumpAddress exited (interrupt)
10/23/19 16:41:44 Stop RPC IO service

Having shutdown the client was gone but the SysTray icon was still there; wouldn't respond to any clicks left or right, only Gridcoin Client popup upon hover. Only option was to terminate the process from TaskMan.

I've restarted with debug4. Will revert with further info in due course. Thanks for attention thus far.

Re other calls it's specifically "staking" i'm needing to poll to compensate for the removal of auto_unlock. Before finding staking I had seen the unlocked_until which could have potentially sufficed were it populated when the wallet is unlocked via the UI. Unlocking via RPC sets the unlock_until but not the UI; unlock until remoains 0. Is that "fixed" in 4.0.6.0? The other two commands I don't see the link to staking, am I missing something?

Maybe easiest answer would be to add a command purely to getStaking :)

I understand "staking" part. that essentially is checking the miner last stake attempt time and miners weight sum and if that has data then staking is true. and That is not a bad idea to add a RPC to specifically staking data. And yes the ui does not affect the unlocked until since it is unlocked until locked or closed.

@jamescowens maybe we should consider adding whether or not the wallet is staking in the getwalletinfo as an additional field?. unlocked_until from nWalletUnlockTime is not very useful when unlocked from UI side.

@9swampy that clean inbound connections part has been changed in 4.0.6.0 I do recommend you upgrade to that version as we refactored the code and no longer does the Cleaning inbound connections.

I am just catching up with this. A couple of comments...

  1. This is almost assuredly a deadlock issue. We need to reproduce this under gdb and do a backtrace and look for lll_wait to confirm.
  2. The auto unlock feature provides about as much security as an in the clear password recorded in a script file to do the unlocking. Rather than unlocking from the UI, why don’t you unlock from a script instead with a defined time limit, so you know when it will expire rather than polling all of the time?

I've bumped to 4.0.6.0 gdc3af0f7f and restarted with -debug4 on command line. My RPC client is happily polling but looking in the log i don't see anything related to the getmininginfo calls at all...

On another note FYI upon exiting the 4.0.6.0 client and the systray icon still hangs; needs a taskman terminate right from the start apparently; nothing to do with the RPC hang... It's actually Windows Server 2012R2.

@jamescowens 2. I read up on the auto-unlock debate and reasoning; understand the argument and accept the decision, however draconian. I played around with the unlock command and considered a script as proposed, replaying on startup (it's automatic update reboots that's killing the staking wallet in the first place) but this all became a little challenge for learning/entertainment and now i've got a little android app to poll and pop a notification that the wallet's gone down it would be gratifying to put this last bit of the puzzle in to place...

Why don’t you run the daemon version rather than the UI version if this is a server? I can show you how to set that up in Windows Server 2012.

Presumably that wouldn't preclude the auto_unlock vs poll situation but you're suggesting it would potentially help with the RPC blocking? By all means point me in the daemon direction; hadn't seen that was an option on Windows.

It is. I am in a meeting and can’t write this out right now. Later on today I will go through what you need to do. The wallet will then effectively run as a service without a login required for the console.

https://github.com/gridcoin-community/Gridcoin-Research/issues/1191#issuecomment-400742674

TL;DR Wrap gridcoinresearchd.exe from installed GridcoinResearch\daemon as a task in task scheduler?

You got it! You can do a second task triggered on the first plus a few minutes to unlock the wallet for staking using the same daemon executable on the server. The password will be reasonably protected if you set the task up correctly under the correct account.

We used to not distribute the daemon version for Windows, but we started doing that when we retired the old VB NN and went to the Bitcoin style Windows packaging process.

Output from Debug4.

10/24/19 18:12:59 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 8afe7be98548417410c24bd14ac2c1b574ba782b6378b690b6dd9a5643074d0f
10/24/19 18:12:59 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 5d03316f3317f0483b5dcac8fd55b5c1848747e35a1a1e9c56a494eed6f00f42
10/24/19 18:12:59 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 376fc5957e2d0f9637de6e287adad078168cd14d401e1d23cf233bb10dd71bf4
10/24/19 18:13:22 RPCTime : Command getmininginfo -> Totaltime 4410ms
10/24/19 18:13:22 RPCTime : Command getmininginfo -> Totaltime 154ms
10/24/19 18:14:17  Received block b5c891bb944f8092c11490912de5a73ef860c43fb87dabd0c929d3ef70e3f635; 
10/24/19 18:14:17 {SBC} new best {b5c891bb944f8092c11490912de5a73ef860c43fb87dabd0c929d3ef70e3f635 1746512} ; 
10/24/19 18:14:22  Received block d7ccd558a568babb490a6e5509f2c99b7c5602d0a25f8d64ad69a35d16005b5b; 
10/24/19 18:14:22 {SBC} new best {d7ccd558a568babb490a6e5509f2c99b7c5602d0a25f8d64ad69a35d16005b5b 1746513} ; 
10/24/19 18:14:24 RPCTime : Command getmininginfo -> Totaltime 995ms
10/24/19 18:14:24 RPCTime : Command getmininginfo -> Totaltime 482ms
10/24/19 18:14:43  Received block 817b2368fab7c1dbbe16d24f80b523f2a28842c73a841adafcffcf74463cb49a; 
10/24/19 18:14:44 {SBC} new best {817b2368fab7c1dbbe16d24f80b523f2a28842c73a841adafcffcf74463cb49a 1746514} ; 
10/24/19 18:14:51  Received block 7c363076b26a4d300a7f4195970ed166397d8e8cc3e02c43b66a804b5fc78ff9; 
10/24/19 18:14:51 {SBC} new best {7c363076b26a4d300a7f4195970ed166397d8e8cc3e02c43b66a804b5fc78ff9 1746515} ; 
10/24/19 18:15:24 RPCTime : Command getmininginfo -> Totaltime 165ms
10/24/19 18:15:24 RPCTime : Command getmininginfo -> Totaltime 151ms
10/24/19 18:16:25 RPCTime : Command getmininginfo -> Totaltime 156ms
10/24/19 18:16:25 RPCTime : Command getmininginfo -> Totaltime 153ms

I noted the duplicating getmininginfos. Pants; maybe i had made a mistake in my code calling the RPC. Checked, double checked, converted caller to a singleton and made the only call thread safe - rechecked logs and still getting duplicates in the log. Don't see how my side; pointy finger right back at me if you're convinced it is and i'll look again.

Nonetheless running only the daemon 4.0.6.0 and it's stayed up 20 hours now without locking; longest up-time to date; so maybe we have a winner regardless... tbc...

@jamescowens On the daemon from task scheduler though i've still not got a reliable setup yet. Hoped running under NetworkService account might be enough; can't even get a successful start. Set to run as the normal account that installed the wallet and it executes direct but being a daemon the scheduled task never completes. Understandable but instead of going down the seemingly necessary complex route of raising an event upon which to trigger a second Task (and pausing for two minutes) I tried altering the one task to spawn a background process via bat, powershell, even in desperation vbs but all are completely unreliable; doesn't help that I keep ending up with hanging daemons that never terminate even if I RPC stop first.

For example;

Start-Process -FilePath "C:\Program Files\GridcoinResearch\daemon\gridcoinresearchd.exe" -RedirectStandardError C:\Gridcoin\starterror.log -RedirectStandardOutput C:\Gridcoin\startstd.log -WindowStyle Normal -WorkingDirectory "C:\Program Files\GridcoinResearch\daemon"

$timeout = (Get-Date).AddMinutes(5)
while ((Get-Date) -lt $timeout)
{
  Start-Sleep -Seconds 1
  $timeLeft = NEW-TIMESPAN –Start (Get-Date) –End $timeout
  Write-Host $timeLeft.TotalSeconds.ToString("0") seconds to go
  $output = &"C:\Program Files\GridcoinResearch\daemon\gridcoinresearchd.exe" help | Out-String
  if ($output -Like "*help*wallet*")
  {
    Write-Host "Daemon up"
    break
  }
}

<<unlock here>>

Would you expect NetworkService to suffice? I noted maybe the issue is that the configs are being stored in [installuser]/appdata/roaming. Those could be relocated.
Is there a known reason none of the background process spawn methods tried would work? I've tried all sorts of variants with/without logging & windowstyles.

Thought; let's fire off the full UI update and see if getmininginfo duplicates...

10/24/19 19:04:24 RPCTime : Command getmininginfo -> Totaltime 254ms
10/24/19 19:04:24 RPCTime : Command getmininginfo -> Totaltime 490ms
10/24/19 19:05:25 RPCTime : Command getmininginfo -> Totaltime 168ms
10/24/19 19:05:25 RPCTime : Command getmininginfo -> Totaltime 160ms
10/24/19 19:05:49 RPCTime : Command getbalance -> Totaltime 0ms
10/24/19 19:05:50 RPCTime : Command getmininginfo -> Totaltime 154ms
10/24/19 19:05:50 RPCTime : Command getinfo -> Totaltime 4ms
10/24/19 19:06:25 RPCTime : Command getmininginfo -> Totaltime 153ms
10/24/19 19:06:25 RPCTime : Command getmininginfo -> Totaltime 163ms
10/24/19 19:06:33  Received block 3989654a5bfa9a07dd1fb94d904cd00e0af1e6c95847f898bf985617bd5dab1f; 
10/24/19 19:06:33 {SBC} new best {3989654a5bfa9a07dd1fb94d904cd00e0af1e6c95847f898bf985617bd5dab1f 1746543} ; 
10/24/19 19:06:44  Received block 3199d9842ad6aa1f6468ea4550b0ada965a2bee192e48d3a001722cd676b9034; 
10/24/19 19:06:45 {SBC} new best {3199d9842ad6aa1f6468ea4550b0ada965a2bee192e48d3a001722cd676b9034 1746544} ; 
10/24/19 19:06:53  Received block a86a91e03f37a1b5c6c4a243d5146094530c3e9e32850b2fd3f39909c6da0b6a; 
10/24/19 19:06:53 {SBC} new best {a86a91e03f37a1b5c6c4a243d5146094530c3e9e32850b2fd3f39909c6da0b6a 1746545} ; 
10/24/19 19:07:02 RPCTime : Command getbalance -> Totaltime 1ms
10/24/19 19:07:02 RPCTime : Command getmininginfo -> Totaltime 164ms
10/24/19 19:07:03 RPCTime : Command getinfo -> Totaltime 3ms

Full UI does balance then mining then info; all with one response. Spinning pollster doubles up.

Even my own pointy finger is pointing back at me now...

Here is a task scheduler with the daemon that works...
image
image
image
image
image

That is for Windows 10, but IIRC Windows Server 2012 is similar.

Cheers, that's what I tried to describe i'd got to work. Fair enough. I'll try with datadir see if it helps as NetworkService and/or running as a background task.

FWIW I just pushed the calling code https://github.com/9swampy/GridcoinRemote/commit/bbef261ce0d7a279d3b08f2b88ae0aa5961c5559

Problem with the ps1 above to start the daemon was the command I'd used in Task Scheduler. Execute "powershell" with arguments -File "c:\folder\file.ps1" not the ps1 direct. -datadir still didn't help execute as NetworkService but as a normal user suffices.

RPC on 4.0.6 still getting the duplicate hit from the spinner but hasn't resulted in a lock for quite some time now. Happy to close ticket; perhaps the deadlock/issue was resolved by the refactored Cleaning Inbound Connections; thanks for assistance.

Sorry guys; it seemed better but still just isn't stable enough to use. The RPC is still going down, even on just daemon; could be the (still not resolved) duplicates coming from my side may not be helping but deadlock's a deadlock and it's killing the daemon.

Referring to logs below; daemon had stopped responding to RPC. I can see the process is still live; and log is still appending. RPC calls never respond. gridcoinresearchd from cmd line hangs without response. ~18:12 i issued ".gridcoinresearchd stop" and as before i got a hanging PS prompt. only entry in the debug4 log is the "appinit" and a second gridcoinresearchd process that eats CPU as if it's reloading the chain that goes idle after a few minutes but "never" returns the prompt. Terminate PS process terminates second gridcoinresearchd process and any subsequent rinse repeat is no different. Only way forward is to dirty terminate and restart from scratch.

11/11/19 18:10:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 638f40d94ea36225c74c302762a6c9b36727d5d52eef2ece439649d1169ac1ad 11/11/19 18:10:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 8958e3f96f12194afc91fb3d3cbd9a74e5dbfb31af8219e4f644b6d1a0d2d9de 11/11/19 18:10:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs dbdb5a1cd3d6317077896583b810f55725eda103b963ae7f3230f733f362f017 11/11/19 18:10:48 ERROR: AcceptToMemoryPool : not enough fees 6bf2349fd80d5c3e82cf1867bf7bbf60fa31b5a836f27c76d45a46855123795c, 0 < 10000 11/11/19 18:10:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 22a2c4bf1fc2e0aca7e937488f6254080d60d4d79397cfd094742b8fd25d4aa5 11/11/19 18:10:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 4d9d92007fd3669a9e0813f4b79243264bffbc15ef7a357a1b4884df335551be AppInit 11/11/19 18:12:21 Received block 5a239454a788f43665d0a21c8e0ea8418804ea091733134270787d35c75895fd; 11/11/19 18:12:21 {SBC} new best {5a239454a788f43665d0a21c8e0ea8418804ea091733134270787d35c75895fd 1762317} ; 11/11/19 18:15:36 Received block ba4ad060c5e559b16b7a4ce77ed71dfd1a8748402af2d8588dccae209df14d34; 11/11/19 18:15:36 {SBC} new best {ba4ad060c5e559b16b7a4ce77ed71dfd1a8748402af2d8588dccae209df14d34 1762318} ; 11/11/19 18:16:02 Received block 118a134fe83ddbc542e426a42157617be7f49299e131fd1e419d4e5d0728f041; 11/11/19 18:16:02 {SBC} new best {118a134fe83ddbc542e426a42157617be7f49299e131fd1e419d4e5d0728f041 1762319} ; 11/11/19 18:17:42 Received block f967ac7d8986076c3cec554a895dad63d6a567333994b37d532377e25208fd5e; 11/11/19 18:17:42 Tally (v9) 11/11/19 18:17:43 {SBC} new best {f967ac7d8986076c3cec554a895dad63d6a567333994b37d532377e25208fd5e 1762320} ;

Can you try the hotfix I posted at https://github.com/gridcoin-community/Gridcoin-Research/releases/tag/4.0.6.0 and see if it helps? Thanks.

@jamescowens I'd already been on v.4.0.6.0-gdc3af0f7f for a the couple of weeks before reopening as @iFoggz noted "Cleaning inbound connections" had logged close to earlier locks I reported. Hadn't resolved.

As requested i've just updated to the hotfix v4.0.6.0-gb84fcb50b - will revert in due course. Isn't clear; does that roll in the fix @cyrossignol has proposed?

Yes

Sent from my iPhone

On Nov 14, 2019, at 1:44 PM, 9swampy notifications@github.com wrote:


@jamescowens I'd already been on v.4.0.6.0-gdc3af0f7f for a the couple of weeks before reopening as @iFoggz noted "Cleaning inbound connections" had logged close to earlier locks I reported. Hadn't resolved.

As requested i've just updated to the hotfix v4.0.6.0-gb84fcb50b - will revert in due course. Isn't clear; does that roll in the fix @cyrossignol has proposed?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@cyrossignol @jamescowens Unfortunately it's not resolved. While you'll see in the log the duplicate requests have been resolved my side; turned out I had both a background service triggered and an application triggered alarm - two instances both coincidentally firing at the same time as they'd both been initialised at the same time - but to be fair I also bumped the requery up to once a ~minute too for the test. Even without the duplicates it's gone down this afternoon after just a couple of days; I've included below the debug4 log messages from the last few minutes while all was fine until the deadlocked process got shut down by a server restart signal an hour later.

Side note; while deadlocked it wouldn't respond to any RPC remotely or gridcoinresearchd stop command locally but at least the process did respond to a full server shutdown.

11/17/19 12:23:11 RPCTime : Command getmininginfo -> Totaltime 160ms
11/17/19 12:23:54 RPCTime : Command getmininginfo -> Totaltime 155ms
11/17/19 12:25:13 RPCTime : Command getmininginfo -> Totaltime 158ms
11/17/19 12:25:54 RPCTime : Command getmininginfo -> Totaltime 155ms
11/17/19 12:26:54 RPCTime : Command getmininginfo -> Totaltime 157ms
11/17/19 12:27:48 RPCTime : Command getmininginfo -> Totaltime 155ms
11/17/19 12:28:01    accepted orphan tx 370996eb86
11/17/19 12:28:54 RPCTime : Command getmininginfo -> Totaltime 154ms
11/17/19 12:29:40  Received block 3e09f8d971456b4d769d917c46e606ca90f87bff3e4385ad01c2d1ae4dca9e3e; 
11/17/19 12:29:41 {SBC} new best {3e09f8d971456b4d769d917c46e606ca90f87bff3e4385ad01c2d1ae4dca9e3e 1767392} ; 
11/17/19 12:30:00 RPCTime : Command getmininginfo -> Totaltime 159ms
11/17/19 12:30:12  Received block c5faa111415302c754c8eb8d40349cbaaca48470d157620ef2f00cdb98f3214f; 
11/17/19 12:30:12 {SBC} new best {c5faa111415302c754c8eb8d40349cbaaca48470d157620ef2f00cdb98f3214f 1767393} ; 
11/17/19 12:30:54 RPCTime : Command getmininginfo -> Totaltime 157ms
11/17/19 12:31:35  Received block 65d59dbd113c1b9de6e6ce51322bee8c65a580de2c5624d5f94075a0efb0a4d7; 
11/17/19 12:31:36 {SBC} new best {65d59dbd113c1b9de6e6ce51322bee8c65a580de2c5624d5f94075a0efb0a4d7 1767394} ; 
11/17/19 12:32:51  Received block 7915dc03ca854f915c6583a936ff3915c995b51b7e842c6537e2ee265f8cc364; 
11/17/19 12:32:51 {SBC} new best {7915dc03ca854f915c6583a936ff3915c995b51b7e842c6537e2ee265f8cc364 1767395} ; 
11/17/19 12:34:17  Received block 0e7dfb98889342646a028983d49469ec7cf0c794d702627d50fc3b826b421a6c; 
11/17/19 12:34:17 {SBC} new best {0e7dfb98889342646a028983d49469ec7cf0c794d702627d50fc3b826b421a6c 1767396} ; 
11/17/19 12:35:07  Received block d5d405f6769fab93327246a6d58150888a16b44ef8e3e5f54b11d8d7f70e0b8d; 
11/17/19 12:35:08 {SBC} new best {d5d405f6769fab93327246a6d58150888a16b44ef8e3e5f54b11d8d7f70e0b8d 1767397} ; 
11/17/19 12:36:37  Received block 59f8fc0b93ca4ec7e0801aee1816a305766fc04f14dd50eb5ab0aa34ec103b98; 
11/17/19 12:36:37 {SBC} new best {59f8fc0b93ca4ec7e0801aee1816a305766fc04f14dd50eb5ab0aa34ec103b98 1767398} ; 
11/17/19 12:37:00  Received block a8a338ec1e940ea11c057b70346e808ccc3cd8b1a2b07b655ca0e19fece0976f; 
11/17/19 12:37:00 ProcessBlock: ORPHAN BLOCK, prev=fa42696932c0baa6b2577ae991e21e937055adc7323a94808b0cc473d61647e9
11/17/19 12:37:02  Received block fa42696932c0baa6b2577ae991e21e937055adc7323a94808b0cc473d61647e9; 
11/17/19 12:37:02 ReorganizeChain: from {59f8fc0b93ca4ec7e0801aee1816a305766fc04f14dd50eb5ab0aa34ec103b98 1767398}
ReorganizeChain: comm {f3b8433881596eb814ef81200afc75ee092b1f56b3a54059b8d2b5f868b12b6c 1767390}
ReorganizeChain: to   {a8a338ec1e940ea11c057b70346e808ccc3cd8b1a2b07b655ca0e19fece0976f 1767399}
REORGANIZE: disconnect 8, connect 9 blocks
11/17/19 12:37:06 BOINC team requirement active at last known block. Whitelist: gpu users group, gridcoin, the final front ear
11/17/19 12:37:06 Found eligible project distributed hardware evolution project with CPID myCPID.
11/17/19 12:37:06 Found eligible project rosetta@home with CPID myCPID.
11/17/19 12:37:06 Found eligible project tn-grid platform with CPID myCPID.
11/17/19 12:37:06 Found eligible project vgtu project@home with CPID myCPID.
11/17/19 12:37:06 Selected primary CPID: myCPID
11/17/19 12:37:07 BOINC team requirement active at last known block. Whitelist: gpu users group, gridcoin, the final front ear
11/17/19 12:37:07 Found eligible project distributed hardware evolution project with CPID myCPID.
11/17/19 12:37:07 Found eligible project rosetta@home with CPID myCPID.
11/17/19 12:37:07 Found eligible project tn-grid platform with CPID myCPID.
11/17/19 12:37:07 Found eligible project vgtu project@home with CPID myCPID.
11/17/19 12:37:07 Selected primary CPID: myCPID
11/17/19 12:37:07 BOINC team requirement active at last known block. Whitelist: gpu users group, gridcoin, the final front ear
11/17/19 12:37:07 Found eligible project distributed hardware evolution project with CPID myCPID.
11/17/19 12:37:07 Found eligible project rosetta@home with CPID myCPID.
11/17/19 12:37:07 Found eligible project tn-grid platform with CPID myCPID.
11/17/19 12:37:07 Found eligible project vgtu project@home with CPID myCPID.
11/17/19 12:37:07 Selected primary CPID: myCPID
11/17/19 12:37:07 BOINC team requirement active at last known block. Whitelist: gpu users group, gridcoin, the final front ear, uk boinc team
11/17/19 12:37:07 Found eligible project distributed hardware evolution project with CPID myCPID.
11/17/19 12:37:07 Found eligible project rosetta@home with CPID myCPID.
11/17/19 12:37:07 Found eligible project tn-grid platform with CPID myCPID.
11/17/19 12:37:07 Found eligible project vgtu project@home with CPID myCPID.
11/17/19 12:37:07 Selected primary CPID: myCPID
11/17/19 12:37:09 Tally (v9)
11/17/19 12:37:09 {SBC} new best {a8a338ec1e940ea11c057b70346e808ccc3cd8b1a2b07b655ca0e19fece0976f 1767399} ; 
11/17/19 12:38:15  Received block 7b65987b85e745c5ef9ce4933301a857416f61c6371469395b4cd6337bf5a3d3; 
11/17/19 12:38:15 Tally (v9)
11/17/19 12:38:16 {SBC} new best {7b65987b85e745c5ef9ce4933301a857416f61c6371469395b4cd6337bf5a3d3 1767400} ; 
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs f423cc0f85e255c87972e88ef70ff023b797ea6a7b362f7a50b7a72aef9572bb
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 7b3b658ee70ab199f69ae4c94de3c7ffc3238fd72686ff966da155af81fe7cf6
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 9cfd6f8c58b6eb23ac37c539495939e749e7348481cf3d039638b136762f1324
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 838b77653e18b557a4218525a3c40283bf9bef7bc7ee2a116dcc1502e4b7140d
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 551566bc9e65243c491c9b5fe8496f03fdcd4bf9c2133d71336480b3076cd510
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 73f211fc88e72c6dbf9bf5f2bd9b957d5f4dac85d71e26c59d229c3993d29e26
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 52fb2764753ee410ecefdc05ebbb6a874734aabbd64530e4476d0e951e60e2c8
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 3906018dbabee228b544d277c392b5ff9b819b07173a777f36624485288e55ea
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 4a075bee7ed3431b08ad0f20d2206e7d6ba46f470bd57767f9f441086b089618
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 3c4e9a1253078e5f83d535a37332db9613d0f1d17466ca1110f79826e5eef94d
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs e713823d7bff7a7b67d827e0c99771955a5618c9a8aebd84c4b0db2949ef3ae2
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 271f20434babed082fa44889ef91c04f60fda14da5708dbe719cf21ba47e86c3
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 91ae3687d00ab23904242c585a42c2a2ad0f1ff10b7536d9e249b844c940038c
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 19f6265ab8fd2733db1fde4fbebf872cf80bd5cc63747b444da1d75595325fd0
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs e9f2a10e09eecb72c64b73cf9c51c7e83a55a0ffe520d44321b61b4b640029bf
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs fe9cc78ec1d34893dc1fd23cb699c40a0eee5513b20877240d4523a86214495d
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs a051c5264b0a7193df2385333f034c2383deb1600cd66b91f56cf5c1c9d979eb
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 36c873b8a9e20d312776aba0ba7ce179297f7dc047304501280124004b5607df
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs fcc2997dfff768e2e5604a26f0bc17c4c51b56e17295a0fd95bc7f57f3cf4441
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 1f2bd28b591e0ebfc13d88177436a05dc0d6515f7c8730dcf9d920d8e1f91d1f
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 350c0ce4a0c978932792c9dc8c5ed24a493e3f67e6d40fcb5c943794de80ee70
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 3f6d010b7721c6f05ef6bdb08334b221aa8f4b9d4a06957c2bdefab5dee154cf
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 6bb28f26696508ef1a54961483abda4000bf984138417932a2379aab967418ba
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs ef7f468d7f45fc4f97611ea4d818de5f7ff6cd7e1f6a6bd8a4fe46dc674e3599
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs c50a928b1c85fbeae6edaed74481242b71775abcf48d43b13886dd2cc18a6651
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 792742e506a0f6a3c808bb0e4a0fa75f0dff5d77072718c0980b366cf0e4bf53
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 5b15a5c9ca31d25403164a4378567c4a74ab8136d9d9e745504d095ead6e47ea
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 63ef3ec1b793d33fbc90560b4358cc7b114ea1bb8332124cb83fc8ec12922fda
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs d0d343bc4642fc3c2d48495bde906e1be5dd46d90b22bdda01e59a1ce70c760f
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 765f5a374421c0b05241242ac92f725e057eea8a86806060ac6dfad86590da1b
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 794aefd272d845ab2983d0e4e5a0d13c5792bdb73f7f843feef9c040bbeb8dc3
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 049eddd24813645b70d86b5cc7a4f49798a7a1f78469dbf7ab4335b4cd67ba70
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 0d9fb7645a4697ff8e28ea7c9fb2f38f9a65c6967250362e7f932282ae958bd0
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 293972037b34674b88bd7d3dd3c761b394115b7bdae62e617b4faefbdc97e5ca
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b5ea39fcf54f784a166f2f191ab18be9e2691d5ed6b8316eec4cf4268669b5c8
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 0a4da3ded0a2e83145c002f7d1b90bc14f5f3f41ea0dd9209197ea916deb1cee
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 3f06075a42c9494fab843e0d9d45de106f0a7a942ad78932698de65c55f203ae
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 4f26c90ae6ece4e3339682fc708219d7af630908ed0fb80e2892fc8790a6983e
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 5a11007346550e6fdb376b7dce6b78a4bd3fef9a06066d57d71567185a7910e9
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs ac3bb71e580e6fdbf35adf8abaef0395f7f9cb91d9f9b21144b9c06198d75889
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 12dc68e59a4fa0f3cb12b52598a60fddcfca6b680fa2a7d0db112920f1bfdb82
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 7c2095501a3d9f5b8339d8f0da7adb3d2d67d24145db92a421e499cb02a8bfa1
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b4a231ebfdb8f971133dd87d93c7875672997a72f6ef7ac5a62e1866d1565fce
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 9c3673f9949e09f836589a8de422942aef70ddc1878fc1237dcd79d56c326f49
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 488713d5b1188c403f95e7e0c367a6fa20b782260914ca8d0911adeca7e1a4c0
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 76c2a3846311c2b4688636f8111517c2ca53944d05d7235ad699edc924e257a1
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 48ffa65364c94271b6b3afbd0fe8c6fa9be7b3c94cf6bda0462a6fe8d9a6dff2
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs ab10bc1f0350a4b7f80dcc0695c721ca497bb6ed83778ae4a7126aa5c13be771
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 50bc9ad0fc517d17727b40f5a0775ab707919ed7ab9852429e9774249094f77f
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 74be1dec992027e9d290e7b06a9503ab04750bef567942473e0478737c4f9778
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 5f1ba08ead89a9e093506c691cf9dca645a5aa34a8bac2e3155dd4e32b61aa56
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 84bf3d72cbabb80cddfea0d23a5a2d1ed3452f199f5ac5fb0bbd81723a9767ac
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 8fddd1bf7ee26686df010393cdd01e897ce793b7c7c4a96f1813e335e9377875
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 73e60b99e5fb03ac4a0244ed737bedfdb1ad808e13a25703608ff928b4ff4297
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 0315e95da240edc2348a3ae759df0dc9bbdfd0f41acea9dc56c72e11c4211423
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 5ac23d3528082f015d71308345ddbe3b190c62e4faf3840f499c1b8531446011
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs c7df9c9953fda3616734395f2cc392932f282979359c2dbad4bbb251c918fa1b
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs c174af1993121a62c53b628f53787b38d94a78651ab310b15223b393c8ade38d
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs bd095ed8a11f067c188c2541197fc169e4240cd847b9b2d111004bb708f8afae
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 516315b5a1952b05be164c00357d05a0e3ed68df137b55ba7f4de9d198bfaa86
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 5ef35542b11fc3ba7c61eb9b68e1014e8a7144db87f4abbdb89a7d70dedaab3f
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs f878071c52641e24b1c4c0c859e64a07837b67cc9a6ce7c4b62ecdbefdc8308c
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs e2a86181f04f0d4658e078312b21a5be1a39c13bf7d7fe1668c29ed798a3f2cf
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 296e2a54fec96a750ec81c295b35a42260a774eefb2b293d46946a358b9f5bd1
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 4b9e1b6f6429c7a6b7112be90ef7e11a3ee45ff283451e8f66293feb0fd55c27
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 9205ff61c5d8621a373521d7e45177cea3e52477932e6e9a6cbfbe4111a43be1
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 76a605f548fdfd3abc2bee3a9c13f74e1225e39342a8c4f9d0854c366b5c04d5
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 047b6b6fce44dc42d46664e9abc14053f1e8035ca03db97c9c1def1671bb08ac
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 5542e6673131d241eda3ace0b755f606f4df6bb2aad3d4c3d20eb3461d79ac28
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs c8535dd48030b1c815bc1822fbb71aa39fa362e51c0b088adae49dea9cebaa47
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs c958914e8ae788a67e6dc0365c31e0a7aa40dbf1a57bf2e152af50c73715b2a6
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b2e04a698d5db83aff54f748effb80288078502eef4582d79963c6ab5c3b746b
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs bc3291b94a875d7954d97b269963721819e64d1188b43939f8ab23deec4e995b
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs a389602eb7115999fa42b293492e862ba296b78a9ec7f92a8c89de63cc68e451
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 7e1e6a7cf64c41862fc0bed80392ab1e79127f262de44a8a03c89132e9335a0e
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 52d6f770a5bc49db903dca2cff943592e32bacf6ac777fbf2dc2ed180c3823bf
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 073486fa25d4ec0c686e4c28191bcf1df1ef86ed00813854d1c63ff2d39beebf
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 88af2cbc900aa89462fd80f88318643f09eed816874332a456463454df7f9f72
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs deb904e3b7e63a5487cfc63ad1c71c80a78b902bda6a6b537c0b50b2fb076a41
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 6c120bb1d06b2da9cab1b1ef47b1e2e2dbc66c69c2e1fc717ebd1cc5b3da04a6
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs bad3d4ac1833fe21c44fbf14d2376d0c9c8b1390f9032aced0a30fcd314e3af5
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 86dae8db8e9d0efcbe6de80b0f4e2d6bf655ed2efe587d106f7e0f531f087f56
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 224cf11ce1777267686fc09337824fc35f618dcbed0b5b5e63db1cf43b1138d9
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 21ed0daddbb7bf26fde4264973c3f15328ab954e14a018e618a6f0ba512857fe
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs e6e73269ea8cec5dbd6197de58d170aa12c4f5311b03a6d417c5a4f6efa34d11
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 2db1f10bbac66770ed8f9224cb6eeb7fe75cd1bfa4681e6c4c017f9b9d1f1582
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 096e1978fda1e0e24fe62000ec033457e8830103ec5ee82066c2b75faed5a1bf
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b0450de1b2ac6132448768a6a649dcec35adf4e539bd6d004839e920980dc6fd
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 268f3030a59a78dfcf8a0ab457bdf30c20fd029668b60ad4f3fa1359487f8294
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs adeccb2e00338712cbbb07720d871d34c138e3a58b884f09864a651442034f16
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 94a1bd7382064d6a5fc4c521be853f3e89b5cd5860be82177abb1cc1c83a4f73
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs bb718ddada2cfc925f332c2f1a86901dd96ede6ef735a816a1c9a1a693abb780
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs d3807cfab86cf8094350b7d325a402c49271c877bb162d71e241f571af273d59
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 60e6714cf39739020141d9cbb1e63192ef2da372492f01fe4a246f144897b7fb
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs ff0d2d7960bcea6c4edf25f744c23180e95960acb6b91ab8845ffb59a1947958
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 8cf517ec4e24af86505f27653f3f8086657d3f426cd1a2e81d18ae27d01ebb44
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 29c925b0e978ce5dd37c3e3d60b77e7fe41a4d947c6e05d9042f854dc4c6a44f
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b3599240deb426fa83182527c46a4a0cf683d33c66115d819ea41e08edc56a62
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b97de300e57e561145027fd13b5f7f01df410601f27f1d5bb5ec98473c45e640
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 48f15dd1796de0f6762ab29db273b3681715716df9d1fb444c8c0e613eca4660
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 1490d04db5a1a2723d095c2b0a979c0891722d1f465a708ad279eec52049af76
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 3552063d7d98ead9e25ddbc61d541fc5da73e592971a1e6b7c8158032c61a25d
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b6a85f43b105737073394ac1792951450fd0fb49d7f881c116831b74a1bd9b02
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs c5ffd77613b1d53488ffdee1892d1b572e43d6380bacb6aee925dba1ecebc5c0
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 7b8c36e8e8258c6e57cab27a2a451cb728c4d2b3781a90722a893d01019a2913
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs ce303dde16fe1e049761a0da812395152d9f237b2b6d361c1bce091f920f64ef
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs ea1a4a816a62f53ecdbdbace2907d3702d3026953ca2f134b9105bbe077bcebb
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 02cd0bf8d7525809ae80683c896b6c363afbeb2a8e038190faaeb9c6133a4983
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 0cb88beecbd8aa1f4c5585139dfdf7488361e01bd908b7414beea8e467f11377
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 78262add329340b19fe0f87363372f9b7b26c14d77811449020a858b6352f7fc
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs c74f9a481ee9a8c2020ea6ee4ae236f10abbf184766a1431bcb6c99e399bbb60
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 3fe1e99ac31a00acc3aba06438577b5f1e22588f7e58d30981e16bef316fc092
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 043fdcd7cea2662aab42689f1eeaf5dee1862b6815426a9449206836dcf42d9e
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b81215371b5505e2242f9427242e9e02aafc59dad6b812306dc0a425eadbdf38
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 058b12b343659636e4740b7df4476c61929b027fb925ef387669751f160a5a43
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 878aeae576d96f785437706fcbea2baaf6b74f39062d157caec3913e91c923b1
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b431b85287c58ee43185020f34cbfb0ba62c9e5bd6f920d40f066077fa05389c
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 8e5a98e4bec6a46bc8844445e5f60ad4ee306f8028dfba3d8aa48ea2d6a9410d
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 3314b9c26a169f558812daa898c71b7ed50f5bd7f9071898ef0564d3bc0f26cd
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 8f68790a82c49fc2fa48e58ee65abd6620884a8d2ffce07dc634d1d34100f6ba
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 39f4306a10b78533b2f763a86d8754ecafcfb6a82341d0296bac2adaf351e5ee
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 34ef8d0ec04db43caf21c9bf1bd29798c7e0e50542407bc5dcb363eb7f16f5f4
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 4a0baaf691021f2fada425557adc8a8b4b6fd55362890c1cf9fb105225db8354
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 34edd1833d582a97f3738a49c8e8bf7dfd148e9ecf40bd97f66e5da69facace7
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 52fddfa9de986fa5d73a11e8d07ad495a22eb792fd328b7e85090ff49dbae1de
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 0f68842e59ec86b035968a971a45d1cb8b66cbf783202c955402daaeab2afb63
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 40412300f5ff546e48def060ab2b6da92b78cb770f95582f0decebeb170b1201
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 1aec0b1155ccdb62f3565a625d35493917c85bbf849e6d469dcdafc5fd22eb1a
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs e211349562dd4a48db03bd78047813d452a7464be24368cb777668a62c0a2e11
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 229887af57334a2ba19aae5d63f4a3fa864aa80a90b7d7cebb540c5efa180cda
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 9e3fffa47e100ca879d91bfa2d8e3adb7525ae0ee64177c3c5c79c0531f0000a
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 58fa40da600f4114d11377a3bc9ff3adad13afdcb0256066e68b34e025a497ab
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs f95c461798c13b8a3202482d9661b450e8adbcec734cdbc809f3aade29167846
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 7ca16d45359469e90794b187a534bcb39c631977d71b63b852c9919d2ad6a034
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 1895f9176f40bee723250914af691e9cb8a5ad85c142858b3fd45ec05f7e1a96
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 1919c840784d422f9ac53993d5ca424521907f65a5e97543161c447dfae78567
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 20203b7781a3510575cbce740730c33fcbebc9db9398de1a92ac318b7e9cdd3c
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs cd6937e65472e2140608847219f359258b8407cf9ba562678c2b38cc879fd7b3
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 4202f24da9960278b7dbcabd8d28206435a670a11fb982632ca38e14dde17fd8
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 429807c1cc7130ec04fbef512de6f56e61161eee69e8f49be86ee649ef758cdd
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 9bffaab74b87cfa13c6711f16da45ba0979e4770c686ed975fb312b36bd76f35
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b3988c8120a574c0cdc41f131e8409c7803bbcfcd1673911466b33e2aec78ac2
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs d50a3704340be518350f42eea6153220f9bb99e0969dd0e1bbb0a0e1cc2ac080
11/17/19 12:39:47 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 598d63149c44e5005deb3139f610c236df434ad7655df13219432897212c2f4d
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 6b65be8ee0f07a35f9366a1f032c5291f9ef458a0e34000a1d24aaff127024b1
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 1cddc64ae295f5abc79a2c0809d730d2df501297f328052c5f2c0c923a38c850
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 6b7b7b4375309a9ae6f1a629ca0b2f674084a6e1773acdadabecf0ee6956d6ff
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs becfc944a8f735217e71076ae66c87e4a8aefdc19b8c5d21d132c39ef2e06720
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs ddb27ea67928e5e2935bece7544f7166b71f8b97e3b45e8ed5b27ddbe4a1bfa6
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs fc7b2389039a0adbbe656818ac7e1f90713e64d7b6915fad2cf83f42788c3bf2
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 40828d4022856a40a051a3560c48b07806bf42d46ca412db5b457a1e0ef67191
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 45c7b1ecde6fadfc2a830d111dcc8420e6be2b5cbcd2235a2aa58ed552f91dbe
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 597756fbfac4c4d166d56feeedf50099e8159001960dc399d1369d8268a3d25f
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 59a7aaab213e2cad75940902f02b284476915e7d82af1bd98840fd4b80ae9620
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs bddaafd7a576d30025c3e8f3d6be7c7b2ea7efe23571734f8b56f72b586b3b15
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs cdf588f9ece46ab953cb5516da432c27ca64521ba34db55aed8928078929fc44
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 3317e4152552e980bf1a15812c2a538a75c81615ec0fcee02e23be3033f1b4b4
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 0f99f9142b26146b735ee3f2125affcb78c7ada0da4bf80a1847eab527da235a
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs df2910b54f792d4ff41c1da6457ce760ef2b8b536739bf1ea8391a677a60bd40
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 558aa92c18c7f05869c82534f92149c09560748c2e9eaca04334efc9ebf35172
11/17/19 12:39:48 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 26c1a80dd4aad211d0b97df0b872ca38f624f607570aa0e48e6f1e1efef31e8a
11/17/19 12:39:59 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 9439898d9bd5418ed1fa25cd35a5056ba9b46652addf25ce2ed809d1421d6a10
11/17/19 12:39:59 ERROR: AcceptToMemoryPool : Unable to Connect Inputs d8a2362c91620d3f03f452d17b6dc9f3ddf7c5837f188339190e4d776000c79c
11/17/19 12:45:28  Received block 2f3abf550d6911b9508f8d1ab3f0843d10e68c776852974550d1ddc4f514b1cd; 
11/17/19 12:45:29 {SBC} new best {2f3abf550d6911b9508f8d1ab3f0843d10e68c776852974550d1ddc4f514b1cd 1767401} ; 
11/17/19 12:46:24  Received block 8dd0e25385de5dc7acd38502445e6c7076a3cf3748939219906a82351627b19f; 
11/17/19 12:46:25 {SBC} new best {8dd0e25385de5dc7acd38502445e6c7076a3cf3748939219906a82351627b19f 1767402} ; 
11/17/19 12:47:35  Received block dfc77c5d1fb1a4573714536907791d1cd0f786dcaacff95ecc3636a94f04b54a; 
11/17/19 12:47:35 {SBC} new best {dfc77c5d1fb1a4573714536907791d1cd0f786dcaacff95ecc3636a94f04b54a 1767403} ; 
11/17/19 12:48:57  Received block 6d5bcc5d4e8d3a5f09688e03e37f512882ac4dba982b24f40d22fce03d8eb04d; 
11/17/19 12:48:57 {SBC} new best {6d5bcc5d4e8d3a5f09688e03e37f512882ac4dba982b24f40d22fce03d8eb04d 1767404} ; 
11/17/19 12:49:39  Received block 006365861c64c1dbf1c40aa982d8fc1c123cdcf084fa3078bed87edd09e8d5e3; 
11/17/19 12:49:39 {SBC} new best {006365861c64c1dbf1c40aa982d8fc1c123cdcf084fa3078bed87edd09e8d5e3 1767405} ; 
11/17/19 12:50:30  Received block a612813221142340433d8809e4959cbfb88538bf2e3eb744f40370b08b5585e5; 
11/17/19 12:50:31 {SBC} new best {a612813221142340433d8809e4959cbfb88538bf2e3eb744f40370b08b5585e5 1767406} ; 
11/17/19 12:51:51  Received block 866ddcb7706efa5f977d4a9cb8b77ffb36abbc40d20561b370e144de9605df41; 
11/17/19 12:51:51 ProcessBlock: ORPHAN BLOCK, prev=9cb82957bd77deff7fd31cb2b965c35d93045bc0965485c5c5b4249082c41f3c
11/17/19 12:51:52  Received block 9cb82957bd77deff7fd31cb2b965c35d93045bc0965485c5c5b4249082c41f3c; 
11/17/19 12:51:52 ReorganizeChain: from {a612813221142340433d8809e4959cbfb88538bf2e3eb744f40370b08b5585e5 1767406}
ReorganizeChain: comm {7b65987b85e745c5ef9ce4933301a857416f61c6371469395b4cd6337bf5a3d3 1767400}
ReorganizeChain: to   {866ddcb7706efa5f977d4a9cb8b77ffb36abbc40d20561b370e144de9605df41 1767407}
REORGANIZE: disconnect 6, connect 7 blocks
11/17/19 12:51:56 BOINC team requirement active at last known block. Whitelist: gpu users group, gridcoin, the final front ear
11/17/19 12:51:56 Found eligible project distributed hardware evolution project with CPID myCPID.
11/17/19 12:51:56 Found eligible project rosetta@home with CPID myCPID.
11/17/19 12:51:56 Found eligible project tn-grid platform with CPID myCPID.
11/17/19 12:51:56 Found eligible project vgtu project@home with CPID myCPID.
11/17/19 12:51:56 Selected primary CPID: myCPID
11/17/19 12:51:56 BOINC team requirement active at last known block. Whitelist: gpu users group, gridcoin, the final front ear
11/17/19 12:51:56 Found eligible project distributed hardware evolution project with CPID myCPID.
11/17/19 12:51:56 Found eligible project rosetta@home with CPID myCPID.
11/17/19 12:51:56 Found eligible project tn-grid platform with CPID myCPID.
11/17/19 12:51:56 Found eligible project vgtu project@home with CPID myCPID.
11/17/19 12:51:56 Selected primary CPID: myCPID
11/17/19 12:51:56 BOINC team requirement active at last known block. Whitelist: gpu users group, gridcoin, the final front ear
11/17/19 12:51:56 Found eligible project distributed hardware evolution project with CPID myCPID.
11/17/19 12:51:56 Found eligible project rosetta@home with CPID myCPID.
11/17/19 12:51:56 Found eligible project tn-grid platform with CPID myCPID.
11/17/19 12:51:56 Found eligible project vgtu project@home with CPID myCPID.
11/17/19 12:51:56 Selected primary CPID: myCPID
11/17/19 12:51:57 BOINC team requirement active at last known block. Whitelist: gpu users group, gridcoin, the final front ear, uk boinc team
11/17/19 12:51:57 Found eligible project distributed hardware evolution project with CPID myCPID.
11/17/19 12:51:57 Found eligible project rosetta@home with CPID myCPID.
11/17/19 12:51:57 Found eligible project tn-grid platform with CPID myCPID.
11/17/19 12:51:57 Found eligible project vgtu project@home with CPID myCPID.
11/17/19 12:51:57 Selected primary CPID: myCPID
11/17/19 12:51:59 Tally (v9)
11/17/19 12:51:59 {SBC} new best {866ddcb7706efa5f977d4a9cb8b77ffb36abbc40d20561b370e144de9605df41 1767407} ; 
11/17/19 12:52:25  Received block dd533cb22062b17afc70bc7200d4f1dcddc184c560506510bd7869f769607484; 
11/17/19 12:52:25 {SBC} new best {dd533cb22062b17afc70bc7200d4f1dcddc184c560506510bd7869f769607484 1767408} ; 
11/17/19 12:55:49  Received block b6b83d642e21ed5b367552b8517be977180959dba9f66b8a06f99b8892caaa78; 
11/17/19 12:55:49 {SBC} new best {b6b83d642e21ed5b367552b8517be977180959dba9f66b8a06f99b8892caaa78 1767409} ; 
11/17/19 12:57:06  Received block 23b749cfe4a6b54f4bb1c36a94c2f0c2397f41de5a84c5fc52ffc448a06c1666; 
11/17/19 12:57:07 Tally (v9)
11/17/19 12:57:07 {SBC} new best {23b749cfe4a6b54f4bb1c36a94c2f0c2397f41de5a84c5fc52ffc448a06c1666 1767410} ; 
11/17/19 12:57:17  Received block 8acc81527b8002b26b8f53821a2bce54386a83bdaa1b5569f44c69dbb63c6d9a; 
11/17/19 12:57:17 {SBC} new best {8acc81527b8002b26b8f53821a2bce54386a83bdaa1b5569f44c69dbb63c6d9a 1767411} ; 
11/17/19 12:57:54 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 04bfd9c17282a369a665f84315df537fe487edebf398e10b8f48b7393121ebfc
11/17/19 12:58:03  Received block cb6230605c1dea352b11aa3f2441b879e8b3e4e13a4a16298c9e4f135613d4f6; 
11/17/19 12:58:03 {SBC} new best {cb6230605c1dea352b11aa3f2441b879e8b3e4e13a4a16298c9e4f135613d4f6 1767412} ; 
11/17/19 12:59:40  Received block 9e1ec066b018e58f1bb9980de3c301b978f8985fac646dbe16a146ec22e85799; 
11/17/19 12:59:40 {SBC} new best {9e1ec066b018e58f1bb9980de3c301b978f8985fac646dbe16a146ec22e85799 1767413} ; 
11/17/19 13:00:26 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 9f62bc156bf11b8964c3064df73a534b7cab155f97735da4f4c1987fd8253189
11/17/19 13:00:26 ERROR: AcceptToMemoryPool : Unable to Connect Inputs b75351a9d7ed25b6f775cb81c374aecefcaa73d6f28714a30b0361c092e18bbf
11/17/19 13:00:37  Received block ec4816c5616961b22c9cedc5ce58ed774fcaa6a96f8edd2e3a85ff6b52a6ce50; 
11/17/19 13:00:38 {SBC} new best {ec4816c5616961b22c9cedc5ce58ed774fcaa6a96f8edd2e3a85ff6b52a6ce50 1767414} ; 
11/17/19 13:04:24  Received block da5f3a1aef60890ec2b6ec9f97eca6f0a53131c830f8a52ec0be858eeba6112c; 
11/17/19 13:04:25 {SBC} new best {da5f3a1aef60890ec2b6ec9f97eca6f0a53131c830f8a52ec0be858eeba6112c 1767415} ; 
11/17/19 13:07:55  Received block 37970e42b4cfc809f5cb85d1ba52ac039c26e0cee27985b1b973327e3d0adfd0; 
11/17/19 13:07:55 {SBC} new best {37970e42b4cfc809f5cb85d1ba52ac039c26e0cee27985b1b973327e3d0adfd0 1767416} ; 
11/17/19 13:09:48  Received block 531770cf2af5ea417ea257046ade09922210743d47410614f1791abcc3d2d106; 
11/17/19 13:09:49 {SBC} new best {531770cf2af5ea417ea257046ade09922210743d47410614f1791abcc3d2d106 1767417} ; 
11/17/19 13:10:10  Received block ea1018dfd400356fb7717d4acbf226f81c6a69b0cc107524c2a9bad9b7eb23cc; 
11/17/19 13:10:11 {SBC} new best {ea1018dfd400356fb7717d4acbf226f81c6a69b0cc107524c2a9bad9b7eb23cc 1767418} ; 
11/17/19 13:13:46  Received block e04864c7ac615d948d4cc8d51abed62617cc93c76efae49e7a78c1e88356447d; 
11/17/19 13:13:47 {SBC} new best {e04864c7ac615d948d4cc8d51abed62617cc93c76efae49e7a78c1e88356447d 1767419} ; 
11/17/19 13:13:58  Received block 9d6ab30523e6360b64311204c99f7701d575e391c577571c6f6a83819926436e; 
11/17/19 13:13:58 Tally (v9)
11/17/19 13:13:58 {SBC} new best {9d6ab30523e6360b64311204c99f7701d575e391c577571c6f6a83819926436e 1767420} ; 
11/17/19 13:17:02    accepted orphan tx 77ee50a014
11/17/19 13:17:03    accepted orphan tx 42dec81343
11/17/19 13:17:05    accepted orphan tx 59a2852b72
11/17/19 13:17:05    accepted orphan tx b8726defb4
11/17/19 13:17:10    accepted orphan tx 12d2224d7e
11/17/19 13:17:10    accepted orphan tx f058b72ce2
11/17/19 13:17:10    accepted orphan tx b50a84f3ba
11/17/19 13:18:38 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 92949363f6791aaae0e94f82e45bed46929b26f4de8ffd82da377cf807be58b5
11/17/19 13:18:38 ERROR: AcceptToMemoryPool : Unable to Connect Inputs a675e4bea12a21fcf388e98628bd20f7a2e40e6bc76373205c3ea79e4a61ba44
11/17/19 13:18:38 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 964ad129720532f17925b2c926db72e64784f9cad87ce3e7e5a45357a0365bfb
11/17/19 13:18:38 ERROR: AcceptToMemoryPool : Unable to Connect Inputs 05f9328fb9cc23b6511c4a01e2e71ff289d821fb68b3e093e26c15dd3e4700d8
11/17/19 13:23:31  Received block 1cada5021a36982f5bbea57a512cdb917aa2670563c5f861947cf9c97c1aaac3; 
11/17/19 13:23:32 {SBC} new best {1cada5021a36982f5bbea57a512cdb917aa2670563c5f861947cf9c97c1aaac3 1767421} ; 
11/17/19 13:25:51  Received block 3e6d26aa3641dfe74cbedba40827b083bba3aa85f71b318cfa69e55a2944eda2; 
11/17/19 13:25:51 {SBC} new best {3e6d26aa3641dfe74cbedba40827b083bba3aa85f71b318cfa69e55a2944eda2 1767422} ; 
11/17/19 13:27:30  Received block 8e5ebc256f73b9c20a08bfa8d6ec1851d0b2c9fe834c8ece6f16f1be56bd3326; 
11/17/19 13:27:31 {SBC} new best {8e5ebc256f73b9c20a08bfa8d6ec1851d0b2c9fe834c8ece6f16f1be56bd3326 1767423} ; 
11/17/19 13:28:03  Received block 0387075ce805c90de078fd1062ed8e4757af4392ecc04bf3e34ffb6584a58284; 
11/17/19 13:28:03 {SBC} new best {0387075ce805c90de078fd1062ed8e4757af4392ecc04bf3e34ffb6584a58284 1767424} ; 
11/17/19 13:28:15  Received block 2c751495b82d618fa0fd675d0ed004aeaa5bf8769da5f874bb6ef1664b81c16d; 
11/17/19 13:28:16 {SBC} new best {2c751495b82d618fa0fd675d0ed004aeaa5bf8769da5f874bb6ef1664b81c16d 1767425} ; 
11/17/19 13:29:07  Received block 161dfa07b4b81b892c9766029d0962e0da72bb1b625ceedd1928267985d4668d; 
11/17/19 13:29:07 {SBC} new best {161dfa07b4b81b892c9766029d0962e0da72bb1b625ceedd1928267985d4668d 1767426} ; 
11/17/19 13:29:28  Received block 4e43fdcad7e31182dbba996b89180a05c4ccdb418709dca3891703c76c08fb04; 
11/17/19 13:29:28 {SBC} new best {4e43fdcad7e31182dbba996b89180a05c4ccdb418709dca3891703c76c08fb04 1767427} ; 
11/17/19 13:29:46  Received block 6f90faa621ee859b7e2de5775e4d09d031f5c5025ebef361291493fb07a377b6; 
11/17/19 13:29:47 {SBC} new best {6f90faa621ee859b7e2de5775e4d09d031f5c5025ebef361291493fb07a377b6 1767428} ; 
11/17/19 13:31:01  Received block cb0657b67e390f7fed6c971dd9b3718d878d662943de66233dd4c4a5fd68fc0e; 
11/17/19 13:31:02 {SBC} new best {cb0657b67e390f7fed6c971dd9b3718d878d662943de66233dd4c4a5fd68fc0e 1767429} ; 
AppInit
11/17/19 13:34:29  Received block 367533f2ddecf8805948067b9dedbf7b2a27dd0e6fa9411a4b876c1544435368; 
11/17/19 13:34:29 Tally (v9)
11/17/19 13:34:30 {SBC} new best {367533f2ddecf8805948067b9dedbf7b2a27dd0e6fa9411a4b876c1544435368 1767430} ; 
11/17/19 13:36:25  Received block 1a82c3b9786c4416969072174d0f679eaf3a8c67a6691b383019ec8984d94590; 
11/17/19 13:36:25 {SBC} new best {1a82c3b9786c4416969072174d0f679eaf3a8c67a6691b383019ec8984d94590 1767431} ; 
11/17/19 13:37:59  Received block 04a78581824adc007392e694960c0d1da990ed2aa473d3cd83dd6e8d7ab38aea; 
11/17/19 13:38:00 {SBC} new best {04a78581824adc007392e694960c0d1da990ed2aa473d3cd83dd6e8d7ab38aea 1767432} ; 
11/17/19 13:38:34  Received block 35a1645d6a919a828f6ff320432060d03507b71234337d1633af55ddf9cba3a4; 
11/17/19 13:38:34 {SBC} new best {35a1645d6a919a828f6ff320432060d03507b71234337d1633af55ddf9cba3a4 1767433} ; 
11/17/19 13:41:31  Received block 42f87549c7997c491aac156eb498dc15f6b9c12766bca25fc376b0e025a93d33; 
11/17/19 13:41:32 {SBC} new best {42f87549c7997c491aac156eb498dc15f6b9c12766bca25fc376b0e025a93d33 1767434} ; 
11/17/19 13:41:55  Received block ca1afb4fb4a866dae59064b493a3f4a243f62a60265c591cce5edf6fd2b77826; 
11/17/19 13:41:56 {SBC} new best {ca1afb4fb4a866dae59064b493a3f4a243f62a60265c591cce5edf6fd2b77826 1767435} ; 
11/17/19 13:43:07  Received block 4d5802046f29cc88b6a293ca3f23a3551ef1fa2c047084b84b8bf1eb86393398; 
11/17/19 13:43:07 ProcessBlock: ORPHAN BLOCK, prev=ec4d0f18ba636efa717cca9fdafebfd7536d5e2a4e81ed387918c13a5c053b30
11/17/19 13:44:49  Received block ec4d0f18ba636efa717cca9fdafebfd7536d5e2a4e81ed387918c13a5c053b30; 
11/17/19 13:45:00 {SBC} new best {ec4d0f18ba636efa717cca9fdafebfd7536d5e2a4e81ed387918c13a5c053b30 1767436} ; 
11/17/19 13:45:06 {SBC} new best {4d5802046f29cc88b6a293ca3f23a3551ef1fa2c047084b84b8bf1eb86393398 1767437} ; 
11/17/19 13:45:07  Received block d35fad68b25b7232aabd146d79748668061524b853da260e03b17959748c97f4; 
11/17/19 13:45:18 {SBC} new best {d35fad68b25b7232aabd146d79748668061524b853da260e03b17959748c97f4 1767438} ; 
11/17/19 13:45:43 Calling start shutdown...
11/17/19 13:45:43 Calling start shutdown...
11/17/19 13:45:43 Calling start shutdown...
11/17/19 13:45:43 gridcoinresearch exiting...
11/17/19 13:45:43 Calling start shutdown...
11/17/19 13:45:43 ThreadMessageHandler exited
11/17/19 13:45:43 scheduler thread interrupt

11/17/19 13:45:43 ThreadSocketHandler exited
11/17/19 13:45:44 StopNode()
11/17/19 13:45:44 ThreadOpenConnections exited
11/17/19 13:45:44 Wait for 9 threads to join.
11/17/19 13:45:44 ThreadOpenAddedConnections exited (interrupt)
11/17/19 13:45:44 ThreadNeuralNetwork exited (interrupt)
11/17/19 13:45:44 ThreadDumpAddress exited (interrupt)
11/17/19 13:45:45 ThreadStakeMiner exited (interrupt)
11/17/19 13:45:48 Stop RPC IO service

@9swampy Thanks for the details. I cannot reproduce this yet. Something about your specific configuration and UTXOs may be triggering an edge case. Can you please attach the output of getmininginfo? It will help us to recreate the state of the wallet that more closely matches yours.

{
  "blocks": 1775606,
  "stakeweight": {
    "minimum": 35438,
    "maximum": 74490,
    "combined": 254343,
    "valuesum": 3179.32743552,
    "legacy": 3179.32743552
  },
  "netstakeweight": 10091762512.74425,
  "netstakingGRCvalue": 126147031.4093031,
  "staking": true,
  "mining-error": "",
  "time-to-stake_days": 66.51962962962963,
  "expectedtime": 5747296,
  "mining-version": 10,
  "mining-created": 0,
  "mining-accepted": 0,
  "mining-kernels-found": 0,
  "kernel-diff-best": 2.794719472941162,
  "kernel-diff-sum": 0.0002357535311655653,
  "stake-splitting": {
    "stake-splitting-enabled": false
  },
  "side-staking": {
    "side-staking-enabled": false
  },
  "difficulty": {
    "proof-of-stake": 13.33948216256444,
    "last-search-interval": 1574797888
  },
  "errors": "",
  "pooledtx": 2,
  "testnet": false,
  "PopularNeuralHash": "",
  "NeuralPopularity": -1,
  "MyNeuralHash": "myNeuralHash",
  "CPID": "myCPID",
  "Magnitude Unit": 0.175,
  "BoincRewardPending": 0,
  "MiningInfo 1": "Eligible for Research Rewards",
  "MiningInfo 2": "Poll: No current polls",
  "MiningInfo 5": "",
  "MiningInfo 6": "",
  "MiningInfo 7": "",
  "MiningInfo 8": ""
}

Likewise in return I appreciate the work you guys do on the coin. Hope the redaction isn't unhelpful.

@9swampy @iFoggz I just pushed a very small commit directly to hotfix to add the staking and miner-error fields to getwalletinfo. This should be a good temporary solution until Fern is released. I will build a new hotfix drop in and put in the release assets. @9swampy I would encourage trying this and see if it solves the problem in the interim until Fern is released.

I posted new hotfix builds for this commit on the 4.0.6.0 "Ernestine" release asset page.

it looks good. i like the scopes

@jamescowens thx for this. I've installed the hotfix, updated my client to poll getwalletinfo for the staking flag and set it running. Will revert if issue reoccurs.

@jamescowens unfortunately not the feedback I wanted to come back with. Polling only the updated getwalletinfo it still keeps locking up. Anecdotally the first time all I did was issue a daemon "RPC" call directly on the wallet local and the remote RPC started responding again. I did not restart. I say anecdotally as I've held back from writing this feedback as I wanted to give some constructive repeatable feedback but every time since it's just been a completely dead/have to kill process and restart to get it going again. First lock took 4 days, since it has gone down another three or four times in just 2 odd more days.

I don't see anything more informative from the Debug4 log to post again unless you want me to post? Is there anything else I could do/collect to help you/@cyrossignol diagnose.

I think the problem is in the rpc handler (relay) process itself and not in the running wallet process. Can you do a direct http call to the running wallet with CURL instead, to skip the rpc relay process. (What I mean by the relay process is that when you use a command line RPC call, another instance of gridcoinresearchd is started just for the purpose of relaying the command to the main wallet.) I noticed that instance was writing to the same log file as the running instance, which could be causing the deadlock under corner-case situations. I have fixed this in the development branch. I would rather not do a hotfix version if you can implement a direct call.

The easiest way to do this is with curl... See https://curl.haxx.se/windows/ for windows builds.

curl --user rpcuser:rpcpassword --data-binary '{"jsonrpc":"1.0","id":"curltext","method":"getwalletinfo","params":[]}' -H 'content-type:text/plain;' http://localhost:rpcportnumber_for_wallet

Since you're using PowerShell, here's the equivalent to Jim's suggestion above:

$auth = [System.Convert]::ToBase64String([System.Text.Encoding]::ASCII.GetBytes('user:password'))

$response = Invoke-RestMethod -Uri 'http://localhost:15715' `
    -Method 'POST' `
    -Headers @{ Authorization = "Basic $auth" } `
    -Body '{"jsonrpc":"1.0","id":"curltext","method":"getwalletinfo","params":[]}'

if (!$response.result.staking) {
    # unlock...
}

However, since your Android app is already calling the RPC interface using an HTTP client library, and you saw the problem from that originally, I don't think that skipping the execution of gridcoinresearchd.exe will solve the deadlock problem.

Unfortunately, I have not found the root cause of the issue either, yet, but... this could be a hint: your RPC debug profiling in the log shows that requests take over a hundred milliseconds to execute. These calls run in fewer than 10 ms on my computer. Do you have a large number of UTXOs in your wallet? We may need to analyze the wallet-related locks in the GUI code that may conflict with the RPC functions.

Thanks for responses.

As @cyrossignol notes the poll comes only from the Android app calling the RPC interface via HTTP
here.

I only use the commandline on the box to start (Powershell on Schedule Task) and to check status usually after the RPC stops responding; but you may have explained the started working again without restart oddity.

I've less than a dozen UTXOs. I'm not running the GUI, only the service.

Yep. What I said is definitely not the issue then. What I don't understand is why your debug4 times are so high with such a low UTXO count.

@9swampy Are you running your wallet as a full node? How many connections do you have?

I have a hunch that the locks in getmininginfo are running up against the locks in network message handling code. It could explain the extra time your RPC calls take to execute and why I've been utterly unsuccessful at reproducing this (my throw-away test node is not accepting inbound connections).

@9swampy Here's a build of the daemon with lock debugging enabled: https://send.firefox.com/download/2487e63cdd225cfe/#Mu1aGK39-GYjfOHQx-hGBg

SHA256: 6440f9752c1f065ebb31ceb861fe2334f1998e8d659d7a1ae205558b4c0e762a

You can run this in place of the gridcoinresearchd.exe daemon from the mainline release. It will output additional debugging information to the debug.log file. We're interested in the entries that claim "POTENTIAL DEADLOCK DETECTED" around the time that the RPC interface locks up.

Ok, got it running and get this repeatedly. Hasn't locked up yet though...

01/13/20 14:28:41 RPCTime : Command getwalletinfo -> Totaltime 1ms
01/13/20 14:29:07 Received block dc14a1e1511891554a921e63400c4ffda01e61d496d3020e87fd29b0f06c069f;
01/13/20 14:29:07 Tally (v9)
01/13/20 14:29:07 {SBC} new best {dc14a1e1511891554a921e63400c4ffda01e61d496d3020e87fd29b0f06c069f 1817930} ;
01/13/20 14:29:27 POTENTIAL DEADLOCK DETECTED
01/13/20 14:29:27 Previous lock order was:
01/13/20 14:29:27 (1)
01/13/20 14:29:27 cs_vNodes ../../src/net.cpp:1021
01/13/20 14:29:27 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/13/20 14:29:27 (2)
01/13/20 14:29:27 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/13/20 14:29:27 Current lock order is:
01/13/20 14:29:27 (2)
01/13/20 14:29:27 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/13/20 14:29:27 cs_main ../../src/main.cpp:6147
01/13/20 14:29:27 (1)
01/13/20 14:29:27 cs_vNodes ../../src/main.cpp:3840
01/13/20 14:29:27 POTENTIAL DEADLOCK DETECTED
01/13/20 14:29:27 Previous lock order was:
01/13/20 14:29:27 cs_vNodes ../../src/net.cpp:1021
01/13/20 14:29:27 (1)
01/13/20 14:29:27 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/13/20 14:29:27 (2)
01/13/20 14:29:27 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/13/20 14:29:27 Current lock order is:
01/13/20 14:29:27 (2)
01/13/20 14:29:27 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/13/20 14:29:27 (1)
01/13/20 14:29:27 cs_vSend ../../src/net.h:469
01/13/20 14:29:27 RPCTime : Command getwalletinfo -> Totaltime 3ms
01/13/20 14:30:02 Received block 99f311a16222f2a04617797d596d4e6c8517b08c10676172967d032be460c77b;
01/13/20 14:30:02 {SBC} new best {99f311a16222f2a04617797d596d4e6c8517b08c10676172967d032be460c77b 1817931} ;
01/13/20 14:30:19 Received block 1b957d517989c64a1fc09f92327ab677946475fbafcc24693af59e85230805c2;
01/13/20 14:30:20 {SBC} new best {1b957d517989c64a1fc09f92327ab677946475fbafcc24693af59e85230805c2 1817932} ;
01/13/20 14:30:25 RPCTime : Command getwalletinfo -> Totaltime 4ms

@cyrossignol It's just locked up again; log excerpt around the time of the lock below. Calling the daemon local gets no response though I did get another AppInit added to same log - as @jamescowens suggested second instance starting and logging to same location - but neither it nor incumbent respond to any RPC. The logs show though that the daemon is happily continuing to talk to the net and continues to receive new blocks.

01/14/20 18:16:25 POTENTIAL DEADLOCK DETECTED
01/14/20 18:16:25 Previous lock order was:
01/14/20 18:16:25 (1)
01/14/20 18:16:25 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:16:25 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:16:25 (2)
01/14/20 18:16:25 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:16:25 Current lock order is:
01/14/20 18:16:25 (2)
01/14/20 18:16:25 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:16:25 (1)
01/14/20 18:16:25 cs_vNodes ../../src/net.cpp:310
01/14/20 18:16:25 POTENTIAL DEADLOCK DETECTED
01/14/20 18:16:25 Previous lock order was:
01/14/20 18:16:25 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:16:25 (1)
01/14/20 18:16:25 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:16:25 (2)
01/14/20 18:16:25 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:16:25 Current lock order is:
01/14/20 18:16:25 (2)
01/14/20 18:16:25 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:16:25 (1)
01/14/20 18:16:25 cs_vSend ../../src/net.h:469
01/14/20 18:16:28 Received block 69269e634bd0f92cef0b1a457ce49963374f86d5309dfcf057fdaae77da0f92e;
01/14/20 18:16:28 {SBC} new best {69269e634bd0f92cef0b1a457ce49963374f86d5309dfcf057fdaae77da0f92e 1818955} ;
01/14/20 18:17:26 POTENTIAL DEADLOCK DETECTED
01/14/20 18:17:26 Previous lock order was:
01/14/20 18:17:26 (1)
01/14/20 18:17:26 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:17:26 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:17:26 (2)
01/14/20 18:17:26 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:17:26 Current lock order is:
01/14/20 18:17:26 (2)
01/14/20 18:17:26 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:17:26 (1)
01/14/20 18:17:26 cs_vNodes ../../src/main.cpp:5781
01/14/20 18:17:26 POTENTIAL DEADLOCK DETECTED
01/14/20 18:17:26 Previous lock order was:
01/14/20 18:17:26 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:17:26 (1)
01/14/20 18:17:26 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:17:26 (2)
01/14/20 18:17:26 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:17:26 Current lock order is:
01/14/20 18:17:26 (2)
01/14/20 18:17:26 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:17:26 (1)
01/14/20 18:17:26 cs_vSend ../../src/net.h:469
01/14/20 18:17:43 RPCTime : Command getmininginfo -> Totaltime 327ms
01/14/20 18:18:19 RPCTime : Command getmininginfo -> Totaltime 323ms
01/14/20 18:18:39 Received block 09b954aab4e127adc8056ddc14929564a803c50c44c79609d8d34f166596f0dd;
01/14/20 18:18:40 {SBC} new best {09b954aab4e127adc8056ddc14929564a803c50c44c79609d8d34f166596f0dd 1818956} ;
01/14/20 18:19:19 RPCTime : Command getmininginfo -> Totaltime 329ms
01/14/20 18:19:41 POTENTIAL DEADLOCK DETECTED
01/14/20 18:19:41 Previous lock order was:
01/14/20 18:19:41 (1)
01/14/20 18:19:41 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:19:41 (2)
01/14/20 18:19:41 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/14/20 18:19:41 Current lock order is:
01/14/20 18:19:41 (2)
01/14/20 18:19:41 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:19:41 (1)
01/14/20 18:19:41 cs_vNodes ../../src/net.cpp:310
01/14/20 18:19:41 POTENTIAL DEADLOCK DETECTED
01/14/20 18:19:41 Previous lock order was:
01/14/20 18:19:41 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:19:41 (1)
01/14/20 18:19:41 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:19:41 (2)
01/14/20 18:19:41 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:19:41 Current lock order is:
01/14/20 18:19:41 (2)
01/14/20 18:19:41 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:19:41 (1)
01/14/20 18:19:41 cs_vSend ../../src/net.h:469
01/14/20 18:20:01 RPCTime : Command getmininginfo -> Totaltime 345ms
01/14/20 18:20:10 Received block 4a9754d686162489f81dc065f1454e41ebbad4d59239ff81e0ac74f7e0a51f93;
01/14/20 18:20:11 {SBC} new best {4a9754d686162489f81dc065f1454e41ebbad4d59239ff81e0ac74f7e0a51f93 1818957} ;
01/14/20 18:21:01 RPCTime : Command getmininginfo -> Totaltime 331ms
01/14/20 18:21:12 Received block 4c9493f9df577a23dabc50dd1b17de0d00855f8fea20ad9c105afefc45149556;
01/14/20 18:21:13 {SBC} new best {4c9493f9df577a23dabc50dd1b17de0d00855f8fea20ad9c105afefc45149556 1818958} ;
01/14/20 18:21:25 Received block 269fd5b6fd12874a883bbe178c6a2f041554e3d907d5deab3a308421cfaca288;
01/14/20 18:21:36 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:36 RPCTime : Command listaddressgroupings -> Totaltime 344ms
01/14/20 18:21:36 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:37 RPCTime : Command listaddressgroupings -> Totaltime 373ms
01/14/20 18:21:37 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:37 RPCTime : Command listaddressgroupings -> Totaltime 345ms
01/14/20 18:21:37 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:37 RPCTime : Command getbalance -> Totaltime 0ms
01/14/20 18:21:37 RPCTime : Command listaddressgroupings -> Totaltime 348ms
01/14/20 18:21:38 RPCTime : Command listaddressgroupings -> Totaltime 357ms
01/14/20 18:21:38 RPCTime : Command getmininginfo -> Totaltime 321ms
01/14/20 18:21:38 RPCTime : Command getinfo -> Totaltime 4ms
01/14/20 18:21:44 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:45 RPCTime : Command listaddressgroupings -> Totaltime 348ms
01/14/20 18:21:45 RPCTime : Command getmininginfo -> Totaltime 321ms
01/14/20 18:21:46 RPCTime : Command getinfo -> Totaltime 1ms
01/14/20 18:21:58 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:58 RPCTime : Command listaddressgroupings -> Totaltime 340ms
01/14/20 18:21:59 RPCTime : Command getmininginfo -> Totaltime 338ms
01/14/20 18:21:59 RPCTime : Command getinfo -> Totaltime 2ms
01/14/20 18:22:12 Received block 231f8b4d91aab94e8a7b09722b30b1d689f1c66dd5be414ffe1ecd9e3d58ff03;
01/14/20 18:22:13 {SBC} new best {231f8b4d91aab94e8a7b09722b30b1d689f1c66dd5be414ffe1ecd9e3d58ff03 1818959} ;
01/14/20 18:23:39 Received block d335e8f55a7400acaf25918fcc283ef1623b673cddd92b5a3e5e333862e7e49f;
01/14/20 18:23:39 Tally (v9)
01/14/20 18:23:40 {SBC} new best {d335e8f55a7400acaf25918fcc283ef1623b673cddd92b5a3e5e333862e7e49f 1818960} ;
01/14/20 18:23:49 Received block aba05876fef33d55932348c9cfafe6f6e1599e60da0db364f14590a8a1321b06;
01/14/20 18:23:49 {SBC} new best {aba05876fef33d55932348c9cfafe6f6e1599e60da0db364f14590a8a1321b06 1818961} ;
01/14/20 18:24:22 Received block 0b8fbd1f12d08b19728d35a267a9c783d73fbc3d01d43044c38505f7c9dc5999;
01/14/20 18:24:22 {SBC} new best {0b8fbd1f12d08b19728d35a267a9c783d73fbc3d01d43044c38505f7c9dc5999 1818962} ;
01/14/20 18:25:39 POTENTIAL DEADLOCK DETECTED
01/14/20 18:25:39 Previous lock order was:
01/14/20 18:25:39 (1)
01/14/20 18:25:39 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:25:39 (2)
01/14/20 18:25:39 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/14/20 18:25:39 Current lock order is:
01/14/20 18:25:39 (2)
01/14/20 18:25:39 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:25:39 (1)
01/14/20 18:25:39 cs_vNodes ../../src/net.cpp:310
01/14/20 18:25:39 POTENTIAL DEADLOCK DETECTED
01/14/20 18:25:39 Previous lock order was:
01/14/20 18:25:39 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:25:39 (1)
01/14/20 18:25:39 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:25:39 (2)
01/14/20 18:25:39 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:25:39 Current lock order is:
01/14/20 18:25:39 (2)
01/14/20 18:25:39 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:25:39 (1)
01/14/20 18:25:39 cs_vSend ../../src/net.h:469
01/14/20 18:25:46 POTENTIAL DEADLOCK DETECTED
01/14/20 18:25:46 Previous lock order was:
01/14/20 18:25:46 (1)
01/14/20 18:25:46 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:25:46 (2)
01/14/20 18:25:46 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/14/20 18:25:46 Current lock order is:
01/14/20 18:25:46 (2)
01/14/20 18:25:46 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:25:46 (1)
01/14/20 18:25:46 cs_vNodes ../../src/net.cpp:310
01/14/20 18:25:46 POTENTIAL DEADLOCK DETECTED
01/14/20 18:25:46 Previous lock order was:
01/14/20 18:25:46 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:25:46 (1)
01/14/20 18:25:46 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:25:46 (2)
01/14/20 18:25:46 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:25:46 Current lock order is:
01/14/20 18:25:46 (2)
01/14/20 18:25:46 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:25:46 (1)
01/14/20 18:25:46 cs_vSend ../../src/net.h:469
01/14/20 18:26:23 POTENTIAL DEADLOCK DETECTED
01/14/20 18:26:23 Previous lock order was:
01/14/20 18:26:23 (1)
01/14/20 18:26:23 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:26:23 (2)
01/14/20 18:26:23 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/14/20 18:26:23 Current lock order is:
01/14/20 18:26:23 (2)
01/14/20 18:26:23 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:26:23 (1)
01/14/20 18:26:23 cs_vNodes ../../src/net.cpp:310
01/14/20 18:26:23 POTENTIAL DEADLOCK DETECTED
01/14/20 18:26:23 Previous lock order was:
01/14/20 18:26:23 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:26:23 (1)
01/14/20 18:26:23 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:26:23 (2)
01/14/20 18:26:23 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:26:23 Current lock order is:
01/14/20 18:26:23 (2)
01/14/20 18:26:23 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:26:23 (1)
01/14/20 18:26:23 cs_vSend ../../src/net.h:469

You mean it locked up at around 18:26:23? I am suspicious of the http handler now. Those periodic potential deadlocks are longstanding issues that only show up with lock debugging enabled. They do not appear to be correlated with your problem. I would like to see the log up to the point where the AppInits start piling up with no rpc response in the log.

Just 1 AppInit when I called local to see if it would respond given the remote RPC wasn't. Neither responded, no log of any attempt to initiate RPC query so I killed and restarted anew. ~20 minutes rinse repeat of the same potential deadlock up culminating in the terminate logs below.

HttpHandler my side or daemon? My calling code's here; vanilla.

I'll mention but wouldn't expect it to be relevant; I moved in to range of my WiFi around the same time so phone could have flipped giving an alert the RPC hadn't responded and clicking the notification would have caused the block around 18:21:36 to fire off; then it just stopped responding altogether.

01/14/20 18:48:38 POTENTIAL DEADLOCK DETECTED
01/14/20 18:48:38 Previous lock order was:
01/14/20 18:48:38 (1)
01/14/20 18:48:38 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:48:38 (2)
01/14/20 18:48:38 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/14/20 18:48:38 Current lock order is:
01/14/20 18:48:38 (2)
01/14/20 18:48:38 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:48:38 (1)
01/14/20 18:48:38 cs_vNodes ../../src/main.cpp:5781
01/14/20 18:48:38 POTENTIAL DEADLOCK DETECTED
01/14/20 18:48:38 Previous lock order was:
01/14/20 18:48:38 cs_vNodes ../../src/net.cpp:1021
01/14/20 18:48:38 (1)
01/14/20 18:48:38 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/14/20 18:48:38 (2)
01/14/20 18:48:38 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/14/20 18:48:38 Current lock order is:
01/14/20 18:48:38 (2)
01/14/20 18:48:38 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/14/20 18:48:38 (1)
01/14/20 18:48:38 cs_vSend ../../src/net.h:469
01/14/20 18:48:57 Received block e3e9efe1b29ccb70033b24f56caae21468dbc69618e26d90bf37d4adea190221;
01/14/20 18:48:57 {SBC} new best {e3e9efe1b29ccb70033b24f56caae21468dbc69618e26d90bf37d4adea190221 1818976} ;
01/14/20 18:49:11 Received block 99f663f967f17b9e7cbc2bd135e60305c9bd7beaf4b64a4267a0d0ada170e07e;
01/14/20 18:49:11 {SBC} new best {99f663f967f17b9e7cbc2bd135e60305c9bd7beaf4b64a4267a0d0ada170e07e 1818977} ;
01/14/20 18:49:23 Received block 7e93c2fdb296c1f760bf14282d566e22aaee00a17ee78e00c4e4edb4aaf40737;
01/14/20 18:49:24 {SBC} new best {7e93c2fdb296c1f760bf14282d566e22aaee00a17ee78e00c4e4edb4aaf40737 1818978} ;
01/14/20 18:50:28 Calling start shutdown...
01/14/20 18:50:28 Calling start shutdown...
01/14/20 18:50:29 Calling start shutdown...
01/14/20 18:50:29 Calling start shutdown...
01/14/20 18:50:29 Calling start shutdown...
01/14/20 18:50:29 gridcoinresearch exiting...
01/14/20 18:50:29 scheduler thread interrupt

01/14/20 18:50:29 ThreadSocketHandler exited
01/14/20 18:50:29 Calling start shutdown...
01/14/20 18:50:29 ThreadMessageHandler exited
01/14/20 18:50:29 StopNode()
01/14/20 18:50:29 ThreadOpenConnections exited
01/14/20 18:50:29 ThreadOpenAddedConnections exited (interrupt)
01/14/20 18:50:29 ThreadStakeMiner exited (interrupt)
01/14/20 18:50:29 ThreadDumpAddress exited (interrupt)
01/14/20 18:50:29 ThreadNeuralNetwork exited (interrupt)
01/14/20 18:50:29 Wait for 9 threads to join.
01/14/20 18:50:29 Stop RPC IO service

Can you put rpcthreads=10 in the config file and see if it changes the behavior?

Also, what was calling all of these simultaneously? Looks like multiple calls at the same time...

01/14/20 18:21:36 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:36 RPCTime : Command listaddressgroupings -> Totaltime 344ms
01/14/20 18:21:36 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:37 RPCTime : Command listaddressgroupings -> Totaltime 373ms
01/14/20 18:21:37 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:37 RPCTime : Command listaddressgroupings -> Totaltime 345ms
01/14/20 18:21:37 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:37 RPCTime : Command getbalance -> Totaltime 0ms
01/14/20 18:21:37 RPCTime : Command listaddressgroupings -> Totaltime 348ms
01/14/20 18:21:38 RPCTime : Command listaddressgroupings -> Totaltime 357ms
01/14/20 18:21:38 RPCTime : Command getmininginfo -> Totaltime 321ms
01/14/20 18:21:38 RPCTime : Command getinfo -> Totaltime 4ms
01/14/20 18:21:44 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:45 RPCTime : Command listaddressgroupings -> Totaltime 348ms
01/14/20 18:21:45 RPCTime : Command getmininginfo -> Totaltime 321ms
01/14/20 18:21:46 RPCTime : Command getinfo -> Totaltime 1ms
01/14/20 18:21:58 RPCTime : Command getbalance -> Totaltime 1ms
01/14/20 18:21:58 RPCTime : Command listaddressgroupings -> Totaltime 340ms
01/14/20 18:21:59 RPCTime : Command getmininginfo -> Totaltime 338ms
01/14/20 18:21:59 RPCTime : Command getinfo -> Totaltime 2ms

Although that does not appear to be where the problem is....

Sorry the length of the cut from the log below's quite long but covers from last recorded log to a verified crash. For context this time I was running the daemon in a long running command window and having stopped responding this afternoon when I got on to the box there was a "Daemon has crashed" Windows dialog offering debug or terminate option. Upon clicking terminate I got literally hundreds of repeats of the 22:17:47 deadlock log before the log eventually terminated mid repeat.

I bemoan that it crashed when I was due a CreateGridcoinReward and having restarted & synced I clearly haven't been credited the reward that crashed (you'll see clearly i'm not Gridcoin rich so not to worry - it won't break the bank) but hopefully having had such an explicit crash log will help pinpoint an issue to fix....

01/30/20 15:24:14 POTENTIAL DEADLOCK DETECTED
01/30/20 15:24:14 Previous lock order was:
01/30/20 15:24:14 (1)
01/30/20 15:24:14 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:24:14 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:24:14 (2)
01/30/20 15:24:14 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:24:14 Current lock order is:
01/30/20 15:24:14 (2)
01/30/20 15:24:14 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:24:14 (1)
01/30/20 15:24:14 cs_vNodes ../../src/net.cpp:310
01/30/20 15:24:14 POTENTIAL DEADLOCK DETECTED
01/30/20 15:24:14 Previous lock order was:
01/30/20 15:24:14 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:24:14 (1)
01/30/20 15:24:14 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:24:14 (2)
01/30/20 15:24:14 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:24:14 Current lock order is:
01/30/20 15:24:14 (2)
01/30/20 15:24:14 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:24:14 (1)
01/30/20 15:24:14 cs_vSend ../../src/net.h:469
01/30/20 15:25:08 RPCTime : Command getmininginfo -> Totaltime 419ms
01/30/20 15:25:25 Received block 6c648006f28f0119e89ce299debf876a8f5a906bfe1091b1bb4503c1bca9b657;
01/30/20 15:25:26 {SBC} new best {6c648006f28f0119e89ce299debf876a8f5a906bfe1091b1bb4503c1bca9b657 1833039} ;
01/30/20 15:25:59 POTENTIAL DEADLOCK DETECTED
01/30/20 15:25:59 Previous lock order was:
01/30/20 15:25:59 (1)
01/30/20 15:25:59 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:25:59 (2)
01/30/20 15:25:59 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/30/20 15:25:59 Current lock order is:
01/30/20 15:25:59 (2)
01/30/20 15:25:59 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:25:59 (1)
01/30/20 15:25:59 cs_vNodes ../../src/net.cpp:310
01/30/20 15:25:59 POTENTIAL DEADLOCK DETECTED
01/30/20 15:25:59 Previous lock order was:
01/30/20 15:25:59 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:25:59 (1)
01/30/20 15:25:59 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:25:59 (2)
01/30/20 15:25:59 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:25:59 Current lock order is:
01/30/20 15:25:59 (2)
01/30/20 15:25:59 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:25:59 (1)
01/30/20 15:25:59 cs_vSend ../../src/net.h:469
01/30/20 15:26:29 RPCTime : Command getmininginfo -> Totaltime 407ms
01/30/20 15:26:45 Received block 4dc9a553ac1102d6347672fc80e5d7359a7e37b8b82b3bbdb5c6464b8c086e00;
01/30/20 15:26:45 Tally (v9)
01/30/20 15:26:45 {SBC} new best {4dc9a553ac1102d6347672fc80e5d7359a7e37b8b82b3bbdb5c6464b8c086e00 1833040} ;
01/30/20 15:26:52 Received block c06efb0fe8d7451c88cc646d8988749347543f2d6093f42935d4e21325a5b7ae;
01/30/20 15:26:52 {SBC} new best {c06efb0fe8d7451c88cc646d8988749347543f2d6093f42935d4e21325a5b7ae 1833041} ;
01/30/20 15:27:16 RPCTime : Command getmininginfo -> Totaltime 535ms
01/30/20 15:28:17 RPCTime : Command getmininginfo -> Totaltime 438ms
01/30/20 15:28:24 POTENTIAL DEADLOCK DETECTED
01/30/20 15:28:24 Previous lock order was:
01/30/20 15:28:24 (1)
01/30/20 15:28:24 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:28:24 (2)
01/30/20 15:28:24 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/30/20 15:28:24 Current lock order is:
01/30/20 15:28:24 (2)
01/30/20 15:28:24 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:28:24 (1)
01/30/20 15:28:24 cs_vNodes ../../src/net.cpp:310
01/30/20 15:28:24 POTENTIAL DEADLOCK DETECTED
01/30/20 15:28:24 Previous lock order was:
01/30/20 15:28:24 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:28:24 (1)
01/30/20 15:28:24 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:28:24 (2)
01/30/20 15:28:24 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:28:24 Current lock order is:
01/30/20 15:28:24 (2)
01/30/20 15:28:24 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:28:24 (1)
01/30/20 15:28:24 cs_vSend ../../src/net.h:469
01/30/20 15:30:14 Received block 8a75511c7c182120bede7f3d8a36852a999ba9b0cd528114fc976a9a8f94eb72;
01/30/20 15:30:14 {SBC} new best {8a75511c7c182120bede7f3d8a36852a999ba9b0cd528114fc976a9a8f94eb72 1833042} ;
01/30/20 15:30:25 Received block d76328326e7a603d044fdf0f738221f7dcd97aca81aa90c5626d2041f010a044;
01/30/20 15:30:26 {SBC} new best {d76328326e7a603d044fdf0f738221f7dcd97aca81aa90c5626d2041f010a044 1833043} ;
01/30/20 15:31:18 Received block 5042bfc73cf4e7b644f7d4989202e3ad1b4c769cb7ddc92489e0e0c832dfdf70;
01/30/20 15:31:18 {SBC} new best {5042bfc73cf4e7b644f7d4989202e3ad1b4c769cb7ddc92489e0e0c832dfdf70 1833044} ;
01/30/20 15:32:19 POTENTIAL DEADLOCK DETECTED
01/30/20 15:32:19 Previous lock order was:
01/30/20 15:32:19 (1)
01/30/20 15:32:19 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:32:19 (2)
01/30/20 15:32:19 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/30/20 15:32:19 Current lock order is:
01/30/20 15:32:19 (2)
01/30/20 15:32:19 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:32:19 (1)
01/30/20 15:32:19 cs_vNodes ../../src/net.cpp:310
01/30/20 15:32:19 POTENTIAL DEADLOCK DETECTED
01/30/20 15:32:19 Previous lock order was:
01/30/20 15:32:19 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:32:19 (1)
01/30/20 15:32:19 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:32:19 (2)
01/30/20 15:32:19 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:32:19 Current lock order is:
01/30/20 15:32:19 (2)
01/30/20 15:32:19 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:32:19 (1)
01/30/20 15:32:19 cs_vSend ../../src/net.h:469
01/30/20 15:34:22 POTENTIAL DEADLOCK DETECTED
01/30/20 15:34:22 Previous lock order was:
01/30/20 15:34:22 (1)
01/30/20 15:34:22 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:34:22 (2)
01/30/20 15:34:22 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/30/20 15:34:22 Current lock order is:
01/30/20 15:34:22 (2)
01/30/20 15:34:22 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:34:22 (1)
01/30/20 15:34:22 cs_vNodes ../../src/main.cpp:5781
01/30/20 15:34:22 POTENTIAL DEADLOCK DETECTED
01/30/20 15:34:22 Previous lock order was:
01/30/20 15:34:22 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:34:22 (1)
01/30/20 15:34:22 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:34:22 (2)
01/30/20 15:34:22 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:34:22 Current lock order is:
01/30/20 15:34:22 (2)
01/30/20 15:34:22 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:34:22 (1)
01/30/20 15:34:22 cs_vSend ../../src/net.h:469
01/30/20 15:34:58 Received block ff659f166d820c55313ef27c552fa0933f8451c4f887be9e5633d6677d2460ba;
01/30/20 15:34:58 {SBC} new best {ff659f166d820c55313ef27c552fa0933f8451c4f887be9e5633d6677d2460ba 1833045} ;
01/30/20 15:36:41 Received block 0a1a063bba1f94143e7b9f4a63606411c8f3671438923dcd52fc4f83fce0239b;
01/30/20 15:36:41 {SBC} new best {0a1a063bba1f94143e7b9f4a63606411c8f3671438923dcd52fc4f83fce0239b 1833046} ;
01/30/20 15:37:32 POTENTIAL DEADLOCK DETECTED
01/30/20 15:37:32 Previous lock order was:
01/30/20 15:37:32 (1)
01/30/20 15:37:32 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:37:32 (2)
01/30/20 15:37:32 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/30/20 15:37:32 Current lock order is:
01/30/20 15:37:32 (2)
01/30/20 15:37:32 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:37:32 (1)
01/30/20 15:37:32 cs_vNodes ../../src/main.cpp:5781
01/30/20 15:37:32 POTENTIAL DEADLOCK DETECTED
01/30/20 15:37:32 Previous lock order was:
01/30/20 15:37:32 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:37:32 (1)
01/30/20 15:37:32 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:37:32 (2)
01/30/20 15:37:32 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:37:32 Current lock order is:
01/30/20 15:37:32 (2)
01/30/20 15:37:32 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:37:32 (1)
01/30/20 15:37:32 cs_vSend ../../src/net.h:469
01/30/20 15:38:31 Received block 06eb6c4e7fed6cab9e8aef7d87058abe36052745b1dcada07be927c6bebe788c;
01/30/20 15:38:31 {SBC} new best {06eb6c4e7fed6cab9e8aef7d87058abe36052745b1dcada07be927c6bebe788c 1833047} ;
01/30/20 15:39:16 Received block 110fd852bbf9ca82a55f62198b565bf1a36bb1087d0d6b91739c16776626441a;
01/30/20 15:39:16 {SBC} new best {110fd852bbf9ca82a55f62198b565bf1a36bb1087d0d6b91739c16776626441a 1833048} ;
01/30/20 15:40:07 POTENTIAL DEADLOCK DETECTED
01/30/20 15:40:07 Previous lock order was:
01/30/20 15:40:07 (1)
01/30/20 15:40:07 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:40:07 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:40:07 (2)
01/30/20 15:40:07 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:40:07 Current lock order is:
01/30/20 15:40:07 (2)
01/30/20 15:40:07 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:40:07 (1)
01/30/20 15:40:07 cs_vNodes ../../src/net.cpp:310
01/30/20 15:40:07 POTENTIAL DEADLOCK DETECTED
01/30/20 15:40:07 Previous lock order was:
01/30/20 15:40:07 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:40:07 (1)
01/30/20 15:40:07 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:40:07 (2)
01/30/20 15:40:07 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:40:07 Current lock order is:
01/30/20 15:40:07 (2)
01/30/20 15:40:07 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:40:07 (1)
01/30/20 15:40:07 cs_vSend ../../src/net.h:469
01/30/20 15:40:15 POTENTIAL DEADLOCK DETECTED
01/30/20 15:40:15 Previous lock order was:
01/30/20 15:40:15 (1)
01/30/20 15:40:15 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:40:15 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:40:15 (2)
01/30/20 15:40:15 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:40:15 Current lock order is:
01/30/20 15:40:15 (2)
01/30/20 15:40:15 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:40:15 (1)
01/30/20 15:40:15 cs_vNodes ../../src/net.cpp:310
01/30/20 15:40:15 POTENTIAL DEADLOCK DETECTED
01/30/20 15:40:15 Previous lock order was:
01/30/20 15:40:15 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:40:15 (1)
01/30/20 15:40:15 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:40:15 (2)
01/30/20 15:40:15 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:40:15 Current lock order is:
01/30/20 15:40:15 (2)
01/30/20 15:40:15 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:40:15 (1)
01/30/20 15:40:15 cs_vSend ../../src/net.h:469
01/30/20 15:40:30 Received block eb4155faa8a9ebd15af2ce4342dae292c3602e126557f1f7c335a49efc4d5aec;
01/30/20 15:40:30 {SBC} new best {eb4155faa8a9ebd15af2ce4342dae292c3602e126557f1f7c335a49efc4d5aec 1833049} ;
01/30/20 15:43:13 Received block 90dc60b370d87104f8cef89415d39ce46d19b8b4c9cc6a3ed873d2862a74ce82;
01/30/20 15:43:13 Tally (v9)
01/30/20 15:43:13 {SBC} new best {90dc60b370d87104f8cef89415d39ce46d19b8b4c9cc6a3ed873d2862a74ce82 1833050} ;
01/30/20 15:43:29 Received block c2b862f1765b7487acd78c17986d48f5ae6c9949151c6e9eaae05bf36e9c8f78;
01/30/20 15:43:30 {SBC} new best {c2b862f1765b7487acd78c17986d48f5ae6c9949151c6e9eaae05bf36e9c8f78 1833051} ;
01/30/20 15:43:54 POTENTIAL DEADLOCK DETECTED
01/30/20 15:43:54 Previous lock order was:
01/30/20 15:43:54 (1)
01/30/20 15:43:54 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:43:54 (2)
01/30/20 15:43:54 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/30/20 15:43:54 Current lock order is:
01/30/20 15:43:54 (2)
01/30/20 15:43:54 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:43:54 (1)
01/30/20 15:43:54 cs_vNodes ../../src/net.cpp:310
01/30/20 15:43:54 POTENTIAL DEADLOCK DETECTED
01/30/20 15:43:54 Previous lock order was:
01/30/20 15:43:54 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:43:54 (1)
01/30/20 15:43:54 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:43:54 (2)
01/30/20 15:43:54 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:43:54 Current lock order is:
01/30/20 15:43:54 (2)
01/30/20 15:43:54 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:43:54 (1)
01/30/20 15:43:54 cs_vSend ../../src/net.h:469
01/30/20 15:43:55 Received block 4a03830c1c225c838518848b495bd913c6ca0b5182dc584ef7829641dd9eb765;
01/30/20 15:43:55 {SBC} new best {4a03830c1c225c838518848b495bd913c6ca0b5182dc584ef7829641dd9eb765 1833052} ;
01/30/20 15:44:19 POTENTIAL DEADLOCK DETECTED
01/30/20 15:44:19 Previous lock order was:
01/30/20 15:44:19 (1)
01/30/20 15:44:19 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:44:19 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:44:19 (2)
01/30/20 15:44:19 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:44:19 Current lock order is:
01/30/20 15:44:19 (2)
01/30/20 15:44:19 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:44:19 (1)
01/30/20 15:44:19 cs_vNodes ../../src/net.cpp:310
01/30/20 15:44:19 POTENTIAL DEADLOCK DETECTED
01/30/20 15:44:19 Previous lock order was:
01/30/20 15:44:19 cs_vNodes ../../src/net.cpp:1021
01/30/20 15:44:19 (1)
01/30/20 15:44:19 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
01/30/20 15:44:19 (2)
01/30/20 15:44:19 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
01/30/20 15:44:19 Current lock order is:
01/30/20 15:44:19 (2)
01/30/20 15:44:19 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 15:44:19 (1)
01/30/20 15:44:19 cs_vSend ../../src/net.h:469
01/30/20 15:44:30 RPCTime : Command getmininginfo -> Totaltime 415ms
01/30/20 15:46:27 CreateCoinStake: Found Kernel;
01/30/20 15:46:27 CreateCoinStake: added kernel type=1 credit=747.752886
01/30/20 15:46:27 StakeMiner: created rest of the block
01/30/20 15:46:27 CreateGridcoinReward: for f681786ba2c10c87c502328dae680cab mint 22.427201 Research 12.426986, Interest 10.000000
01/30/20 15:46:27 StakeMiner: added gridcoin reward to coinstake
01/30/20 15:46:27 AddNeuralContractOrVote: not Needed
01/30/20 22:17:47 POTENTIAL DEADLOCK DETECTED
01/30/20 22:17:47 Previous lock order was:
01/30/20 22:17:47 (1)
01/30/20 22:17:47 cs_vNodes ../../src/net.cpp:1021
01/30/20 22:17:47 (2)
01/30/20 22:17:47 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/30/20 22:17:47 Current lock order is:
01/30/20 22:17:47 (2)
01/30/20 22:17:47 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 22:17:47 (1)
01/30/20 22:17:47 cs_vNodes ../../src/net.cpp:310
01/30/20 22:17:47 POTENTIAL DEADLOCK DETECTED
01/30/20 22:17:47 Previous lock order was:
01/30/20 22:17:47 (1)
01/30/20 22:17:47 cs_vNodes ../../src/net.cpp:1021
01/30/20 22:17:47 (2)
01/30/20 22:17:47 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
01/30/20 22:17:47 Current lock order is:
01/30/20 22:17:47 (2)
01/30/20 22:17:47 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
01/30/20 22:17:47 (1)
01/30/20 22:17:47 cs_vNodes ../../src/net.cpp:310

Sorry the length of the cut from the log below's quite long but covers from last recorded log to a verified crash.

@9swampy Thanks for the extended log. I'm sorry to see that it crashed right when you staked!

I'm not entirely sure whether this crash is related to the non-responsive RPC interface. It may be caused by thread safety problems that I fixed in the first hotfix build that @jamescowens gave you (which I hoped would fix the deadlock as well). I built the debug version from the master branch, so it didn't have the thread-safety improvements in getmininginfo. In hindsight, that was a absurd decision on my part. I'll rebuild the debug version from the hotfix branch soon.

Upon clicking terminate I got literally hundreds of repeats of the 22:17:47 deadlock log before the log eventually terminated mid repeat.

When Windows reports the error, it suspends the process, but nodes continue to send messages to a wallet that they think is still online. The OS buffered these messages until you clicked "terminate", so the queue of messages all poured in at once when the process resumed and while the thread that crashed unwound.

At least from this I think we can eliminate the node message processing code from the list of suspects. The "potential deadlocks" on cs_vNodes and cs_vRecvMsg seem unrelated to the RPC issue.

I finally had some time to take a closer look at the Gridcoin Remote code. The repository's develop branch looks slightly behind the version that you're running in these logs. Can you push your current changes (perhaps to a separate branch)? Since this is proving so difficult to reproduce, I'm keen to set up an environment that mimics your usage as much as possible.

Another theory worth investigating: since I'm not seeing any evidence of a deadlock so far, I think that the non-responsive RPC interface may be caused by the wonky way that the home-cooked HTTP server we still have from old Bitcoin code handles HTTP keep-alive connections.

Whenever a client sends an HTTP request with the Connection: keep-alive header (or with Connection: close absent), the wallet respects the HTTP protocol somewhat by reserving one of the 4 (default) RPC threads to service that and any subsequent requests from that client. This improves the performance of the the communication by eliminating the overhead needed to renegotiate the connection for each request (and avoids exhausting ephemeral ports, especially on Windows). For most clients, this is a significant enhancement.

However, when all of the RPC threads are tied-up for persistent connections, the wallet cannot accept any new requests. @9swampy's client runs on a mobile device that roams across networks and throttles network activity in low-power states, so this frequently breaks the keep-alive session in a way that doesn't allow the wallet to release the RPC handler threads reserved for those connections. The remote connection also explains the much greater latency shown by the RPC profiling entries in the log (and why my attempts to reproduce this with a local client have been fruitless).

The HTTP client implementation on Android enables keep-alive connections by default. @9swampy, you might try setting:

System.setProperty("http.keepAlive", "false");

...in the app's entrypoint and/or:

connection.setRequestProperty("Connection", "close");

on the HttpURLConnection instance to see whether this resolves the dead RPC server problem, and you can also try to increase the number of RPC handler threads as @jamescowens suggested above.

I'll have a look later to see if I can rework the keep-alive connection code in Gridcoin. Eventually, I want to backport Bitcoin's newer RPC code which now uses a library with a standard implementation of the HTTP protocol.

@cyrossignol all very helpful analysis and feedback; I've added the

connection.setRequestProperty("Connection", "close")

...and redeployed. I'd already increased the handler threads as suggested when @jamescowens suggested and prior to my last replies. Seemed to have helped but then I got multiple locks in quick succession so didn't think i had anything helpful to feedback but your most recent comments may explain why.

I've pushed latest code to GridCoinRemote.Develop though it really hadn't moved on in any significant way since.

Will revert if it locks up again.

@9swampy can you provide an update on this?

Still the same unfortunately. Has continued to lock up repeatedly even with the latest additions as suggested.

I've been looking in to using a WorkManager in the client instead of calling simple direct, try to reduce the chance that I'd drop the connection; but that's just a workaround satiating...

@9swampy My tests so far with the emulator seem to support the theory that adding the Connection: close header prevents the RPC thread exhaustion, but there's some funny behavior with the request failing occasionally because the Android system seems to assume that the keep-alive connection exists. I'm waiting on a repair part for my Android phone so that I can try some real-world testing.

In the meantime, you might want to have a look at the output of this PowerShell command to observe the state of RPC connections to the wallet:

Get-NetTCPConnection | Where-Object { $_.LocalPort -eq 15715 -or $_.RemotePort -eq 15715 }

@cyrossignol Last couple of failures of the RPC it's died, not locked up - and I got the following from the StandardError redirect:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed: lock pwalletMain->cs_wallet not held in ../../src/beacon.cpp:18; locks held:
pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
cs_main ../../src/main.cpp:6147
cs_main ../../src/main.cpp:3546
cs_main ../../src/rpcblockchain.cpp:644

02/23/20 19:24:07 RPCTime : Command getmininginfo -> Totaltime 341ms
02/23/20 19:24:08 Received block 98ef05dceaee73f8fd6d9c3bf5cbb42be692669912e4b86e8914478081192796;
02/23/20 19:24:08 {SBC} new best {98ef05dceaee73f8fd6d9c3bf5cbb42be692669912e4b86e8914478081192796 1854504} ;
02/23/20 19:24:57 POTENTIAL DEADLOCK DETECTED
02/23/20 19:24:57 Previous lock order was:
02/23/20 19:24:57 (1)
02/23/20 19:24:57 cs_vNodes ../../src/net.cpp:1021
02/23/20 19:24:57 (2)
02/23/20 19:24:57 cs_vRecvMsg ../../src/net.cpp:668 (TRY)
02/23/20 19:24:57 Current lock order is:
02/23/20 19:24:57 (2)
02/23/20 19:24:57 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
02/23/20 19:24:57 (1)
02/23/20 19:24:57 cs_vNodes ../../src/net.cpp:310
02/23/20 19:24:57 POTENTIAL DEADLOCK DETECTED
02/23/20 19:24:57 Previous lock order was:
02/23/20 19:24:57 cs_vNodes ../../src/net.cpp:1021
02/23/20 19:24:57 (1)
02/23/20 19:24:57 pnode->cs_vSend ../../src/net.cpp:1054 (TRY)
02/23/20 19:24:57 (2)
02/23/20 19:24:57 pnode->cs_vRecvMsg ../../src/net.cpp:1057 (TRY)
02/23/20 19:24:57 Current lock order is:
02/23/20 19:24:57 (2)
02/23/20 19:24:57 pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
02/23/20 19:24:57 (1)
02/23/20 19:24:57 cs_vSend ../../src/net.h:469
02/23/20 19:25:07 RPCTime : Command getmininginfo -> Totaltime 344ms
02/23/20 19:25:13 Received block 9187b2f8732c5a814835e7fc9426f1fd1e13247dd2659da9d56cea68429f1352;
02/23/20 19:25:14 {SBC} new best {9187b2f8732c5a814835e7fc9426f1fd1e13247dd2659da9d56cea68429f1352 1854505} ;

What build are you using?

Looks like we are actually missing a lock. We should be locking pwalletMain->cs_wallet and we are not. I checked the call stack for AdvertiseBeacon, and that lock is never taken.

I think it should be

bool AdvertiseBeacon(std::string &sOutPrivKey, std::string &sOutPubKey, std::string &sError, std::string &sMessage)
{
sOutPrivKey = "BUG! deprecated field used";
LOCK2(cs_main, pwalletMain->cs_wallet);

instead of just the single lock on cs_main...

What build are you using?

This debug one from @cyrossignol linked in his 12 January post.

I think @cyrossignol's also included the modified getwalletinfo. The getwalletinfo is pretty lightweight, but also takes LOCK2(cs_main, pwalletMain->cs_wallet). cs_main has to be taken for the beacon stuff that we were discussing over in the beacon status PR.

The modified getwalletinfo staking flag wasn't in the debug build, so I flipped back to getmininginfo.

Quoting @cyrossignol;

I'm not entirely sure whether this crash is related to the non-responsive RPC interface. It may be caused by thread safety problems that I fixed in the first hotfix build that @jamescowens gave you (which I hoped would fix the deadlock as well). I built the debug version from the master branch, so it didn't have the thread-safety improvements in getmininginfo.

Feels like I've given you a helpful pointer this time? Happy to guinea pig another build when it's available.

Thanks!

Just to update I don't know why it's switched to dying instead of locking up but the same message has been consistent crashing 3 times since first noted, exactly same. I dropped the poll to once an hour but it still terminates within a couple of days.

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Assertion failed: lock pwalletMain->cs_wallet not held in ../../src/beacon.cpp:18; locks held:
pnode->cs_vRecvMsg ../../src/net.cpp:2065 (TRY)
cs_main ../../src/main.cpp:6147
cs_main ../../src/main.cpp:3546
cs_main ../../src/rpcblockchain.cpp:644

There is a missing lock. I will have to backport another hotfix.

Backported. I will do a hotfix build and post to the 4.0.6.0 release assets page.

I have posted a new hotfix build with the missing lock fixed. This is not a debug build though. Please try it and let's see if it is any different.

Thanks @jamescowens. I've installed but left it polling getmininginfo 4.0.6.0-gd6a76f65a for now to be consistent with the recent crashes. Let me know if you'd prefer me to switch to getwalletinfo. Will revert in a few days to update.

3 days up and all's well. Looking good...

Ha. Looks like it was a missing lock that was the problem!! :)

Give us an update on Monday, and if still good, we will close this one at long last. :)

All's well with RDP (even if the world's gone a bit mad!)

Thanks @jamescowens @cyrossignol @iFoggz for all support offered. Glad we finally got to the bottom of it!

I am too! :) Thanks for your persistence and very detailed information that allowed us to track this down!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grctest picture grctest  Â·  18Comments

moisespr123 picture moisespr123  Â·  16Comments

eMPee584 picture eMPee584  Â·  18Comments

grctest picture grctest  Â·  171Comments

EnzoCaricoTri picture EnzoCaricoTri  Â·  21Comments