Skip to content

renepay crashed #7035

Description

@Amperstrand

Issue and Steps to Reproduce

Not sure if I can reproduce, but this is what I typed to pay a 1 sat bolt11 invoice to Alby with renepay:

lightning-cli renepay lnbc10n1pjmufe6pp5fyucwdq23n3ww37cyhsnu9qltx730zxsvd7p8jsn9uatz369qs7sdq5g9kxy7fqd9h8vmmfvdjscqzzsxqyz5vqsp5dd6m04dkgrmadszwja6xflrxz3ehkkh6j6xcevj7nj55wuwt8g3s9qyyssqk3uevjh47swmq09dy82cnp9th7jq90wnnqmu47kj9zdxmey0u9zyj3hqas4qmux6fxwvpfuu4rqu2vg9djh0v8283462awg5q5ktyfcqfz35vj

Then I got the status with renepaystatus. It showed up the first time that I ran this, but I didn't save the data.

I tried to run renepay again and got an error about renepay plugin not running.

In the logs, I find this:

2024-02-03T11:45:19.048Z INFO    lightningd: Sending 2000msat over 6 hops to deliver 1000msat
cln-renepay: FATAL SIGNAL 11 (version basedon-v23.08)
0x5596337c85a3 send_backtrace
	common/daemon.c:33
0x5596337c862b crashdump
	common/daemon.c:75
0x7f9f8852113f ???
	???:0
0x5596337ab464 flow_sendpay_failed
	plugins/renepay/pay.c:302
0x5596337ba121 handle_rpc_reply
	plugins/libplugin.c:860
0x5596337ba342 rpc_read_response_one
	plugins/libplugin.c:1048
0x5596337ba3e0 rpc_conn_read_response
	plugins/libplugin.c:1072
0x5596337e8b5b next_plan
	ccan/ccan/io/io.c:59
0x5596337e8fe2 do_plan
	ccan/ccan/io/io.c:407
0x5596337e907b io_ready
	ccan/ccan/io/io.c:417
0x5596337ea96a io_loop
	ccan/ccan/io/poll.c:453
0x5596337ba61a plugin_main
	plugins/libplugin.c:1949
0x5596337add99 main
	plugins/renepay/pay.c:1334
0x7f9f88343d09 ???
	???:0
0x5596337aaef9 ???
	???:0
0xffffffffffffffff ???
	???:0
2024-02-03T11:45:19.303Z INFO    plugin-cln-renepay: Killing plugin: exited during normal operation
2024-02-03T11:45:35.060Z UNUSUAL plugin-bcli: bitcoin-cli -datadir=/etc/bitcoin -rpcconnect=bitcoind getblock 000000000000000000... 0 exited with status 1
2024-02-03T11:45:36.074Z UNUSUAL plugin-bcli: bitcoin-cli -datadir=/etc/bitcoin -rpcconnect=bitcoind getblock 000000000000000000... 0 exited with status 1
2024-02-03T11:45:36.691Z INFO   -chan#5: htlc 53 failed from 1th node with code 0x100d (WIRE_INCORRECT_CLTV_EXPIRY)

The getblock error keeps showing up in my logs because it is running on a pruned node, and I think this is a somewhat expected error which might deserve its own issue. btcpayserver/btcpayserver-docker#373 (comment) and btcpayserver/btcpayserver#5506 (comment) both talk about this. So the getblock error is probably not relevant for why renepay crashed.

thoughts and comments:

I am running core lightning from docker : btcpayserver/lightning:v23.08 deployed via https://github.com/btcpayserver/btcpayserver-docker

Crashing the renepay plugin like this is good: it forces you to look into the issue. At the same time, it would have been better if it had logged that an exception happened and then restarted the plugin.

The error message is hard to diagnose or understand as an end user.

Its not impoosible that the htlc 53 error message is related to this error

I will update the issue if I am able to reproduce it or if it happens again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions