{"action":"created","issue":{"url":"https://api.github.com/repos/steemit/steem/issues/738","repository_url":"https://api.github.com/repos/steemit/steem","labels_url":"https://api.github.com/repos/steemit/steem/issues/738/labels{/name}","comments_url":"https://api.github.com/repos/steemit/steem/issues/738/comments","events_url":"https://api.github.com/repos/steemit/steem/issues/738/events","html_url":"https://github.com/steemit/steem/issues/738","id":197910967,"number":738,"title":"[develop] steemd crash (terminated with signal SIGABRT)","user":{"login":"Gandalf-the-Grey","id":6341057,"avatar_url":"https://avatars.githubusercontent.com/u/6341057?v=3","gravatar_id":"","url":"https://api.github.com/users/Gandalf-the-Grey","html_url":"https://github.com/Gandalf-the-Grey","followers_url":"https://api.github.com/users/Gandalf-the-Grey/followers","following_url":"https://api.github.com/users/Gandalf-the-Grey/following{/other_user}","gists_url":"https://api.github.com/users/Gandalf-the-Grey/gists{/gist_id}","starred_url":"https://api.github.com/users/Gandalf-the-Grey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gandalf-the-Grey/subscriptions","organizations_url":"https://api.github.com/users/Gandalf-the-Grey/orgs","repos_url":"https://api.github.com/users/Gandalf-the-Grey/repos","events_url":"https://api.github.com/users/Gandalf-the-Grey/events{/privacy}","received_events_url":"https://api.github.com/users/Gandalf-the-Grey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-28T20:23:18Z","updated_at":"2016-12-29T13:44:16Z","closed_at":null,"body":"Low memory node\r\n```\r\nsteem_blockchain_version: 0.16.0\r\nsteem_git_revision:       01027e087b01a131c1ca75e29551377f14475065\r\nfc_git_revision:          2f202e017c2fef0ad622d70b0c04951960037461\r\n```\r\nduring normal operation\r\napis/plugins:\r\n```\r\npublic-api = database_api login_api account_by_key_api\r\nenable-plugin = witness account_by_key\r\n```\r\ncrashed with:\r\n```\r\n1527165ms th_a       application.cpp:488           handle_block         ] Got 1 transactions from network on block 7899178\r\n1530151ms th_a       application.cpp:488           handle_block         ] Got 2 transactions from network on block 7899179\r\n1533134ms th_a       application.cpp:488           handle_block         ] Got 3 transactions from network on block 7899180\r\nterminate called after throwing an instance of 'fc::assert_exception'\r\nAborted (core dumped)\r\n```\r\n```\r\nCore was generated by `./bin/steemd-develop -d data1 --replay --flush=1000000'.\r\nProgram terminated with signal SIGABRT, Aborted.\r\n```\r\nbt:\r\n```\r\n#0  0x0000785bde4f6428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54\r\n#1  0x0000785bde4f802a in __GI_abort () at abort.c:89 \r\n#2  0x0000785bdee3884d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#3  0x0000785bdee366b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#4  0x0000785bdee356a9 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#5  0x0000785bdee36005 in __gxx_personality_v0 () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#6  0x0000785bde899f83 in ?? () from /lib/x86_64-linux-gnu/libgcc_s.so.1\r\n#7  0x0000785bde89a2eb in _Unwind_RaiseException () from /lib/x86_64-linux-gnu/libgcc_s.so.1\r\n#8  0x0000785bdee3690c in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6\r\n#9  0x0000000000c9544f in fc::impl::storage_ops<3>::del(int, void*) ()\r\n#10 0x0000000000c954e1 in fc::impl::storage_ops<1, steemit::protocol::version, steemit::protocol::hardfork_version_vote>::del(int, void*)    ()\r\n#11 0x00000000010b6f60 in void fc::raw::unpack<std::basic_fstream<char, std::char_traits<char> >, fc::static_variant<steemit::void_t, steemit::protocol::version, steemit::protocol::hardfork_version_vote> >(std::basic_fstream<char, std::char_traits<char> >&, boost::container::flat_set<fc::static_variant<steemit::void_t, steemit::protocol::version, steemit::protocol::hardfork_version_vote>, std::less<fc::static_variant<steemit::void_t, steemit::protocol::version, steemit::protocol::hardfork_version_vote> >, boost::container::new_allocator<fc::static_variant<steemit::void_t, steemit::protocol::version, steemit::protocol::hardfork_version_vote> > >&) ()\r\n#12 0x000000000117007e in void fc::raw::unpack<std::basic_fstream<char, std::char_traits<char> >, steemit::protocol::signed_block>(std::basic_fstream<char, std::char_traits<char> >&, steemit::protocol::signed_block&) ()\r\n#13 0x00000000010a9275 in steemit::chain::block_log::read_block(unsigned long) const ()\r\n#14 0x00000000010a9799 in steemit::chain::block_log::read_block_by_num(unsigned int) const ()\r\n#15 0x0000000000e77931 in steemit::chain::database::get_block_id_for_num(unsigned int) const ()\r\n#16 0x0000000000c8ff7f in steemit::app::detail::application_impl::get_blockchain_synopsis(fc::ripemd160 const&, unsigned int) ()\r\n#17 0x00000000014fb989 in fc::detail::functor_run<graphene::net::detail::statistics_gathering_node_delegate_wrapper::get_blockchain_synopsi (fc::ripemd160 const&, unsigned int)::{lambda()#1}>::run(void*, fc::detail::functor_run<graphene::net::detail::statistics_gathering_node_delegate_wrapper::get_blockchain_synopsis(fc::ripemd160 const&, unsigned int)::{lambda()#1}>) ()\r\n#18 0x00000000011ea624 in fc::task_base::run_impl() ()\r\n#19 0x00000000011e813d in fc::thread_d::process_tasks() ()\r\n#20 0x00000000011e8845 in fc::thread_d::start_process_tasks(long) ()\r\n#21 0x0000000001659631 in make_fcontext ()\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/steemit/steem/issues/comments/269631889","html_url":"https://github.com/steemit/steem/issues/738#issuecomment-269631889","issue_url":"https://api.github.com/repos/steemit/steem/issues/738","id":269631889,"user":{"login":"Gandalf-the-Grey","id":6341057,"avatar_url":"https://avatars.githubusercontent.com/u/6341057?v=3","gravatar_id":"","url":"https://api.github.com/users/Gandalf-the-Grey","html_url":"https://github.com/Gandalf-the-Grey","followers_url":"https://api.github.com/users/Gandalf-the-Grey/followers","following_url":"https://api.github.com/users/Gandalf-the-Grey/following{/other_user}","gists_url":"https://api.github.com/users/Gandalf-the-Grey/gists{/gist_id}","starred_url":"https://api.github.com/users/Gandalf-the-Grey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gandalf-the-Grey/subscriptions","organizations_url":"https://api.github.com/users/Gandalf-the-Grey/orgs","repos_url":"https://api.github.com/users/Gandalf-the-Grey/repos","events_url":"https://api.github.com/users/Gandalf-the-Grey/events{/privacy}","received_events_url":"https://api.github.com/users/Gandalf-the-Grey/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T13:44:16Z","updated_at":"2016-12-29T13:44:16Z","body":"Yes, crashed two times (unfortunately no core dump from first one)\r\nSide effect is that I can't restart `steemd` without `--replay`\r\nbecause it throws:\r\n```\r\n2451064ms th_a       block_log.cpp:118             open                 ] Log is nonempty\r\n2451064ms th_a       block_log.cpp:127             open                 ] Index is nonempty\r\n2451235ms th_a       block_log.cpp:214             read_block_by_num    ] 13 NSt8ios_base7failureB5cxx11E: basic_ios::clear: iostream error\r\nrethrow basic_ios::clear: iostream error: \r\n    {\"what\":\"basic_ios::clear: iostream error\"}\r\n    th_a  block_log.cpp:214 read_block_by_num\r\n2451235ms th_a       database.cpp:137              open                 ] 13 NSt8ios_base7failureB5cxx11E: basic_ios::clear: iostream error\r\nrethrow basic_ios::clear: iostream error: \r\n    {\"what\":\"basic_ios::clear: iostream error\"}\r\n    th_a  block_log.cpp:214 read_block_by_num\r\n2451235ms th_a       database.cpp:137              open                 ] data_dir: /home/steem/data1/blockchain shared_mem_dir: /dev/shm shared_file_size: 12884901888 \r\n2451235ms th_a       application.cpp:384           startup              ] 13 NSt8ios_base7failureB5cxx11E: basic_ios::clear: iostream error\r\nrethrow basic_ios::clear: iostream error: \r\n    {\"what\":\"basic_ios::clear: iostream error\"}\r\n    th_a  block_log.cpp:214 read_block_by_num\r\nrethrow\r\n    {\"data_dir\":\"/home/steem/data1/blockchain\",\"shared_mem_dir\":\"/dev/shm\",\"shared_file_size\":\"12884901888\"}\r\n    th_a  database.cpp:137 open\r\n```"}}
{"actor":{"display_login":"Gandalf-the-Grey"}}