Skip to content

Fatal signal 6 after getblock fails. #2779

Description

@dan-da

I'm still having trouble getting lightningd to run reliably against spruned. Both operating over tor. Maybe slow tor/network is a root cause, but I don't think lightningd should crash because of it.

What I notice is that:

  1. there will be some calls to getblock that fail exiting with status 1. These seems to be handled ok.

  2. The crash occurs after a different log message is printed containing the string "(after xx other errors)".

2019-06-29T11:32:16.241Z lightningd(15089): bitcoin-cli -datadir=/home/c-lightning/.bitcoin getblock 000000000000000000153dc4fc7ec2aa952cbcaeecbdb15cf1b5526e1924ca17 false exited with status 1
2019-06-29T11:32:18.330Z lightningd(15089): bitcoin-cli -datadir=/home/c-lightning/.bitcoin getblock 000000000000000000153dc4fc7ec2aa952cbcaeecbdb15cf1b5526e1924ca17 false exited with status 1
2019-06-29T11:32:20.436Z lightningd(15089): bitcoin-cli -datadir=/home/c-lightning/.bitcoin getblock 000000000000000000153dc4fc7ec2aa952cbcaeecbdb15cf1b5526e1924ca17 false exited with status 1
2019-06-29T11:32:22.330Z lightningd(15089): bitcoin-cli -datadir=/home/c-lightning/.bitcoin getblock 000000000000000000153dc4fc7ec2aa952cbcaeecbdb15cf1b5526e1924ca17 false exited 1 (after 16 other errors) 'error code: -1?error message:?Server error?'
2019-06-29T11:32:23.099Z lightningd(15089): FATAL SIGNAL 6 (version v0.7.1rc4)
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: common/daemon.c:45 (send_backtrace) 0x4296b5
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: common/daemon.c:53 (crashdump) 0x4296fb
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: (null):0 ((null)) 0x7f24217fccaf
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: (null):0 ((null)) 0x7f24217fcc37
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: (null):0 ((null)) 0x7f2421800027
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: lightningd/log.c:622 (fatal) 0x413a3e
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: lightningd/bitcoind.c:150 (bcli_failure) 0x4047e0
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: lightningd/bitcoind.c:197 (bcli_finished) 0x4049bf
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: ccan/ccan/io/poll.c:244 (destroy_conn) 0x457ca9
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: ccan/ccan/io/poll.c:250 (destroy_conn_close_fd) 0x457cc2
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: ccan/ccan/tal/tal.c:235 (notify) 0x4600bf
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: ccan/ccan/tal/tal.c:397 (del_tree) 0x46015c
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: ccan/ccan/tal/tal.c:481 (tal_free) 0x460696
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: ccan/ccan/io/io.c:450 (io_close) 0x456a7b
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: ccan/ccan/io/poll.c:449 (io_loop) 0x4581f9
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: lightningd/io_loop_with_timers.c:24 (io_loop_with_timers) 0x40e7f3
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: lightningd/lightningd.c:827 (main) 0x412285
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: (null):0 ((null)) 0x7f24217e7f44
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: (null):0 ((null)) 0x403d2d
2019-06-29T11:32:23.099Z lightningd(15089): backtrace: (null):0 ((null)) 0xffffffffffffffff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions