Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#392 closed defect (fixed)

ffplay segfaults trying any video format

Reported by: 01micko Owned by: Michael Niedermayer
Priority: important Component: avfilter
Version: 0.8.2 Keywords: segfault, video lut
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

This is using 0.8.2. Any video format, trying to play with ffplay it almost starts then segfaults.
This is in Puppylinux built using Slackware-13.37 libraries.
This behaviour occurs in 0.8 and 0.8.1

# ffplay movie2.3gp
ffplay version 0.8.2, Copyright (c) 2003-2011 the FFmpeg developers
  built on Aug 12 2011 08:52:43 with gcc 4.5.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie2.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 512
    compatible_brands: isomiso23gp4
    creation_time   : 1970-01-01 00:00:00
  Duration: 00:05:43.21, start: 0.000000, bitrate: 214 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 205 kb/s, 25.02 fps, 25.02 tbr, 1001 tbn, 29.97 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 6 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
Segmentation fault03638.330 s:0.0 aq=  320KB vq= 2114KB sq=    0B f=0/0   
# gdb ffmpeg_g
GNU gdb (GDB) 7.2
Copyright (C) 2010 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 "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
ffmpeg_g: No such file or directory.
(gdb) q
# ffplay_g movie2.3gp
ffplay version 0.8.2, Copyright (c) 2003-2011 the FFmpeg developers
  built on Aug 12 2011 08:52:43 with gcc 4.5.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie2.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 512
    compatible_brands: isomiso23gp4
    creation_time   : 1970-01-01 00:00:00
  Duration: 00:05:43.21, start: 0.000000, bitrate: 214 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 205 kb/s, 25.02 fps, 25.02 tbr, 1001 tbn, 29.97 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 6 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
Segmentation fault03899.247 s:0.0 aq=  320KB vq= 2114KB sq=    0B f=0/0   
# gdb ffplay_g movie2.3gp
GNU gdb (GDB) 7.2
Copyright (C) 2010 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 "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/ffplay_g...done.
"/mnt/sdb7/0video/nvid/movie2.3gp" is not a core dump: File format not recognized
(gdb) r ffplay_g movie2.3gp
Starting program: /usr/sbin/ffplay_g ffplay_g movie2.3gp
[Thread debugging using libthread_db enabled]
ffplay version 0.8.2, Copyright (c) 2003-2011 the FFmpeg developers
  built on Aug 12 2011 08:52:43 with gcc 4.5.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Argument 'movie2.3gp' provided as input filename, but 'ffplay_g' was already specified.

Program exited with code 01.
(gdb) r movie2.3gp
Starting program: /usr/sbin/ffplay_g movie2.3gp
[Thread debugging using libthread_db enabled]
ffplay version 0.8.2, Copyright (c) 2003-2011 the FFmpeg developers
  built on Aug 12 2011 08:52:43 with gcc 4.5.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[New Thread 0xb6902b70 (LWP 1465)]
[New Thread 0xb5f22b70 (LWP 1466)]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie2.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 512
    compatible_brands: isomiso23gp4
    creation_time   : 1970-01-01 00:00:00
  Duration: 00:05:43.21, start: 0.000000, bitrate: 214 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 205 kb/s, 25.02 fps, 25.02 tbr, 1001 tbn, 29.97 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 6 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
[New Thread 0xb5657b70 (LWP 1467)]
[New Thread 0xb4e57b70 (LWP 1468)]
[New Thread 0xb4657b70 (LWP 1469)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4e57b70 (LWP 1468)]
0xb7353b87 in strcmp () from /lib/libc.so.6
(gdb) bt
#0  0xb7353b87 in strcmp () from /lib/libc.so.6
#1  0xb7f9e0a1 in avfilter_get_by_name () from /usr/lib/libavfilter.so.2
#2  0x00000006 in ?? ()
#3  0x00000006 in ?? ()
#4  0x080bbda0 in ?? ()
#5  0x080c4eb8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0xb7353b67 to 0xb7353ba7:
   0xb7353b67:	nop
   0xb7353b68:	nop
   0xb7353b69:	nop
   0xb7353b6a:	nop
   0xb7353b6b:	nop
   0xb7353b6c:	nop
   0xb7353b6d:	nop
   0xb7353b6e:	nop
   0xb7353b6f:	nop
   0xb7353b70 <strcmp+0>:	push   %ebp
   0xb7353b71 <strcmp+1>:	xor    %eax,%eax
   0xb7353b73 <strcmp+3>:	mov    %esp,%ebp
   0xb7353b75 <strcmp+5>:	push   %edi
   0xb7353b76 <strcmp+6>:	mov    0x8(%ebp),%edi
   0xb7353b79 <strcmp+9>:	push   %esi
   0xb7353b7a <strcmp+10>:	mov    0xc(%ebp),%esi
   0xb7353b7d <strcmp+13>:	jmp    0xb7353b87 <strcmp+23>
   0xb7353b7f <strcmp+15>:	nop
   0xb7353b80 <strcmp+16>:	add    $0x1,%eax
   0xb7353b83 <strcmp+19>:	cmp    %cl,%dl
   0xb7353b85 <strcmp+21>:	jne    0xb7353ba0 <strcmp+48>
