hashi-ui icon indicating copy to clipboard operation
hashi-ui copied to clipboard

32bit Arm build crashes

Open lanefu opened this issue 6 years ago • 0 comments

Kind of interesting, I've built arm, arm64, and AMD64 versions of hashi-ui, and the 32bit arm seems to crash once I connect to it.

I cross-compiled with golang:stretch . Any hints I can look at?

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x120e0]

goroutine 56 [running]:
runtime/internal/atomic.goXadd64(0x12025ac, 0x1, 0x0, 0x122c180, 0x670f31a7)
	/usr/local/go/src/runtime/internal/atomic/atomic_arm.go:99 +0x1c
github.com/jippi/hashi-ui/backend/subscriber.(*Manager).Subscribe(0x1202580, 0x4fceea, 0x14, 0x0)
	/go/src/github.com/jippi/hashi-ui/backend/subscriber/manager.go:33 +0x8c
main.(*connection).keepAlive(0x1202540)
	/go/src/github.com/jippi/hashi-ui/backend/connection.go:106 +0xf4
created by main.(*connection).Handle
	/go/src/github.com/jippi/hashi-ui/backend/connection.go:79 +0x6c

lanefu avatar Jun 23 '19 03:06 lanefu