Closed arrogantrabbit closed 9 months ago
Change private/storage/streams/buffer: fix unaligned LoadInt64 mentions this issue.
@arrogantrabbit Thank you for the report and analysis. It seems we forgot to run staticcheck for 32bit arm, which catches such issues.
PS: I created v1.12.1 release that has this issue fixed.
Please look at this thread:
https://forum.duplicacy.com/t/duplicacy-3-2-2-crashes-on-arm-32-bit/8024/7
To reproduce: build 32-bit arm version of the library and try to use.
Regression:
The proposed solution is to use
atomic.AlignedInt64
instead ofint64
in theMemoryBackend
struct, or reorderlen
andbuf
, ideally -- do both, to reduce waste of space on padding.Quoting analysis from the linked post: