Closed sfackler closed 2 years ago
The copy_nonoverlapping call here is working with *mut fpsimd_context
but passing size_of::<fpsimd_context>
in as the count, so it's actually trying to copy 528 sequential fpsimd_context
structs! I will make a PR.
Describe the bug On aarch64 Linux, the crash handler crashes with a buffer overflow copying the SIMD register context.
To Reproduce Compile and run this program with crash-handler 0.3.1:
Running it in GDB and continuing past the SIGABRT, the program hits a SIGBUS:
Expected behavior The crash handler should not crash :D
Additional context If relevant, I'm running this in a Docker container on an M1 Macbook.