-
Notifications
You must be signed in to change notification settings - Fork 913
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
cln v24.08 crash #7689
Comments
Another gossip crash report from v24.08.1: #7685 (comment) |
Reported on Telegram by +steepdawn974:
|
This was on v24.08 |
This addresses a crash where a deleted channel is added to the txout_failures map, and temporarily ignored, but a reference is still kept in the gossmap. When the channel expires fromt the txout_failures map, it is once again looked up in the gossmap, leading to a crash while accessing a deleted entry. Fixes ElementsProject#7689 Changelog-Fixed: Fixes a crash in gossipd accessing a deleted channel.
This addresses a crash where a deleted channel is added to the txout_failures map, and temporarily ignored, but a reference is still kept in the gossmap. When the channel expires from the txout_failures map, it is once again looked up in the gossmap, leading to a crash while accessing a deleted entry. Fixes ElementsProject#7689 Changelog-Fixed: Fixes a crash in gossipd accessing a deleted channel.
Wow, this is completely broken. Is this some weird OS? You seem to be getting bad checksums all the time... Also, please can you send me gossip_store.corrupt? |
We use 32-bit file offsets, but since we stopped filtering gossip spam, the store can grow much larger. I suspect this is causing all kinds of weirdness. The workaround is to restart (which compacts the gossip store), but I'll simply switch to 64 bit offsets for the point release. |
The crash was observed on this branch: https://github.com/breez/lightning/tree/cln-v24.08-breez with commit breez@bc9e4f5
The branch contains changes compared to v24.08, namely
#7628
#7611
#7636
But I don't think they were related to the crash.
Notable thing:
The gossip store file was 18GB
The text was updated successfully, but these errors were encountered: