lightningnetwork/lnd

Running LND -> unexpected fault address 0x7ff72ff0b010

danielhw2 opened this issue · 0 comments

Background

I had 2 HDs in raid1 and the raid failed. I was running LND 0.10.0.
I installed a new system with the remaining HD containing the data files (lnd folder).

The new system:

  • Version of lnd: 0.10.3 beta
  • Operating system: Debian 10.4 amd64
  • Bitcoin version: v0.20.0

The user running the service has all the privileges and can read and write in the folders.
Bitcoind working fine...
When I run the "LND" command the service crash, showing the following messages:

What can I do to resolve this??

MESSAGES FROM LND:

$ lnd

Attempting automatic RPC configuration to bitcoind
Automatically obtained bitcoind's RPC credentials
2020-07-08 00:08:24.180 [INF] LTND: Version: 0.10.3-beta commit=v0.10.3-beta, build=production, logging=default
2020-07-08 00:08:24.180 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2020-07-08 00:08:24.180 [INF] LTND: Opening the main database, this might take a few minutes...
unexpected fault address 0x7f959f093010
fatal error: fault
[signal SIGBUS: bus error code=0x2 addr=0x7f959f093010 pc=0x7b0546]

goroutine 1 [running]:
runtime.throw(0x133163c, 0x5)
runtime/panic.go:774 +0x72 fp=0xc00048b0e0 sp=0xc00048b0b0 pc=0x42f542
runtime.sigpanic()
runtime/signal_unix.go:391 +0x455 fp=0xc00048b110 sp=0xc00048b0e0 pc=0x444ca5
go.etcd.io/bbolt.(*meta).validate(0x7f959f093010, 0x0, 0x0)
go.etcd.io/bbolt@v1.3.5-0.20200615073812-232d8fc87f50/db.go:1128 +0x26 fp=0xc00048b130 sp=0xc00048b110 pc=0x7b0546
go.etcd.io/bbolt.(*DB).mmap(0xc000304000, 0x0, 0x0, 0x0)
go.etcd.io/bbolt@v1.3.5-0.20200615073812-232d8fc87f50/db.go:372 +0x2e8 fp=0xc00048b1f0 sp=0xc00048b130 pc=0x7ad798
go.etcd.io/bbolt.Open(0xc00022c1e0, 0x30, 0xc000000180, 0xc00048b328, 0x203000, 0x0, 0x0)
go.etcd.io/bbolt@v1.3.5-0.20200615073812-232d8fc87f50/db.go:277 +0x339 fp=0xc00048b2d8 sp=0xc00048b1f0 pc=0x7acf29
github.com/btcsuite/btcwallet/walletdb/bdb.openDB(0xc00022c1e0, 0x30, 0xc0000b0001, 0x2, 0x2, 0xc00022c1e0, 0x30)
github.com/btcsuite/btcwallet/walletdb@v1.3.3/bdb/db.go:382 +0xd5 fp=0xc00048b388 sp=0xc00048b2d8 pc=0x7c2b75
github.com/btcsuite/btcwallet/walletdb/bdb.openDBDriver(0xc0000be1a0, 0x2, 0x2, 0x3, 0xc00003c3c8, 0x1, 0xc0000be1a0)
github.com/btcsuite/btcwallet/walletdb@v1.3.3/bdb/driver.go:50 +0xaf fp=0xc00048b3e8 sp=0xc00048b388 pc=0x7c33af
github.com/btcsuite/btcwallet/walletdb.Open(0x133012b, 0x3, 0xc0000be1a0, 0x2, 0x2, 0x1, 0xc00048b518, 0x526c2b, 0x1f78020)
github.com/btcsuite/btcwallet/walletdb@v1.3.3/interface.go:363 +0x86 fp=0xc00048b430 sp=0xc00048b3e8 pc=0x7a4466
github.com/lightningnetwork/lnd/channeldb.Open(0xc00022c1b0, 0x25, 0xc00048bdf8, 0x4, 0x4, 0x0, 0x0, 0xc0002bacb0)
github.com/lightningnetwork/lnd@/channeldb/db.go:175 +0x2d3 fp=0xc00048b588 sp=0xc00048b430 pc=0xa553a3
github.com/lightningnetwork/lnd.Main(0xc000093880, 0x0, 0x0, 0xc0000a6180, 0x0, 0x0)
github.com/lightningnetwork/lnd@/lnd.go:261 +0x575 fp=0xc00048bef8 sp=0xc00048b588 pc=0xf5ff05
main.main()
github.com/lightningnetwork/lnd@/cmd/lnd/main.go:26 +0xc3 fp=0xc00048bf60 sp=0xc00048bef8 pc=0xfd4753
runtime.main()
runtime/proc.go:203 +0x206 fp=0xc00048bfe0 sp=0xc00048bf60 pc=0x430ec6
runtime.goexit()
runtime/asm_amd64.s:1357 +0x1 fp=0xc00048bfe8 sp=0xc00048bfe0 pc=0x45ef81

goroutine 28 [syscall]:
os/signal.signal_recv(0x3a9289004bdc12)
runtime/sigqueue.go:147 +0x9c
os/signal.loop()
os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
os/signal/signal_unix.go:29 +0x41

goroutine 9 [select]:
io.(*pipe).Read(0xc000017180, 0xc0002e4000, 0x1000, 0x1000, 0xc000250da8, 0x4c9cc1, 0xc000047140)
io/pipe.go:50 +0xe7
io.(*PipeReader).Read(0xc0000c8280, 0xc0002e4000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
io/pipe.go:127 +0x4c
bufio.(*Reader).fill(0xc000250ef8)
bufio/bufio.go:100 +0x103
bufio.(*Reader).ReadSlice(0xc000250ef8, 0xa, 0x1, 0x0, 0x0, 0x0, 0x0)
bufio/bufio.go:359 +0x3d
bufio.(*Reader).ReadLine(0xc000250ef8, 0x1e9703c, 0x1, 0x1, 0x1, 0x0, 0x0)
bufio/bufio.go:388 +0x34
github.com/jrick/logrotate/rotator.(*Rotator).Run(0xc000090e00, 0x1630e60, 0xc0000c8280, 0x0, 0x0)
github.com/jrick/logrotate@v1.0.0/rotator/rotator.go:100 +0x8f
github.com/lightningnetwork/lnd/build.(*RotatingLogWriter).InitLogRotator.func1(0xc000212cf0, 0xc0000c8280)
github.com/lightningnetwork/lnd@/build/logrotator.go:80 +0x49
created by github.com/lightningnetwork/lnd/build.(*RotatingLogWriter).InitLogRotator
github.com/lightningnetwork/lnd@/build/logrotator.go:79 +0x314

goroutine 29 [select]:
github.com/lightningnetwork/lnd/signal.mainInterruptHandler()
github.com/lightningnetwork/lnd@/signal/signal.go:71 +0x106
created by github.com/lightningnetwork/lnd/signal.Intercept
github.com/lightningnetwork/lnd@/signal/signal.go:39 +0xee