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

SIGSEGV on Error Rate Limited #6913

Closed
keithchew opened this issue Feb 20, 2023 · 3 comments
Closed

SIGSEGV on Error Rate Limited #6913

keithchew opened this issue Feb 20, 2023 · 3 comments

Comments

@keithchew
Copy link

Using latest v2.39.0 on goerli, just received this error. Likely an edge case not handling a rate limit error.

[INFO] [02-20|22:00:14.602] [LightClient] P2P                        peers=2
[WARN] [02-20|22:00:27.065] received error                           err="�sNaPpY�zREQUEST_ERROR_RATE_LIMITED"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x1575905]

goroutine 64964 [running]:
github.com/ledgerwatch/erigon/cmd/lightclient/lightclient.(*ChainTipSubscriber).StartLoop.func1()
        github.com/ledgerwatch/erigon/cmd/lightclient/lightclient/subscriber.go:70 +0x105
created by github.com/ledgerwatch/erigon/cmd/lightclient/lightclient.(*ChainTipSubscriber).StartLoop
        github.com/ledgerwatch/erigon/cmd/lightclient/lightclient/subscriber.go:60 +0x1aa
@whidrasl
Copy link

whidrasl commented Feb 21, 2023

duplicates #6905

@AskAlexSharov
Copy link
Collaborator

I added some sleep(3sec) before retries in devel as a hot-fix. Will need add some retry-with-backoff strategy later. And of course not die because of error from third-party server.

@AskAlexSharov
Copy link
Collaborator

fixed by #6922
closing as duplicate

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

No branches or pull requests

3 participants