ElementsProject / lightning

Core Lightning — Lightning Network implementation focusing on spec compliance and performance
Other
2.84k stars 901 forks source link

Plugin pay crashed #3949

Closed ghost closed 4 years ago

ghost commented 4 years ago

Issue and Steps to Reproduce

020-08-15T19:27:50.381Z INFO 031678745383bd273b4c3dbefc8ffbf4847d85c2f62d3407c0c980430b3257c403-channeld-chan#44904: Peer connection lost
2020-08-15T19:27:50.399Z INFO 031678745383bd273b4c3dbefc8ffbf4847d85c2f62d3407c0c980430b3257c403-chan#44904: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2020-08-15T19:32:52.579Z INFO 031678745383bd273b4c3dbefc8ffbf4847d85c2f62d3407c0c980430b3257c403-channeld-chan#44904: Peer connection lost
2020-08-15T19:32:52.579Z INFO 031678745383bd273b4c3dbefc8ffbf4847d85c2f62d3407c0c980430b3257c403-chan#44904: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2020-08-15T19:37:54.698Z INFO 031678745383bd273b4c3dbefc8ffbf4847d85c2f62d3407c0c980430b3257c403-channeld-chan#44904: Peer connection lost
2020-08-15T19:37:54.699Z INFO 031678745383bd273b4c3dbefc8ffbf4847d85c2f62d3407c0c980430b3257c403-chan#44904: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
2020-08-15T19:42:56.935Z INFO 031678745383bd273b4c3dbefc8ffbf4847d85c2f62d3407c0c980430b3257c403-channeld-chan#44904: Peer connection lost
2020-08-15T19:42:56.935Z INFO 031678745383bd273b4c3dbefc8ffbf4847d85c2f62d3407c0c980430b3257c403-chan#44904: Peer transient failure in CHANNELD_NORMAL: channeld: Owning subdaemon channeld died (62208)
pay: FATAL SIGNAL 11 (version v0.9.0-65-g639eaaf)
0x563253260bef send_backtrace
        common/daemon.c:38
0x563253260c82 crashdump
        common/daemon.c:51
0x7f5101949f1f ???
        ???:0
0x7f5101a74d76 ???
        ???:0
0x56325324b181 attempt_ongoing
        plugins/pay.c:1638
0x56325324b72b listsendpays_done
        plugins/pay.c:1845
0x56325325108c handle_rpc_reply
        plugins/libplugin.c:551
0x563253251179 rpc_read_response_one
        plugins/libplugin.c:682
0x5632532511f0 rpc_conn_read_response
        plugins/libplugin.c:701
0x56325327064c next_plan
        ccan/ccan/io/io.c:59
0x563253270b3b do_plan
        ccan/ccan/io/io.c:407
0x563253270b68 io_ready
        ccan/ccan/io/io.c:417
0x563253272434 io_loop
        ccan/ccan/io/poll.c:445
0x563253251cd1 plugin_main
        plugins/libplugin.c:1314
0x56325324ecba main
        plugins/pay.c:2094
0x7f510192cb96 ???
        ???:0
0x56325324a3f9 ???
        ???:0
0xffffffffffffffff ???
        ???:0
2020-08-15T19:47:05.043Z INFO plugin-pay: Killing plugin: Plugin exited before completing handshake.
2020-08-15T19:47:05.043Z **BROKEN** plugin-pay: Plugin marked as important, shutting down lightningd!
2020-08-15T19:47:05.690Z INFO plugin-autoclean: Killing plugin: Plugin exited before completing handshake.
2020-08-15T19:47:05.690Z INFO plugin-bcli: Killing plugin: Plugin exited before completing handshake.
2020-08-15T19:47:05.709Z INFO plugin-fundchannel: Killing plugin: Plugin exited before completing handshake.
2020-08-15T19:47:05.710Z INFO plugin-keysend: Killing plugin: Plugin exited before completing handshake.
2020-08-15T19:47:05.710Z INFO plugin-sendinvoiceless.py: Killing plugin: Plugin exited before completing handshake.

getinfo output

"version": "v0.9.0-65-g639eaaf"

vincenzopalazzo commented 4 years ago

Can you share also the last commit that your version has?

In addition, what are you trying to do.

I understand that you are trying to do a call to listpays but I don't understand if you try to make an MPP payment or a small payment that it doesn't need to split in more part? can you share more detail about it?

for instance, if you share the last commit for the team is more simply restore the code that you are running on you machine.

Suggestion: you can run the command git log

cdecker commented 4 years ago

This should be addressed by https://github.com/ElementsProject/lightning/pull/3927, which is also part of the v0.9.0-1 release. @sumBTC can you check and confirm?

Duplicate https://github.com/ElementsProject/lightning/issues/3915

ghost commented 4 years ago

Oops I thought I had updated to master but only my test node was updated to master. Closing for now.