forked from townforge/townforge
It does not always come from quite the same place, but it's always a EBADF on the socket AFAICT. This suggests a race somewhere, but for now it's better to fail than hang. #0 __cxxabiv1::__cxa_throw (obj=0x7e5c6c07bd30, tinfo=0x651167ae8770 <typeinfo for boost::wrapexcept<boost::system::system_error>>, dest=0x651165bb4010 <boost::wrapexcept<boost::system::system_error>::~wrapexcept()>) at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:80 #1 0x00006511667b3d0c in __wrap___cxa_throw () #2 0x0000651165a423f1 in void boost::throw_exception<boost::system::system_error>(boost::system::system_error const&, boost::source_location const&) () #3 0x0000651165bc1e49 in boost::asio::detail::do_throw_error(boost::system::error_code const&, char const*, boost::source_location const&) () #4 0x0000651165bcd107 in epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::save_dbg_log() () #5 0x0000651165c4a1aa in epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_accept(boost::system::error_code const&, bool) () #6 0x0000651165bd7250 in boost::asio::detail::reactive_socket_accept_op<boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::any_io_executor>, boost::asio::ip::tcp, boost::_bi::bind_t<void, boost::_mfi::mf1<void, epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&>, boost::_bi::list2<boost::_bi::value<epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >*>, boost::arg<1> (*)()> >, boost::asio::any_io_executor>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) () #7 0x0000651165b9cf53 in boost::asio::detail::scheduler::run(boost::system::error_code&) [clone .isra.0] () #8 0x0000651165bc8b73 in epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread() () #9 0x0000651167157fe7 in thread_proxy () #10 0x00007e5cfd4b44c0 in start_thread () from /lib64/libpthread.so.0 #11 0x00007e5cfd3e2133 in clone () from /lib64/libc.so.6 |
||
|---|---|---|
| .. | ||
| abstract_http_client.h | ||
| abstract_tcp_server2.h | ||
| abstract_tcp_server2.inl | ||
| buffer.h | ||
| connection_basic.hpp | ||
| enums.h | ||
| http_auth.h | ||
| http_base.h | ||
| http_client_base.h | ||
| http_client.h | ||
| http_protocol_handler.h | ||
| http_protocol_handler.inl | ||
| http_server_handlers_map2.h | ||
| http_server_impl_base.h | ||
| jsonrpc_structs.h | ||
| levin_base.h | ||
| levin_protocol_handler_async.h | ||
| levin_protocol_handler.h | ||
| local_ip.h | ||
| net_helper.h | ||
| net_parse_helpers.h | ||
| net_ssl.h | ||
| net_utils_base.h | ||
| network_throttle-detail.hpp | ||
| network_throttle.hpp | ||