Coder Social home page Coder Social logo

monerov / monerov Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 27.0 8.92 MB

The MoneroV open source project

License: Other

CMake 2.13% Makefile 0.10% C 10.97% C++ 84.09% Shell 0.27% Batchfile 0.03% Objective-C 1.77% Python 0.25% Perl 6 0.10% Perl 0.03% q 0.13% Dockerfile 0.14%

monerov's Issues

Cannot buid/run monerov on Fedora 28 x64

OS Version

[xmv@monero-mn-01 monerov]$ uname -a
Linux monero-mn-01 4.16.7-300.fc28.x86_64 #1 SMP Wed May 2 20:09:13 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Dependencies

sudo yum install -y git make gcc gcc-c++ cmake pkgconf boost-devel openssl-devel cppzmq-devel unbound-devel libsodium-devel

Make

-- Generating done
-- Build files have been written to: /home/xmv/git/monerov/build/release/translations
...
Scanning dependencies of target epee
make[3]: Leaving directory '/home/xmv/git/monerov/build/release'
make[3]: Entering directory '/home/xmv/git/monerov/build/release'
[ 10%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/hex.cpp.o
[ 10%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/http_auth.cpp.o
[ 11%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/mlog.cpp.o
[ 11%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/net_utils_base.cpp.o
[ 11%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/string_tools.cpp.o
[ 12%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/wipeable_string.cpp.o
[ 12%] Building C object contrib/epee/src/CMakeFiles/epee.dir/memwipe.c.o
[ 12%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/connection_basic.cpp.o
In file included from /home/xmv/git/monerov/src/serialization/crypto.h:37,
                 from /home/xmv/git/monerov/src/cryptonote_basic/cryptonote_basic.h:44,
                 from /home/xmv/git/monerov/src/cryptonote_protocol/cryptonote_protocol_defs.h:35,
                 from /home/xmv/git/monerov/src/cryptonote_protocol/cryptonote_protocol_handler_common.h:34,
                 from /home/xmv/git/monerov/contrib/epee/include/net/../../../../src/cryptonote_core/cryptonote_core.h:39,
                 from /home/xmv/git/monerov/contrib/epee/include/net/abstract_tcp_server2.inl:52,
                 from /home/xmv/git/monerov/contrib/epee/include/net/abstract_tcp_server2.h:324,
                 from /home/xmv/git/monerov/contrib/epee/src/connection_basic.cpp:77:
/home/xmv/git/monerov/src/crypto/chacha.h: In function ‘void crypto::generate_chacha_key(const void*, size_t, crypto::chacha_key&)’:
/home/xmv/git/monerov/src/crypto/chacha.h:76:46: error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’}; use copy-assignment or copy-initialization instead [-Werror=class-memacces]
     memcpy(&key, pwd_hash.data(), sizeof(key));
                                              ^
In file included from /home/xmv/git/monerov/contrib/epee/include/string_tools.h:48,
                 from /home/xmv/git/monerov/src/p2p/p2p_protocol_defs.h:37,
                 from /home/xmv/git/monerov/src/p2p/net_node_common.h:35,
                 from /home/xmv/git/monerov/src/cryptonote_protocol/cryptonote_protocol_handler_common.h:33,
                 from /home/xmv/git/monerov/contrib/epee/include/net/../../../../src/cryptonote_core/cryptonote_core.h:39,
                 from /home/xmv/git/monerov/contrib/epee/include/net/abstract_tcp_server2.inl:52,
                 from /home/xmv/git/monerov/contrib/epee/include/net/abstract_tcp_server2.h:324,
                 from /home/xmv/git/monerov/contrib/epee/src/connection_basic.cpp:77:
/home/xmv/git/monerov/contrib/epee/include/memwipe.h:53:10: note: ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’} declared here
   struct scrubbed : public T {
          ^~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [contrib/epee/src/CMakeFiles/epee.dir/build.make:154: contrib/epee/src/CMakeFiles/epee.dir/connection_basic.cpp.o] Error 1
make[3]: Leaving directory '/home/xmv/git/monerov/build/release'
make[2]: *** [CMakeFiles/Makefile2:366: contrib/epee/src/CMakeFiles/epee.dir/all] Error 2
make[2]: Leaving directory '/home/xmv/git/monerov/build/release'
make[1]: *** [Makefile:141: all] Error 2
make[1]: Leaving directory '/home/xmv/git/monerov/build/release'
make: *** [Makefile:65: release-all] Error 2

Error attempting to retrieve a block hash from the db: Cannot allocate memory

Hi,

I get randomly the following error message:

[P2P6] INFO stacktrace src/common/stack_trace.cpp:124 Exception: cryptonote::DB_ERROR [P2P6] INFO stacktrace src/common/stack_trace.cpp:125 Unwound call stack: [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [1] monerovd:__wrap___cxa_throw+0xac [0x95639c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [2] monerovd+0x476bb8 [0x883bb8] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [3] monerovd:cryptonote::BlockchainLMDB::add_spent_key(crypto::key_image const&)+0x1cc [0x891ae4] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [4] monerovd:cryptonote::BlockchainDB::add_transaction(crypto::hash const&, cryptonote::transaction const&, crypto::hash const*)+0x334 [0x87e424] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [5] monerovd:cryptonote::BlockchainDB::add_block(cryptonote::block const&, unsigned int const&, unsigned long long const&, unsigned long long const&, std::vector<cryptonote::transaction, std::allocator<cryptonote::transaction> > const&)+0x234 [0x87ec14] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [6] monerovd:cryptonote::BlockchainLMDB::add_block(cryptonote::block const&, unsigned int const&, unsigned long long const&, unsigned long long const&, std::vector<cryptonote::transaction, std::allocator<cryptonote::transaction> > const&)+0x194 [0x8a87c4] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [7] monerovd:cryptonote::Blockchain::handle_block_to_main_chain(cryptonote::block const&, crypto::hash const&, cryptonote::block_verification_context&)+0x1fb4 [0x8cc9a4] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [8] monerovd:cryptonote::Blockchain::add_new_block(cryptonote::block const&, cryptonote::block_verification_context&)+0x320 [0x8d1cc8] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [9] monerovd:cryptonote::core::handle_incoming_block(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cryptonote::block_verification_context&, bool)+0x36c [0x8e6590] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [10] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::try_add_next_blocks(cryptonote::cryptonote_connection_context&)+0x55c [0x854364] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [11] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_response_get_objects(int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&)+0x970 [0x856a60] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [12] monerovd:int epee::net_utils::buff_to_t_adapter<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request, cryptonote::cryptonote_connection_context, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > > >(cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > >, cryptonote::cryptonote_connection_context&)+0x5ac [0x6f8d88] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [13] monerovd:int cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_invoke_map<cryptonote::cryptonote_connection_context>(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::cryptonote_connection_context&, bool&)+0x30c [0x6fa6ac] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [14] monerovd:int nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::handle_invoke_map<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&, bool&)+0xf0 [0x6fa8fc] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [15] monerovd:nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::notify(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&)+0x5c [0x6fac9c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [16] monerovd:epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >::handle_recv(void const*, unsigned int)+0x2d0 [0x867130] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [17] monerovd:epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::handle_read(boost::system::error_code const&, unsigned int)+0x254 [0x87c5ec] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [18] monerovd: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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned int> >(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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned int>&)+0xc4 [0x859d10] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [19] monerovd: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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, 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 int)+0x168 [0x85a004] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [20] monerovd: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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, 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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x29c [0x85a37c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [21] monerovd: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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, 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 int)+0x1ac [0x85a59c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [22] monerovd:boost::asio::detail::epoll_reactor::descriptor_state::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int)+0x1ec [0x73938c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [23] monerovd:epee::net_utils::boosted_tcp_server<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::worker_thread()+0x718 [0x830fec] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [24] monerovd+0x90b044 [0xd18044] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [P2P6] ERROR blockchain src/cryptonote_core/blockchain.cpp:3604 Error adding block with hash: <df0345cf7ba3853357658cd1fdffb213cb457b7112967ec811aa26a1ea021168> to blockchain, what = Error adding spent key image to db transaction: Cannot allocate memory [P2P3] WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:75 Error attempting to retrieve a block hash from the db: Cannot allocate memory [P2P3] INFO stacktrace src/common/stack_trace.cpp:124 Exception: cryptonote::DB_ERROR [P2P3] INFO stacktrace src/common/stack_trace.cpp:125 Unwound call stack: [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [1] monerovd:__wrap___cxa_throw+0xac [0x95639c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [2] monerovd+0x477238 [0x884238] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [3] monerovd:cryptonote::BlockchainLMDB::get_block_hash_from_height(unsigned long long const&) const+0x2f4 [0x8a3c40] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [4] monerovd:cryptonote::Blockchain::get_short_chain_history(std::__cxx11::list<crypto::hash, std::allocator<crypto::hash> >&) const+0x1c4 [0x8b31a8] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [5] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::request_missing_objects(cryptonote::cryptonote_connection_context&, bool, bool)+0xe84 [0x851368] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [6] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::try_add_next_blocks(cryptonote::cryptonote_connection_context&)+0x138 [0x853f40] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [7] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_response_get_objects(int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&)+0x970 [0x856a60] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [8] monerovd:int epee::net_utils::buff_to_t_adapter<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request, cryptonote::cryptonote_connection_context, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > > >(cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > >, cryptonote::cryptonote_connection_context&)+0x5ac [0x6f8d88] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [9] monerovd:int cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_invoke_map<cryptonote::cryptonote_connection_context>(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::cryptonote_connection_context&, bool&)+0x30c [0x6fa6ac] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [10] monerovd:int nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::handle_invoke_map<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&, bool&)+0xf0 [0x6fa8fc] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [11] monerovd:nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::notify(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&)+0x5c [0x6fac9c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [12] monerovd:epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >::handle_recv(void const*, unsigned int)+0x2d0 [0x867130] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [13] monerovd:epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::handle_read(boost::system::error_code const&, unsigned int)+0x254 [0x87c5ec] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [14] monerovd: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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned int> >(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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned int>&)+0xc4 [0x859d10] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [15] monerovd: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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, 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 int)+0x168 [0x85a004] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [16] monerovd: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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, 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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x29c [0x85a37c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [17] monerovd: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::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, 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 int)+0x1ac [0x85a59c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [18] monerovd:boost::asio::detail::epoll_reactor::descriptor_state::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int)+0x1ec [0x73938c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [19] monerovd:epee::net_utils::boosted_tcp_server<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::worker_thread()+0x718 [0x830fec] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [20] monerovd+0x90b044 [0xd18044] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [P2P3] WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:75 Error attempting to retrieve a block hash from the db: Cannot allocate memory [P2P3] INFO stacktrace src/common/stack_trace.cpp:124 Exception: cryptonote::DB_ERROR [P2P3] INFO stacktrace src/common/stack_trace.cpp:125 Unwound call stack:
Can someone help me with this?

How to access ./monerovd with rpc-...?

Hi,

If I start monerovd on a Raspberry PI with this command:

./monerovd --detach --rpc-bind-ip=192.168.x.x --rpc-bin-port=19091 --confirm-external-bind --detach

I can not access the status with monerovd status. Then I get this information:

Error: Couldn't connect to daemon: 127.0.0.1:19091

Without --rpc... paramters it works.

What do I have to change?

Thanks!

Moe

Support for Ubuntu 18.04 and later for 18.10

Hi Guys,

How is your project evolving? Since I upgraded to Ubuntu 18.04.1 I have issues with the packages. Obviously the systems do not stop fixing vulnerabilities and issues so I'd like to continue using your coin in my updated system. Could you please track and upgrade accordingly as currently I managed to create symlinks for libboost packages which you reference to version 1.58, but failed to fix an issue with libreadline.so.6...

We really need your support.

Unable to run the wallet rpc

When I try to run the wallet rpc i am getting this error
Consistency failure in amounts received.
I couldn't even start the wallet cli because of this. Could anyone help me how to resolve this isssue.

Raspberry PI - undefined reference / collect2: error: ld returned 1 exit status

Hi,

I tried to build a monerov node on a Raspberry PI 3 B+ with all the steps explained in the readme file.

I always get errors like this:

[ 95%] Building CXX object src/daemon/CMakeFiles/daemon.dir/rpc_command_executor.cpp.o^M
...
[ 95%] Linking CXX executable ../../bin/monerovd
...
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libzmq.a(src_libzmq_la-pgm_socket.o): In function zmq::pgm_socket_t::~pgm_socket_t()': (.text+0x20f0): undefined reference to pgm_close'
collect2: error: ld returned 1 exit status
src/daemon/CMakeFiles/daemon.dir/build.make:289: die Regel für Ziel „bin/monerovd“ scheiterte
make[3]: *** [bin/monerovd] Fehler 1
make[3]: Verzeichnis „/home/pi/monerov/monerov/build/release“ wird verlassen
CMakeFiles/Makefile2:3017: die Regel für Ziel „src/daemon/CMakeFiles/daemon.dir/all“ scheiterte
make[2]: *** [src/daemon/CMakeFiles/daemon.dir/all] Fehler 2
make[2]: Verzeichnis „/home/pi/monerov/monerov/build/release“ wird verlassen
Makefile:138: die Regel für Ziel „all“ scheiterte
make[1]: *** [all] Fehler 2
make[1]: Verzeichnis „/home/pi/monerov/monerov/build/release“ wird verlassen
Makefile:82: die Regel für Ziel „release-static-linux-armv7“ scheiterte
make: *** [release-static-linux-armv7] Fehler 2

Can someone help me with this?

Thanks!

Moe

Failed to deinitialize core...

Hi,

my node stopped and now I get this error, if I try to restart it:

2018-05-23 17:21:00.704���������747b0e00��������WARN net.p2p src/p2p/net_node.inl:2050�������IGD was found but reported as not connected.
2018-05-23 17:21:00.712���������747b0e00��������DEBUG net.p2p contrib/epee/src/connection_basic.cpp:171
��������Destructing connection p2p#0 to 0.0.0.0
2018-05-23 17:21:00.714���������747b0e00��������INFO global src/daemon/core.h:103 Deinitializing core...
2018-05-23 17:21:00.716���������747b0e00��������DEBUG miner src/cryptonote_basic/miner.cpp:355����� Not mining - nothing to stop
2018-05-23 17:21:00.724���������747b0e00��������ERROR daemon src/daemon/core.h:108 Failed to deinitialize core...
2018-05-23 17:21:00.724���������747b0e00��������DEBUG miner src/cryptonote_basic/miner.cpp:355����� Not mining - nothing to stop
2018-05-23 17:21:00.724���������747b0e00��������INFO global src/daemon/protocol.h:75��������Stopping cryptonote protocol...
2018-05-23 17:21:00.724���������747b0e00��������INFO global src/daemon/protocol.h:79��������Cryptonote protocol stopped successfully

How can I fix this without reloading the whole Blockchain?

Bye

Moe

Build fails on Ubuntu 18.04 Linux

Scanning dependencies of target obj_cryptonote_core
make[3]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
make[3]: Entering directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/blockchain.cpp.o
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_core.cpp.o
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/tx_pool.cpp.o
[ 36%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o
In function ‘bool cryptonote::construct_miner_tx(size_t, size_t, uint64_t, size_t, uint64_t, const cryptonote::account_public_address&, cryptonote::transaction&, const blobdata&, size_t, uint8_t)’:
cc1plus: error: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
cc1plus: all warnings being treated as errors
src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/build.make:134: recipe for target 'src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o' failed
make[3]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o] Error 1
make[3]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
CMakeFiles/Makefile2:1259: recipe for target 'src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all' failed
make[2]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all] Error 2
make[2]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
Makefile:140: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
Makefile:64: recipe for target 'release-all' failed
make: *** [release-all] Error 2

monerovd stops syncing at height 1565026

my monerovd-0.13 is stuck at 1565026 for two weeks now, but the protocol discovers that there are new blocks:

top block candidate: 1565026 -> 1575592 [Your node is 10566 blocks (14 days) behind]
SYNCHRONIZATION started
status
Height: 1565026/1575592 (99.3%) on mainnet, not mining, net hash 0 H/s, v8, up to date, 4(out)+0(in)
connections, uptime 0d 0h 10m 46s
sync_info
Height: 1565026, target: 1575593 (99.3293%)
Downloading at 1 kB/s
3 peers
<IP>:19090       81d168f0ad8b6f72  1541124  0 kB/s, 0 blocks / 0 MB queued
<IP>:19090     eab490248510bbf6  1575593  0 kB/s, 0 blocks / 0 MB queued
<IP>:19090        3d0a68a473f52db4  1559554  1 kB/s, 0 blocks / 0 MB queued

after some time it haven't synced anything:

status
Height: 1565026/1565026 (100.0%) on mainnet, not mining, net hash 0 H/s, v8, up to date, 2(out)+0(in) connections, uptime 0d 0h 20m 3s
sync_info
Height: 1565026, target: 1565026 (100%)
Downloading at 0 kB/s
2 peers
<IP>:19090       81d168f0ad8b6f72  1541264  0 kB/s, 0 blocks / 0 MB queued
<IP>:19090        3d0a68a473f52db4  1560874  0 kB/s, 0 blocks / 0 MB queued

peers with newer blocks were dropped.

print_cn
Remote Host                   Peer id             Support Flags       Recv/Sent (inactive,sec)      State                    Livetime(sec)       Down (kB/s) Down(now)     Up (kB/s) Up(now)

OUT <IP>:19090       0ee7d99227545748    1                   15585(30)/6185453(25)         state_normal             39                  0           1             154       636
OUT <IP>:19090       5783e390e6088850    1                   33420(3)/7368915(3)           state_normal             114                 0           0             63        34
OUT <IP>:19090       81d168f0ad8b6f72    1                   52095(81)/5067819(80)         state_normal             330                 0           0             14        110

Wallet GUI only starts in low graphics mode

Hi happy to have a monerov wallet available.
I've installed the WINDOWS 64bit GUI on a win10 64bit pc on an external drive.
The wallet will close itself immediately after starting the monerov-wallet-gui.exe.
When started from start-low-graphics-mode.bat the wallet seems to work.
Any suggestion?
monerov-wallet-gui.log

Build fails on Ubuntu 18.04 Linux

Using GCC 6.5.0.

[ 49%] Building CXX object src/simplewallet/CMakeFiles/simplewallet.dir/simplewallet.cpp.o
/home/user/CRYPTO/monerov/UPDATE/monerov/src/simplewallet/simplewallet.cpp: In member function ‘bool cryptonote::simple_wallet::set_daemon(const std::vector<std::__cxx11::basic_string >&)’:
/home/user/CRYPTO/monerov/UPDATE/monerov/src/simplewallet/simplewallet.cpp:3818:84: error: invalid type argument of unary ‘*’ (have ‘bool’)
success_msg_writer() << boost::format("Daemon set to %s, %s") % daemon_url % (*m_trusted_daemon ? tr("trusted") : tr("untrusted"));
^~~~~~~~~~~~~~~~
src/simplewallet/CMakeFiles/simplewallet.dir/build.make:62: recipe for target 'src/simplewallet/CMakeFiles/simplewallet.dir/simplewallet.cpp.o' failed
make[3]: *** [src/simplewallet/CMakeFiles/simplewallet.dir/simplewallet.cpp.o] Error 1
make[3]: Leaving directory '/home/user/CRYPTO/monerov/UPDATE/monerov/build/release'
CMakeFiles/Makefile2:2624: recipe for target 'src/simplewallet/CMakeFiles/simplewallet.dir/all' failed

Genesis transaction

okay so odd question im trying to fork and i guess most wouldnt wanna help but its mainly educational,
i have made it to starting my daemon and when i do i get failed to add genesis transaction okay so i know --print-gensis-tx or something like that used to work but doesnt? i havent found alot of info on this because obviously most dont want you to fork i assume but i could use a point in how to get the gensis transaction

Wallet crashes when sending to another account within same wallet

Hi,

I have created two account within the same wallet.

While transferring to another account within the wallet it throws.

2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1511     Consistency failure in amounts received
2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1512     Check transaction <4b5aa8347e87cf22810e87f90860f2801a9ac6e75e233cdf51ee6218a997c137>
2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1513     **********************************************************************

unable to send amount to another account with in wallet

I have created two account within wallet.

If i try to send the amount to another account it throws,

2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1511     Consistency failure in amounts received
2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1512     Check transaction <4b5aa8347e87cf22810e87f90860f2801a9ac6e75e233cdf51ee6218a997c137>
2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1513     ********************************************************************** ```

Older Yosemite mac

Dear Monerov team,
Any news for the community running older mac versions... can we expect a wallet?
Thx

Raspberry PI - DB resizing does not work

Hi,

I set up a MoneroV node on a Raspberry PI 3b+. Currently the PI syncs the blockchain and when it comes to the point to resize the db, the software tries to resize, but nothing happens and syncing stops.

When I stop the daemon and start the daemon again, the software log show, the db has to be resized. The db will be rsized and everythink works.

Has anyone the same issue?

Bye

Moe

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.