-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
32-bitarchitectureRelated to system designRelated to system designbugUnintended code behaviourUnintended code behaviourneeds triage
Milestone
Description
Background
v0.19.0-beta version crashes with panic: unaligned 64-bit atomic operation
:
May 22 21:23:50 odroid-hc1 lnd[17009]: panic: unaligned 64-bit atomic operation
May 22 21:23:50 odroid-hc1 lnd[17009]: goroutine 1 [running]:
May 22 21:23:50 odroid-hc1 lnd[17009]: internal/runtime/atomic.panicUnaligned()
May 22 21:23:50 odroid-hc1 lnd[17009]: /root/code/golang/go.git/src/internal/runtime/atomic/unaligned.go:8 +0x24
May 22 21:23:50 odroid-hc1 lnd[17009]: internal/runtime/atomic.Load64(0x554a044)
May 22 21:23:50 odroid-hc1 lnd[17009]: /root/code/golang/go.git/src/internal/runtime/atomic/atomic_arm.s:344 +0x14
May 22 21:23:50 odroid-hc1 lnd[17009]: github.com/btcsuite/btclog/v2.(*DefaultHandler).Level(0x554a040)
May 22 21:23:50 odroid-hc1 lnd[17009]: /home/lnd/lnd.go/pkg/mod/github.com/btcsuite/btclog/v2@v2.0.1-0.20250110154127-3ae4bf1cb318/handler.go:143 +0x24
May 22 21:23:50 odroid-hc1 lnd[17009]: github.com/btcsuite/btclog/v2.NewSLogger({0x20acf5c, 0x554a040})
May 22 21:23:50 odroid-hc1 lnd[17009]: /home/lnd/lnd.go/pkg/mod/github.com/btcsuite/btclog/v2@v2.0.1-0.20250110154127-3ae4bf1cb318/log.go:62 +0x100
May 22 21:23:50 odroid-hc1 lnd[17009]: github.com/btcsuite/btclog/v2.init.0()
May 22 21:23:50 odroid-hc1 lnd[17009]: /home/lnd/lnd.go/pkg/mod/github.com/btcsuite/btclog/v2@v2.0.1-0.20250110154127-3ae4bf1cb318/log.go:336 +0x54
May 22 21:23:50 odroid-hc1 systemd[1]: lnd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 22 21:23:50 odroid-hc1 systemd[1]: lnd.service: Failed with result 'exit-code'.
Your environment
v0.19.0-beta
Linux odroid-hc1 6.1.0-35-armmp-lpae #1 SMP Debian 6.1.137-1 (2025-05-07) armv7l GNU/Linux
, Debian 12go1.24.3
Steps to reproduce
Build and attempt to run v0.19.0-beta on armv7l
Expected behaviour
v0.19.0-beta
should work fine on armv7l
as all previous versions did for me.
Actual behaviour
lnd crashes with panic.
Metadata
Metadata
Assignees
Labels
32-bitarchitectureRelated to system designRelated to system designbugUnintended code behaviourUnintended code behaviourneeds triage