# Grin/MW (Node) v5.1.0 Release

**URL:** <https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855>\
**Category:** Development and Technical Discussion\
**Created:** [May 6, 2021, 2:33pm UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855 "2021-05-06T14:33:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![antioch](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/antioch/32/45_2.png) [@antioch](https://forum.grin.mw/u/antioch)\
**Post date:** [May 6, 2021, 2:33pm UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/1 "2021-05-06T14:33:47Z")

</div>

Release:

> **[Release v5.1.0 · mimblewimble/grin](https://github.com/mimblewimble/grin/releases/tag/v5.1.0)**
>
> //github.com/mimblewimble/grin/releases/tag/v5.1.0

Release Notes:

> <https://github.com/mimblewimble/grin/issues/3638>
>
> \# \`v5.1.0\` 
> 
> Release: https://github.com/mimblewimble/grin/releases/tag/v5.1.0…
> 
> \## Changes
> 
> \### Verifier Cache Fix
> 
> \* Add test for duplicate rangeproof inflation bug (#3602 
> \* never speak of the verifier cache again (#3628)
> \* Removing verifier caches (#3597)
> 
> 
> \### Fee Structure
> 
> \* override old accept\_fee\_base setting of 1000000 to new default 500000 (#3539)
> 
> \### Archival Sync
> 
> \* Enable block archival sync (#3579)
> \* cleanup redundant sync\_head and associated MMR (#3556)
> \* add BLOCK\_HIST capabilities on startup if config archive\_mode=true (#3563)
> \* inc quietly on small batches of headers (#3564)
> \* add rate limiting to outbound p2p msg sending (#3560)
> 
> \### Other Sync Improvements
> 
> \* client invalidateheader and resetchainhead (#3618)
> \* track sync\_head on header\_sync sync status (#3626)
> \* more consistent handling of peers\_preferred during startup (#3578)
> \* Block sync hash traversal perf (#3558)
> \* prefer outbound peers when syncing (consistently) (#3521)
> 
> \### Dependencies & Infrastructure
> 
> \* Add migration to \`config\_file\_version = 2\` (#3634)
> \* Update zip dependency and fix deprecation warnings (#3617)
> \* Fix Windows CI \`cargo test\` silently passing (#3632)
> \* Update ring to v0.16.20 (#3612)
> \* Defork croaring (#3596)
> \* Update copyright year to 2021 (#3592)
> \* Remove imports and cleanups (#3590)
> \* Remove unused imports (#3589)
> \* Update and do not use serde private export (#3585)
> \* Update Client to v2 API (#3582)
> \* Update Tokio, hyper versions (#3580)
> \* Update grin-secp256k1zkp to 0.7.10 (#3581)
> \* Update to cursive 0.16 (#3547)
> \* Downgrade CI VM to Ubuntu 18.04 (#3535)
> 
> \### Miscellaneous
> 
> \* fix share difficulty validation - compare stratum server minimum\_share\_difficulty as unscaled difficulty (#3624)
> \* enhance comment describing how a pow is hashed (#3623)
> \* cleanup and stop wrapping errors in other/unfit (#3616)
> \* Revert "Allow rest api to shutdown (#3614)" (#3625)
> \* Remove unnecessary trailing semicolon (#3619)
> \* Allow rest api to shutdown (#3614)
> \* Make of this what you will but it cargo fmt better (#3572)
> \* fix for missing increment of stratum stats blocks\_found (#3593)
> \* Mining tui updates (#3584)
> \* no more conversion to support v2 blocks (#3587)
> \* Fix PIBD segments (#3532) (#3583)
> \* Prune list iterators (#3574)
> \* optimization for reading peak hashes from backend file (#3575)
> \* replace subtree with pruned root (#3576)
> \* Retire pruned cache (#3573)
> \* Refactor prune file replace (#3571)
> \* inefficient locking on recv of peers lists can result in failure to get peers lock (#3566) (#3570)
> \* pibd capabilities test was only relevant temporarily (#3565)
> \* fix for missing block under certain startup conditions (#3555)
> \* Safety: check length during deserialization (#3551)
> \* remove unused function (#3509)
> \* Block migration db flag (only migrate once) (#3512)

---

<div class="post-metadata">

**Author:** ![nirg](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/nirg/32/5083_2.png) [@nirg](https://forum.grin.mw/u/nirg)\
**Post date:** [May 6, 2021, 9:22pm UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/2 "2021-05-06T21:22:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tromp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/tromp/32/22_2.png) [@tromp](https://forum.grin.mw/u/tromp)\
**Post date:** [May 6, 2021, 10:45pm UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/3 "2021-05-06T22:45:31Z")

</div>

Does adding the line

```
config_file_version = 2

```

above

```
#########################################
### SERVER CONFIGURATION ###
#########################################

```

in grin-server.toml fix the problem?

---

<div class="post-metadata">

**Author:** ![nirg](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/nirg/32/5083_2.png) [@nirg](https://forum.grin.mw/u/nirg)\
**Post date:** [May 6, 2021, 10:55pm UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/4 "2021-05-06T22:55:44Z")

</div>

The line already exist. No change.

---

<div class="post-metadata">

**Author:** ![oryhp](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/oryhp/32/2923_2.png) [@oryhp](https://forum.grin.mw/u/oryhp)\
**Post date:** [May 7, 2021, 7:20am UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/5 "2021-05-07T07:20:01Z")

</div>

> <https://github.com/mimblewimble/grin/issues/3641#issuecomment-833854724>
>
> \*\*Describe the bug\*\*
> Grin node v5.1.0 will not launch on Debian Buster, returni…ng "Illegal instruction" to stdout.
> 
> \*\*To Reproduce\*\*
> \`\`\`
> $ grin
> Illegal instruction
> $ echo $?
> 132
> $ ps aux |grep -E '\[g\]rin'
> $ 
> \`\`\`
> 
> 
> \*\*Relevant Information\*\*
> \`\`\`
> 20210506 16:53:04.446 INFO grin\_util::logger - log4rs is initialized, file level: Debug, stdout level: Warn, min. level: Debug                                                                                      
> 20210506 16:53:04.447 INFO grin - Using configuration file at /home/$USER/.grin/main/grin-server.toml
> 20210506 16:53:04.447 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).                                                               
> 20210506 16:53:04.448 DEBUG grin - Built with profile "release", features "".
> 20210506 16:53:04.448 INFO grin - Chain: Mainnet
> 20210506 16:53:04.448 INFO grin - Accept Fee Base: 500000
> 20210506 16:53:04.449 INFO grin - Future Time Limit: 300
> 20210506 16:53:04.449 INFO grin - Feature: NRD kernel enabled: false
> 20210506 16:53:04.449 WARN grin::cmd::server - Starting GRIN in UI mode...
> 20210506 16:53:04.450 INFO grin\_servers::grin::server - Starting server, genesis block: 40adad0aec27
> 20210506 16:53:04.451 DEBUG grin\_store::lmdb - DB Mapsize for /home/$USER/.grin/main/chain\_data/lmdb is 549755813888
> \`\`\`
> 
> \*\*Desktop (please complete the following information):\*\*
> \`\`\`
> $ cat /etc/os-release
> PRETTY\_NAME="Debian GNU/Linux 10 (buster)"
> NAME="Debian GNU/Linux"
> VERSION\_ID="10"
> VERSION="10 (buster)"
> VERSION\_CODENAME=buster
> ID=debian
> HOME\_URL="https://www.debian.org/"
> SUPPORT\_URL="https://www.debian.org/support"
> BUG\_REPORT\_URL="https://bugs.debian.org/"
> \`\`\`

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

---

<div class="post-metadata">

**Author:** ![nirg](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/nirg/32/5083_2.png) [@nirg](https://forum.grin.mw/u/nirg)\
**Post date:** [May 7, 2021, 12:08pm UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/6 "2021-05-07T12:08:53Z")

</div>

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:😁: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

---

<div class="post-metadata">

**Author:** ![mcm-mike](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/mcm-mike/32/3492_2.png) [@mcm-mike](https://forum.grin.mw/u/mcm-mike)\
**Post date:** [May 7, 2021, 12:24pm UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/7 "2021-05-07T12:24:07Z")

</div>

moved topic to #techtalk

---

<div class="post-metadata">

**Author:** ![nirg](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/nirg/32/5083_2.png) [@nirg](https://forum.grin.mw/u/nirg)\
**Post date:** [May 13, 2021, 2:28pm UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/8 "2021-05-13T14:28:50Z")

</div>

I followed [build docs](https://github.com/mimblewimble/grin/blob/master/doc/build.md) 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.

---

<div class="post-metadata">

**Author:** ![nirg](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/nirg/32/5083_2.png) [@nirg](https://forum.grin.mw/u/nirg)\
**Post date:** [June 3, 2021, 10:16am UTC](https://forum.grin.mw/t/grin-mw-node-v5-1-0-release/8855/9 "2021-06-03T10:16:42Z")

</div>

Latest release [v5.1.0-test3](https://github.com/quentinlesceller/grin/releases/tag/v5.1.0-test3) works without any problem. Thank you
