diff options
| author | anonimal <anonimal@getmonero.org> | 2019-09-07 00:29:09 +0000 |
|---|---|---|
| committer | anonimal <anonimal@getmonero.org> | 2019-09-07 00:29:09 +0000 |
| commit | d099658522c6f17055a3b9977f74c6e91c6c8199 (patch) | |
| tree | d412e04faa251b08bf2442bbd710bfc275517209 /tests/performance_tests | |
| parent | 2825f07d95ae32110486905232b7a64609cfa6ea (diff) | |
| download | monzero-core-d099658522c6f17055a3b9977f74c6e91c6c8199.tar.gz monzero-core-d099658522c6f17055a3b9977f74c6e91c6c8199.tar.xz monzero-core-d099658522c6f17055a3b9977f74c6e91c6c8199.zip | |
bootstrap_daemon: resolve CID 203915 (UNCAUGHT_EXCEPT)
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()."
Diffstat (limited to 'tests/performance_tests')
0 files changed, 0 insertions, 0 deletions
