Error: failedAbandon (core dumped)
This error happens immediately at runtime with durs start
& durs dbex members -e
in debug & release and with durs sync
in release:
memory allocation of 335793428103168 bytes failedAbandon (core dumped)
Log file with release/durs -l trace sync
:
2019-02-17 19:23:28+00:00 [INFO] Successfully init logger
2019-02-17 19:23:28+00:00 [INFO] Success to load global conf.
2019-02-17 19:23:28+00:00 [INFO] Start fast sync...
2019-02-17 19:23:28+00:00 [DEBUG] durs_blockchain::sync::download::json_reader_worker: [lib/modules/blockchain/blockchain/sync/download/json_reader_worker.rs:97] Get local current blockstamp...
Log file with release/durs -l trace start
:
2019-02-17 19:24:47+00:00 [INFO] Successfully init logger
2019-02-17 19:24:47+00:00 [INFO] Success to load global conf.
2019-02-17 19:24:47+00:00 [INFO] Success to load tui module.
2019-02-17 19:24:47+00:00 [INFO] Success to load ws2p module.
2019-02-17 19:24:47+00:00 [INFO] Load sync endpoint WS2P c1c39a0a g1-monit.librelois.fr 443 /ws2p
2019-02-17 19:24:47+00:00 [INFO] Load sync endpoint WS2P b48824f0 g1.monnaielibreoccitanie.org 443 /ws2p
2019-02-17 19:24:47+00:00 [DEBUG] durs_tui: [lib/modules/tui/lib.rs:443] Send tui sender to main thread.
2019-02-17 19:24:47+00:00 [INFO] Router thread receive 1 module senders
2019-02-17 19:24:47+00:00 [INFO] Load 0 endpoints from bdd !
2019-02-17 19:24:47+00:00 [INFO] Router thread receive 2 module senders
2019-02-17 19:24:47+00:00 [INFO] WS2P: connect to know endpoints...
2019-02-17 19:24:47+00:00 [DEBUG] durs_ws2p_v1_legacy: [lib/modules/ws2p-v1-legacy/lib.rs:331] Send ws2p sender to main thread.
2019-02-17 19:24:47+00:00 [INFO] Router thread receive 3 module senders
I cannot sync, so it is normal that db is empty.
I am running ArchLinux (Linux LTS 4.19.21-1) (Intel Core i5 7gen, x86_64)
Commit: e0442199
The cause seems to be this line (lib/modules/blockchain/blockchain/src/dbex.rs
and maybe elsewhere):
let blockchain_db = open_file_db::<LocalBlockchainV10Datas>(&db_path, "blockchain.db")
.expect("Fail to open blockchain db");