Hi all, I normally don't post bugs up here, as I invariably find the problem straight after, and it's always due to my own foolishness. But I'm at my wits' end. I have a bug that only manifests in Release builds, so I can't debug it as usual.
The crash happens irregularly, so I suspect it's a memory error, but I can't see where it's being caused. It always sends me to the same place in the stack trace, a piece of audio code (an oscillator). It stops at an assembly instruction movss. On looking this up, it appears to be an SSE instruction, but I haven't written any SIMD in this function nor used any AudioSampleBuffer methods that use SSE. Does this mean the compiler is vectorizing my code for me?
Does anyone have tips for debugging this kind of thing, or debugging audio code in general, which is such a PITA? Many thanks.