Skip to content

Crash while funding channel to previously connected node #1000

Closed
@Sjors

Description

@Sjors

I reconnected to a node that (if I remember correctly) I was connected with in the past and had a channel with.

2018-02-14T15:28:33.994Z lightningd(4314): 023d280ae29f84dcfd289eb66b57227fea3a7bde97ec2869923d3c4d5c6a426028 chan #0: State changed from UNINITIALIZED to OPENINGD
2018-02-14T15:28:33.996Z lightningd(4314): lightning_openingd-023d280ae29f84dcfd289eb66b57227fea3a7bde97ec2869923d3c4d5c6a426028 chan #0: pid 7090, msgfd 21
2018-02-14T15:28:33.997Z lightningd(4314): wallet_channel_save: UNIQUE constraint failed: peers.node_id
2018-02-14T15:28:33.997Z lightningd(4314): FATAL SIGNAL 6 RECEIVED
2018-02-14T15:28:34.005Z lightningd(4314): backtrace: lightningd/log.c:498 (log_crash) 0x55a88d8ad860
2018-02-14T15:28:34.005Z lightningd(4314): backtrace: (null):0 ((null)) 0x7f9c8bb0b13f
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: (null):0 ((null)) 0x7f9c8bb0b0bb
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: (null):0 ((null)) 0x7f9c8bb0cf5c
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: lightningd/log.c:587 (fatal) 0x55a88d8adcb6
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: wallet/db.c:217 (db_exec_prepared_) 0x55a88d8ea585
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: wallet/wallet.c:759 (wallet_channel_save) 0x55a88d8ef664
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: lightningd/peer_control.c:2415 (peer_offer_channel) 0x55a88d8bbec4
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: lightningd/peer_control.c:2492 (gossip_peer_released) 0x55a88d8bc348
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: lightningd/subd.c:306 (sd_msg_reply) 0x55a88d8c213d
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: lightningd/subd.c:454 (sd_msg_read) 0x55a88d8c2755
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: lightningd/subd.c:327 (read_fds) 0x55a88d8c223e
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: ccan/ccan/io/io.c:59 (next_plan) 0x55a88d8fa4b7
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: ccan/ccan/io/io.c:387 (do_plan) 0x55a88d8fafb4
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: ccan/ccan/io/io.c:397 (io_ready) 0x55a88d8faff2
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: ccan/ccan/io/poll.c:310 (io_loop) 0x55a88d8fc93c
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: lightningd/lightningd.c:351 (main) 0x55a88d8abf22
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: (null):0 ((null)) 0x7f9c8baf51c0
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: (null):0 ((null)) 0x55a88d89ea29
2018-02-14T15:28:34.006Z lightningd(4314): backtrace: (null):0 ((null)) 0xffffffffffffffff

In addition, listfunds now shows an empty outputs,, but there's no new channel under listchannels. I also don't think there was an on chain transaction, but not sure.

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