=> 0xb7353b87 <strcmp+23>:	movzbl (%edi,%eax,1),%edx
---Type <return> to continue, or q <return> to quit---
   0xb7353b8b <strcmp+27>:	movzbl (%esi,%eax,1),%ecx
   0xb7353b8f <strcmp+31>:	test   %dl,%dl
   0xb7353b91 <strcmp+33>:	jne    0xb7353b80 <strcmp+16>
   0xb7353b93 <strcmp+35>:	movzbl %cl,%eax
   0xb7353b96 <strcmp+38>:	neg    %eax
   0xb7353b98 <strcmp+40>:	pop    %esi
   0xb7353b99 <strcmp+41>:	pop    %edi
   0xb7353b9a <strcmp+42>:	pop    %ebp
   0xb7353b9b <strcmp+43>:	ret    
   0xb7353b9c <strcmp+44>:	lea    0x0(%esi,%eiz,1),%esi
   0xb7353ba0 <strcmp+48>:	movzbl %dl,%eax
   0xb7353ba3 <strcmp+51>:	movzbl %cl,%ecx
   0xb7353ba6 <strcmp+54>:	sub    %ecx,%eax
End of assembler dump.
(gdb) info all-registers
eax            0x0	0
ecx            0x62	98
edx            0x68	104
ebx            0xb7fce2a0	-1208163680
esp            0xb4e57180	0xb4e57180
ebp            0xb4e57188	0xb4e57188
esi            0x8052634	134555188
edi            0x0	0
eip            0xb7353b87	0xb7353b87 <strcmp+23>
eflags         0x10246	[ PF ZF IF RF ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
st0            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st1            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st2            0.00430206954479217529296875	(raw 0x3ff78cf8600000000000)
st3            0.024543692606170257163581598439106024	(raw 0x3ff9c90fdaa22168bc6a)
st4            0.357096850872039794921875	(raw 0x3ffdb6d5660000000000)
st5            4000	(raw 0x400afa00000000000000)
---Type <return> to continue, or q <return> to quit---
st6            8000	(raw 0x400bfa00000000000000)
st7            0.25599999999999999998937481870964206	(raw 0x3ffd83126e978d4fdf3b)
fctrl          0x37f	895
fstat          0x4220	16928
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
xmm0           {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}
xmm1           {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}
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}
---Type <return> to continue, or q <return> to quit---
xmm3           {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}
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}
mxcsr          0x1f80	[ IM DM ZM OM UM PM ]
mm0            {uint64 = 0x8080808080808080, v2_int32 = {0x80808080, 
    0x80808080}, v4_int16 = {0x8080, 0x8080, 0x8080, 0x8080}, v8_int8 = {0x80, 
---Type <return> to continue, or q <return> to quit---
    0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}}
mm1            {uint64 = 0x80008000800080, v2_int32 = {0x800080, 0x800080}, 
  v4_int16 = {0x80, 0x80, 0x80, 0x80}, v8_int8 = {0x80, 0x0, 0x80, 0x0, 0x80, 
    0x0, 0x80, 0x0}}
mm2            {uint64 = 0x8cf8600000000000, v2_int32 = {0x0, 0x8cf86000}, 
  v4_int16 = {0x0, 0x0, 0x6000, 0x8cf8}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x60, 0xf8, 0x8c}}
mm3            {uint64 = 0xc90fdaa22168bc6a, v2_int32 = {0x2168bc6a, 
    0xc90fdaa2}, v4_int16 = {0xbc6a, 0x2168, 0xdaa2, 0xc90f}, v8_int8 = {0x6a, 
    0xbc, 0x68, 0x21, 0xa2, 0xda, 0xf, 0xc9}}
mm4            {uint64 = 0xb6d5660000000000, v2_int32 = {0x0, 0xb6d56600}, 
  v4_int16 = {0x0, 0x0, 0x6600, 0xb6d5}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x66, 0xd5, 0xb6}}
mm5            {uint64 = 0xfa00000000000000, v2_int32 = {0x0, 0xfa000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0xfa00}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0xfa}}
mm6            {uint64 = 0xfa00000000000000, v2_int32 = {0x0, 0xfa000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0xfa00}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0xfa}}
mm7            {uint64 = 0x83126e978d4fdf3b, v2_int32 = {0x8d4fdf3b, 
    0x83126e97}, v4_int16 = {0xdf3b, 0x8d4f, 0x6e97, 0x8312}, v8_int8 = {0x3b, 
    0xdf, 0x4f, 0x8d, 0x97, 0x6e, 0x12, 0x83}}
(gdb) 

Thank you

Change History (6)

comment:1 by Carl Eugen Hoyos, 13 years ago

Component: FFplayundetermined
Reproduced by developer: unset
Status: newopen

Crash reports do not like --disable-debug...

Does the crash also happen with ./configure && make?

Is your crash also reproducible with ffmpeg?
(Bugs should only be reported against ffplay if they are unreproducible with ffmpeg.)

Is the crash also reproducible with latest git head?

in reply to:  description comment:2 by 01micko, 13 years ago

Replying to 01micko:

This is using 0.8.2. Any video format, trying to play with ffplay it almost starts then segfaults.
This is in Puppylinux built using Slackware-13.37 libraries.
This behaviour occurs in 0.8 and 0.8.1

# ffplay movie2.3gp
ffplay version 0.8.2, Copyright (c) 2003-2011 the FFmpeg developers
  built on Aug 12 2011 08:52:43 with gcc 4.5.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie2.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 512
    compatible_brands: isomiso23gp4
    creation_time   : 1970-01-01 00:00:00
  Duration: 00:05:43.21, start: 0.000000, bitrate: 214 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 205 kb/s, 25.02 fps, 25.02 tbr, 1001 tbn, 29.97 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 6 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
Segmentation fault03638.330 s:0.0 aq=  320KB vq= 2114KB sq=    0B f=0/0   
# gdb ffmpeg_g
GNU gdb (GDB) 7.2
Copyright (C) 2010 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 "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
ffmpeg_g: No such file or directory.
(gdb) q
# ffplay_g movie2.3gp
ffplay version 0.8.2, Copyright (c) 2003-2011 the FFmpeg developers
  built on Aug 12 2011 08:52:43 with gcc 4.5.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie2.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 512
    compatible_brands: isomiso23gp4
    creation_time   : 1970-01-01 00:00:00
  Duration: 00:05:43.21, start: 0.000000, bitrate: 214 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 205 kb/s, 25.02 fps, 25.02 tbr, 1001 tbn, 29.97 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 6 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
Segmentation fault03899.247 s:0.0 aq=  320KB vq= 2114KB sq=    0B f=0/0   
# gdb ffplay_g movie2.3gp
GNU gdb (GDB) 7.2
Copyright (C) 2010 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 "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/ffplay_g...done.
"/mnt/sdb7/0video/nvid/movie2.3gp" is not a core dump: File format not recognized
(gdb) r ffplay_g movie2.3gp
Starting program: /usr/sbin/ffplay_g ffplay_g movie2.3gp
[Thread debugging using libthread_db enabled]
ffplay version 0.8.2, Copyright (c) 2003-2011 the FFmpeg developers
  built on Aug 12 2011 08:52:43 with gcc 4.5.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Argument 'movie2.3gp' provided as input filename, but 'ffplay_g' was already specified.

