Closed robtex closed 6 years ago
@robtex Do you have more logs prior to the crash? It would help determining what is trying to be restored.
Sorry no, can't keep logs until the fetching chan anns for 1 chans
is fixed. had to delete all logs this morning since the log partition was full.
@Xian001, your panic is due to a different issue. The fix for it is being tracked in https://github.com/btcsuite/btcwallet/pull/540. Once that's merged, we'll need to update the btcwallet
dependency on the lnd
side.
Please update this if seen on v0.5+.
I'm seeing this issue after I updated to LND 0.5 Have a look at the output below. I upgraded to LND 0.5 and could connect ZAP well. Then I opened a channel, and from then everytime I would connect ZAP, LND would immediately crash.
2018-09-18 22:30:59.509 [INF] RPCS: [listchannels] fetched 14 channels from DB
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xcf2a5d]
goroutine 14511 [running]:
main.(*rpcServer).GetTransactions(0xc0001ea870, 0x120ef00, 0xc010ffe120, 0x1a34638, 0xc0001ea870, 0xc0107dc380, 0xc0002a37a0)
/home/loysan/go/src/github.com/lightningnetwork/lnd/rpcserver.go:3021 +0x20d
github.com/lightningnetwork/lnd/lnrpc._Lightning_GetTransactions_Handler.func1(0x120ef00, 0xc010ffe120, 0xe98c20, 0x1a34638, 0x1, 0x1, 0x0, 0x0)
/home/loysan/go/src/github.com/lightningnetwork/lnd/lnrpc/rpc.pb.go:6271 +0x89
github.com/lightningnetwork/lnd/macaroons.(*Service).UnaryServerInterceptor.func1(0x120ef00, 0xc010ffe120, 0xe98c20, 0x1a34638, 0xc0107dc360, 0xc0107dc380, 0xc012c7ab50, 0x40e368, 0x50, 0xf3c6e0)
/home/loysan/go/src/github.com/lightningnetwork/lnd/macaroons/service.go:126 +0x153
github.com/lightningnetwork/lnd/lnrpc._Lightning_GetTransactions_Handler(0xf94700, 0xc0001ea870, 0x120ef00, 0xc010ffe120, 0xc0113f2140, 0xc0108544c0, 0x0, 0x0, 0x0, 0x0)
/home/loysan/go/src/github.com/lightningnetwork/lnd/lnrpc/rpc.pb.go:6273 +0x158
github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc000488000, 0x12145e0, 0xc010bbc180, 0xc0002d6d00, 0xc0001ea9f0, 0x19f2490, 0xc010ffe180, 0x0, 0x0)
/home/loysan/go/src/github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc/server.go:781 +0x8ec
github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc.(*Server).handleStream(0xc000488000, 0x12145e0, 0xc010bbc180, 0xc0002d6d00, 0xc010ffe180)
/home/loysan/go/src/github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc/server.go:981 +0x1308
github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc012439840, 0xc000488000, 0x12145e0, 0xc010bbc180, 0xc0002d6d00)
/home/loysan/go/src/github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc/server.go:551 +0x9f
created by github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
/home/loysan/go/src/github.com/lightningnetwork/lnd/vendor/google.golang.org/grpc/server.go:549 +0xa1```
@Liongrass Looks like you are running into #1915, which is fixed in latest master :)
Fixed by #1905.
lnd version 0.4.2-beta commit=26f68da5b2883885fcf6a8e79b3fc9bb12cc9eef