Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash while running in core lightning #38

Open
vincenzopalazzo opened this issue Aug 4, 2023 · 0 comments
Open

crash while running in core lightning #38

vincenzopalazzo opened this issue Aug 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vincenzopalazzo
Copy link
Contributor

vincenzopalazzo commented Aug 4, 2023

I am running the plugin in testnet and I get the following crash.

+250526.678588701 lightningdBROKEN: The Bitcoin backend died.
+250526.689160080 lightningdBROKEN: FATAL SIGNAL 6 (version v23.05-275-gda91e70)

I will look to get more debugs log, but now it is good that we know that this exist

023-08-02T15:59:42.342Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: found 0 new node_announcements in 36 scids
2023-08-02T15:59:42.343Z DEBUG   gossipd: seeker: state = NORMAL No new node_announcements in 36 scids
2023-08-02T15:59:47.067Z DEBUG   plugin-folgore_plugin: call estimate fee info
2023-08-02T15:59:47.087Z DEBUG   plugin-folgore_plugin: Ok(Object {\"delayed_to_us\": Number(1000), \"htlc_resolution\": Number(1000), \"max_acceptable\": Number(2000), \"min_acceptable\": Number(500), \"mutual_close\": Number(1000), \"opening\": Number(1000), \"penalty\": Number(1000), \"unilateral_close\": Number(1000)})
2023-08-02T15:59:53.424Z DEBUG   plugin-folgore_plugin: call get block by height
2023-08-02T15:59:53.428Z INFO    plugin-folgore_plugin: cln request {\"height\":2470422}
2023-08-02T15:59:53.432Z UNUSUAL plugin-folgore_plugin: client `bitcoind` return an error: code: -1, msg: JSON-RPC error: RPC error response: RpcError { code: -8, message: \"Block height out of range\", data: None }
2023-08-02T16:00:17.117Z DEBUG   plugin-folgore_plugin: call estimate fee info
2023-08-02T16:00:17.140Z DEBUG   plugin-folgore_plugin: Ok(Object {\"delayed_to_us\": Number(1000), \"htlc_resolution\": Number(1000), \"max_acceptable\": Number(2000), \"min_acceptable\": Number(500), \"mutual_close\": Number(1000), \"opening\": Number(1000), \"penalty\": Number(1000), \"unilateral_close\": Number(1000)})
2023-08-02T16:00:23.580Z DEBUG   plugin-folgore_plugin: call get block by height
2023-08-02T16:00:23.583Z INFO    plugin-folgore_plugin: cln request {\"height\":2470422}
2023-08-02T16:00:23.588Z UNUSUAL plugin-folgore_plugin: client `bitcoind` return an error: code: -1, msg: JSON-RPC error: RPC error response: RpcError { code: -8, message: \"Block height out of range\", data: None }
2023-08-02T16:00:37.960Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Bad gossip order: WIRE_NODE_ANNOUNCEMENT before announcement 02450e6e5b1ab74cddd87f1c1f81297d20639a8d28879e21ef4b9ca79729a550eb
2023-08-02T16:00:38.011Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Bad gossip order: WIRE_CHANNEL_UPDATE before announcement 2408118x44x0/0
2023-08-02T16:00:38.012Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Bad gossip order: WIRE_CHANNEL_UPDATE before announcement 2406253x39x0/0
2023-08-02T16:00:42.129Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: state = ASKING_FOR_UNKNOWN_SCIDS Asking for 2 scids
2023-08-02T16:00:42.130Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: sending query for 2 scids
2023-08-02T16:00:42.195Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Received channel_announcement for channel 2406253x39x0
2023-08-02T16:00:42.198Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Updated pending announce with update 2406253x39x0/0
2023-08-02T16:00:42.206Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Updated pending announce with update 2406253x39x0/1
2023-08-02T16:00:42.207Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Received channel_announcement for channel 2408118x44x0
2023-08-02T16:00:42.211Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: channel_announcement: no unspent txout 2406253x39x0
2023-08-02T16:00:42.214Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Updated pending announce with update 2408118x44x0/0
2023-08-02T16:00:42.217Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Updated pending announce with update 2408118x44x0/1
2023-08-02T16:00:42.218Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: channel_announcement: no unspent txout 2408118x44x0
2023-08-02T16:00:42.218Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Bad gossip order: WIRE_NODE_ANNOUNCEMENT before announcement 031dd79ae5099003707ae611cb75b2f58c5f6e51a74776d6252bb3e74d003bb6b1
2023-08-02T16:00:42.231Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: state = PROBING_SCIDS Seeking scids 1587085 - 1588108
2023-08-02T16:00:42.232Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: sending query_channel_range for blocks 1587085+1024
2023-08-02T16:00:42.293Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: reply_channel_range 1587085+1024 (of 1587085+1024) 0 scids
2023-08-02T16:00:42.295Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: state = PROBING_NANNOUNCES Probing for 36 scids
2023-08-02T16:00:42.295Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: sending query for 36 scids
2023-08-02T16:00:42.346Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: found 0 new node_announcements in 36 scids
2023-08-02T16:00:42.346Z DEBUG   gossipd: seeker: state = NORMAL No new node_announcements in 36 scids
2023-08-02T16:00:47.150Z DEBUG   plugin-folgore_plugin: call estimate fee info
2023-08-02T16:00:47.171Z DEBUG   plugin-folgore_plugin: Ok(Object {\"delayed_to_us\": Number(1000), \"htlc_resolution\": Number(1000), \"max_acceptable\": Number(2000), \"min_acceptable\": Number(500), \"mutual_close\": Number(1000), \"opening\": Number(1000), \"penalty\": Number(1000), \"unilateral_close\": Number(1000)})
2023-08-02T16:00:53.733Z DEBUG   plugin-folgore_plugin: call get block by height
2023-08-02T16:00:53.736Z INFO    plugin-folgore_plugin: cln request {\"height\":2470422}
2023-08-02T16:00:53.741Z UNUSUAL plugin-folgore_plugin: client `bitcoind` return an error: code: -1, msg: JSON-RPC error: RPC error response: RpcError { code: -8, message: \"Block height out of range\", data: None }
2023-08-02T16:01:17.199Z DEBUG   plugin-folgore_plugin: call estimate fee info
2023-08-02T16:01:17.219Z DEBUG   plugin-folgore_plugin: Ok(Object {\"delayed_to_us\": Number(1000), \"htlc_resolution\": Number(1000), \"max_acceptable\": Number(2000), \"min_acceptable\": Number(500), \"mutual_close\": Number(1000), \"opening\": Number(1000), \"penalty\": Number(1000), \"unilateral_close\": Number(1000)})
2023-08-02T16:01:23.889Z DEBUG   plugin-folgore_plugin: call get block by height
2023-08-02T16:01:23.893Z INFO    plugin-folgore_plugin: cln request {\"height\":2470422}
2023-08-02T16:01:24.031Z DEBUG   lightningd: Adding block 2470422: 0000000000000000f7a7ef66bbce4b6fa07ef866cb15f3c55deff3eff574c75e
2023-08-02T16:01:24.094Z DEBUG   plugin-folgore_plugin: call get block by height
2023-08-02T16:01:24.097Z INFO    plugin-folgore_plugin: cln request {\"height\":2470423}
2023-08-02T16:01:24.101Z UNUSUAL plugin-folgore_plugin: client `bitcoind` return an error: code: -1, msg: JSON-RPC error: RPC error response: RpcError { code: -8, message: \"Block height out of range\", data: None }
2023-08-02T16:01:24.237Z DEBUG   03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880-chan#2: Got depth change 53831->53832 for 9b637dfbffb83f40db5194e15257e3890b4d8b9866ae8ab6915fecae63fd11fd
2023-08-02T16:01:24.238Z DEBUG   03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880-chan#2: Funding tx 9b637dfbffb83f40db5194e15257e3890b4d8b9866ae8ab6915fecae63fd11fd depth 53832 of 1
2023-08-02T16:01:24.239Z DEBUG   03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880-chan#2: Funding tx 9b637dfbffb83f40db5194e15257e3890b4d8b9866ae8ab6915fecae63fd11fd confirmed, but peer disconnected
2023-08-02T16:01:24.240Z DEBUG   02049b60c296ffead3e7c8b124c5730153403a8314c1116c2d1b43cf9ac0de2d9d-chan#4: attempting update blockheight ea385d422152ab22b73dad52ac0151526bc4a633d0a54b74cbb723f3c6c38b2a
2023-08-02T16:01:24.240Z DEBUG   03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880-chan#2: attempting update blockheight 263eff3a27fa698fd40dcbe50e5b18474f10661ca8abc819f9a564fe906c2006
2023-08-02T16:01:24.240Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-chan#1: attempting update blockheight d96e959dd0a775a9ff7890d60d667e4d353e7e04b48bbd9a53ca631d649b96d5
2023-08-02T16:01:24.262Z DEBUG   gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds
2023-08-02T16:01:37.961Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Received channel_update for channel 2443140x2x0/0 now DISABLED
2023-08-02T16:01:42.134Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: state = PROBING_SCIDS Seeking scids 1525583 - 1535582
2023-08-02T16:01:42.135Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: sending query_channel_range for blocks 1525583+10000
2023-08-02T16:01:42.195Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: reply_channel_range 1525583+10000 (of 1525583+10000) 0 scids
2023-08-02T16:01:42.196Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: state = PROBING_NANNOUNCES Probing for 36 scids
2023-08-02T16:01:42.197Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: sending query for 36 scids
2023-08-02T16:01:42.247Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: found 0 new node_announcements in 36 scids
2023-08-02T16:01:42.248Z DEBUG   gossipd: seeker: state = NORMAL No new node_announcements in 36 scids
2023-08-02T16:01:47.229Z DEBUG   plugin-folgore_plugin: call estimate fee info
2023-08-02T16:01:47.249Z DEBUG   plugin-folgore_plugin: Ok(Object {\"delayed_to_us\": Number(1000), \"htlc_resolution\": Number(1000), \"max_acceptable\": Number(2000), \"min_acceptable\": Number(500), \"mutual_close\": Number(1000), \"opening\": Number(1000), \"penalty\": Number(1000), \"unilateral_close\": Number(1000)})
2023-08-02T16:01:54.250Z DEBUG   plugin-folgore_plugin: call get block by height
2023-08-02T16:01:54.254Z INFO    plugin-folgore_plugin: cln request {\"height\":2470423}
2023-08-02T16:01:54.264Z UNUSUAL plugin-folgore_plugin: client `bitcoind` return an error: code: -1, msg: JSON-RPC error: RPC error response: RpcError { code: -8, message: \"Block height out of range\", data: None }
2023-08-02T16:02:03.027Z DEBUG   gossipd: REPLY WIRE_GOSSIPD_GET_ADDRS_REPLY with 0 fds
2023-08-02T16:02:06.152Z DEBUG   03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880-connectd: Failed connected out: All addresses failed: [2001:b07:5d37:537d:e80b:d8b9:5446:286f]:32846: Connection establishment: No route to host. iopzsfi3pbtrimnovncctjthmot7nb6pvh2swr6pqvizmisy4ts62lid.onion:19735: need a proxy. 
2023-08-02T16:02:06.153Z DEBUG   03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880-lightningd: Will try reconnect in 300 seconds
2023-08-02T16:02:14.284Z DEBUG   02049b60c296ffead3e7c8b124c5730153403a8314c1116c2d1b43cf9ac0de2d9d-gossipd: Received channel_update for channel 2440225x26x0/0 now DISABLED
2023-08-02T16:02:17.257Z DEBUG   plugin-folgore_plugin: call estimate fee info
2023-08-02T16:02:17.277Z DEBUG   plugin-folgore_plugin: Ok(Object {\"delayed_to_us\": Number(1000), \"htlc_resolution\": Number(1000), \"max_acceptable\": Number(2000), \"min_acceptable\": Number(500), \"mutual_close\": Number(1000), \"opening\": Number(1000), \"penalty\": Number(1000), \"unilateral_close\": Number(1000)})
2023-08-02T16:02:24.414Z DEBUG   plugin-folgore_plugin: call get block by height
2023-08-02T16:02:24.421Z INFO    plugin-folgore_plugin: cln request {\"height\":2470423}
2023-08-02T16:02:24.425Z UNUSUAL plugin-folgore_plugin: client `bitcoind` return an error: code: -1, msg: JSON-RPC error: RPC error response: RpcError { code: -8, message: \"Block height out of range\", data: None }
2023-08-02T16:02:37.959Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Bad gossip order: WIRE_CHANNEL_UPDATE before announcement 2346882x31x15/1
2023-08-02T16:02:38.011Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Received channel_update for channel 2432156x47x1/1 now ACTIVE
2023-08-02T16:02:42.138Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: state = ASKING_FOR_UNKNOWN_SCIDS Asking for 1 scids
2023-08-02T16:02:42.139Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: sending query for 1 scids
2023-08-02T16:02:42.199Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: Received channel_announcement for channel 2346882x31x15
2023-08-02T16:02:42.203Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: channel_announcement: no unspent txout 2346882x31x15
2023-08-02T16:02:42.247Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: state = PROBING_SCIDS Seeking scids 1474782 - 1475805
2023-08-02T16:02:42.248Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: sending query_channel_range for blocks 1474782+1024
2023-08-02T16:02:42.311Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: reply_channel_range 1474782+1024 (of 1474782+1024) 0 scids
2023-08-02T16:02:42.312Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: state = PROBING_NANNOUNCES Probing for 36 scids
2023-08-02T16:02:42.313Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: sending query for 36 scids
2023-08-02T16:02:42.364Z DEBUG   030b686a163aa2bba03cebb8bab7778fac251536498141df0a436d688352d426f6-gossipd: seeker: found 0 new node_announcements in 36 scids
2023-08-02T16:02:42.364Z DEBUG   gossipd: seeker: state = NORMAL No new node_announcements in 36 scids
2023-08-02T16:03:14.213Z DEBUG   02049b60c296ffead3e7c8b124c5730153403a8314c1116c2d1b43cf9ac0de2d9d-gossipd: Received channel_update for channel 2443140x2x0/0 now ACTIVE
2023-08-02T16:03:14.286Z DEBUG   02049b60c296ffead3e7c8b124c5730153403a8314c1116c2d1b43cf9ac0de2d9d-gossipd: Received channel_update for channel 2440225x26x0/0 now ACTIVE
2023-08-02T16:03:24.633Z INFO    plugin-folgore_plugin: Killing plugin: exited during normal operation
2023-08-02T16:03:24.634Z **BROKEN** lightningd: The Bitcoin backend died.
2023-08-02T16:03:24.644Z **BROKEN** lightningd: FATAL SIGNAL 6 (version v23.05-275-gda91e70)

@vincenzopalazzo vincenzopalazzo added the bug Something isn't working label Aug 4, 2023
@vincenzopalazzo vincenzopalazzo self-assigned this Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant