[FFmpeg-devel] r12525 crashes with gcc 4.3.0 on mingw32, due to a bug in compiler

avcoder.net ffmpeg
Sat Mar 22 04:50:39 CET 2008


On Sat, Mar 22, 2008 at 4:01 AM, Zuxy Meng <zuxy.meng at gmail.com> wrote:

> Hi,
>
> I just found that GCC 4.3.0 on MinGW32 incorrectly marks the
> .text.unlikely section as "writable" instead of "executable", which
> causes as to believe it should pad the section with zeros instead of
> nops. The result is catastrophic.
>
> Good news is that few are affected, though.
>
Sadly, I am one of victims

I spent a whole night to trace the bug!

How to fix it?

Thanks
-
-------------------------------------------------
Inspired by http://www.avcoder.net
Your potential. Our passion.




More information about the ffmpeg-devel mailing list