Open zwammetje opened 6 years ago
Easiest way to avoid it is to use amd64 arch.
On both ARM and x86-32, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a variable or in an allocated struct, array, or slice can be relied upon to be 64-bit aligned.
Not time atm to review all structs. You can try to fix it yourself like this https://github.com/sammy007/monero-stratum/commit/bf0ffb035f13898dfc93d9281f83aa1114212f75
I wonder why does one run it on arm 32 bit. It's not a toy to play with.
I was trying to make it run on a Pi3 for testing purposes before migrating to a better machine. Unfortunately, it's not ARM64. I will try it out on x86-64. Thanks for the quick response.
@zwammetje it's not a smart idea to run this on raspberry pi.
check out these projects instead: https://www.hackster.io/raspberry-pi/projects
System information
Geth version: 1.7.2-stable Git Commit: 1db4ecdc0b9e828ff65777fb466fc7c1d04e0de9 Architecture: arm Protocol Versions: [63 62] Network Id: 1 Go Version: go1.9 Operating System: linux GOPATH= GOROOT=/usr/local/go
Redis version: Redis server v=3.2.6 sha=00000000:0 malloc=jemalloc-3.6.0 bits=32 build=826601c992442478
OS & Version: Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
Commit branch and hash: (
master
,225fc2c
)Expected behaviour
Runs beyond the stated output (see backtrace).
Actual behaviour
Segfaults shortly after starting the software.
Steps to reproduce the behaviour
./open-ethereum-pool config.json
Geth and redis-server are running when I try to start the software. I have tried Golang pre-compiled binary and compiled it myself for armv7:
Backtrace