connectd: conn timed out crashes the deamon
Closed this issue · 1 comments
vincenzopalazzo commented
Issue and Steps to Reproduce
Getting this cash on my testing machine
2024-09-24T13:31:49.744Z DEBUG connectd: drain_peer
2024-09-24T13:31:49.744Z DEBUG 029ef2ce43571727104099576c633b2233bfeb8dc18b476f93540a32207da9e9a4-lightningd: peer_disconnect_done
2024-09-24T13:31:49.744Z DEBUG 029ef2ce43571727104099576c633b2233bfeb8dc18b476f93540a32207da9e9a4-lightningd: Will try reconnect in 4 seconds
2024-09-24T13:31:49.744Z DEBUG connectd: maybe_free_peer freeing peer!
2024-09-24T13:31:49.744Z DEBUG connectd: conn timed out
2024-09-24T13:31:49.744Z **BROKEN** connectd: FATAL SIGNAL 6 (version v24.08.1-modded)
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: common/daemon.c:38 (send_backtrace) 0x56242318c2c6
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: common/daemon.c:75 (crashdump) 0x56242318c306
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 ((null)) 0x7f26d4080dcf
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ../sysdeps/unix/sysv/linux/raise.c:51 (__GI_raise) 0x7f26d4080d51
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ./stdlib/abort.c:79 (__GI_abort) 0x7f26d406a536
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/tal/tal.c:95 (call_error) 0x56242322b9b6
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/tal/tal.c:169 (check_bounds) 0x56242322ba59
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/tal/tal.c:180 (to_tal_hdr) 0x56242322ba93
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/tal/tal.c:525 (tal_free) 0x56242322c421
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/io/io.c:496 (io_close) 0x562423225df5
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: connectd/connectd.c:338 (conn_timeout) 0x56242317c45c
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: common/timeout.c:62 (timer_expired) 0x562423198f84
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: connectd/connectd.c:2369 (main) 0x56242318114c
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ../csu/libc-start.c:308 (__libc_start_main) 0x7f26d406bd79
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: (null):0 ((null)) 0x562423177eb9
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: (null):0 ((null)) 0xffffffffffffffff
2024-09-24T13:31:49.744Z **BROKEN** connectd: FATAL SIGNAL (version v24.08.1-modded)
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: common/daemon.c:38 (send_backtrace) 0x56242318c2c6
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: common/status.c:221 (status_failed) 0x562423198b28
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: common/subdaemon.c:18 (status_backtrace_exit) 0x562423198cde
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: common/daemon.c:78 (crashdump) 0x56242318c30c
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ./signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 ((null)) 0x7f26d4080dcf
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ../sysdeps/unix/sysv/linux/raise.c:51 (__GI_raise) 0x7f26d4080d51
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ./stdlib/abort.c:79 (__GI_abort) 0x7f26d406a536
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/tal/tal.c:95 (call_error) 0x56242322b9b6
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/tal/tal.c:169 (check_bounds) 0x56242322ba59
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/tal/tal.c:180 (to_tal_hdr) 0x56242322ba93
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/tal/tal.c:525 (tal_free) 0x56242322c421
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ccan/ccan/io/io.c:496 (io_close) 0x562423225df5
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: connectd/connectd.c:338 (conn_timeout) 0x56242317c45c
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: common/timeout.c:62 (timer_expired) 0x562423198f84
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: connectd/connectd.c:2369 (main) 0x56242318114c
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: ../csu/libc-start.c:308 (__libc_start_main) 0x7f26d406bd79
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: (null):0 ((null)) 0x562423177eb9
2024-09-24T13:31:49.744Z **BROKEN** connectd: backtrace: (null):0 ((null)) 0xffffffffffffffff
2024-09-24T13:31:49.744Z **BROKEN** connectd: STATUS_FAIL_INTERNAL_ERROR: FATAL SIGNAL
getinfo
output
"version": "v24.08.1-modded",
"blockheight": 862717,
"network": "bitcoin",
"warning_lightningd_sync": "Still loading latest blocks from bitcoind.",
"our_features": {
"init": "08a0802a8a59a1",
"node": "88a0802a8a59a1",
"channel": "",
"invoice": "02000002024100"
}
rustyrussell commented
Fixed by #7736