mirror of
https://github.com/monero-project/monero.git
synced 2025-01-18 23:53:39 +02:00
d099658522
The issue is triggered by the captured `this` in RPC server, which passes reference to throwable `core_rpc_server`: `core_rpc_server.cpp:164: m_bootstrap_daemon.reset(new bootstrap_daemon([this]{ return get_random_public_node(); }));` The solution is to simply remove noexcept from the remaining `bootstrap_daemon` constructors because noexcept is false in this context. >"An exception of type "boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::asio::invalid_service_owner>>" is thrown but the throw list "noexcept" doesn't allow it to be thrown. This will cause a call to unexpected() which usually calls terminate()." |
||
---|---|---|
.. | ||
bootstrap_daemon.cpp | ||
bootstrap_daemon.h | ||
CMakeLists.txt | ||
core_rpc_server_commands_defs.h | ||
core_rpc_server_error_codes.h | ||
core_rpc_server.cpp | ||
core_rpc_server.h | ||
daemon_handler.cpp | ||
daemon_handler.h | ||
daemon_messages.cpp | ||
daemon_messages.h | ||
daemon_rpc_version.h | ||
instanciations.cpp | ||
message_data_structs.h | ||
message.cpp | ||
message.h | ||
rpc_args.cpp | ||
rpc_args.h | ||
rpc_handler.cpp | ||
rpc_handler.h | ||
zmq_server.cpp | ||
zmq_server.h |