Closed JssDWt closed 1 month ago
Encountered similar issue after overnight power surge. Is it safe to delete gossip_store?
Was able to get lightning started but appears stuck in infinite loop with following two lines repeating for one particular channel at the same offsets. lightning_gossipd: gossmap: redundant channel_announce for ...! lightning_connectd: gossmap: redundant channel_announce for ...! Eventually the looping stops but resumes after several minutes.
The output occurs on line 471 in gossmap.c warnx("gossmap: redundant channel_announce for %s, offsets %u and %zu!",
Added following lines as shown in single changed file and recompiled - no change. 982 if (chan == NULL) 983 continue;
---FINAL UPDATE--- Able to resolve my issue by reading a lot and by:
lightning_gossipd: gossip_store: get delete entry offset 34356327/14528 (version v24.08.1-modded) 0x58da2a2455f3 send_backtrace common/daemon.c:33 0x58da2a24f026 status_failed common/status.c:221 0x58da2a23cb8b gossip_store_get_with_hdr gossipd/gossip_store.c:466 0x58da2a23cc06 check_msg_type gossipd/gossip_store.c:491 0x58da2a23cd99 gossip_store_set_flag gossipd/gossip_store.c:509 0x58da2a23cfac gossip_store_del gossipd/gossip_store.c:561 0x58da2a23e788 process_channel_update gossipd/gossmap_manage.c:793 0x58da2a23f0a0 gossmap_manage_channel_update gossipd/gossmap_manage.c:901 0x58da2a23b923 handle_recv_gossip gossipd/gossipd.c:215 0x58da2a23ba12 connectd_req gossipd/gossipd.c:307 0x58da2a245909 handle_read common/daemon_conn.c:35 0x58da2a385a49 next_plan ccan/ccan/io/io.c:60 0x58da2a385f1a do_plan ccan/ccan/io/io.c:422 0x58da2a385fd7 io_ready ccan/ccan/io/io.c:439 0x58da2a387949 io_loop ccan/ccan/io/poll.c:455 0x58da2a23bcf1 main gossipd/gossipd.c:672 0x704350e2a1c9 libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x704350e2a28a libc_start_main_impl ../csu/libc-start.c:360 0x58da2a238874 ??? ???:0 0xffffffffffffffff ??? ???:0 2024-09-27T02:20:05.267Z BROKEN connectd: STATUS_FAIL_GOSSIP_IO: gossipd exited? lightningd: connectd failed (exit status 242), exiting. Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.Lost connection to the RPC socket.
Ack!
This is the same as bc1aabb01452cf612c18c4666add464802dfb1f5 which is already in master: @ShahanaFarooqui might want to cherry-pick that for the branch instead?
This was already deployed as part of https://github.com/ElementsProject/lightning/pull/7707
Ignore localmods that don't have a corresponding entry in the gossmap.
A crash was observed on this branch: https://github.com/breez/lightning/tree/cln-v24.08-breez with commit https://github.com/breez/lightning/commit/bc9e4f56c324216f5f0f15be07f6ad4f9a46e597
The branch contains changes compared to v24.08, namely
But I don't think they were related to the crash. A simple null check should suffice here?
Checklist
Before submitting the PR, ensure the following tasks are completed. If an item is not applicable to your PR, please mark it as checked: