Bitcoin full node and query server

Oct 22, 2018

View in context in the libbitcoin Slack #general mirror.

vdeurzen14:34
When running master I get a segfault with the following backtrace:
#0  0x000055555584b400 in libbitcoin::chain::chain_state::median_time_past() const ()
#1  0x00005555556f9669 in libbitcoin::blockchain::populate_header::populate(std::shared_ptr<libbitcoin::blockchain::header_branch>, std::function<void (std::error_code const&)>&&) const ()
#2  0x00005555556e3c74 in libbitcoin::blockchain::validate_header::accept(std::shared_ptr<libbitcoin::blockchain::header_branch>, std::function<void (std::error_code const&)>) const ()
#3  0x00005555556d13e3 in libbitcoin::blockchain::header_organizer::organize(std::shared_ptr<libbitcoin::message::header const>, std::function<void (std::error_code const&)>) ()
#4  0x00005555556bf9ff in libbitcoin::blockchain::block_chain::organize(std::shared_ptr<libbitcoin::message::header const>, std::function<void (std::error_code const&)>) ()
#5  0x000055555567c106 in libbitcoin::node::protocol_header_in::store_header(unsigned long, std::shared_ptr<libbitcoin::message::headers const>) ()
#6  0x000055555567d338 in boost::asio::detail::completion_handler<std::_Bind<std::_Bind<std::_Bind<void (libbitcoin::node::protocol_header_in::*(std::shared_ptr<libbitcoin::node::protocol_header_in>, unsigned long, std::shared_ptr<libbitcoin::message::headers const>))(unsigned long, std::shared_ptr<libbitcoin::message::headers const>)> ()> ()> >::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) ()
#7  0x000055555561a142 in boost::asio::detail::scheduler::run(boost::system::error_code&) ()
#8  0x00005555558cff1a in boost::detail::thread_data<libbitcoin::threadpool::spawn_once(libbitcoin::thread_priority)::{lambda()#1}>::run() ()
#9  0x00005555559b3b55 in thread_proxy ()
#10 0x00007ffff7988a9d in start_thread () from /usr/lib/libpthread.so.0
#11 0x00007ffff758ab23 in clone () from /usr/lib/libc.so.6