-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
trie/database on insert - panic: runtime error: invalid memory address or nil pointer dereference #17280
Comments
CC: @karalabe |
Do you have a script to repro this? It would be really valuable. |
no I don't :( |
Hmm, I did have a code modification that handles some very very weird corner case around Could you please:
|
interval:
|
#17282 - do you have any linux/x64 builds ? |
Hmm, that's an interesting stress test scenario (to push out a block every second from multiple nodes with many transactions). My bet is that there's some weird race between mining blocks and incoming blocks from the network. I'll try to set up some repro for it, though that will probably take some time. |
|
I'm trying to repro this with a local stress test. For now I've hit a previously reported issue, so I'll commit a fix for that. Hopefully I can trigger this crash too somehow. |
Ok, if you have any builds to test - please let me know |
Could you try with latest master? I've merged in two fixes, one for the miner, one for the flush-list. I don't think either will fix your issue btw, since they appear to be different causes, but lets see. The code is definitely more correct now. |
trying
|
did 6 rounds of bulk testing, 10k tx in total, will report more during day ... |
... still up So I think we can mark it as |
Thanks for the confirm. I'll close it, but please open a new issue if it still persists. This is definitely a concerning issue. |
👍 |
... I think bug was introduced with #16810
with double linked list management and I think
db.newest
has invalid value herehttps://github.com/ethereum/go-ethereum/blob/master/trie/database.go#L316
v1.8.10
is working stable for the same scenarioSystem information
Geth version: v1.8.11, v1.8.12, master
OS & Version: Linux
Expected behaviour
stable env
Actual behaviour
multiple nodes are crashing
Steps to reproduce the behaviour
Backtrace
The text was updated successfully, but these errors were encountered: