New submission from Lennert Van Alboom <[email protected]>: ffmpeg svn pulled 2010/10/14 16:00h CET, built using the following options:
./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab Segfaults occur regardless of the command options (even --version): [al...@pinksock ffmpeg]$ gdb ffmpeg_g GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... (gdb) r --version Starting program: /data/software/build/ffmpeg/ffmpeg_g --version [Thread debugging using libthread_db enabled] [New Thread 0x7f08a2f90720 (LWP 23279)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f08a2f90720 (LWP 23279)] 0x0000000000cabb90 in strcmp@@GLIBC_2.2.5 () (gdb) bt #0 0x0000000000cabb90 in strcmp@@GLIBC_2.2.5 () #1 0x000000000087529d in av_set_number2 (obj=0x2942010, name=0xa2da72 "b", num=1, den=1, intnum=200000, o_out=0x7fffaafadd08) at libavutil/opt.c:40 #2 0x0000000000875566 in av_opt_set_defaults2 (s=0x2942010, mask=16, flags=16) at libavutil/opt.c:88 #3 0x000000000063986c in avcodec_alloc_context2 (codec_type=AVMEDIA_TYPE_VIDEO) at libavcodec/options.c:453 #4 0x0000000000412e6b in init_opts () at cmdutils.c:64 #5 0x000000000040dcb9 in main (argc=2, argv=0x7fffaafaf368) at ffmpeg.c:4334 (gdb) disass $pc-32 $pc+32 Dump of assembler code from 0xcabb70 to 0xcabbb0: 0x0000000000cabb70 <strrchr@@GLIBC_2.2.5+32>: jo 0xcabb3b <strcpy@@GLIBC_2.2.5+27> 0x0000000000cabb72 <strrchr@@GLIBC_2.2.5+34>: add %cl,0x29(%rax) 0x0000000000cabb75 <strrchr@@GLIBC_2.2.5+37>: stc 0x0000000000cabb76 <strrchr@@GLIBC_2.2.5+38>: movdqa (%rax),%xmm0 0x0000000000cabb7a: add %al,(%rax) 0x0000000000cabb7c: add %al,(%rax) 0x0000000000cabb7e: add %al,(%rax) 0x0000000000cabb80 <stderr@@GLIBC_2.2.5+0>: (bad) 0x0000000000cabb81 <stderr@@GLIBC_2.2.5+1>: fcoms (%rbx) 0x0000000000cabb83 <stderr@@GLIBC_2.2.5+3>: mov 0x7f08,%al 0x0000000000cabb8c: add %al,(%rax) 0x0000000000cabb8e: add %al,(%rax) 0x0000000000cabb90 <strcmp@@GLIBC_2.2.5+0>: mov %esi,%ecx 0x0000000000cabb92 <strcmp@@GLIBC_2.2.5+2>: mov %edi,%eax 0x0000000000cabb94 <strcmp@@GLIBC_2.2.5+4>: and $0x3f,%rcx 0x0000000000cabb98 <strcmp@@GLIBC_2.2.5+8>: and $0x3f,%rax 0x0000000000cabb9c <strcmp@@GLIBC_2.2.5+12>: cmp $0x30,%ecx 0x0000000000cabb9f <strcmp@@GLIBC_2.2.5+15>: ja 0xcabbe0 <strpbrk@@GLIBC_2.2.5> 0x0000000000cabba1 <strcmp@@GLIBC_2.2.5+17>: cmp $0x30,%eax 0x0000000000cabba4 <strcmp@@GLIBC_2.2.5+20>: ja 0xcabbe0 <strpbrk@@GLIBC_2.2.5> 0x0000000000cabba6 <strcmp@@GLIBC_2.2.5+22>: movlpd (%rdi),%xmm1 0x0000000000cabbaa <strcmp@@GLIBC_2.2.5+26>: movlpd (%rsi),%xmm2 0x0000000000cabbae <strcmp@@GLIBC_2.2.5+30>: movhpd 0x8(%rdi),%xmm1 End of assembler dump (gdb) info all-registers rax 0x993760 10041184 rbx 0x9937a0 10041248 rcx 0x30d40 200000 rdx 0x1 1 rsi 0xa2da72 10672754 rdi 0xa2da72 10672754 rbp 0xa2da72 0xa2da72 rsp 0x7fff4a6df3d8 0x7fff4a6df3d8 r8 0x7fff4a6df438 140734442107960 r9 0x0 0 r10 0x0 0 r11 0x7f133f59244a 139720643912778 r12 0x7fff4a6df438 140734442107960 r13 0x1ea2010 32120848 r14 0x30d40 200000 r15 0x1 1 rip 0xcabb90 0xcabb90 <strcmp@@GLIBC_2.2.5> eflags 0x10206 [ PF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 0 (raw 0x00000000000000000000) st1 0 (raw 0x00000000000000000000) st2 0 (raw 0x00000000000000000000) st3 0 (raw 0x00000000000000000000) st4 0 (raw 0x00000000000000000000) st5 0 (raw 0x00000000000000000000) st6 0 (raw 0x00000000000000000000) st7 0 (raw 0x00000000000000000000) fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x0 0 fioff 0x0 0 foseg 0x0 0 fooff 0x0 0 fop 0x0 0 xmm0 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000, 0x0}, uint128 = 0x00000000000000003ff0000000000000} xmm1 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x2f <repeats 16 times>}, v8_int16 = {0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f}, v4_int32 = {0x2f2f2f2f, 0x2f2f2f2f, 0x2f2f2f2f, 0x2f2f2f2f}, v2_int64 = { 0x2f2f2f2f2f2f2f2f, 0x2f2f2f2f2f2f2f2f}, uint128 = 0x2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f} xmm2 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm3 {v4_float = {0x0, 0x1, 0x0, 0x0}, v2_double = {0x1, 0x0}, v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x3f, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int16 = {0x0, 0x0, 0x0, 0x3ff0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x3ff00000, 0x0, 0x0}, v2_int64 = {0x3ff0000000000000, 0x0}, uint128 = 0x00000000000000003ff0000000000000} xmm4 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm5 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm6 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm7 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm8 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm9 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm10 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm11 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm12 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm13 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm14 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} xmm15 {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, uint128 = 0x00000000000000000000000000000000} mxcsr 0x1f80 [ IM DM ZM OM UM PM ] ---------- messages: 12268 priority: normal status: new substatus: new title: ffmpeg --version segfaults type: bug ________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/issue2301> ________________________________________________