Program exited with code 01.
(gdb) r movie2.3gp
Starting program: /usr/sbin/ffplay_g movie2.3gp
[Thread debugging using libthread_db enabled]
ffplay version 0.8.2, Copyright (c) 2003-2011 the FFmpeg developers
  built on Aug 12 2011 08:52:43 with gcc 4.5.2
  configuration: --prefix=/usr --cpu=i686 --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libdc1394 --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[New Thread 0xb6902b70 (LWP 1465)]
[New Thread 0xb5f22b70 (LWP 1466)]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie2.3gp':
  Metadata:
    major_brand     : 3gp4
    minor_version   : 512
    compatible_brands: isomiso23gp4
    creation_time   : 1970-01-01 00:00:00
  Duration: 00:05:43.21, start: 0.000000, bitrate: 214 kb/s
    Stream #0.0(eng): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 205 kb/s, 25.02 fps, 25.02 tbr, 1001 tbn, 29.97 tbc
    Metadata:
      creation_time   : 1970-01-01 00:00:00
    Stream #0.1(eng): Audio: amrnb, 8000 Hz, 1 channels, flt, 6 kb/s
    Metadata:
      creation_time   : 1970-01-01 00:00:00
[New Thread 0xb5657b70 (LWP 1467)]
[New Thread 0xb4e57b70 (LWP 1468)]
[New Thread 0xb4657b70 (LWP 1469)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4e57b70 (LWP 1468)]
0xb7353b87 in strcmp () from /lib/libc.so.6
(gdb) bt
#0  0xb7353b87 in strcmp () from /lib/libc.so.6
#1  0xb7f9e0a1 in avfilter_get_by_name () from /usr/lib/libavfilter.so.2
#2  0x00000006 in ?? ()
#3  0x00000006 in ?? ()
#4  0x080bbda0 in ?? ()
#5  0x080c4eb8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0xb7353b67 to 0xb7353ba7:
   0xb7353b67:	nop
   0xb7353b68:	nop
   0xb7353b69:	nop
   0xb7353b6a:	nop
   0xb7353b6b:	nop
   0xb7353b6c:	nop
   0xb7353b6d:	nop
   0xb7353b6e:	nop
   0xb7353b6f:	nop
   0xb7353b70 <strcmp+0>:	push   %ebp
   0xb7353b71 <strcmp+1>:	xor    %eax,%eax
   0xb7353b73 <strcmp+3>:	mov    %esp,%ebp
   0xb7353b75 <strcmp+5>:	push   %edi
   0xb7353b76 <strcmp+6>:	mov    0x8(%ebp),%edi
   0xb7353b79 <strcmp+9>:	push   %esi
   0xb7353b7a <strcmp+10>:	mov    0xc(%ebp),%esi
   0xb7353b7d <strcmp+13>:	jmp    0xb7353b87 <strcmp+23>
   0xb7353b7f <strcmp+15>:	nop
   0xb7353b80 <strcmp+16>:	add    $0x1,%eax
   0xb7353b83 <strcmp+19>:	cmp    %cl,%dl
   0xb7353b85 <strcmp+21>:	jne    0xb7353ba0 <strcmp+48>
=> 0xb7353b87 <strcmp+23>:	movzbl (%edi,%eax,1),%edx
---Type <return> to continue, or q <return> to quit---
   0xb7353b8b <strcmp+27>:	movzbl (%esi,%eax,1),%ecx
   0xb7353b8f <strcmp+31>:	test   %dl,%dl
   0xb7353b91 <strcmp+33>:	jne    0xb7353b80 <strcmp+16>
   0xb7353b93 <strcmp+35>:	movzbl %cl,%eax
   0xb7353b96 <strcmp+38>:	neg    %eax
   0xb7353b98 <strcmp+40>:	pop    %esi
   0xb7353b99 <strcmp+41>:	pop    %edi
   0xb7353b9a <strcmp+42>:	pop    %ebp
   0xb7353b9b <strcmp+43>:	ret    
   0xb7353b9c <strcmp+44>:	lea    0x0(%esi,%eiz,1),%esi
   0xb7353ba0 <strcmp+48>:	movzbl %dl,%eax
   0xb7353ba3 <strcmp+51>:	movzbl %cl,%ecx
   0xb7353ba6 <strcmp+54>:	sub    %ecx,%eax
End of assembler dump.
(gdb) info all-registers
eax            0x0	0
ecx            0x62	98
edx            0x68	104
ebx            0xb7fce2a0	-1208163680
esp            0xb4e57180	0xb4e57180
ebp            0xb4e57188	0xb4e57188
esi            0x8052634	134555188
edi            0x0	0
eip            0xb7353b87	0xb7353b87 <strcmp+23>
eflags         0x10246	[ PF ZF IF RF ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
st0            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st1            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st2            0.00430206954479217529296875	(raw 0x3ff78cf8600000000000)
st3            0.024543692606170257163581598439106024	(raw 0x3ff9c90fdaa22168bc6a)
st4            0.357096850872039794921875	(raw 0x3ffdb6d5660000000000)
st5            4000	(raw 0x400afa00000000000000)
---Type <return> to continue, or q <return> to quit---
st6            8000	(raw 0x400bfa00000000000000)
st7            0.25599999999999999998937481870964206	(raw 0x3ffd83126e978d4fdf3b)
fctrl          0x37f	895
fstat          0x4220	16928
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
xmm0           {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}
xmm1           {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}
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}
---Type <return> to continue, or q <return> to quit---
xmm3           {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}
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}
mxcsr          0x1f80	[ IM DM ZM OM UM PM ]
mm0            {uint64 = 0x8080808080808080, v2_int32 = {0x80808080, 
    0x80808080}, v4_int16 = {0x8080, 0x8080, 0x8080, 0x8080}, v8_int8 = {0x80, 
---Type <return> to continue, or q <return> to quit---
    0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}}
mm1            {uint64 = 0x80008000800080, v2_int32 = {0x800080, 0x800080}, 
  v4_int16 = {0x80, 0x80, 0x80, 0x80}, v8_int8 = {0x80, 0x0, 0x80, 0x0, 0x80, 
    0x0, 0x80, 0x0}}
mm2            {uint64 = 0x8cf8600000000000, v2_int32 = {0x0, 0x8cf86000}, 
  v4_int16 = {0x0, 0x0, 0x6000, 0x8cf8}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x60, 0xf8, 0x8c}}
mm3            {uint64 = 0xc90fdaa22168bc6a, v2_int32 = {0x2168bc6a, 
    0xc90fdaa2}, v4_int16 = {0xbc6a, 0x2168, 0xdaa2, 0xc90f}, v8_int8 = {0x6a, 
    0xbc, 0x68, 0x21, 0xa2, 0xda, 0xf, 0xc9}}
mm4            {uint64 = 0xb6d5660000000000, v2_int32 = {0x0, 0xb6d56600}, 
  v4_int16 = {0x0, 0x0, 0x6600, 0xb6d5}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x66, 0xd5, 0xb6}}
mm5            {uint64 = 0xfa00000000000000, v2_int32 = {0x0, 0xfa000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0xfa00}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0xfa}}
mm6            {uint64 = 0xfa00000000000000, v2_int32 = {0x0, 0xfa000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0xfa00}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0xfa}}
mm7            {uint64 = 0x83126e978d4fdf3b, v2_int32 = {0x8d4fdf3b, 
    0x83126e97}, v4_int16 = {0xdf3b, 0x8d4f, 0x6e97, 0x8312}, v8_int8 = {0x3b, 
    0xdf, 0x4f, 0x8d, 0x97, 0x6e, 0x12, 0x83}}
(gdb) 

Thank you

Ok, if I just use "--prefix=/usr" it works but I have massive binaries. Inefficient I feel. Similar compile options have been used successfully in the 0.7 and 0.6 series.
Thanks
Update. If I leave out the "--enable-small" option then I get a good compile. It was just a hunch. I hope this helps.
Regards
Michael Amadio

Last edited 13 years ago by 01micko (previous) (diff)

comment:3 by Carl Eugen Hoyos, 13 years ago

Is ./configure --enable-small & make sufficient to reproduce the crash? Or --enable-small --enable-shared?
And please provide a backtrace (without --disable-debug).

comment:4 by 01micko, 13 years ago

Hi there

Ok, compiled "--prefix=/usr --enable-small" and ffmpeg segfaults, so not just ffplay.

19032010.mp4
batchrename
hottest-guitar-lessons-i-have-ever-seen.wmv
"Judas Priest - Breaking The Law".320x240.mp4
narwhals.mp4
nvid
testvid
"The Angels (Angel City)-Marseilles".320x240.mp4
"The Angels - Dogs Are Talking".640x360.mp4
"The Angels - Let The Night Roll On".640x360.mp4
"The Angels - No Secrets (1980)".640x360.mp4
vid
whoisit.amv
Who Is It.WMV
# ffmpeg -i '"The Angels (Angel City)-Marseilles".320x240.mp4' Marseilles.avi
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 14 2011 10:08:33 with gcc 4.5.2
  configuration: --prefix=/usr --enable-small
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0

Seems stream 1 codec frame rate differs from container frame rate: 50000.00 (50000/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '"The Angels (Angel City)-Marseilles".320x240.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomavc1mp42
    creation_time   : 2008-04-26 03:38:37
  Duration: 00:07:44.00, start: 0.000000, bitrate: 359 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 125 kb/s
    Metadata:
      creation_time   : 2008-04-26 03:38:37
    Stream #0.1(und): Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 231 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc
    Metadata:
      creation_time   : 2008-04-26 03:38:37
Segmentation fault
# gdb ffmpeg_g
GNU gdb (GDB) 7.2
Copyright (C) 2010 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 "i486-slackware-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/ffmpeg_g...done.
(gdb) r  -i '"The Angels (Angel City)-Marseilles".320x240.mp4' Marseilles.avi
Starting program: /usr/bin/ffmpeg_g -i '"The Angels (Angel City)-Marseilles".320x240.mp4' Marseilles.avi
[Thread debugging using libthread_db enabled]
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 14 2011 10:08:33 with gcc 4.5.2
  configuration: --prefix=/usr --enable-small
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0

Seems stream 1 codec frame rate differs from container frame rate: 50000.00 (50000/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '"The Angels (Angel City)-Marseilles".320x240.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isomavc1mp42
    creation_time   : 2008-04-26 03:38:37
  Duration: 00:07:44.00, start: 0.000000, bitrate: 359 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 125 kb/s
    Metadata:
      creation_time   : 2008-04-26 03:38:37
    Stream #0.1(und): Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 231 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc
    Metadata:
      creation_time   : 2008-04-26 03:38:37
File 'Marseilles.avi' already exists. Overwrite ? [y/N] y

Program received signal SIGSEGV, Segmentation fault.
0xb7d3bb87 in strcmp () from /lib/libc.so.6
(gdb) bt
#0  0xb7d3bb87 in strcmp () from /lib/libc.so.6
#1  0x080819a7 in avfilter_get_by_name (name=0x8312b17 "buffer")
    at libavfilter/avfilter.c:638
#2  0x0807a620 in configure_video_filters (nb_output_files=1, 
    input_files=0x8965408, nb_input_files=1, stream_maps=0x0, 
    nb_stream_maps=0, output_files=0x8450a88) at ffmpeg.c:384
#3  transcode (nb_output_files=1, input_files=0x8965408, nb_input_files=1, 
    stream_maps=0x0, nb_stream_maps=0, output_files=0x8450a88) at ffmpeg.c:2340
#4  0x0807c075 in main (argc=<value optimized out>, argv=<value optimized out>)
    at ffmpeg.c:4583
(gdb) disass $pc-32,$pc+32
Dump of assembler code from 0xb7d3bb67 to 0xb7d3bba7:
   0xb7d3bb67:	nop
   0xb7d3bb68:	nop
   0xb7d3bb69:	nop
   0xb7d3bb6a:	nop
   0xb7d3bb6b:	nop
   0xb7d3bb6c:	nop
   0xb7d3bb6d:	nop
   0xb7d3bb6e:	nop
   0xb7d3bb6f:	nop
   0xb7d3bb70 <strcmp+0>:	push   %ebp
   0xb7d3bb71 <strcmp+1>:	xor    %eax,%eax
   0xb7d3bb73 <strcmp+3>:	mov    %esp,%ebp
   0xb7d3bb75 <strcmp+5>:	push   %edi
   0xb7d3bb76 <strcmp+6>:	mov    0x8(%ebp),%edi
   0xb7d3bb79 <strcmp+9>:	push   %esi
   0xb7d3bb7a <strcmp+10>:	mov    0xc(%ebp),%esi
   0xb7d3bb7d <strcmp+13>:	jmp    0xb7d3bb87 <strcmp+23>
   0xb7d3bb7f <strcmp+15>:	nop
   0xb7d3bb80 <strcmp+16>:	add    $0x1,%eax
   0xb7d3bb83 <strcmp+19>:	cmp    %cl,%dl
   0xb7d3bb85 <strcmp+21>:	jne    0xb7d3bba0 <strcmp+48>
