aeonix / aeon

AEON source code (post May 2018 rebase)
Other
58 stars 43 forks source link

Issue while sending big amounts >100 AEON #179

Open pinpins opened 4 years ago

pinpins commented 4 years ago

Hello,

Ending up with following error


2020-06-02 13:45:47.796 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:133  Exception: std::runtime_error
2020-06-02 13:45:47.796 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:134  Unwound call stack:
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [1] ./aeon-wallet-rpc:__cxa_throw+0x10e [0x5640752082fe]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [2] ./aeon-wallet-rpc:epee::serialization::convert_to_integral<double, unsigned long, false>::convert(double const&, unsigned long&)+0x1ed [0x564074fb151d]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [3] ./aeon-wallet-rpc:bool epee::serialization::kv_serialization_overloads_impl_is_base_serializable_types<true>::kv_unserialize<unsigned long, epee::serialization::portable_storage>(unsigned long&, epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection, char const*)+0x178 [0x564074ffb648]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [4] ./aeon-wallet-rpc+0x3478e9 [0x564074f238e9]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [5] ./aeon-wallet-rpc:bool epee::json_rpc::request<tools::wallet_rpc::COMMAND_RPC_TRANSFER::request>::load<epee::serialization::portable_storage>(epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection)+0xac [0x564074ffdf0c]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [6] ./aeon-wallet-rpc:bool tools::wallet_rpc_server::handle_http_request_map<epee::net_utils::connection_context_base>(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x4d05 [0x56407500ad75]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [7] ./aeon-wallet-rpc:tools::wallet_rpc_server::handle_http_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x179 [0x564075020a69]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [8] ./aeon-wallet-rpc:epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base>::handle_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&)+0xaa [0x564074ff1a3a]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [9] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_request_and_send_response(epee::net_utils::http::http_request_info const&)+0x13e [0x564074f8b5de]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [10] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_retriving_query_body()+0x182 [0x564074f8ba02]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [11] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_buff_in(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x1a0 [0x5640750223e0]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [12] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_recv(void const*, unsigned long)+0x3b [0x564075022a9b]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [13] ./aeon-wallet-rpc:epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_read(boost::system::error_code const&, unsigned long)+0x228 [0x564075022d28]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [14] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&)+0x7a [0x564074fcd87a]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [15] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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 [0x564074fcdd1d]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [16] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x226 [0x564074fce0b6]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [17] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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)+0x253 [0x564074fce393]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [18] ./aeon-wallet-rpc:epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread()+0x8c4 [0x564074f5e564]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [19] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0+0x115d5 [0x7fb07c33a5d5]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [20] /lib/x86_64-linux-gnu/libpthread.so.0+0x76ba [0x7fb07a0f66ba]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [21] /lib/x86_64-linux-gnu/libc.so.6:clone+0x6d [0x7fb079e2c41d]
2020-06-02 13:45:47.832 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172  
2020-06-02 13:45:47.836 [RPC0]  ERROR   net.http    contrib/epee/include/net/jsonrpc_structs.h:21   Exception on unserializing: WRONG DATA CONVERSION: from type=d to type m
2020-06-02 13:45:49.857 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:133  Exception: std::runtime_error
2020-06-02 13:45:49.857 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:134  Unwound call stack:
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [1] ./aeon-wallet-rpc:__cxa_throw+0x10e [0x5640752082fe]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [2] ./aeon-wallet-rpc:epee::serialization::convert_to_integral<double, unsigned long, false>::convert(double const&, unsigned long&)+0x1ed [0x564074fb151d]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [3] ./aeon-wallet-rpc:bool epee::serialization::kv_serialization_overloads_impl_is_base_serializable_types<true>::kv_unserialize<unsigned long, epee::serialization::portable_storage>(unsigned long&, epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection, char const*)+0x178 [0x564074ffb648]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [4] ./aeon-wallet-rpc+0x3478e9 [0x564074f238e9]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [5] ./aeon-wallet-rpc:bool epee::json_rpc::request<tools::wallet_rpc::COMMAND_RPC_TRANSFER::request>::load<epee::serialization::portable_storage>(epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection)+0xac [0x564074ffdf0c]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [6] ./aeon-wallet-rpc:bool tools::wallet_rpc_server::handle_http_request_map<epee::net_utils::connection_context_base>(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x4d05 [0x56407500ad75]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [7] ./aeon-wallet-rpc:tools::wallet_rpc_server::handle_http_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x179 [0x564075020a69]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [8] ./aeon-wallet-rpc:epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base>::handle_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&)+0xaa [0x564074ff1a3a]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [9] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_request_and_send_response(epee::net_utils::http::http_request_info const&)+0x13e [0x564074f8b5de]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [10] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_retriving_query_body()+0x182 [0x564074f8ba02]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [11] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_buff_in(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x1a0 [0x5640750223e0]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [12] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_recv(void const*, unsigned long)+0x3b [0x564075022a9b]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [13] ./aeon-wallet-rpc:epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_read(boost::system::error_code const&, unsigned long)+0x228 [0x564075022d28]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [14] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&)+0x7a [0x564074fcd87a]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [15] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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 [0x564074fcdd1d]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [16] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x226 [0x564074fce0b6]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [17] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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)+0x253 [0x564074fce393]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [18] ./aeon-wallet-rpc:epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread()+0x8c4 [0x564074f5e564]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [19] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0+0x115d5 [0x7fb07c33a5d5]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [20] /lib/x86_64-linux-gnu/libpthread.so.0+0x76ba [0x7fb07a0f66ba]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [21] /lib/x86_64-linux-gnu/libc.so.6:clone+0x6d [0x7fb079e2c41d]
2020-06-02 13:45:49.865 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172  
2020-06-02 13:45:49.865 [RPC0]  ERROR   net.http    contrib/epee/include/net/jsonrpc_structs.h:21   Exception on unserializing: WRONG DATA CONVERSION: from type=d to type m
2020-06-02 13:45:51.884 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:133  Exception: std::runtime_error
2020-06-02 13:45:51.884 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:134  Unwound call stack:
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [1] ./aeon-wallet-rpc:__cxa_throw+0x10e [0x5640752082fe]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [2] ./aeon-wallet-rpc:epee::serialization::convert_to_integral<double, unsigned long, false>::convert(double const&, unsigned long&)+0x1ed [0x564074fb151d]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [3] ./aeon-wallet-rpc:bool epee::serialization::kv_serialization_overloads_impl_is_base_serializable_types<true>::kv_unserialize<unsigned long, epee::serialization::portable_storage>(unsigned long&, epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection, char const*)+0x178 [0x564074ffb648]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [4] ./aeon-wallet-rpc+0x3478e9 [0x564074f238e9]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [5] ./aeon-wallet-rpc:bool epee::json_rpc::request<tools::wallet_rpc::COMMAND_RPC_TRANSFER::request>::load<epee::serialization::portable_storage>(epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection)+0xac [0x564074ffdf0c]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [6] ./aeon-wallet-rpc:bool tools::wallet_rpc_server::handle_http_request_map<epee::net_utils::connection_context_base>(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x4d05 [0x56407500ad75]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [7] ./aeon-wallet-rpc:tools::wallet_rpc_server::handle_http_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x179 [0x564075020a69]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [8] ./aeon-wallet-rpc:epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base>::handle_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&)+0xaa [0x564074ff1a3a]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [9] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_request_and_send_response(epee::net_utils::http::http_request_info const&)+0x13e [0x564074f8b5de]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [10] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_retriving_query_body()+0x182 [0x564074f8ba02]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [11] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_buff_in(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x1a0 [0x5640750223e0]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [12] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_recv(void const*, unsigned long)+0x3b [0x564075022a9b]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [13] ./aeon-wallet-rpc:epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_read(boost::system::error_code const&, unsigned long)+0x228 [0x564075022d28]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [14] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&)+0x7a [0x564074fcd87a]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [15] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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 [0x564074fcdd1d]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [16] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x226 [0x564074fce0b6]
2020-06-02 13:45:51.892 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [17] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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)+0x253 [0x564074fce393]
2020-06-02 13:45:51.893 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [18] ./aeon-wallet-rpc:epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread()+0x8c4 [0x564074f5e564]
2020-06-02 13:45:51.893 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [19] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0+0x115d5 [0x7fb07c33a5d5]
2020-06-02 13:45:51.893 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [20] /lib/x86_64-linux-gnu/libpthread.so.0+0x76ba [0x7fb07a0f66ba]
2020-06-02 13:45:51.893 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [21] /lib/x86_64-linux-gnu/libc.so.6:clone+0x6d [0x7fb079e2c41d]
2020-06-02 13:45:51.893 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172  
2020-06-02 13:45:51.893 [RPC0]  ERROR   net.http    contrib/epee/include/net/jsonrpc_structs.h:21   Exception on unserializing: WRONG DATA CONVERSION: from type=d to type m
setuidroot commented 4 years ago

