[x264-devel] clang-compiled x264 crashes on OS X 10.7

Michael Roitzsch mroi at users.sourceforge.net
Tue Jan 24 13:49:02 CET 2012


Hi x264 team,

I compiled the latest release of x264 on Mac OS X 10.7 with the version of clang 3.0 currently shipping with Apple's developer tools. I encoded a video piped in from ffmpeg using the following command line:

ffmpeg -i bbc-r_m720p.mov -f rawvideo - 2> /dev/null | ../x264/x264 --input-res 1280x720 --bitrate 4000 --slices 4 --sliced-threads --threads 4 --no-cabac --ref 3 --bframes 8 --b-pyramid none --no-weightb --weightp 0 --no-8x8dct --cqm flat --b-adapt 2 --direct auto --me umh --merange 16 --partitions all --subme 9 --trellis 2 --rc-lookahead 60 -o bbc-r_m720p.h264 -

The source video is available here:
http://movies.apple.com/movies/us/hd_gallery/gl1800/bbc-r_m720p.mov

After reportedly encoding 24 frames, x264 segfaulted. The crash report and core file are available for download here (application/zip, 175MB):
http://os.inf.tu-dresden.de/~mroi/x264-clang-crash.zip

When I compile x264 with llvm-gcc and repeat the experiment, everything works as expected. Is this an x264 problem or should I rather file a bug against clang?

Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20120124/5f51b12f/attachment.pgp>


More information about the x264-devel mailing list