Skip to content

Exception: cryptonote::DB_ERROR #82

@Foxi3

Description

@Foxi3

Compiled on Raspberry Pi 4 4GB (Ubuntu 20.04.2 LTS). Successful compilation.
Run into error when running uplexad for the first time.

2021-04-09 17:48:38.981 ffffaba0f010 INFO global src/daemon/main.cpp:289 uPlexa 'Steadfast Storm' (v3.0.0-a9fd25367)
2021-04-09 17:48:38.981 ffffaba0f010 INFO global src/daemon/protocol.h:54 Initializing cryptonote protocol...
2021-04-09 17:48:38.981 ffffaba0f010 INFO global src/daemon/protocol.h:59 Cryptonote protocol initialized OK
2021-04-09 17:48:38.982 ffffaba0f010 INFO global src/daemon/p2p.h:64 Initializing p2p server...
2021-04-09 17:48:50.999 ffffaba0f010 INFO global src/daemon/p2p.h:69 p2p server initialized OK
2021-04-09 17:48:51.001 ffffaba0f010 INFO global src/daemon/rpc.h:64 Initializing core RPC server...
2021-04-09 17:48:51.002 ffffaba0f010 INFO global contrib/epee/include/net/http_server_impl_base.h:78 Binding on 127.0.0.1:22061
2021-04-09 17:48:51.002 ffffaba0f010 INFO global src/daemon/rpc.h:70 core RPC server initialized OK on port: 22061
2021-04-09 17:48:51.003 ffffaba0f010 INFO global src/daemon/core.h:87 Initializing core...
2021-04-09 17:48:51.004 ffffaba0f010 INFO global src/cryptonote_core/cryptonote_core.cpp:468 Loading blockchain from folder /home/foxi3/.uplexa/testnet/lmdb ...
2021-04-09 17:48:51.006 ffffaba0f010 WARN global src/blockchain_db/lmdb/db_lmdb.cpp:1214 The blockchain is on a rotating drive: this will be very slow, use an SSD if possible
Illegal instruction (core dumped)

Log file:

2021-04-09 17:37:27.320 ffff8b005010 WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:77 Error attempting to retrieve a hard fork version at height 0 from the db: MDB_NOTFOUND: No matching key/data pair found
2021-04-09 17:37:27.321 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:134 Exception: cryptonote::DB_ERROR
2021-04-09 17:37:27.321 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:135 Unwound call stack:
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [1] uplexad:__cxa_throw+0x128 [0xaaaad707b224]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [2] uplexad+0x458bdc [0xaaaad72febdc]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [3] uplexad:cryptonote::BlockchainLMDB::get_hard_fork_version(unsigned long) const+0x320 [0xaaaad73144a0]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [4] uplexad:cryptonote::HardFork::init()+0x100 [0xaaaad7460aa8]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [5] uplexad:cryptonote::Blockchain::init(cryptonote::BlockchainDB*, cryptonote::network_type, bool, cryptonote::test_options const*, unsigned long, std::function<epee::span const (cryptonote::network_type)> const&)+0x2cc [0xaaaad7355f64]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [6] uplexad:cryptonote::core::init(boost::program_options::variables_map const&, char const*, cryptonote::test_options const*, std::function<epee::span const (cryptonote::network_type)> const&)+0xf44 [0xaaaad737125c]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [7] uplexad:daemonize::t_core::run()+0x22c [0xaaaad70db844]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [8] uplexad:daemonize::t_daemon::run(bool)+0x254 [0xaaaad70b6bfc]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [9] uplexad:daemonize::t_executor::run_interactive(boost::program_options::variables_map const&)+0x38 [0xaaaad7157440]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [10] uplexad:bool daemonizer::daemonizedaemonize::t_executor(int, char const**, daemonize::t_executor&&, boost::program_options::variables_map const&)+0x1cc [0xaaaad715fb94]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [11] uplexad:main+0x115c [0xaaaad7082fd4]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [12] /lib/aarch64-linux-gnu/libc.so.6:__libc_start_main+0xe8 [0xffff8d4fc090]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173 [13] uplexad+0x1ed0a0 [0xaaaad70930a0]
2021-04-09 17:37:27.326 ffff8b005010 INFO stacktrace src/common/stack_trace.cpp:173

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions