[x264-devel] Crash with x264 r1460

Jason Garrett-Glaser darkshikari at gmail.com
Tue Feb 23 18:16:02 CET 2010


2010/2/23 BugMaster <BugMaster at narod.ru>:
> On Tue, 23 Feb 2010 23:55:06 +0800, 游子德 wrote:
>
>
>> 2010/2/23 游子德 <tedyu002 at gmail.com>
>> First I get lots of error in help message.
>> Next I found that x264_param is not initialize.
>
>> I add x264_param_default( &param ); before Parse command line
>> And next I use these arguments.
>
>> I use fprofiled  and the build is completed.
>
>> But when use the following arguments.
>> --profile high --preset veryslow --rc-lookahead 250 --crf 18
>> I get a crash.
>
>> Build again without fprofiled get the same result.
>
>> configure result is the following with gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5)
>
>> Platform:   X86_64
>> System:     LINUX
>> asm:        yes
>> avs input:  no
>> lavf input: yes
>> ffms input: no
>> mp4 output: yes
>> pthread:    yes
>> debug:      no
>> gprof:      no
>> PIC:        no
>> shared:     no
>> visualize:  no
>
>> And the gdb backtrace is the following
>
>> (gdb) backtrace
>> #0  0x000000000046db4a in x264_memzero_aligned_sse2 ()
>> #1  0x00000000004546c8 in x264_me_refine_bidir (h=0x70c350, m0=0x7fffe0c788c0,
>>     m1=0x7fffe0c7a350, i_weight=32) at encoder/me.c:958
>> #2  x264_me_refine_bidir_satd (h=0x70c350, m0=0x7fffe0c788c0, m1=0x7fffe0c7a350,
>>     i_weight=32) at encoder/me.c:1027
>> #3  0x000000000044d64c in x264_refine_bidir (h=0x70c350)
>>     at encoder/analyse.c:2217
>> #4  x264_macroblock_analyse (h=0x70c350) at encoder/analyse.c:2964
>> #5  0x000000000041bcee in x264_slice_write (h=0x70c350) at encoder/encoder.c:1779
>> #6  0x000000000041c6fd in x264_slices_write (h=0x70c350)
>>     at encoder/encoder.c:2011
>> #7  0x00007ffff7942a2c in start_thread () from /lib/libpthread.so.0
>> #8  0x00007ffff6679c9d in clone () from /lib/libc.so.6
>> #9  0x0000000000000000 in ?? ()
>> (gdb)
>
>> What can I do ?
>> --
>
>> Sorry , I forget to paste the runtime message.
>
>> y4m [info]: 864x480p 1:1 @ 24/1 fps (cfr)
>> x264 [info]: using SAR=1/1
>> x264 [info]: using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
>> x264 [info]: profile High, level 4.0
>
>
> Already known problem. Fix can be found here: http://doom10.org/index.php?topic=231.msg1653#msg1653

And fixed.

Dark Shikari


More information about the x264-devel mailing list