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

Recurrent crashes #388

Closed
joseddg92 opened this issue Aug 27, 2021 · 4 comments
Closed

Recurrent crashes #388

joseddg92 opened this issue Aug 27, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@joseddg92
Copy link

System information

Geth version:
Geth
Version: 1.1.1
Git Commit: 03f7b31
Git Commit Date: 20210813
Architecture: amd64
Go Version: go1.17
Operating System: linux
GOPATH=
GOROOT=go

OS & Version: Centos 8
Commit hash : v1.1.1 (precompiled)

Expected behaviour

No Crash

Actual behaviour

2021/08/26 23:59:41 worker exits from a panic: runtime error: invalid memory address or nil pointer dereference
2021/08/26 23:59:41 worker exits from panic: goroutine 16259830 [running]:
github.com/panjf2000/ants/v2.(*goWorker).run.func1.1()
github.com/panjf2000/ants/v2@v2.4.5/worker.go:58 +0x10c
panic({0x1293c60, 0x23b09c0})
runtime/panic.go:1038 +0x215
github.com/ethereum/go-ethereum/eth/filters.(*PublicFilterAPI).NewPendingTransactionFilter.func1()
github.com/ethereum/go-ethereum/eth/filters/api.go:129 +0x13a
github.com/panjf2000/ants/v2.(*goWorker).run.func1()
github.com/panjf2000/ants/v2@v2.4.5/worker.go:70 +0x97
created by github.com/panjf2000/ants/v2.(*goWorker).run
github.com/panjf2000/ants/v2@v2.4.5/worker.go:48 +0x68

Steps to reproduce the behaviour

Just running the node. A process is connected via IPC getting the latest transactions.

Backtrace

2021/08/26 23:59:41 worker exits from a panic: runtime error: invalid memory address or nil pointer dereference
2021/08/26 23:59:41 worker exits from panic: goroutine 16259830 [running]:
github.com/panjf2000/ants/v2.(*goWorker).run.func1.1()
        github.com/panjf2000/ants/v2@v2.4.5/worker.go:58 +0x10c
panic({0x1293c60, 0x23b09c0})
        runtime/panic.go:1038 +0x215
github.com/ethereum/go-ethereum/eth/filters.(*PublicFilterAPI).NewPendingTransactionFilter.func1()
        github.com/ethereum/go-ethereum/eth/filters/api.go:129 +0x13a
github.com/panjf2000/ants/v2.(*goWorker).run.func1()
        github.com/panjf2000/ants/v2@v2.4.5/worker.go:70 +0x97
created by github.com/panjf2000/ants/v2.(*goWorker).run
        github.com/panjf2000/ants/v2@v2.4.5/worker.go:48 +0x68

When submitting logs: please submit them as text and not screenshots.

@eyooooo
Copy link

eyooooo commented Aug 28, 2021

My BSC-GETH node v1.1.2 also crashes for no reason

panic: runtime error: invalid memory address or nil pointer dereference                                                                                                                                
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1c0 pc=0xf624b5]                                                                                                                               

@unclezoro
Copy link
Collaborator

hi, @joseddg92 this is an known issue, we will try to fix it ASAP.

@unclezoro unclezoro self-assigned this Aug 30, 2021
@unclezoro unclezoro added the bug Something isn't working label Aug 30, 2021
j75689 added a commit to j75689/bsc that referenced this issue Aug 31, 2021
j75689 added a commit that referenced this issue Sep 1, 2021
@tino-web
Copy link

tino-web commented Sep 8, 2021

Same here:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1c0 pc=0xf624b5]

@gogopro-dev
Copy link

gogopro-dev commented Oct 3, 2021

Here with NewPendingTransactionFilter

2021/10/03 11:05:10 worker exits from panic: goroutine 52226 [running]:
github.com/panjf2000/ants/v2.(*goWorker).run.func1.1(0xc049174960)
   github.com/panjf2000/ants/v2@v2.4.5/worker.go:58 +0x177
panic(0x14e5900, 0x2591960)
   runtime/panic.go:969 +0x1b9
github.com/ethereum/go-ethereum/eth/filters.(*PublicFilterAPI).NewPendingTransactionFilter.func1()
   github.com/ethereum/go-ethereum/eth/filters/api.go:129 +0x205
github.com/panjf2000/ants/v2.(*goWorker).run.func1(0xc049174960)
   github.com/panjf2000/ants/v2@v2.4.5/worker.go:70 +0x94
created by github.com/panjf2000/ants/v2.(*goWorker).run
github.com/panjf2000/ants/v2@v2.4.5/worker.go:48 +0x4c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants