[x264-devel] x264 Crash on Windows

Leo Izen leo.izen at gmail.com
Wed Oct 5 14:51:15 CEST 2011


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<http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/>,
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20111005/f2c16d74/attachment.html>


More information about the x264-devel mailing list