On ARM, 386, and 32-bit MIPS, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a variable or in an allocated struct, array, or slice can be relied upon to be 64-bit aligned.
source: https://pkg.go.dev/sync/atomic#pkg-note-BUG
Error on Raspberry pi.
Reason for the problem
On ARM, 386, and 32-bit MIPS, it is the caller's responsibility to arrange for 64-bit alignment of 64-bit words accessed atomically. The first word in a variable or in an allocated struct, array, or slice can be relied upon to be 64-bit aligned. source: https://pkg.go.dev/sync/atomic#pkg-note-BUG
Fix from referred issue:
https://github.com/census-instrumentation/opencensus-go/issues/587