[Speex-dev] Re: sigsegv in _mm_load_ups (linux/gcc 3.x)

Thorvald Natvig speex at natvig.com
Thu Jan 5 21:51:34 PST 2006

> That's definitely strange and I've never encountered that. Normally, the
> only way for _mm_load_ups to generate a segfault is for the input to be
> invalid memory, in which case the C version should crash too. I suspect
> the compiler (or something else) may be hiding the real problem. Can you
> get a debugger and see exactly what assembly statement is causing the
> crash and what the operands are?

I've seen the exact same in my version (mingw on win32), and the problem 
was that the stack was misaligned when entering the function, so the temp 
registers weren't at 16-byte boundries.

More information about the Speex-dev mailing list