Disclaimer: I'm a plebeian who doesn't know anything really 😂. Wait for Stoffu or somebody knowledgeable.

Now with that said... can you give some more information? What OS are you running on? Are you using official binaries from here (this github releases page) or did you maybe compile your own aeon binaries? Are you using a remote node, or do you have a fully synchronized copy of the blockchain with aeond on your localhost?

Fill in the blanks here, it will help somebody smarter than me answer your question. I just answer the door 😂. But to me... all those boost and epee and net_utils and connection errors; that looks familiar 🤔. Like what happened when I compiled my own binary (default make release; thus a dynamically linked binary) and then I upgraded my Ubuntu to 20.04... lost all the symlinks to the older boost libraries and had to just recompile with the new libraries. If you use the official release binary tarball here, it would rule that out as it's a static build.

Oh and if you are using a remote node: stop

I read someplace that remote nodes can do this attack thing (something malicious; I really don't remember and don't much care because I never use remote nodes) where the first transaction attempt will fail (and you're safe) but if you immediately try again you basically lose your anonymity to the remote node or something.

It is possible that you are using a remote node that is malicious and designed only to do this attack thing when TX amounts are high enough 🤔. IDK... just remember that disclaimer above. Best sync your own node (the blockchain file is only 8.1 GB as of now.)

Edit: This line:

[19] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0+0x115d5 

Tells me you must have compiled it otherwise boost would be statically linked and not be using /usr/lib/x86.../boost stuff... try recompiling maybe it's a similar issue like I had.

pinpins commented 4 years ago

Ubuntu 16.04, it is full node, node used for mining at our pool.

I have compiled from latest github master of AEON

stoffu commented 4 years ago

@pinpins

Can you check if this happens with the v0.13.0.0 release as well?

Also, this error does not happen when you transfer smaller amounts?

Finally, in general transfer_split is preferable to transfer, as the latter doesn't allow splitting a high-amount payment into multiple txes.

stoffu commented 4 years ago

@pinpins

Actually it's very likely that your RPC request contains some invalid value. Specifically, aren't you specifying a floating point number to some field like the amount? All numbers in the RPC request must be integers. You can paste your RPC request here for examination.

pinpins commented 4 years ago

Thanks for the hint on floating point, I will have a look, and see it helps

pinpins commented 4 years ago

No, integer give the same error, as workaround I am sending by 32 AEON, which seems to fit some internal variable/array sizes, and never crash, it just annoying to pay users by 32 AEON


2020-06-04 04:15:27.088 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:133  Exception: std::runtime_error
2020-06-04 04:15:27.088 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:134  Unwound call stack:
2020-06-04 04:15:27.134 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [1] ./aeon-wallet-rpc:__cxa_throw+0x10e [0x5640752082fe]
2020-06-04 04:15:27.134 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [2] ./aeon-wallet-rpc:epee::serialization::convert_to_integral<double, unsigned long, false>::convert(double const&, unsigned long&)+0x1ed [0x564074fb151d]
2020-06-04 04:15:27.134 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [3] ./aeon-wallet-rpc:bool epee::serialization::kv_serialization_overloads_impl_is_base_serializable_types<true>::kv_unserialize<unsigned long, epee::serialization::portable_storage>(unsigned long&, epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection, char const*)+0x178 [0x564074ffb648]
2020-06-04 04:15:27.134 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [4] ./aeon-wallet-rpc+0x3478e9 [0x564074f238e9]
2020-06-04 04:15:27.134 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [5] ./aeon-wallet-rpc:bool epee::json_rpc::request<tools::wallet_rpc::COMMAND_RPC_TRANSFER::request>::load<epee::serialization::portable_storage>(epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection)+0xac [0x564074ffdf0c]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [6] ./aeon-wallet-rpc:bool tools::wallet_rpc_server::handle_http_request_map<epee::net_utils::connection_context_base>(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x4d05 [0x56407500ad75]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [7] ./aeon-wallet-rpc:tools::wallet_rpc_server::handle_http_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x179 [0x564075020a69]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [8] ./aeon-wallet-rpc:epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base>::handle_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&)+0xaa [0x564074ff1a3a]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [9] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_request_and_send_response(epee::net_utils::http::http_request_info const&)+0x13e [0x564074f8b5de]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [10] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_retriving_query_body()+0x182 [0x564074f8ba02]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [11] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_buff_in(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x1a0 [0x5640750223e0]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [12] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_recv(void const*, unsigned long)+0x3b [0x564075022a9b]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [13] ./aeon-wallet-rpc:epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_read(boost::system::error_code const&, unsigned long)+0x228 [0x564075022d28]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [14] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&)+0x7a [0x564074fcd87a]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [15] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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 [0x564074fcdd1d]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [16] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x226 [0x564074fce0b6]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [17] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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)+0x253 [0x564074fce393]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [18] ./aeon-wallet-rpc:epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread()+0x8c4 [0x564074f5e564]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [19] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0+0x115d5 [0x7fb07c33a5d5]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [20] /lib/x86_64-linux-gnu/libpthread.so.0+0x76ba [0x7fb07a0f66ba]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [21] /lib/x86_64-linux-gnu/libc.so.6:clone+0x6d [0x7fb079e2c41d]
2020-06-04 04:15:27.135 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172  
2020-06-04 04:15:27.146 [RPC0]  ERROR   net.http    contrib/epee/include/net/jsonrpc_structs.h:21   Exception on unserializing: WRONG DATA CONVERSION: from type=d to type m
2020-06-04 04:15:28.153 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:133  Exception: std::runtime_error
2020-06-04 04:15:28.153 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:134  Unwound call stack:
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [1] ./aeon-wallet-rpc:__cxa_throw+0x10e [0x5640752082fe]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [2] ./aeon-wallet-rpc:epee::serialization::convert_to_integral<double, unsigned long, false>::convert(double const&, unsigned long&)+0x1ed [0x564074fb151d]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [3] ./aeon-wallet-rpc:bool epee::serialization::kv_serialization_overloads_impl_is_base_serializable_types<true>::kv_unserialize<unsigned long, epee::serialization::portable_storage>(unsigned long&, epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection, char const*)+0x178 [0x564074ffb648]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [4] ./aeon-wallet-rpc+0x3478e9 [0x564074f238e9]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [5] ./aeon-wallet-rpc:bool epee::json_rpc::request<tools::wallet_rpc::COMMAND_RPC_TRANSFER::request>::load<epee::serialization::portable_storage>(epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection)+0xac [0x564074ffdf0c]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [6] ./aeon-wallet-rpc:bool tools::wallet_rpc_server::handle_http_request_map<epee::net_utils::connection_context_base>(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x4d05 [0x56407500ad75]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [7] ./aeon-wallet-rpc:tools::wallet_rpc_server::handle_http_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x179 [0x564075020a69]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [8] ./aeon-wallet-rpc:epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base>::handle_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&)+0xaa [0x564074ff1a3a]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [9] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_request_and_send_response(epee::net_utils::http::http_request_info const&)+0x13e [0x564074f8b5de]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [10] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_retriving_query_body()+0x182 [0x564074f8ba02]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [11] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_buff_in(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x1a0 [0x5640750223e0]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [12] ./aeon-wallet-rpc:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_recv(void const*, unsigned long)+0x3b [0x564075022a9b]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [13] ./aeon-wallet-rpc:epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_read(boost::system::error_code const&, unsigned long)+0x228 [0x564075022d28]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [14] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&)+0x7a [0x564074fcd87a]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [15] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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 [0x564074fcdd1d]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [16] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x226 [0x564074fce0b6]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [17] ./aeon-wallet-rpc: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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)+0x253 [0x564074fce393]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [18] ./aeon-wallet-rpc:epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread()+0x8c4 [0x564074f5e564]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [19] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0+0x115d5 [0x7fb07c33a5d5]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [20] /lib/x86_64-linux-gnu/libpthread.so.0+0x76ba [0x7fb07a0f66ba]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172      [21] /lib/x86_64-linux-gnu/libc.so.6:clone+0x6d [0x7fb079e2c41d]
2020-06-04 04:15:28.162 [RPC0]  INFO    stacktrace  src/common/stack_trace.cpp:172  
2020-06-04 04:15:28.162 [RPC0]  ERROR   net.http    contrib/epee/include/net/jsonrpc_structs.h:21   Exception on unserializing: WRONG DATA CONVERSION: from type=d to type m
stoffu commented 4 years ago

