Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpha5 binary crash arm64 #12556

Closed
blxdyx opened this issue Oct 31, 2024 · 6 comments
Closed

Alpha5 binary crash arm64 #12556

blxdyx opened this issue Oct 31, 2024 · 6 comments
Assignees
Labels
erigon3 imp1 High importance

Comments

@blxdyx
Copy link
Contributor

blxdyx commented Oct 31, 2024

System information

Erigon version: ./erigon --version v3.0.0-alpha5

OS & Version: Linux(arm64)

Commit hash:

Erigon Command (with flags/config): ./build/bin/erigon --datadir=./data --chain=sepolia --log.console.verbosity=4 --port=30304 --http.port=8546 --authrpc.port=8552 --torrent.port=42068 --private.api.addr=127.0.0.1:9092 --http --ws --http.api=eth,debug,net,trace,web3,erigon

Consensus Layer:

Consensus Layer Command (with flags/config):

Chain/Network:

Expected behaviour

Actual behaviour

Steps to reproduce the behaviour

Download binary from https://github.com/erigontech/erigon/releases/download/v3.0.0-alpha5/erigon_v3.0.0-alpha5_linux_arm64.tar.gz

Backtrace

crash.log

@blxdyx
Copy link
Contributor Author

blxdyx commented Oct 31, 2024

Same with #7130 , seems fix by #7193, but finalize remove by #7421.

@blxdyx blxdyx changed the title The binary crash Alpha5 binary run crash Oct 31, 2024
@blxdyx blxdyx changed the title Alpha5 binary run crash Alpha5 binary crash Oct 31, 2024
@AskAlexSharov AskAlexSharov changed the title Alpha5 binary crash Alpha5 binary crash arm64 Nov 1, 2024
@VBulikov VBulikov added the imp1 High importance label Nov 1, 2024
@lystopad
Copy link
Member

@blxdyx , hi
could you, please, let us know which OS are you using exactly and your CPU?
Does erigon work if you build it on your OS on your own (of course, using git tag "v3.0.0-alpha5" for checkout) ?

@blxdyx
Copy link
Contributor Author

blxdyx commented Nov 15, 2024

@blxdyx , hi could you, please, let us know which OS are you using exactly and your CPU? Does erigon work if you build it on your OS on your own (of course, using git tag "v3.0.0-alpha5" for checkout) ?

I use Amazon Linux release 2 (Karoo), XXXX.amzn2.aarch64.
Build it myself, it work.

@lystopad
Copy link
Member

@blxdyx thanks.
Could you, please, try to run docker image "erigontech/erigon:v3.0.0-alpha5" (multi-platform image) with your parameters. Data-dir could be used as a volume.

There is a progress with fix, but it still require some more time.

AskAlexSharov pushed a commit that referenced this issue Nov 19, 2024
Reintroducing `netgo` into the builds to fix the following issues:
#12556
#12570

`netgo` was removed in this PR:
#7421

but didn't seem to fix that issue.

---------

Co-authored-by: antonis19 <antonis19@users.noreply.github.com>
AskAlexSharov pushed a commit that referenced this issue Nov 20, 2024
The released binaries of erigon3-alpha5 have cross-compatibility issues
as demonstrated here:

#12556
#12570

The reason for this was the static linking of system libraries which may
not work correctly in other operating systems (e.g. Arch Linux).

This problem can be averted by producing a dynamically linked binary
instead, and assume that the user has correctly working system library
dependencies.

---------

Co-authored-by: antonis19 <antonis19@users.noreply.github.com>
@lystopad
Copy link
Member

lystopad commented Nov 21, 2024

@blxdyx , hi

Please, download test release which is expected to run fine on your OS/Arch.
There are 3 files (with own sha256 sums):

21f81b7ddcb67b87dbdcd961ec97bf3f4a371b65244dc6536283c2911ba9bf4a  erigon_v3.0.0-testing-dynamic-binaries_linux_amd64.tar.gz
8ef782374be0232477d6d0905be0706cfce555dc4f1c01ad601a55893362327d  erigon_v3.0.0-testing-dynamic-binaries_linux_amd64v2.tar.gz
826ec5dbe2affd7903be5b6b2f0f452d685b27a67c7973a1d53b154302d299ec  erigon_v3.0.0-testing-dynamic-binaries_linux_arm64.tar.gz

All files expires: Nov 28, 2024 11:26 AM

Try artifacts for your OS/Arch and let us know your feedback.
It is expected that erigon should work fine.

Best regards
@lystopad

@AskAlexSharov
Copy link
Collaborator

seems fixed: #12570 (comment)
closing for now. feel free to re-open if need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
erigon3 imp1 High importance
Projects
None yet
Development

No branches or pull requests

5 participants