Browse Source
We set hout->key.id when channeld tells us what it is, but if channeld dies before that we free the hout, and our destructor logs it: Valgrind error file: valgrind-errors.20312 ==20312== Use of uninitialised value of size 8 ==20312== at 0x53ABC9B: _itoa_word (_itoa.c:179) ==20312== by 0x53B041F: vfprintf (vfprintf.c:1642) ==20312== by 0x53B17D5: buffered_vfprintf (vfprintf.c:2330) ==20312== by 0x53AEAA5: vfprintf (vfprintf.c:1301) ==20312== by 0x53B7D63: fprintf (fprintf.c:32) ==20312== by 0x128BAC: hout_subd_died (peer_htlcs.c:316) ==20312== by 0x16D8E0: notify (tal.c:240) ==20312== by 0x16DD95: del_tree (tal.c:400) ==20312== by 0x16DDE7: del_tree (tal.c:410) ==20312== by 0x16DDE7: del_tree (tal.c:410) ==20312== by 0x16E1B4: tal_free (tal.c:509) ==20312== by 0x162B5C: io_close (io.c:443) ==20312== by 0x12D563: sd_msg_read (subd.c:508) ==20312== by 0x161EA5: next_plan (io.c:59) ==20312== by 0x1629A2: do_plan (io.c:387) ==20312== by 0x1629E0: io_ready (io.c:397) ==20312== by 0x164319: io_loop (poll.c:305) ==20312== by 0x118E21: main (lightningd.c:334) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
committed by
Christian Decker
3 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue