Skip to content

CLN master crashes when adding an HTLC? #8461

@grubles

Description

@grubles

Running CLN at 79b959b
Rocky Linux 9

Node is currently stuck crashing when adding this HTLC and continues to crash not long after trying to restart.

2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: peer_in WIRE_UPDATE_ADD_HTLC                                                            DEBUG   nodepubkey-channeld-chan#14477: NEW:: HTLC REMOTE 136184 = RCVD_ADD_HTLC/SENT_ADD_HTLC                                          
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: NEW:: HTLC REMOTE 136185 = RCVD_ADD_HTLC/SENT_ADD_HTLC 
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: peer_in WIRE_COMMITMENT_SIGNED                                                                  
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: fromwire_commitment_signed(0x1475db8) primary
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: msg_batch[0]: 0x1475db8
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: Sorting the msg_batch of tal_count 1, batch_size: 1
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: handle_peer_commit_sig(splice: 0, remote_splice: 0, commit_index: 0, local_index: 304081, msg: 0
x1475db8)                                                                                                                                                                                                                
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: Received commit
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: htlc 136184: RCVD_ADD_HTLC->RCVD_ADD_COMMIT                                                     
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: htlc added LOCAL: local 6507064424 remote 3149077360                                            
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: -> local 6507064424 remote 2832394211                                                           
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: rcvd_commit: HTLC REMOTE 136184 = RCVD_ADD_COMMIT/SENT_ADD_COMMIT                               
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: htlc 136185: RCVD_ADD_HTLC->RCVD_ADD_COMMIT                                                     
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: htlc added LOCAL: local 6507064424 remote 2832394211
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: -> local 6507064424 remote 2710544090                                                           
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: rcvd_commit: HTLC REMOTE 136185 = RCVD_ADD_COMMIT/SENT_ADD_COMMIT                               
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: Feerates are 827/827                                                                            
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: Committed 3, removing 0, adding 0                                                               
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: We need 101025sat at feerate 827 for 3 untrimmed htlcs: we have 2710544090msat/3149077360msat (w
ill have 2710544090msat)                              
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: Derived key 0377f674f68da71a5481a4434bf8aaed09bd29a562dc7e91fb37a86537e45a2bb6 from basepoint 02
a70097e498735c2020e1bff2f6359100891899fc0f0fdea87969e112d86931ee, point 024421ffd7812a8e4ec5906f261116f46a16fdaf7fa99c68cba02f748313a0a243
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: Received commit_sig with 3 htlc sigs
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: Sending revoke_and_ack
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: htlc 136184: RCVD_ADD_COMMIT->SENT_ADD_REVOCATION
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: sending_revoke_and_ack: HTLC REMOTE 136184 = SENT_ADD_REVOCATION/RCVD_ADD_REVOCATION 
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: htlc 136185: RCVD_ADD_COMMIT->SENT_ADD_REVOCATION
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: sending_revoke_and_ack: HTLC REMOTE 136185 = SENT_ADD_REVOCATION/RCVD_ADD_REVOCATION 
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: revoke_and_ack made pending: commit timer
2025-08-16T02:25:28.607Z DEBUG   nodepubkey-channeld-chan#14477: Sending master 1021
2025-08-16T02:25:28.640Z **BROKEN** lightningd: FATAL SIGNAL 6 (version v25.05-200-g79b959b)
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: common/daemon.c:41 (send_backtrace) 0x489230
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: common/daemon.c:78 (crashdump) 0x48926a
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f4bba43ebef
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f4bba48bedc
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f4bba43eb45
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f4bba428832
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/tal/tal.c:95 (call_error) 0x54f6bc
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/tal/tal.c:169 (check_bounds) 0x54f75a
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/tal/tal.c:178 (to_tal_hdr) 0x54f782
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/tal/tal.c:193 (to_tal_hdr_or_null) 0x54f7c7
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/tal/tal.c:471 (tal_alloc_) 0x54ffe4
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/tal/tal.c:517 (tal_alloc_arr_) 0x5500c4 
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: common/htlc_wire.c:200 (fromwire_len_and_tlvstream) 0x48d63d
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: common/htlc_wire.c:234 (fromwire_added_htlc) 0x48dd23
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: channeld/channeld_wiregen.c:832 (fromwire_channeld_got_commitsig) 0x4c61fa
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: lightningd/peer_htlcs.c:2377 (peer_got_commitsig) 0x4549cb
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: lightningd/channel_control.c:1552 (channel_msg) 0x4140fe
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: lightningd/subd.c:560 (sd_msg_read) 0x461513
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:60 (next_plan) 0x544885
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:422 (do_plan) 0x544cea
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:439 (io_ready) 0x544d9d
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: ccan/ccan/io/poll.c:455 (io_loop) 0x54665d
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: lightningd/io_loop_with_timers.c:22 (io_loop_with_timers) 0x42d220
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: lightningd/lightningd.c:1487 (main) 0x43280f
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f4bba4295cf
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f4bba42967f
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x405ce4
2025-08-16T02:25:28.640Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0xffffffffffffffff

Metadata

Metadata

Assignees

Labels

Priority::HighShould be addressed as soon as possible due to significant impact, but not an emergency.Type::BugAn error, flaw, or fault that produces an incorrect or unexpected result

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions