{"action":"created","issue":{"url":"https://api.github.com/repos/monero-project/monero/issues/3284","repository_url":"https://api.github.com/repos/monero-project/monero","labels_url":"https://api.github.com/repos/monero-project/monero/issues/3284/labels{/name}","comments_url":"https://api.github.com/repos/monero-project/monero/issues/3284/comments","events_url":"https://api.github.com/repos/monero-project/monero/issues/3284/events","html_url":"https://github.com/monero-project/monero/issues/3284","id":298060296,"number":3284,"title":"'Exception: cryptonote::BLOCK_DNE' on main net","user":{"login":"Sheastesx","id":35533910,"avatar_url":"https://avatars2.githubusercontent.com/u/35533910?v=4","gravatar_id":"","url":"https://api.github.com/users/Sheastesx","html_url":"https://github.com/Sheastesx","followers_url":"https://api.github.com/users/Sheastesx/followers","following_url":"https://api.github.com/users/Sheastesx/following{/other_user}","gists_url":"https://api.github.com/users/Sheastesx/gists{/gist_id}","starred_url":"https://api.github.com/users/Sheastesx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sheastesx/subscriptions","organizations_url":"https://api.github.com/users/Sheastesx/orgs","repos_url":"https://api.github.com/users/Sheastesx/repos","events_url":"https://api.github.com/users/Sheastesx/events{/privacy}","received_events_url":"https://api.github.com/users/Sheastesx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-18T05:25:45Z","updated_at":"2018-04-18T10:45:59Z","closed_at":null,"author_association":"NONE","body":"Node on then-current master using main net.\r\nHappens really often. Please catch exception its spamming log and I cant find other information in it.\r\n\r\n```\r\n2018-02-07 03:19:41.577 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:124  Exception: cryptonote::BLOCK_DNE\r\n2018-02-07 03:19:41.578 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:125  Unwound call stack:\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [1] ./monerod:__cxa_throw+0x10e [0x7f1dce9bf06e]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [2] ./monerod+0x3676d9 [0x7f1dce8e66d9]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [3] ./monerod:cryptonote::BlockchainLMDB::get_block_height(crypto::hash const&) const+0x436 [0x7f1dce8f3fd6]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [4] ./monerod:cryptonote::BlockchainLMDB::get_block_blob[abi:cxx11](crypto::hash const&) const+0x143 [0x7f1dce8e7503]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [5] ./monerod:bool cryptonote::Blockchain::get_blocks<std::__cxx11::list<crypto::hash, std::allocator<crypto::hash> >, std::__cxx11::list<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, cryptonote::block>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, cryptonote::block> > >, std::__cxx11::list<crypto::hash, std::allocator<crypto::hash> > >(std::__cxx11::list<crypto::hash, std::allocator<crypto::hash> > const&, std::__cxx11::list<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, cryptonote::block>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, cryptonote::block> > >&,std::__cxx11::list<crypto::hash, std::allocator<crypto::hash> >&) const+0x1fa [0x7f1dce94ad3a]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [6] ./monerod:cryptonote::Blockchain::handle_get_objects(cryptonote::NOTIFY_REQUEST_GET_OBJECTS::request&, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&)+0x1db [0x7f1dce9316fb]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [7] ./monerod:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_request_get_objects(int, cryptonote::NOTIFY_REQUEST_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&)+0x18b [0x7f1dce8acbfb]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [8] ./monerod:int epee::net_utils::buff_to_t_adapter<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, cryptonote::NOTIFY_REQUEST_GET_OBJECTS::request, cryptonote::cryptonote_connection_context, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_REQUEST_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > > >(cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_REQUEST_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > >, cryptonote::cryptonote_connection_context&)+0x24f [0x7f1dce766c3f]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [9] ./monerod:int cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_invoke_map<cryptonote::cryptonote_connection_context>(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::cryptonote_connection_context&, bool&)+0x2aa [0x7f1dce77580a]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [10] ./monerod:int nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::handle_invoke_map<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&, bool&)+0x2aa [0x7f1dce775c7a]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [11] ./monerod:nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::notify(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&)+0x50 [0x7f1dce775e80]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [12] ./monerod:epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >::handle_recv(void const*, unsigned long)+0x565 [0x7f1dce8c7d55]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [13] ./monerod:epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::handle_read(boost::system::error_code const&, unsigned long)+0x2a8 [0x7f1dce8dfc78]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [14] ./monerod:void boost::asio::detail::strand_service::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long> >(boost::asio::detail::strand_service::strand_impl*&, boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&)+0x7a [0x7f1dce8a9c4a]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [15] ./monerod:boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long)+0x1bd [0x7f1dce8aa0ed]\r\n2018-02-07 03:19:41.591 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [16] ./monerod:void boost::asio::detail::strand_service::dispatch<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >(boost::asio::detail::strand_service::strand_impl*&, boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x226 [0x7f1dce8aa486]\r\n2018-02-07 03:19:41.592 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [17] ./monerod:boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running> >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long)+0x250 [0x7f1dce8aa770]\r\n2018-02-07 03:19:41.592 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [18] ./monerod:boost::asio::detail::epoll_reactor::descriptor_state::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned long)+0x15c [0x7f1dce72390c]\r\n2018-02-07 03:19:41.592 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [19] ./monerod:epee::net_utils::boosted_tcp_server<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::worker_thread()+0x864 [0x7f1dce88ee34]\r\n2018-02-07 03:19:41.592 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [20] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.62.0+0x12116 [0x7f1dcbeed116]\r\n2018-02-07 03:19:41.592 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [21] /lib/x86_64-linux-gnu/libpthread.so.0+0x7494 [0x7f1dcb428494]\r\n2018-02-07 03:19:41.592 [P2P4]  INFO    stacktrace      src/common/stack_trace.cpp:163      [22] /lib/x86_64-linux-gnu/libc.so.6:clone+0x3f [0x7f1dcb16aaff]\r\n```"},"comment":{"url":"https://api.github.com/repos/monero-project/monero/issues/comments/382345347","html_url":"https://github.com/monero-project/monero/issues/3284#issuecomment-382345347","issue_url":"https://api.github.com/repos/monero-project/monero/issues/3284","id":382345347,"user":{"login":"moneromooo-monero","id":8851073,"avatar_url":"https://avatars3.githubusercontent.com/u/8851073?v=4","gravatar_id":"","url":"https://api.github.com/users/moneromooo-monero","html_url":"https://github.com/moneromooo-monero","followers_url":"https://api.github.com/users/moneromooo-monero/followers","following_url":"https://api.github.com/users/moneromooo-monero/following{/other_user}","gists_url":"https://api.github.com/users/moneromooo-monero/gists{/gist_id}","starred_url":"https://api.github.com/users/moneromooo-monero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moneromooo-monero/subscriptions","organizations_url":"https://api.github.com/users/moneromooo-monero/orgs","repos_url":"https://api.github.com/users/moneromooo-monero/repos","events_url":"https://api.github.com/users/moneromooo-monero/events{/privacy}","received_events_url":"https://api.github.com/users/moneromooo-monero/received_events","type":"User","site_admin":false},"created_at":"2018-04-18T10:45:59Z","updated_at":"2018-04-18T10:45:59Z","author_association":"CONTRIBUTOR","body":"Can you paste the start of that trace please ? There might also be a message immediately before it."}}
{"actor":{"display_login":"moneromooo-monero"}}