[x264-devel] x264 Crash on Windows

BugMaster BugMaster at narod.ru
Wed Oct 5 18:35:49 CEST 2011


On Wed, 5 Oct 2011 08:51:15 -0400, Leo Izen wrote:
> I encountered a segmentation fault on Windows that doesn't occur on
> Linux. I configure with ./configure --enable-debug
> --enable-win32thread, and I ran gdb on the resulting x264.exe.
> Here's the gdb dump:
> http://pastebin.com/2u1ms8Y7
> Apparently it's occurring in x264_memzero_aligned_sse2, but only on
> Windows. I couldn't figure out why it only occurs on Windows,
> because both my Linux and my Windows use SSE2Fast optimizations.
> My system is Windows Vista x86_64. My compiler is
> x86_64-w64-mingw32, from here, with host system i686-mingw (latest).
> My version of x264's --version is:
>   
> x264 0.116.x
> built on Sep 20 2011, gcc: 4.7.0 20110827 (experimental)
> configuration: --bit-depth=8
> x264 license: GPL version 2 or later
>  
> it was cloned from git the same day. I also tested it with the
> latest git head, and the glitch is still there.
>  
> My version of mingw-w64 is 2011-08-27. I've noticed the same
> segfault when compiling for windows 32-bit, but this was easier to file a bug report with.

As I already answered earlier this is most probably your mingw (gcc)
toolchain bug. Don't use mingw builds from were you get it. Instead of
use one of the proved worth builds (for example,
http://komisar.gin.by/mingw/index.html but advice don't use GCC 4.6.x
they are still buggy).



More information about the x264-devel mailing list