Grin/MW (Node) v5.1.0 Release

Release:

Release Notes:

15 Likes

I upgrade grin node but I keep receiving error message in Arch and Debian.
$ grin
Illegal instruction (core dumped)

Does adding the line

config_file_version = 2

above

#########################################
### SERVER CONFIGURATION              ###
#########################################

in grin-server.toml fix the problem?

The line already exist. No change.

I suggest you enable debugging and check if there’s something in the logs as suggested here

I changed stdout_log_level and file_log_level to Debug. I see errors in grin-server.log.

20210507 14:55:57.431 INFO grin_util::logger - log4rs is initialized, file level: Debug, stdout level: Debug, min. level: Debug
20210507 14:55:57.431 INFO grin - Using configuration file at /home/outerspace/.grin/main/grin-server.toml
20210507 14:55:57.431 INFO grin - This is Grin version 5.1.0 (git v5.1.0), built for x86_64-unknown-linux-gnu by rustc 1.51.0 (2fd73fabe 2021-03-23).
20210507 14:55:57.431 DEBUG grin - Built with profile “release”, features “”.
20210507 14:55:57.431 INFO grin - Chain: Mainnet
20210507 14:55:57.431 INFO grin - Accept Fee Base: 500000
20210507 14:55:57.431 INFO grin - Future Time Limit: 300
20210507 14:55:57.431 INFO grin - Feature: NRD kernel enabled: false
20210507 14:55:57.431 WARN grin::cmd::server - Starting GRIN in UI mode…
20210507 14:55:57.431 INFO grin_servers::grin::server - Starting server, genesis block: 40adad0aec27
20210507 14:55:57.431 DEBUG grin_store::lmdb - DB Mapsize for /home/outerspace/.grin/main/chain_data/lmdb is 1048576
20210507 14:55:57.432 DEBUG grin_chain::txhashset::bitmap_accumulator - applied 1 chunks from idx 0 to idx 0 (0ms)
20210507 14:55:57.432 DEBUG grin_chain::txhashset::txhashset - attempting to open (empty) kernel PMMR using ProtocolVersion(2) - SUCCESS
20210507 14:55:57.432 INFO grin_store::lmdb - Resized database from 1048576 to 134217728
20210507 14:55:57.432 DEBUG grin_chain::store - save_block: 40adad0aec27 at 0 (v3 → v3)
20210507 14:55:57.473 DEBUG grin_chain::txhashset::txhashset - Error returned, discarding txhashset extension: Other Error: output vs rproof MMRs different sizes
Cause: Unknown
Backtrace:
20210507 14:55:57.491 ERROR grin_util::logger -
thread ‘main’ panicked at 'called Result::unwrap() on an Err value: Chain(Error { inner:

Other Error: output vs rproof MMRs different sizes })’: src/bin/cmd/server.rs:57 0: grin_util::logger::send_panic_to_log::{{closure}}
1: std::panicking::rust_panic_with_hook
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:595
2: std::panicking::begin_panic_handler::{{closure}}
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:497
3: std::sys_common::backtrace::__rust_end_short_backtrace
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/sys_common/backtrace.rs:141
4: rust_begin_unwind
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:493
5: core::panicking::panic_fmt
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/panicking.rs:92
6: core::option::expect_none_failed
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/option.rs:1300
7: grin::cmd::server::start_server_tui
8: grin::cmd::server::server_command
9: grin::real_main
10: grin::main
11: std::sys_common::backtrace::__rust_begin_short_backtrace
12: std::rt::lang_start::{{closure}}
13: core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/core/src/ops/function.rs:259
std::panicking::try::do_call
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:379
std::panicking::try
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panicking.rs:343
std::panic::catch_unwind
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/panic.rs:431
std::rt::lang_start_internal
at /rustc/2fd73fabe469357a12c2c974c140f67e7cdd76d0/library/std/src/rt.rs:51
14: main
15: __libc_start_main
16: _start

moved topic to #techtalk

I followed build docs in Debian and grin node running without any issues or core dump. I will do the same in Arch installation. The problem remains in v5.1.0. I read in debian wiki that the problem probably caused by older CPUs and avx2 dependency. In my case avx2 is supported.

Latest release v5.1.0-test3 works without any problem. Thank you