[FFmpeg-devel] swscale-test segfault with 64-bit icc 11.1

Michael Niedermayer michaelni
Wed Jul 21 05:19:36 CEST 2010

On Tue, Jul 20, 2010 at 07:05:54PM +0200, Reimar D?ffinger wrote:
> On Mon, Jul 19, 2010 at 06:48:03PM -0300, Ramiro Polla wrote:
> > I was able to reproduce the bug with gcc but they haven't been very
> > helpful nor have they acknowledged it:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44975
> > 
> > I faintly remember some intel compiler dev on this list or something
> > similar, maybe he could comment on the issue?
> > 
> > Otherwise I think the best solution is to switch to yasm like mans
> > suggested, but that would involve work and I'm not volunteering =).
> As a hack, just calling a empty function (of course make sure it won't
> be inlined) at the start would probably force the compiler to do it
> in a way that works.

something alongthe lines of
sub $1234,%%esp before the call and add afterwards could be used
one just must make sure that the call doesnt read via the stack pointer

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100721/211d32da/attachment.pgp>

More information about the ffmpeg-devel mailing list