=> 0xb7d3bb87 <strcmp+23>:	movzbl (%edi,%eax,1),%edx
---Type <return> to continue, or q <return> to quit---
   0xb7d3bb8b <strcmp+27>:	movzbl (%esi,%eax,1),%ecx
   0xb7d3bb8f <strcmp+31>:	test   %dl,%dl
   0xb7d3bb91 <strcmp+33>:	jne    0xb7d3bb80 <strcmp+16>
   0xb7d3bb93 <strcmp+35>:	movzbl %cl,%eax
   0xb7d3bb96 <strcmp+38>:	neg    %eax
   0xb7d3bb98 <strcmp+40>:	pop    %esi
   0xb7d3bb99 <strcmp+41>:	pop    %edi
   0xb7d3bb9a <strcmp+42>:	pop    %ebp
   0xb7d3bb9b <strcmp+43>:	ret    
   0xb7d3bb9c <strcmp+44>:	lea    0x0(%esi,%eiz,1),%esi
   0xb7d3bba0 <strcmp+48>:	movzbl %dl,%eax
   0xb7d3bba3 <strcmp+51>:	movzbl %cl,%ecx
   0xb7d3bba6 <strcmp+54>:	sub    %ecx,%eax
End of assembler dump.
(gdb) info all-registers
eax            0x0	0
ecx            0x62	98
edx            0x68	104
ebx            0x843f4cc	138671308
esp            0xbfffe880	0xbfffe880
ebp            0xbfffe888	0xbfffe888
esi            0x8312b17	137440023
edi            0x0	0
eip            0xb7d3bb87	0xb7d3bb87 <strcmp+23>
eflags         0x210246	[ PF ZF IF RF ID ]
cs             0x73	115
ss             0x7b	123
ds             0x7b	123
es             0x7b	123
fs             0x0	0
gs             0x33	51
st0            -nan(0x7e7e7e7e7e7e7e7e)	(raw 0xffff7e7e7e7e7e7e7e7e)
st1            -nan(0x7e7e7e7e7e7e7e7e)	(raw 0xffff7e7e7e7e7e7e7e7e)
st2            -nan(0x7e7f808182838384)	(raw 0xffff7e7f808182838384)
st3            -2147483648	(raw 0xc01e8000000000000000)
st4            123456	(raw 0x400ff120000000000000)
st5            123456	(raw 0x400ff120000000000000)
st6            0.00099999999999999999995849538558453928	(raw 0x3ff583126e978d4fd---Type <return> to continue, or q <return> to quit---
f3b)
st7            0.040000000000000000832667268468867405	(raw 0x3ffaa3d70a3d70a3d800)
fctrl          0x37f	895
fstat          0x120	288
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x23, 0x23, 0x20, 0x17, 0x10 <repeats 12 times>}, v8_int16 = {
    0x2323, 0x1720, 0x1010, 0x1010, 0x1010, 0x1010, 0x1010, 0x1010}, 
  v4_int32 = {0x17202323, 0x10101010, 0x10101010, 0x10101010}, v2_int64 = {
    0x1010101017202323, 0x1010101010101010}, 
  uint128 = 0x10101010101010101010101017202323}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x23, 0x23, 0x20, 0x17, 0x10 <repeats 12 times>}, v8_int16 = {
    0x2323, 0x1720, 0x1010, 0x1010, 0x1010, 0x1010, 0x1010, 0x1010}, 
  v4_int32 = {0x17202323, 0x10101010, 0x10101010, 0x10101010}, v2_int64 = {
    0x1010101017202323, 0x1010101010101010}, 
  uint128 = 0x10101010101010101010101017202323}
---Type <return> to continue, or q <return> to quit---
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x23, 0x23, 0x20, 0x17, 0x10 <repeats 12 times>}, v8_int16 = {
    0x2323, 0x1720, 0x1010, 0x1010, 0x1010, 0x1010, 0x1010, 0x1010}, 
  v4_int32 = {0x17202323, 0x10101010, 0x10101010, 0x10101010}, v2_int64 = {
    0x1010101017202323, 0x1010101010101010}, 
  uint128 = 0x10101010101010101010101017202323}
