stopping witness_node with control-C corrupts chain file
Stopped the witness_node with Control-C
2846957ms asio main.cpp:168 operator() ] Caught SIGINT attempting to exit cleanly
2846957ms th_a main.cpp:181 main ] Exiting from signal 2
2846979ms th_a undo_database.cpp:294 pop_commit ] error popping commit 10 assert_exception: Assert Exception
maybe_found != nullptr: Unable to find Object
{"id":"1.11.9415482"}
th_a index.hpp:113 get
2846979ms th_a db_management.cpp:272 close ] Database close unexpected exception: {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"index.hpp","line":113,"method":"get","hostname":"","thread_name":"th_a","timestamp":"2022-01-01T14:47:26"},"format":"maybe_found != nullptr: Unable to find Object","data":{"id":"1.11.9415482"}},{"context":{"level":"warn","file":"object_database.cpp","line":119,"method":"pop_undo","hostname":"","thread_name":"th_a","timestamp":"2022-01-01T14:47:26"},"format":"","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":600,"method":"pop_block","hostname":"","thread_name":"th_a","timestamp":"2022-01-01T14:47:26"},"format":"","data":{}}]}
Tried to resume with replay
2929730ms th_a accounts_list_plugin.cpp:128 list_accounts ] accounts list plugin: list_accounts()
2929730ms th_a bookie_plugin.cpp:468 plugin_initialize ] bookie plugin: plugin_startup() begin
2929730ms th_a db_management.cpp:294 force_slow_replays ] enabling slow replays
2929730ms th_a bookie_plugin.cpp:501 plugin_initialize ] bookie plugin: plugin_startup() end
2929730ms th_a witness.cpp:91 plugin_initialize ] witness plugin: plugin_initialize() begin
2929731ms th_a witness.cpp:105 plugin_initialize ] Public Key: PPY6rP7UNDEyD99NAzWTm9xTTUDu4wpkPiAugpcHvaogDNbtzeG3H
2929731ms th_a witness.cpp:123 plugin_initialize ] witness plugin: plugin_initialize() end
2929731ms th_a object_database.cpp:106 open ] Opening object database from /root/src/peerplays/witness_node_data_dir/blockchain ...
2929885ms th_a db_management.cpp:244 open ] 10 assert_exception: Assert Exception
insert_result.second: Could not insert object, most likely a uniqueness constraint was violated
{}
th_a generic_index.hpp:53 insert
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a object_database.cpp:113 open
2929885ms th_a db_management.cpp:244 open ] data_dir: /root/src/peerplays/witness_node_data_dir/blockchain
2929885ms th_a application.cpp:371 startup ] Caught exception 10 assert_exception: Assert Exception
insert_result.second: Could not insert object, most likely a uniqueness constraint was violated
{}
th_a generic_index.hpp:53 insert
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a object_database.cpp:113 open
rethrow
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a db_management.cpp:244 open in open(), you might want to force a replay
2929885ms th_a application.cpp:411 startup ] 10 assert_exception: Assert Exception
insert_result.second: Could not insert object, most likely a uniqueness constraint was violated
{}
th_a generic_index.hpp:53 insert
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a object_database.cpp:113 open
rethrow
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a db_management.cpp:244 open
2929885ms th_a application.cpp:954 startup ] 10 assert_exception: Assert Exception
insert_result.second: Could not insert object, most likely a uniqueness constraint was violated
{}
th_a generic_index.hpp:53 insert
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a object_database.cpp:113 open
rethrow
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a db_management.cpp:244 open
rethrow
{}
th_a application.cpp:411 startup
th_a application.cpp:411 startup
2929885ms th_a main.cpp:193 main ] Exiting with error:
10 assert_exception: Assert Exception
insert_result.second: Could not insert object, most likely a uniqueness constraint was violated
{}
th_a generic_index.hpp:53 insert
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a object_database.cpp:113 open
rethrow
{"data_dir":"/root/src/peerplays/witness_node_data_dir/blockchain"}
th_a db_management.cpp:244 open
rethrow
{}
th_a application.cpp:411 startup