Have you tried transfer_split?

Also, please provide your JSON wallet RPC request (with addresses etc appropriately masked, as necessary).

pinpins commented 4 years ago

And have you tried to reproduce by sending more than 50 AEON and just fix the bug? :)

I will try to collect required info meanwhile, but I think it is straight forward use case.

stoffu commented 4 years ago

Of course I would have fixed it by now if I could reproduce it. I confirmed that I can transfer any high amounts via wallet RPC without problem.

I'm fairly certain that the bug is in your pool software.

pinpins commented 4 years ago

By transfer or transfer_split?

stoffu commented 4 years ago

I used transfer.

pinpins commented 4 years ago

This is how it looks on curl requests

[2020-06-10 09:35:12] array
(
    'method' => 'transfer'
    'params' => stdClass#1
    (
        [mixin] => '2'
        [destinations] => array(...)
    )
    'id' => 1
    'jsonrpc' => '2.0'
)
[2020-06-10 09:35:12] {"method":"transfer","params":{"mixin":"2","destinations":[{"address":"wallet","amount":1.7811885908e+14}]},"id":1,"jsonrpc":"2.0"}
[2020-06-10 09:35:12] {
  "error": {
    "code": -32602,
    "message": "Invalid params"
  },
  "id": 1,
  "jsonrpc": "2.0"
}

