Panic at start of Playback

Any thoughts on what is causing this panic. It happens when I start playback on a file in Local Content.

Thanks for any help.

panic: unaligned 64-bit atomic operation

goroutine 231682 [running]:
runtime/internal/atomic.panicUnaligned()
runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Xadd64(0x45fd1c4, 0x1, 0x0, 0x4db85c0, 0x520ea10)
runtime/internal/atomic/asm_arm.s:233 +0x14
github.com/blugelabs/bluge/index.(*Writer).persisterLoop(0x45fd000, 0x4db8700, 0x4db8680, 0x67e6cc0, 0x67e6d00, 0x0, 0x0)
github.com/blugelabs/[email protected]/index/persister.go:44 +0x128
created by github.com/blugelabs/bluge/index.OpenWriter
github.com/blugelabs/[email protected]/index/writer.go:129 +0x6d0
panic: unaligned 64-bit atomic operation

goroutine 231683 [running]:
runtime/internal/atomic.panicUnaligned()
runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Xadd64(0x45fd22c, 0x1, 0x0, 0x4db85c0, 0x5e118f0)
runtime/internal/atomic/asm_arm.s:233 +0x14
github.com/blugelabs/bluge/index.(*Writer).mergerLoop(0x45fd000, 0x4db8700, 0x67e6d00)
github.com/blugelabs/[email protected]/index/merge.go:40 +0xac
created by github.com/blugelabs/bluge/index.OpenWriter
github.com/blugelabs/[email protected]/index/writer.go:131 +0x710
panic: unaligned 64-bit atomic operation

goroutine 231649 [running]:
runtime/internal/atomic.panicUnaligned()
runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Xadd64(0x45fd164, 0x1, 0x0, 0x3, 0x5f414)
runtime/internal/atomic/asm_arm.s:233 +0x14
github.com/blugelabs/bluge/index.(*Writer).introducerLoop(0x45fd000, 0x4db8640, 0x4db8680, 0x4db8700, 0x67e6cc0, 0x1, 0x0)
github.com/blugelabs/[email protected]/index/introducer.go:49 +0x68
created by github.com/blugelabs/bluge/index.OpenWriter
github.com/blugelabs/[email protected]/index/writer.go:127 +0x670
2021/07/25 06:31:38.503408 [SYS] Starting Channels DVR v2021.07.23.1501 (linux-armv7l pid:6502) in /home/pi/channels-dvr/data
2021/07/25 06:31:38.633219 [SYS] Started HTTP Server

Looks like a bug on 32bit. Will fix later today.

1 Like

I seem to be having the same after updating the pre-release. Logs submitted 95d26ef1-5aeb-4e62-99f7-fbb53b9f394a

How can I roll back the server until the fix happens? Can't watch DVR currently. Raspberry Pi.

Prerelease with fix uploading now.

v2021.07.26.0214 available with the fix.

Fixed it for me. Thanks

1 Like