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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.0.4 panic: runtime error: invalid memory address or nil pointer dereference (Slasher) #12404

Closed
victorelec14 opened this issue May 15, 2023 · 3 comments 路 Fixed by #12405
Closed
Assignees

Comments

@victorelec14
Copy link
Contributor

victorelec14 commented May 15, 2023

馃悶 Bug Report

Description

A clear and concise description of the problem...

After upgrading to version 4.0.4 (from 4.0.3) I have this error when I have the "--slasher" flag enabled, when I disable the flag, it starts normally

Has this worked before in a previous version?

Yes, the previous version in which this bug was not present was: v4.0.3

馃敩 Minimal Reproduction

馃敟 Error




prysm-node_1                    | time="2023-05-15 20:32:09" level=info msg="Starting beacon node" prefix=node version="Prysm/v4.0.4/ad749a40b696a94cc240d4ddef9b1061d3a39bb3. Built at: 2023-05-15 17:16:52+00:00"
prysm-node_1                    | panic: runtime error: invalid memory address or nil pointer dereference
prysm-node_1                    | [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x303d423]
prysm-node_1                    | 
prysm-node_1                    | goroutine 7435 [running]:
prysm-node_1                    | github.com/prysmaticlabs/prysm/v4/beacon-chain/slasher.(*Service).waitForChainInitialization(0xc05eebda00)
prysm-node_1                    |       beacon-chain/slasher/service.go:176 +0x43
prysm-node_1                    | github.com/prysmaticlabs/prysm/v4/beacon-chain/slasher.(*Service).run(0xc05eebda00)
prysm-node_1                    |       beacon-chain/slasher/service.go:95 +0x36
prysm-node_1                    | created by github.com/prysmaticlabs/prysm/v4/beacon-chain/slasher.(*Service).Start
prysm-node_1                    |       beacon-chain/slasher/service.go:91 +0x56
prysm-node_1                    | time="2023-05-15 20:32:10" level=warning msg="Enabled feature flag" prefix=flags slasher="Enables a slasher in the beacon node for detecting slashable offenses"

馃實 Your Environment

Operating System:

  
Docker version 20.10.21, build 20.10.21-0ubuntu1~20.04.1
  

What version of Prysm are you running? (Which release)

  
prysmaticlabs/prysm-beacon-chain:stable  

Prysm/v4.0.4/ad749a40b696a94cc240d4ddef9b1061d3a39bb3. Built at: 2023-05-15 17:16:52+00:00"
  

Thanks 馃憤

@jonjander
Copy link

I have the same issue, running Nethermind 1.18.0 and Prysm 4.0.4 on windows.

@kasey
Copy link
Contributor

kasey commented May 16, 2023

This has been resolved in our main branch by #12405, but we are not planning another full release until next 5/22 (which will be v4.0.5). In the meantime, you can run v4.0.3-hotfix (released 5/12) to pick up the performance hot fix relating to state replays, while avoid this nil pointer exception. I'm sorry for the inconvenience!

cc @jonjander @victorelec14

@rauljordan rauljordan unpinned this issue May 16, 2023
@prestonvanloon prestonvanloon pinned this issue May 16, 2023
@prestonvanloon
Copy link
Member

Pinned for visibility until v4.0.5 is released early next week.

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

Successfully merging a pull request may close this issue.

4 participants