wallet - I have hidden actual wallet for transfer 178.11885908 AEON

stoffu commented 4 years ago
[2020-06-10 09:35:12] {"method":"transfer","params":{"mixin":"2","destinations":[{"address":"wallet","amount":1.7811885908e+14}]},"id":1,"jsonrpc":"2.0"}

Obviously, this "amount":1.7811885908e+14 is wrong. Use 178118859080000 instead.

pinpins commented 4 years ago

Thanks, indeed has to do with way php converted double to string. I have fixed it now.

pinpins commented 4 years ago

Seems was too early on conclusion


[2020-06-10 10:05:56] {"method":"transfer","params":{"mixin":"2","destinations":[{"address":"wallet","amount":"356590000000000"}],"payment_id":"idididi"},"id":1,"jsonrpc":"2.0"}
[2020-06-10 10:06:27] array
(
    'method' => 'transfer'
    'params' => stdClass#1
    (
        [mixin] => '2'
        [destinations] => array(...)
    )
    'id' => 2
    'jsonrpc' => '2.0'
)

Does not create txid, but instead produces below exception in aeon debug log


2020-06-10 07:05:06.554 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:133  Exception: cryptonote::BLOCK_DNE
2020-06-10 07:05:06.554 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:134  Unwound call stack:
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [1] ./aeond:__cxa_throw+0x10e [0x56500a3e638e]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [2] ./aeond+0x401119 [0x56500a2e9119]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [3] ./aeond:cryptonote::BlockchainLMDB::get_block_height(crypto::hash const&) const+0x437 [0x56500a2f78e7]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [4] ./aeond:cryptonote::BlockchainLMDB::get_block_blob[abi:cxx11](crypto::hash const&) const+0x14c [0x56500a2e9bec]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [5] ./aeond:cryptonote::BlockchainDB::get_block(crypto::hash const&) const+0x2c [0x56500a2e41ec]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [6] ./aeond:cryptonote::Blockchain::get_block_by_hash(crypto::hash const&, cryptonote::block&, bool*) const+0x144 [0x56500a346214]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [7] ./aeond:cryptonote::core_rpc_server::on_get_block(cryptonote::COMMAND_RPC_GET_BLOCK::request const&, cryptonote::COMMAND_RPC_GET_BLOCK::response&, epee::json_rpc::error&)+0x1dc [0x56500a206bdc]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [8] ./aeond:bool cryptonote::core_rpc_server::handle_http_request_map<epee::net_utils::connection_context_base>(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x16165 [0x56500a164955]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [9] ./aeond:cryptonote::core_rpc_server::handle_http_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x179 [0x56500a16bc39]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [10] ./aeond:epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base>::handle_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&)+0xaa [0x56500a13767a]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [11] ./aeond:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_request_and_send_response(epee::net_utils::http::http_request_info const&)+0x13e [0x56500a0f73fe]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [12] ./aeond:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_retriving_query_body()+0x193 [0x56500a0f7833]
2020-06-10 07:05:06.558 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [13] ./aeond:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_buff_in(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x1a0 [0x56500a16faf0]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [14] ./aeond:epee::net_utils::http::simple_http_connection_handler<epee::net_utils::connection_context_base>::handle_recv(void const*, unsigned long)+0x3b [0x56500a1701ab]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [15] ./aeond:epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::handle_read(boost::system::error_code const&, unsigned long)+0x228 [0x56500a170438]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [16] ./aeond: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned long>&)+0x7a [0x56500a12f27a]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [17] ./aeond: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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)+0x188 [0x56500a12f6e8]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [18] ./aeond: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x226 [0x56500a12fad6]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [19] ./aeond: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::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> > > >, 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)+0x253 [0x56500a12fdb3]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [20] ./aeond:epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handler<epee::net_utils::connection_context_base> >::worker_thread()+0x951 [0x56500a0d8911]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [21] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0+0x115d5 [0x7f25b63455d5]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [22] /lib/x86_64-linux-gnu/libpthread.so.0+0x76ba [0x7f25b581a6ba]
2020-06-10 07:05:06.559 [RPC1]  INFO    stacktrace  src/common/stack_trace.cpp:172      [23] /lib/x86_64-linux-gnu/libc.so.6:clone+0x6d [0x7f25b555041d]
stoffu commented 4 years ago

