New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hang on shutdown caused by peer #583
Comments
Thanks, looking into it. |
I've hit this too once or twice (but always in a situation where I couldn't get much debug info). |
Trying to repro this but looking at the code I think it's an edge case where |
I've seen it more on very slow machines if that helps you reproduce it. |
Thanks, will try that. |
Also disconnect the failed peer to allow the peerDoneHandler goroutine to exit, instead of hanging around. Fixes btcsuite#583.
Also disconnect the failed peer to allow the peerDoneHandler goroutine to exit, instead of hanging around. Fixes decred#583.
Perhaps @tuxcanfly can take a look.
Sending a SIGINT to btcd causes it to shutdown, and then it hangs after shutting down the block manager.
A trace shows thousands of these:
The text was updated successfully, but these errors were encountered: