air icon indicating copy to clipboard operation
air copied to clipboard

panic: unaligned 64-bit atomic operation in windows

Open liangruifeng opened this issue 2 months ago • 1 comments

PS E:\test\ginlearn> air


/ /\ | | | |) //--\ || || _ v1.52.0, built with Go go1.22.3

watching . !exclude tmp building... running... panic: unaligned 64-bit atomic operation

goroutine 18 [running]: runtime/internal/atomic.panicUnaligned() C:/Users/go/pkg/mod/golang.org/[email protected]/src/runtime/internal/atomic/unaligned.go:8 +0x2b runtime/internal/atomic.Xadd64(0x2027b7c, 0x1) C:/Users/go/pkg/mod/golang.org/[email protected]/src/runtime/internal/atomic/atomic_386.s:125 +0x11 github.com/cosmtrek/air/runner.(*Engine).runBin.func2() C:/Users/go/pkg/mod/github.com/cosmtrek/[email protected]/runner/engine.go:550 +0x335 created by github.com/cosmtrek/air/runner.(*Engine).runBin in goroutine 10 C:/Users/go/pkg/mod/github.com/cosmtrek/[email protected]/runner/engine.go:522 +0xd3

liangruifeng avatar May 11 '24 06:05 liangruifeng