This parameter "payment_id":"idididi" in your wallet RPC request must cause your aeon-wallet-rpc to reject it since its format was incorrect. Didn't you get this error message Payment id has invalid format: \"idididi\", expected 16 or 64 character string?

Try again with correctly formatted payment ID or with no payment ID.

pinpins commented 4 years ago

no, I just made it hidden I have correct payment id

0cda49b7eb884ff1a07b9cb77bf4f2afaeb2cd8fd9d04395b18d1d6fee5d90b5

pinpins commented 4 years ago

sending 10 AEON just worked, but more does not, even 32 AEON stopped to work

[2020-06-10 10:40:34] {"method":"transfer","params":{"mixin":"2","destinations":[{"address":"wallet","amount":"10000000000000"}],"payment_id":"0cda49b7eb884ff1a07b9cb77bf4f2afaeb2cd8fd9d04395b18d1d6fee5d90b5"},"id":1,"jsonrpc":"2.0"}

txiid

95993e56dc4de3adf855d4457739ce9073fa47474d89a6937df3c82749b928b3

stoffu commented 4 years ago

Are you really using the official AEON software? It seems very strange because the daemon RPC get_block is never used by the wallet code (wallet2.cpp).

FWIW, get_block is called only when you do print_block <block_hash> | <block_height> in the daemon.

