-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Background
We have a casa node user who's lnd instance is crashing on boot. It looks like it is happening even before lnd is unlocked. Meaning, as soon as the lnd container starts running.
We are going to recover the funds for this user via SCB. I'm assuming there is a database corruption somewhere. I wanted to drop the error logs in here on the off chance that it would be helpful.
Logs,
2019-09-03T01:26:19Z lnd UNKNOWN[1340] panic: runtime error: index out of range
2019-09-03T01:26:19Z lnd UNKNOWN[1340]
2019-09-03T01:26:19Z lnd UNKNOWN[1340] goroutine 1 [running]:
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*leafPageElement).key(...)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/page.go:120
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*Cursor).nsearch.func2(0x6926, 0x2842960)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/cursor.go:328 +0xac
2019-09-03T01:26:19Z lnd UNKNOWN[1340] sort.Search(0xd24c, 0x35cd568, 0x57e48)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/usr/local/go/src/sort/search.go:66 +0x54
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*Cursor).nsearch(0x35cd6ec, 0x6204c5b0, 0x8, 0x8)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/cursor.go:327 +0xb8
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*Cursor).search(0x35cd6ec, 0x6204c5b0, 0x8, 0x8, 0x1d2d, 0x0)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/cursor.go:257 +0x158
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*Cursor).searchPage(0x35cd6ec, 0x6204c5b0, 0x8, 0x8, 0x62c7b000)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/cursor.go:308 +0x118
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*Cursor).search(0x35cd6ec, 0x6204c5b0, 0x8, 0x8, 0x4210, 0x0)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/cursor.go:265 +0x134
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*Cursor).seek(0x35cd6ec, 0x6204c5b0, 0x8, 0x8, 0x0, 0x0, 0x76f01368, 0x0, 0x1f9, 0x1f9, ...)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/cursor.go:159 +0x70
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*Bucket).Get(0x3005260, 0x6204c5b0, 0x8, 0x8, 0xccb3007, 0x40, 0x46a2a6c1)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/bucket.go:260 +0x98
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/lightningnetwork/lnd/channeldb.fetchChanEdgeInfo(0x3005260, 0x6204c5b0, 0x8, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/channeldb/graph.go:3471 +0x44
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/lightningnetwork/lnd/channeldb.(*ChannelGraph).ChannelView.func1.1(0x6204c58c, 0x24, 0x24, 0x6204c5b0, 0x8, 0x8, 0x8, 0x0)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/channeldb/graph.go:3038 +0xdc
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*Bucket).ForEach(0x3005220, 0x35cdc28, 0xa, 0xa)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/bucket.go:388 +0xf8
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/lightningnetwork/lnd/channeldb.(*ChannelGraph).ChannelView.func1(0x32d2b00, 0xcdc8d8, 0x32d2b00)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/channeldb/graph.go:3029 +0x11c
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/coreos/bbolt.(*DB).View(0x2a56000, 0x35cdc6c, 0x0, 0x0)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/pkg/mod/github.com/coreos/[email protected]/db.go:719 +0x84
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/lightningnetwork/lnd/channeldb.(*ChannelGraph).ChannelView(0x2c0aa50, 0x2954680, 0x0, 0x0, 0x0, 0x0)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/channeldb/graph.go:3009 +0x60
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/lightningnetwork/lnd/routing.(*ChannelRouter).Start(0x2886930, 0x0, 0x0)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/routing/router.go:495 +0x464
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/lightningnetwork/lnd.(*server).Start.func1()
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/server.go:1197 +0x418
2019-09-03T01:26:19Z lnd UNKNOWN[1340] sync.(*Once).Do(0x29ce288, 0x29b2d98)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/usr/local/go/src/sync/once.go:44 +0xb8
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/lightningnetwork/lnd.(*server).Start(0x29ce280, 0xb933e1, 0x2e)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/server.go:1125 +0x64
2019-09-03T01:26:19Z lnd UNKNOWN[1340] github.com/lightningnetwork/lnd.Main(0x0, 0x0)
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/lnd.go:473 +0xe34
2019-09-03T01:26:19Z lnd UNKNOWN[1340] main.main()
2019-09-03T01:26:19Z lnd UNKNOWN[1340] #011/go/src/github.com/lightningnetwork/lnd/cmd/lnd/main.go:14 +0x14
Your environment
- lnd 0.7.0
- Linux casa-node 4.14.70-v7+ Fixing some README typos #2 SMP Wed Sep 19 07:49:26 UTC 2018 armv7l GNU/Linux
- bitcoind 0.18.0
- Running in Docker containers with docker-compose.
Metadata
Metadata
Assignees
Labels
No labels