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

panic: runtime error: integer divide by zero #4777

Closed
timmyers opened this issue Feb 6, 2020 · 6 comments
Closed

panic: runtime error: integer divide by zero #4777

timmyers opened this issue Feb 6, 2020 · 6 comments
Labels
Bug Something isn't working Good First Issue Good for newcomers Help Wanted Extra attention is needed Priority: Medium Medium priority item

Comments

@timmyers
Copy link
Contributor

timmyers commented Feb 6, 2020

Beacon-chain encountered this error/crash during operation:

panic: runtime error: integer divide by zero
goroutine 348 [running]:
github.com/prysmaticlabs/prysm/beacon-chain/sync.(*Service).processPendingAtts(0xc00f946000, 0x1aaf740, 0xc0d4ecbbf0, 0x0, 0x0)
beacon-chain/sync/pending_attestations_queue.go:102 +0x11f5
github.com/prysmaticlabs/prysm/beacon-chain/sync.(*Service).processPendingAttsQueue.func1()
beacon-chain/sync/pending_attestations_queue.go:27 +0x3c
github.com/prysmaticlabs/prysm/shared/runutil.RunEvery.func1(0xc00f9820f0, 0x24a02e8, 0x59, 0xc00f8f4780, 0x1aaf680, 0xc00f4d3480)
shared/runutil/every.go:22 +0xec
created by github.com/prysmaticlabs/prysm/shared/runutil.RunEvery
shared/runutil/every.go:17 +0x136
@terencechain
Copy link
Member

Thanks, this is a good first issue. Will need a 0 check for the following line:

https://github.com/prysmaticlabs/prysm/blob/master/beacon-chain/sync/pending_attestations_queue.go#L102

@terencechain terencechain added Good First Issue Good for newcomers Help Wanted Extra attention is needed labels Feb 6, 2020
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 25.0 DAI (25.0 USD @ $1.0/DAI) attached to it.

@gitcoinbot
Copy link

gitcoinbot commented Feb 10, 2020

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 1 year, 11 months ago.
Please review their action plans below:

1) aranhaagency has been approved to start work.

I would love to work on this issue, can I start?

Learn more on the Gitcoin Issue Details page.

@prestonvanloon
Copy link
Member

Any update @aranhaagency?

@gitcoinbot
Copy link

⚡️ A tip worth 1.00000 DAI (1.0 USD @ $1.0/DAI) has been granted to @bobfacearanhaagency for this issue from @Solexplorer. ⚡️

Nice work @bobfacearanhaagency! To redeem your tip, login to Gitcoin at https://gitcoin.co/explorer and select 'Claim Tip' from dropdown menu in the top right, or check your email for a link to the tip redemption page.

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This Bounty has been completed.

Additional Tips for this Bounty:

  • Solexplorer tipped 1.0000 DAI worth 1.0 USD to bobfacearanhaagency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Good First Issue Good for newcomers Help Wanted Extra attention is needed Priority: Medium Medium priority item
Projects
None yet
Development

No branches or pull requests

5 participants