pinpins commented 4 years ago

/aeon$ git status HEAD detached at v0.13.1.0-aeon

pinpins commented 4 years ago
user     19388     1  2 Jun09 ?        00:32:07 ./aeond --rpc-bind-ip 0.0.0.0 --confirm-external-bind  --detach
user     19398     1  0 Jun09 ?        00:11:39 ./aeon-wallet-rpc --wallet-file aeon.wallet --rpc-bind-port 11183 --password  --disable-rpc-login --rpc-bind-ip 192.168.0.XXX --confirm-external-bind

./aeond --version Aeon 'Aletheia' (v0.13.1.0-release)

pinpins commented 4 years ago

And yes, I am using get_block for other means, but it does not fail with error. Issue occurs only when sending funds, and again small amounts are send ok, but not more than 10 AEON now

stoffu commented 4 years ago

Sorry, but seems impossible to me to solve your issue since no one else seems to be able to reproduce it.

pinpins commented 4 years ago

ok, perhaps I can try to recreate wallet, do you have some hints on how to dump priv keys and recreate in new wallet file

stoffu commented 4 years ago

Maybe apply this patch to the v0.13.1.0-aeon tag

diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 3e5d48193..e375ecfb2 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -1487,6 +1487,7 @@ namespace cryptonote
   //------------------------------------------------------------------------------------------------------------------------------
   bool core_rpc_server::on_get_block(const COMMAND_RPC_GET_BLOCK::request& req, COMMAND_RPC_GET_BLOCK::response& res, epee::json_rpc::error& error_resp){
     PERF_TIMER(on_get_block);
+LOG_ERROR("on_get_block: hash:" << req.hash << ", height:" << req.height);
     bool r;
     if (use_bootstrap_daemon_if_necessary<COMMAND_RPC_GET_BLOCK>(invoke_http_mode::JON_RPC, "getblock", req, res, r))
       return r;

and see what the daemon reports.

stoffu commented 4 years ago

Recreating wallet would be best achieved by restoring from the seed. Use the CLI commandseed and restore the wallet by aeon-wallet-cli --restore-deterministic-wallet.

But I doubt restoring the wallet would have anything to do with your issue.

BigslimVdub commented 4 years ago

I can confirm that sending a considerable amount larger than 32 aeon works fine on my end with RPC on v0.13.1.0 release.

BigslimVdub commented 3 years ago

@pinpins Have you had any issues since 2020 with larger TX ?