[MPlayer-users] BUG: --enable-debug=3 causes sws 2 to fail

Corey Hickey bugfood-ml at fatooh.org
Fri Sep 26 03:32:46 CEST 2003


I was trying to reproduce Matthew Miller's recent report about
ratecontrol, and I ran into the problem that mplayer crashes when I use
-sws 2. If I change the cropping or scaling parameters, then I don't get
a crash.

I did a few different compiles:
--cc=gcc-3.3 --enable-debug=3	--- fails
--cc=gcc-3.3			--- works
--cc=gcc-2.95 --enable-debug=3  --- fails
--cc=gcc-2.95			--- works

I didn't try gcc 3.2, but the problem doesn't seem to be dependant upon
the compiler. In all cases the error looks like this:

mplayer-3.3-debug: swscale_template.c:2618: swScale_MMX2: Assertion 
`firstLumSrcY >= lastInLumBuf - vLumBufSize + 1' failed.

Interestingly enough, when I use --disable-mmx2, the error changes to
this:

mplayer: swscale_template.c:2618: swScale_3DNow: Assertion `firstLumSrcY 
 >= lastInLumBuf - vLumBufSize + 1' failed.


The source file I use is bad_boys_source.vob, available at:
http://bugfood.casa-z.org/mpbug/sws2/bad_boys/
--and--
http://www.knight-industries.com/bad_boys/


I've attached a verbose log of:
./mplayer-3.3-debug /tmp/bad_boys/bad_boys_source.vob -vf \
crop=708:462:6:6,scale=640:352 -sws 2 -v


--------System Information---------
Debian Testing/Sarge

Linux bugfood 2.4.21 #1 Fri Jun 13 16:50:05 PDT 2003 i686 GNU/Linux

/lib/libc.so.6 -> libc-2.3.2.so

gcc version 3.3.1 20030626 (Debian prerelease)

bugfood at bugfood:/tmp$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm)
stepping        : 0
cpu MHz         : 1890.053
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 syscall mmxext 3dnowext 3dnow
bogomips        : 3761.76

---------------------------------------

If anybody wants more information, then please let me know.

-Corey





-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sws2crash.log
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030925/e199607c/attachment.asc>


More information about the MPlayer-users mailing list