xmm3           {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}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x80 <repeats 16 times>}, v8_int16 = {0x8080, 0x8080, 0x8080, 
    0x8080, 0x8080, 0x8080, 0x8080, 0x8080}, v4_int32 = {0x80808080, 
    0x80808080, 0x80808080, 0x80808080}, v2_int64 = {0x8080808080808080, 
    0x8080808080808080}, uint128 = 0x80808080808080808080808080808080}
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}
---Type <return> to continue, or q <return> to quit---
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x4 <repeats 16 times>}, v8_int16 = {0x404, 0x404, 0x404, 0x404, 
    0x404, 0x404, 0x404, 0x404}, v4_int32 = {0x4040404, 0x4040404, 0x4040404, 
    0x4040404}, v2_int64 = {0x404040404040404, 0x404040404040404}, 
  uint128 = 0x04040404040404040404040404040404}
mxcsr          0x1f80	[ IM DM ZM OM UM PM ]
mm0            {uint64 = 0x7e7e7e7e7e7e7e7e, v2_int32 = {0x7e7e7e7e, 
    0x7e7e7e7e}, v4_int16 = {0x7e7e, 0x7e7e, 0x7e7e, 0x7e7e}, v8_int8 = {0x7e, 
    0x7e, 0x7e, 0x7e, 0x7e, 0x7e, 0x7e, 0x7e}}
mm1            {uint64 = 0x7e7e7e7e7e7e7e7e, v2_int32 = {0x7e7e7e7e, 
    0x7e7e7e7e}, v4_int16 = {0x7e7e, 0x7e7e, 0x7e7e, 0x7e7e}, v8_int8 = {0x7e, 
    0x7e, 0x7e, 0x7e, 0x7e, 0x7e, 0x7e, 0x7e}}
mm2            {uint64 = 0x7e7f808182838384, v2_int32 = {0x82838384, 
    0x7e7f8081}, v4_int16 = {0x8384, 0x8283, 0x8081, 0x7e7f}, v8_int8 = {0x84, 
    0x83, 0x83, 0x82, 0x81, 0x80, 0x7f, 0x7e}}
mm3            {uint64 = 0x8000000000000000, v2_int32 = {0x0, 0x80000000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0x8000}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x80}}
mm4            {uint64 = 0xf120000000000000, v2_int32 = {0x0, 0xf1200000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0xf120}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
    0x20, 0xf1}}
mm5            {uint64 = 0xf120000000000000, v2_int32 = {0x0, 0xf1200000}, 
  v4_int16 = {0x0, 0x0, 0x0, 0xf120}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 
---Type <return> to continue, or q <return> to quit---
    0x20, 0xf1}}
mm6            {uint64 = 0x83126e978d4fdf3b, v2_int32 = {0x8d4fdf3b, 
    0x83126e97}, v4_int16 = {0xdf3b, 0x8d4f, 0x6e97, 0x8312}, v8_int8 = {0x3b, 
    0xdf, 0x4f, 0x8d, 0x97, 0x6e, 0x12, 0x83}}
mm7            {uint64 = 0xa3d70a3d70a3d800, v2_int32 = {0x70a3d800, 
    0xa3d70a3d}, v4_int16 = {0xd800, 0x70a3, 0xa3d, 0xa3d7}, v8_int8 = {0x0, 
    0xd8, 0xa3, 0x70, 0x3d, 0xa, 0xd7, 0xa3}}
(gdb) 

Hope this helps
Regards
Michael Amadio

comment:5 by Carl Eugen Hoyos, 13 years ago

Analyzed by developer: set
Component: undeterminedavfilter
Keywords: lut added
Priority: normalimportant
Reproduced by developer: set
Resolution: fixed
Status: openclosed
Version: unspecified0.8.2

This should be fixed for the next 0.8 (and 0.7) release.

Until then, workaround is to use ./configure --disable-filter=lut*

comment:6 by 01micko, 13 years ago

Thanks for your time :)
regards,
Michael Amadio

Note: See TracTickets for help on using tickets.