[x264-devel] unhandled exception in deblock using sse2

Jason Garrett-Glaser darkshikari at gmail.com
Mon Jun 30 09:50:30 CEST 2008


On Mon, Jun 30, 2008 at 12:51 AM, Marcin Sokalski <msokalski at atsisa.com> wrote:
> Hi, im a total noob to x264, but i think there is
> a bug - unaligned stack in deblock asm procedure.
> It uses movdqword/movaps instruction which requires
> memory source/destination to be aligned on 16bytes
> boundary. And it isnt -> gives unhandled exception.
>
> Turning sse2 off, helps but its clear that it isnt solution :)

This is not a bug; this is intended.  If your compiler doesn't
properly maintain stack alignment like GCC does, such functions will
crash.  The most recent revision added a workaround for such crappy
compilers: disable all functions that rely on it.

> CONFIDENTIALITY NOTICE
> This message is intended exclusively for the individual or entity to which it is addressed. This communication may contain information that is proprietary, privileged, confidential or otherwise legally exempt from disclosure. If you are not the named addressee, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this message in error, please delete all copies of this message and notify the sender immediately by return mail or fax ATSI S.A.(+4812) 285 36 04.
> Any email attachment may contain software viruses which could damage your own computer system. Whilst reasonable precaution has been taken to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should therefore carry out your own virus checks before opening any attachments.

These messages are totally useless given that you're posting to a
publicly available newsgroup and do nothing but add needlessly to the
length of posts.

Dark Shikari


More information about the x264-devel mailing list