Was getting a crash yesterday on an ARM Cortex A9 development board that
couldn't be reproduced on -O0 builds with debug symbols, but I think
it was the memcpy to a stack array that was doing it, so rearchitect
the app to avoid false sharing by pre-computing an array for each thread.