BlockchainCommons / GordianServer-macOS

Tor-protected full-node GordianServer for macOS
Other
63 stars 8 forks source link

BUG: Bitcoin Core STOP Can Get Stuck #151

Open shannona opened 2 years ago

shannona commented 2 years ago

I've had a few cases where the STOP command for Bitcoin Core got stuck, with no ability to start/stop because the button was grayed out.

I can most reliably replicate this by: (1) Hitting the STOP button, and watching it say "Stopping main ..." (2) Taking the focus away from the app (by clicking on another app or going to another set of screens) (3) When I return the message changes to to "Checking if Bitcoin Core is running ..." (4) The debug.log shows that the Bitcoin Core process has been stopped after ~25s on average. (5) But the checking Bitcoin Core keeps spinning and the Start/Stop button remains gray.

I can kick it back into gear by changing focus again or by moving the Gordian Server window (though at least once that left me in a state where STOP was no longer being recorded, though that could have been another bug), but if I just leave it be, it can sit and spin like that for 5m+, so probably forever.

shannona commented 2 years ago

I hit this with considerable regularity while testing out GOrdian Server. The STOP just doesn't get noted much of the time, requiring me to frequently change focus to get it to do so.