-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
unaligned 64-bit atomic operation #52
Comments
Thanks for reporting this bug. I thought I already fixed this issue in #31, wondering why is happening again. Which Go version are you using? |
I'm using the version |
Could you check if this branch fixes your issue: https://github.com/qmuntal/stateless/tree/fix-ops Thanks in advance. |
Just tested it on the raspberrypi, works without panic. Thanks a lot! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to control the state machine with gin (http server) on a raspberry pi 4, but after firing the first event i get a panic:
System:
Linux raspberrypi 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux
If i change the
ops
variable frm uint64 to uint32 and all corresponding atomic methods to uint32 too, it works fine without panic:The text was updated successfully, but these errors were encountered: