Rusty Russell
22f7a620e6
lightningd: fix crash on fixup scan if block unavailable.
```
lightningd: FATAL SIGNAL 11 (version v25.12rc3-1-g498c5b6)
0x5cc2f620ce4c send_backtrace
common/daemon.c:38
0x5cc2f620cee8 crashdump
common/daemon.c:83
0x7e3ac1e4532f ???
./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x5cc2f615f186 fixup_scan_block
lightningd/chaintopology.c:1531
0x5cc2f615c22c getrawblockbyheight_callback
lightningd/bitcoind.c:484
0x5cc2f61aee87 plugin_response_handle
lightningd/plugin.c:701
0x5cc2f61b4043 plugin_read_json
lightningd/plugin.c:790
0x5cc2f6248d8b next_plan
ccan/ccan/io/io.c:60
0x5cc2f624925c do_plan
ccan/ccan/io/io.c:422
0x5cc2f6249319 io_ready
ccan/ccan/io/io.c:439
0x5cc2f624ad24 io_loop
ccan/ccan/io/poll.c:470
0x5cc2f618381a io_loop_with_timers
lightningd/io_loop_with_timers.c:22
0x5cc2f61892ff main
```
This happens intermittantly on in a few tests:
tests/test_invoices.py::test_invoice_botched_migration
tests/test_pay.py::test_pay_bolt11_metadata
tests/test_runes.py::test_id_migration
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: lightningd: potential crash on startup if bitcoind isn't up-to-date.
2025-12-10 14:43:45 +10:30
..
2025-11-28 09:16:53 +10:30
2025-10-23 06:44:04 +10:30
2025-10-24 11:30:17 +10:30
2025-11-19 07:23:39 +10:30
2025-12-10 14:43:45 +10:30
2025-11-29 08:18:20 +10:30
2025-11-19 07:23:39 +10:30
2025-05-15 16:40:33 +09:30
2025-11-19 14:29:08 +10:30
2025-05-15 16:40:33 +09:30
2025-10-23 06:44:04 +10:30
2025-11-19 07:23:39 +10:30
2025-11-19 07:23:39 +10:30
2025-11-19 07:23:39 +10:30
2025-11-19 07:23:39 +10:30
2025-11-19 07:23:39 +10:30
2024-11-25 20:23:21 +10:30
2025-11-13 21:21:29 +10:30
2025-08-19 13:37:50 +09:30
2025-10-26 12:37:58 +10:30
2025-11-20 16:30:50 +10:30
2025-11-12 13:58:43 +10:30
2025-10-23 06:44:04 +10:30
2025-11-19 07:23:39 +10:30
2025-10-23 06:44:04 +10:30
2025-10-23 06:44:04 +10:30
2025-10-23 06:44:04 +10:30
2025-11-17 09:14:19 +10:30
2025-10-23 06:44:04 +10:30
2025-11-13 21:21:29 +10:30
2025-10-26 12:37:58 +10:30
2025-10-26 12:37:58 +10:30
2025-11-13 21:21:29 +10:30
2025-08-14 18:57:05 +09:30
2025-11-10 15:05:27 +10:30
2025-11-10 15:05:27 +10:30
2025-11-17 10:56:18 +10:30
2025-11-10 15:05:27 +10:30
2025-11-27 15:04:20 +10:30
2025-08-18 10:01:07 +09:30
2025-11-19 07:23:39 +10:30
2025-11-13 21:21:29 +10:30
2025-11-13 21:21:29 +10:30
2024-12-16 09:48:51 +10:30
2025-10-23 06:44:04 +10:30
2025-11-19 14:29:08 +10:30
2025-11-18 14:28:22 +10:30
2025-10-01 12:12:56 +09:30
2025-10-24 16:23:37 +10:30
2025-11-19 07:23:39 +10:30
2025-10-23 06:44:04 +10:30
2025-10-23 06:44:04 +10:30
2025-11-19 07:23:39 +10:30
2025-11-19 07:23:39 +10:30
2025-11-13 21:21:29 +10:30
2025-03-12 09:26:08 +10:30
2025-11-13 21:21:29 +10:30
2024-10-27 13:57:50 +11:00
2025-11-19 07:23:39 +10:30
2025-11-19 07:23:39 +10:30
2025-10-23 06:44:04 +10:30
2025-11-17 10:56:18 +10:30
2025-08-14 18:57:05 +09:30
2025-10-23 06:44:04 +10:30
2025-08-14 17:35:39 +09:30
2025-10-23 06:44:04 +10:30
2025-11-20 16:30:50 +10:30
2025-11-20 16:30:50 +10:30
2025-11-20 16:30:50 +10:30
2025-11-20 16:30:50 +10:30
2025-10-23 06:44:04 +10:30
2025-11-13 21:21:29 +10:30
2025-10-23 06:44:04 +10:30
2025-10-23 06:44:04 +10:30
2025-10-23 06:44:04 +10:30
2025-11-12 13:58:43 +10:30
2025-11-12 13:58:43 +10:30
2025-01-21 09:18:25 +10:30
2025-01-21 09:18:25 +10:30