[MPlayer-users] Bug: Crash with smartblur

Alexander Shaduri ashaduri at gmail.com
Sun Mar 29 15:33:50 CEST 2009


I have a crash with MPlayer r29096, when invoking it
on any file like this:
mplayer -vf scale,smartblur=0.3:-1:0 <file>

If I remove the scale filter, the display is garbled.
This doesn't happen if smartblur's first option is e.g. 0.5.

Thanks,
Alexander


MPlayer output:
--------------------------------------------------------------
$ mplayer -vf scale,smartblur=0.3:-1:0 file.avi
MPlayer SVN-r29096-4.2.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing file.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [XVID]  720x404  24bpp  25.000 fps  1778.5 kbps (217.1 kbyte/s)
Clip info:
 Software: MEncoder 1.0rc2-SUSE Linux 10.3 (i686)-Packman-4.2.1
Opening video filter: [smartblur=0.3:-1:0]
Opening video filter: [scale]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 404 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0x8917f00]using unscaled yuv420p -> yuv420p special converter
VO: [xv] 720x404 => 720x404 Planar YV12  [zoom]
Segmentation fault (core dumped)
--------------------------------------------------------------


Here's the gdb info:
-----------------------------------------------
Core was generated by `/0S/0tmp/DL-CVS/mplayer/mplayer_compiled/mplayer -vf scale,smartblur=0.3:-1:0 T'.
Program terminated with signal 11, Segmentation fault.
[New process 644]
#0  0xb67fd6cc in memcpy () from /lib/libc.so.6
#0  0xb67fd6cc in memcpy () from /lib/libc.so.6
#1  0x0865865b in planarCopy (c=0x8e63010, src=0xbf8fe96c,
    srcStride=0xbf8fe93c, srcSliceY=0, srcSliceH=404, dst=0xbf8fea90,
    dstStride=0xbf8fe94c) at swscale.c:2146
#2  0x0865770d in sws_scale (c=0x8e63010, src=0xbf8fea9c,
    srcStride=0xbf8fea84, srcSliceY=0, srcSliceH=404, dst=0xbf8fea90,
    dstStride=0xbf8fea78) at swscale.c:3019
#3  0x081b89ae in put_image (vf=0x8de6258, mpi=0x8e74d88, pts=0)
    at libmpcodecs/vf_smartblur.c:140
#4  0x0818e0a9 in filter_video (sh_video=0x8dd3028, frame=0x8e752a8, pts=0)
    at libmpcodecs/dec_video.c:416
#5  0x080db07f in main (argc=4, argv=0xbf900db4) at mplayer.c:2293
Dump of assembler code from 0xb67fd6ac to 0xb67fd6ec:
0xb67fd6ac <__memcpy_chk+12>:	push   %es
0xb67fd6ad <__memcpy_chk+13>:	add    %ah,-0x70(%esi)
0xb67fd6b0 <memcpy+0>:	mov    0xc(%esp),%ecx
0xb67fd6b4 <memcpy+4>:	mov    %edi,%eax
0xb67fd6b6 <memcpy+6>:	mov    0x4(%esp),%edi
0xb67fd6ba <memcpy+10>:	mov    %esi,%edx
0xb67fd6bc <memcpy+12>:	mov    0x8(%esp),%esi
0xb67fd6c0 <memcpy+16>:	cld
0xb67fd6c1 <memcpy+17>:	shr    %ecx
0xb67fd6c3 <memcpy+19>:	jae    0xb67fd6c6 <memcpy+22>
0xb67fd6c5 <memcpy+21>:	movsb  %ds:(%esi),%es:(%edi)
0xb67fd6c6 <memcpy+22>:	shr    %ecx
0xb67fd6c8 <memcpy+24>:	jae    0xb67fd6cc <memcpy+28>
0xb67fd6ca <memcpy+26>:	movsw  %ds:(%esi),%es:(%edi)
0xb67fd6cc <memcpy+28>:	rep movsl %ds:(%esi),%es:(%edi)
0xb67fd6ce <memcpy+30>:	mov    %eax,%edi
0xb67fd6d0 <memcpy+32>:	mov    %edx,%esi
0xb67fd6d2 <memcpy+34>:	mov    0x4(%esp),%eax
0xb67fd6d6 <memcpy+38>:	ret
0xb67fd6d7:	nop
0xb67fd6d8:	nop
0xb67fd6d9:	nop
0xb67fd6da:	nop
0xb67fd6db:	nop
0xb67fd6dc:	nop
0xb67fd6dd:	nop
0xb67fd6de:	nop
0xb67fd6df:	nop
0xb67fd6e0:	push   %ebp
0xb67fd6e1:	mov    %esp,%ebp
0xb67fd6e3:	sub    $0xc,%esp
0xb67fd6e6:	mov    %esi,0x4(%esp)
0xb67fd6ea:	mov    0x10(%ebp),%esi
End of assembler dump.
eax            0x747a0b04	1954155268
ecx            0xb4	180
edx            0x2	2
ebx            0xb4f0e310	-1259281648
esp            0xbf8fe8bc	0xbf8fe8bc
ebp            0xbf8fe8f8	0xbf8fe8f8
esi            0x747a0b04	1954155268
edi            0xb4f0e310	-1259281648
eip            0xb67fd6cc	0xb67fd6cc <memcpy+28>
eflags         0x210216	[ PF AF IF RF ID ]
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            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st3            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st4            -nan(0x8080808080808080)	(raw 0xffff8080808080808080)
st5            -nan(0x80008000800080)	(raw 0xffff0080008000800080)
st6            0	(raw 0x00000000000000000000)
st7            0	(raw 0x00000000000000000000)
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 = {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 = {0xfe, 0xf9, 0x5c, 0xbb, 0x41, 0x5b, 0x60, 0x3b, 0xf, 0x43, 0x4d,
    0xbb, 0xf5, 0xec, 0x51, 0x3b}, v8_int16 = {0xf9fe, 0xbb5c, 0x5b41, 0x3b60,
    0x430f, 0xbb4d, 0xecf5, 0x3b51}, v4_int32 = {0xbb5cf9fe, 0x3b605b41,
    0xbb4d430f, 0x3b51ecf5}, v2_int64 = {0x3b605b41bb5cf9fe,
    0x3b51ecf5bb4d430f}, uint128 = 0x3b51ecf5bb4d430f3b605b41bb5cf9fe}
xmm2           {v4_float = {0x180, 0x180, 0x180, 0x180}, v2_double = {
    0x2000008780000000, 0x2000008780000000}, v16_int8 = {0x0, 0x0, 0xc0, 0x43,
    0x0, 0x0, 0xc0, 0x43, 0x0, 0x0, 0xc0, 0x43, 0x0, 0x0, 0xc0, 0x43},
  v8_int16 = {0x0, 0x43c0, 0x0, 0x43c0, 0x0, 0x43c0, 0x0, 0x43c0}, v4_int32 = {
    0x43c00000, 0x43c00000, 0x43c00000, 0x43c00000}, v2_int64 = {
    0x43c0000043c00000, 0x43c0000043c00000},
  uint128 = 0x43c0000043c0000043c0000043c00000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x5, 0xfe, 0x45, 0x3b, 0x11, 0x10, 0xff, 0x38, 0x8, 0x8f, 0xfb,
    0x3a, 0xd0, 0x93, 0x15, 0x3b}, v8_int16 = {0xfe05, 0x3b45, 0x1011, 0x38ff,
    0x8f08, 0x3afb, 0x93d0, 0x3b15}, v4_int32 = {0x3b45fe05, 0x38ff1011,
    0x3afb8f08, 0x3b1593d0}, v2_int64 = {0x38ff10113b45fe05,
    0x3b1593d03afb8f08}, uint128 = 0x3b1593d03afb8f0838ff10113b45fe05}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x4, 0x87, 0xfd, 0xb7, 0x81, 0x98, 0x53, 0xbb, 0xb8, 0x95, 0xe,
    0x3b, 0x8e, 0x5b, 0x16, 0xbb}, v8_int16 = {0x8704, 0xb7fd, 0x9881, 0xbb53,
    0x95b8, 0x3b0e, 0x5b8e, 0xbb16}, v4_int32 = {0xb7fd8704, 0xbb539881,
    0x3b0e95b8, 0xbb165b8e}, v2_int64 = {0xbb539881b7fd8704,
    0xbb165b8e3b0e95b8}, uint128 = 0xbb165b8e3b0e95b8bb539881b7fd8704}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0xe9, 0xfa, 0x4a, 0x3b, 0xfc, 0x8a, 0xa0, 0x38, 0xe, 0x9a, 0xc,
    0x3b, 0xfe, 0xb6, 0x1c, 0x3b}, v8_int16 = {0xfae9, 0x3b4a, 0x8afc, 0x38a0,
    0x9a0e, 0x3b0c, 0xb6fe, 0x3b1c}, v4_int32 = {0x3b4afae9, 0x38a08afc,
    0x3b0c9a0e, 0x3b1cb6fe}, v2_int64 = {0x38a08afc3b4afae9,
    0x3b1cb6fe3b0c9a0e}, uint128 = 0x3b1cb6fe3b0c9a0e38a08afc3b4afae9}
xmm6           {v4_float = {0x1, 0xffffffff, 0x0, 0x0}, v2_double = {0x0,
    0x0}, v16_int8 = {0x0, 0x0, 0x80, 0x3f, 0x0, 0x0, 0x80, 0xbf, 0xf3, 0x4,
    0x35, 0x3f, 0xf3, 0x4, 0x35, 0xbf}, v8_int16 = {0x0, 0x3f80, 0x0, 0xbf80,
    0x4f3, 0x3f35, 0x4f3, 0xbf35}, v4_int32 = {0x3f800000, 0xbf800000,
    0x3f3504f3, 0xbf3504f3}, v2_int64 = {0xbf8000003f800000,
    0xbf3504f33f3504f3}, uint128 = 0xbf3504f33f3504f3bf8000003f800000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf3, 0x4, 0x35, 0x3f,
    0xf3, 0x4, 0x35, 0xbf}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x4f3, 0x3f35,
    0x4f3, 0xbf35}, v4_int32 = {0x0, 0x0, 0x3f3504f3, 0xbf3504f3}, v2_int64 = {
    0x0, 0xbf3504f33f3504f3}, uint128 = 0xbf3504f33f3504f30000000000000000}
mxcsr          0x1fa0	[ PE IM DM ZM OM UM PM ]
mm0            {uint64 = 0x8080808080808080, v2_int32 = {0x80808080,
    0x80808080}, v4_int16 = {0x8080, 0x8080, 0x8080, 0x8080}, v8_int8 = {0x80,
    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 = 0x8080808080808080, v2_int32 = {0x80808080,
    0x80808080}, v4_int16 = {0x8080, 0x8080, 0x8080, 0x8080}, v8_int8 = {0x80,
    0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}}
mm3            {uint64 = 0x80008000800080, v2_int32 = {0x800080, 0x800080},
  v4_int16 = {0x80, 0x80, 0x80, 0x80}, v8_int8 = {0x80, 0x0, 0x80, 0x0, 0x80,
    0x0, 0x80, 0x0}}
mm4            {uint64 = 0x8080808080808080, v2_int32 = {0x80808080,
    0x80808080}, v4_int16 = {0x8080, 0x8080, 0x8080, 0x8080}, v8_int8 = {0x80,
    0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80}}
mm5            {uint64 = 0x80008000800080, v2_int32 = {0x800080, 0x800080},
  v4_int16 = {0x80, 0x80, 0x80, 0x80}, v8_int8 = {0x80, 0x0, 0x80, 0x0, 0x80,
    0x0, 0x80, 0x0}}
mm6            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
-----------------------------------------------

MPlayer was compiled with:
CFLAGS= CXXFLAGS= LDFLAGS= ./configure \
--prefix=/usr --confdir=/etc/mplayer --enable-gui --enable-menu \
--enable-xvmc --with-xvmclib=XvMCNVIDIA --disable-arts \
--realcodecsdir=/usr/lib/RealPlayer10/codecs \
--enable-debug=3 --disable-sighandler

-------------------------------------------------
System information:

openSUSE Linux 10.3;
linux 2.6.28 #1 SMP PREEMPT Fri Jan 16 15:26:55 GST 2009 i686 athlon i386 GNU/Linux;
glibc-2.6.1;

$ gcc -v
Using built-in specs.
Target: i586-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.2.1 --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --program-suffix=-4.2 --enable-version-specific-runtime-libs --without-system-libunwind --with-cpu=generic --host=i586-suse-linux
Thread model: posix
gcc version 4.2.1 (SUSE Linux)

GNU ld (GNU Binutils) 2.17.50.20070726-14 (SUSE Linux)
GNU assembler (GNU Binutils) 2.17.50.20070726-14 (SUSE Linux)

Window Maker 0.92.0
gtk2-2.12.11

CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+

MSI NVidia GeForce 8600GT;
NVidia binary driver 180.41.

Creative Sound Blaster Live! 5.1 (with alsa drivers).



More information about the MPlayer-users mailing list