Closed dave-filion closed 1 year ago
Ah I think this was my fault! Built using GOARCH=amd64 and it seems to be working fine. Closing issue.
Hey @dave-filion! Interesting, first time I see this error. Did some quick research and it appears to be related to a known bug in the sync/atomic
package (more details in https://pkg.go.dev/sync/atomic#pkg-note-BUG).
Thanks for reporting anyway!
Hey!
Was looking for a go lib to handle worker pools (after attempting to make my own with limited success), found this lib and it looked very promising. Seemed to run fine locally (running on Mac OS), but when I built it for our production servers (Ubuntu 18), I encountered this
Unaligned 64-bit atomic operation
error whenever we try to submit a task to the pool.Have you encountered this before/am I just doing something wrong? Here is the code on my side:
Pool setup
and then submitting:
Getting error =
FetcherProcessQueueResult recover from panic=unaligned 64-bit atomic operation
Build the server like so:
and Go version:
Here's the stack trace:
Any idea what could be happening here? let me know if you need any other details. Thank you!