Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: unaligned 64-bit atomic operation in windows #583

Open
liangruifeng opened this issue May 11, 2024 · 1 comment
Open

panic: unaligned 64-bit atomic operation in windows #583

liangruifeng opened this issue May 11, 2024 · 1 comment

Comments

@liangruifeng
Copy link

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/toolchain@v0.0.1-go1.22.3.windows-386/src/runtime/internal/atomic/unaligned.go:8 +0x2b
runtime/internal/atomic.Xadd64(0x2027b7c, 0x1)
C:/Users/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.3.windows-386/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/air@v1.52.0/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/air@v1.52.0/runner/engine.go:522 +0xd3

@liangruifeng
Copy link
Author

btw, my windows is 64-bit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant