The Wayback Machine - https://web.archive.org/web/20201202125818/https://github.com/skycoin/skycoin/issues/715
Skip to content
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

Shutdown during ExecuteSignedBlock prevents clean shutdown #715

Open
gz-c opened this issue Dec 6, 2017 · 1 comment
Open

Shutdown during ExecuteSignedBlock prevents clean shutdown #715

gz-c opened this issue Dec 6, 2017 · 1 comment
Assignees
Projects
Milestone

Comments

@gz-c
Copy link
Member

@gz-c gz-c commented Dec 6, 2017

CTRL+C while in ExecuteSignedBlock prevents clean shutdown and requires an extra CTRL+C

[skycoin.daemon:CRITICAL] Added new block 1353
^C[skycoin.main:INFO] Shutting down...
[skycoin.pex:INFO] Shutting down pex
[skycoin.pex:INFO] Save peerlist
[skycoin.main:INFO] Logbuff service closed normally
[skycoin.webrpc:INFO] Webrpc service closed
[skycoin.gnet:DEBUG] connection 121.41.103.148:6000 closed
[skycoin.gnet:DEBUG] connection 34.211.217.30:6000 closed
[skycoin.gnet:DEBUG] connection 176.58.126.224:6000 closed
[skycoin.gnet:INFO] Connection pool closed
[skycoin.pex:INFO] Pex.Run stopped
[skycoin.pex:INFO] Pex shutdown
[skycoin.visor:INFO] Blockchain parser closed
[skycoin.visor:INFO] DB and BlockchainParser closed
[skycoin.main:INFO] Log file closed
[skycoin.daemon:ERROR] daemon.Visor.ExecuteSignedBlock error: database not open
[skycoin.daemon:ERROR] Visor request func failed: database not open
[skycoin.daemon:INFO] Visor closed
[skycoin.daemon:CRITICAL] Failed to execute received block: database not open
^Csignal: interrupt
@gz-c gz-c added bug core labels Dec 6, 2017
@gz-c
Copy link
Member Author

@gz-c gz-c commented Apr 17, 2018

This can be reproduced by syncing a new blockchain and trying to ctrl+c at the right time. ExecuteSignedBlock is a relatively slow operation so you're likely to trigger the problem.

@iketheadore iketheadore self-assigned this Apr 30, 2018
@gz-c gz-c assigned gz-c and unassigned iketheadore May 11, 2018
@iketheadore iketheadore added this to To do in Core via automation Nov 13, 2020
@iketheadore iketheadore added this to the 0.28 milestone Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.