[mirror net] Segmentation fault during blockchain conversion
While performing:
blockchain_converter --plugin block_log_conversion -i block_log.orig -o block_log -j 4 -C 42 -K $KEY -U
on mainnet's block_log.orig
file it fails somewhere after HF20
Core dump:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:1027
1027 ../sysdeps/x86_64/multiarch/memcmp-sse4.S: No such file or directory.
[Current thread is 1 (Thread 0x7fbda63e8240 (LWP 4716))]
#0 __memcmp_sse4_1 () at ../sysdeps/x86_64/multiarch/memcmp-sse4.S:1027
No locals.
#1 0x0000557630db06e1 in hive::converter::convert_operations_visitor::operator()(hive::protocol::witness_set_properties_operation&) const::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const [clone .constprop.675] ()
#2 0x0000557630db0ba5 in hive::converter::convert_operations_visitor::operator()(hive::protocol::witness_set_properties_operation&) const ()
#3 0x0000557630dc2389 in hive::converter::convert_operations_visitor::result_type fc::impl::storage_ops<30l, hive::protocol::pow2_operation, hive::protocol::escrow_approve_operation, hive::protocol::transfer_to_savings_operation, hive::protocol::transfer_from_savings_operation, hive::protocol::cancel_transfer_from_savings_operation, hive::protocol::custom_binary_operation, hive::protocol::decline_voting_rights_operation, hive::protocol::reset_account_operation, hive::protocol::set_reset_account_operation, hive::protocol::claim_reward_balance_operation, hive::protocol::delegate_vesting_shares_operation, hive::protocol::account_create_with_delegation_operation, hive::protocol::witness_set_properties_operation, hive::protocol::account_update2_operation, hive::protocol::create_proposal_operation, hive::protocol::update_proposal_votes_operation, hive::protocol::remove_proposal_operation, hive::protocol::update_proposal_operation, hive::protocol::collateralized_convert_operation, hive::protocol::recurrent_transfer_operation, hive::protocol::fill_convert_request_operation, hive::protocol::author_reward_operation, hive::protocol::curation_reward_operation, hive::protocol::comment_reward_operation, hive::protocol::liquidity_reward_operation, hive::protocol::interest_operation, hive::protocol::fill_vesting_withdraw_operation, hive::protocol::fill_order_operation, hive::protocol::shutdown_witness_operation, hive::protocol::fill_transfer_from_savings_operation, hive::protocol::hardfork_operation, hive::protocol::comment_payout_update_operation, hive::protocol::return_vesting_delegation_operation, hive::protocol::comment_benefactor_reward_operation, hive::protocol::producer_reward_operation, hive::protocol::clear_null_account_balance_operation, hive::protocol::proposal_pay_operation, hive::protocol::sps_fund_operation, hive::protocol::hardfork_hive_operation, hive::protocol::hardfork_hive_restore_operation, hive::protocol::delayed_voting_operation, hive::protocol::consolidate_treasury_balance_operation, hive::protocol::effective_comment_vote_operation, hive::protocol::ineffective_delete_comment_operation, hive::protocol::sps_convert_operation, hive::protocol::expired_account_notification_operation, hive::protocol::changed_recovery_account_operation, hive::protocol::transfer_to_vesting_completed_operation, hive::protocol::pow_reward_operation, hive::protocol::vesting_shares_split_operation, hive::protocol::account_created_operation, hive::protocol::fill_collateralized_convert_request_operation, hive::protocol::system_warning_operation, hive::protocol::fill_recurrent_transfer_operation, hive::protocol::failed_recurrent_transfer_operation, hive::protocol::limit_order_cancelled_operation>::apply<hive::converter::convert_operations_visitor>(long, void*, hive::converter::convert_operations_visitor const&) ()
#4 0x0000557630db4998 in hive::converter::blockchain_converter::convert_signed_block(hive::protocol::signed_block&, fc::ripemd160 const&, fc::time_point_sec const&) ()
#5 0x0000557630dd5e30 in hive::converter::plugins::block_log_conversion::detail::block_log_conversion_plugin_impl::convert(unsigned int, unsigned int) ()
#6 0x0000557630dd726c in hive::converter::plugins::block_log_conversion::block_log_conversion_plugin::plugin_startup() ()
#7 0x0000557630e05361 in appbase::plugin<hive::converter::plugins::block_log_conversion::block_log_conversion_plugin>::startup() ()
#8 0x000055763171df45 in appbase::application::startup() ()
#9 0x0000557630d9e54f in main ()
Binary is already using code with potential fix !378 (merged) for #241 (closed)