Comments (10)
It was suggested by @tersec to try building the binary with -d:disable_libbacktrace
.
from nimbus-eth2.
It was also recommended by @cheatfate to downgrade our current GCC to 12.3.0
:
jakubgs@windows-01 MINGW64 ~
$ gcc --version
gcc.exe (GCC) 13.2.0
from nimbus-eth2.
Building stable
branch with -d:disable_libbacktrace
provided no additional information:
nimbus@windows-01 MINGW64 ~/beacon-node-holesky-stable
$ repo/build/nimbus_beacon_node_fc9c72f0.exe --version
Segmentation fault
from nimbus-eth2.
And building testing
branch did not change anything, it also crashes:
nimbus@windows-01 MINGW64 ~/beacon-node-holesky-testing
$ ./bin/nimbus_beacon_node.exe --version
Segmentation fault
from nimbus-eth2.
If we want to downgrade to GCC 12.3.0
we can't do it using the mingw-nuwen
distribution:
Unless GCC 11.2.0
works too.
from nimbus-eth2.
And resetting Scoop main
bucket to 59bfee96e9df5b0c891e1ad2c544c5c51270da20
before gcc
and mingw-nuwen
updates doesn't work:
admin@windows-01 MINGW64 ~/.../buckets/main (master)
$ scoop install --no-update-scoop --global mingw-nuwen
Installing 'mingw-nuwen' (18.0) [64bit] from main bucket
The remote server returned an error: (404) Not Found.
URL https://nuwen.net/files/mingw/mingw-18.0-without-git.exe#/dl.7z is not valid
Because URLs changed... now it requires manual changes to the JSON to have it work.
from nimbus-eth2.
Just adding missing history
folder to URL doesn't work tho, opened an issue:
from nimbus-eth2.
By making manual changes to the JSON file:
@@ -5,8 +5,8 @@
"license": "GPL-2.0-only",
"architecture": {
"64bit": {
- "url": "https://nuwen.net/files/mingw/mingw-18.0-without-git.exe#/dl.7z",
- "hash": "532aa9fc377fa8cb3985fc2fadf61da43f1c50bcc464719b8274dc2b2590d688"
+ "url": "https://nuwen.net/files/mingw/history/mingw-18.0.exe#/dl.7z",
+ "hash": "d76eadcfebacf688279b121c6a59c90dc2b3a69249f3765efc4d16d0708142d8"
}
},
"extract_dir": "MinGW",
@@ -16,7 +16,7 @@
"CPLUS_INCLUDE_PATH": "$dir\\include;$dir\\include\\freetype2"
},
"checkver": {
- "regex": "mingw-([\\d.]+)-without-git"
+ "regex": "mingw-([\\d.]+)"
},
"autoupdate": {
"architecture": {
I managed to get it installed:
admin@windows-01 MINGW64 ~/.../buckets/main (master)
$ scoop install --no-update-scoop --global mingw-nuwen
'mingw-nuwen' was uninstalled.
Installing 'mingw-nuwen' (18.0) [64bit] from main bucket
mingw-18.0.exe (96.9 MB) [=======] 100%
Checking hash of mingw-18.0.exe ... ok.
Extracting dl.7z ... done.
Linking C:\ProgramData\scoop\apps\mingw-nuwen\current => C:\ProgramData\scoop\apps\mingw-nuwen\18.0
'mingw-nuwen' (18.0) was installed successfully!
admin@windows-01 MINGW64 ~/.../buckets/main (master)
$ gcc --version
gcc.exe (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
from nimbus-eth2.
And indeed, using GCC 11.2.0
the node builds and runs normally:
nimbus@windows-01 MINGW64 ~/beacon-node-holesky-testing
$ repo/build/nimbus_beacon_node_33e34ee8.exe --version
Nimbus beacon node v24.2.2-33e34e-stateofus
Copyright (c) 2019-2024 Status Research & Development GmbH
eth2 specification v1.4.0
Nim Compiler Version 1.6.18 [Windows: amd64]
Compiled at 2024-03-26
Copyright (c) 2006-2023 by Andreas Rumpf
active boot switches: -d:release
This is not great, since there is no pretty or easy way of locking the version down with Scoop.
from nimbus-eth2.
If we consider downgrading GCC a solution this can be closed.
from nimbus-eth2.
Related Issues (20)
- Nimbus CL < > Prysm VC incompatibility HOT 3
- Nimbus CL < > Lodestar VC incompatibility HOT 4
- Handle 404 errors in getAggregatedAttestation response HOT 1
- publishBlockV2 fails gossip validation for valid block HOT 7
- The debug REST API is not serving recent states (less than 2 days old) HOT 6
- Checkpoint-synced nodes appear to not use ERA files HOT 2
- Error: Unhandled exception: Asynchronous task [sendMessageSlow() at pubsubpeer.nim:301] was cancelled! [FutureDefect] HOT 8
- Release tarballs missing vendor folder
- Single command for beacon node and checkpoint sync. Remove separate command for `trustedNodeSync` HOT 3
- Require flag when resuming from past-weak-subjectivity database / genesis HOT 1
- build error: incompatible pointer type HOT 7
- Check conten-type and return 415 if not supported by route HOT 7
- Beacon node's P2P degrades permanently after 40 minutes of no connectivity HOT 8
- Bug: Error build with cmd "make -jX nimbus_beacon_node" HOT 11
- Compilation error when "import libp2p/multicodec" is added to sync_manager.nim HOT 12
- Checkpoint sync fails with "Attempt to download checkpoint state timed out" on holesky on all endpoints HOT 7
- [SEC]
- Can no longer use systemd's MemoryDenyWriteExecute on nimbus-beacon-node 24.6.0 HOT 2
- 8GB need for compilation HOT 1
- nimbus spontanously crashes with "database disk image is malformed" HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimbus-eth2.