[MPlayer-dev-eng] Re: scale= broken in cvs on 2005-06-19

Tobias Diedrich ranma at tdiedrich.de
Sun Jun 26 16:18:11 CEST 2005


Guillaume POIRIER wrote:

> Should be fixed now. Please report if it works now or not.

Still doesn't work for me.  It looks like gcc-3.3 is borken
(Works when compiled with gcc-4.0, gcc-3.4 untested).
rev. 1.113 of swscale_template.c is the last one that works.
>From a report on the #mplayerdev-Channel the SuSE gcc-3.3 has
the same problem.


ranma at melchior:~$ gcc --version
gcc (GCC) 3.3.6 (Debian 1:3.3.6-6)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211737952 (LWP 29886)]
0x081859e2 in hScale_MMX2 (dst=0x817ae2a, dstW=141657064, 
    src=0x190 <Address 0x190 out of bounds>, srcW=320, xInc=320, 
    filter=0xfffffce0, filterPos=0x8717768, filterSize=141641048)
    at swscale_template.c:2048
2048                    asm volatile(
(gdb) bt
#0  0x081859e2 in hScale_MMX2 (dst=0x817ae2a, dstW=141657064, 
    src=0x190 <Address 0x190 out of bounds>, srcW=320, xInc=320, 
    filter=0xfffffce0, filterPos=0x8717768, filterSize=141641048)
    at swscale_template.c:2048
#1  0x0870fac0 in ?? ()
#2  0x0817ae2a in swScale_MMX2 (c=0x1, src=0xbfffe020, srcStride=0xbfffdec0, 
    srcSliceY=0, srcSliceH=16, dst=0x872d158, dstStride=0xbfffdeb0)
    at swscale_template.c:2723
#3  0x08179957 in sws_scale_ordered (c=0x870fac0, src=0xbfffe020, 
    srcStride=0x870fac0, srcSliceY=0, srcSliceH=16, dst=0x872d158, 
    dstStride=0x872d168) at swscale.c:2292
#4  0x080dc6f3 in scale (sws1=0x870fac0, sws2=0x0, src=0x87183e8, 
    src_stride=0x86d6160, y=141386080, h=16, dst=0x872d158, 
    dst_stride=0x872d168, interlaced=0) at vf_scale.c:300
#5  0x080dbf68 in draw_slice (vf=0x0, src=0xbfffe020, stride=0x86d6160, w=640, 
    h=16, x=0, y=0) at vf_scale.c:314
#6  0x080b454b in mpcodecs_draw_slice (sh=0x0, src=0x0, stride=0x0, w=0, h=0, 
    x=0, y=0) at vd.c:358
#7  0x080b7edd in draw_slice (s=0x0, src=0x86d6150, offset=0x86d6150, y=0, 
    type=3, height=640) at vd_ffmpeg.c:456
#8  0x081a4755 in ff_draw_horiz_band (s=0x8714558, y=0, h=-1073749888)
    at mpegvideo.c:4001
#9  0x082d0a96 in decode_slice (s=0x8624050) at h263dec.c:242


/proc/cpuinfo:
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 6
model name	: AMD Athlon(TM) XP1700+
stepping	: 2
cpu MHz		: 1477.556
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse pni syscall mmxext 3dnowext 3dnow
bogomips	: 2940.92

-- 
Tobias						PGP: http://9ac7e0bc.uguu.de




More information about the MPlayer-dev-eng mailing list