Bug#567725: mplayer: gets SIGILL on Pentium II when playing an MPEG video with -vo caca

2010-01-31 Thread Diego Biurrun
On Sun, Jan 31, 2010 at 04:47:13PM +0100, Reinhard Tartler wrote:
> On So, Jan 31, 2010 at 12:18:29 (CET), Reimar Döffinger wrote:
> 
> > On Sun, Jan 31, 2010 at 09:32:05AM +0100, Reinhard Tartler wrote:
> >> libswscale uses MMX2:
> >> 
> >> > -- The GDB backtrace
> >> > #0  0xb620657d in yuv420_rgb24_MMX2 (c=0x8601ec0, src=0xbfffcb70, 
> >> > srcStride=0xbfffcb40,
> >> > srcSliceY=0, srcSliceH=16, dst=0x862c944, dstStride=0xbfffcb50)
> >> > at 
> >> > /build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libswscale/yuv2rgb_template.c:292
> >> 
> >> This is the same bug as
> >> https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/386397
> >> 
> >> As easy workaround, you can move /usr/lib/i686/cmov/libswscale.so.0 out
> >> of the way.
> >> 
> >> Not sure how to fix this properly.
> >
> > By doing what the first comment in that bug report says?
> > Compile FFmpeg with --enable-runtime-cpudetection
> 
> upon closer inspection, this is not possible in ffmpeg 0.5 yet. Unless
> someone wants to work on backporting this change from current trunk, I
> fear this will remain unfixed until ffmpeg 0.6.

This sounds like a candidate for backporting, i.e. it is likely a change
that I would approve.

Diego




___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#567725: mplayer: gets SIGILL on Pentium II when playing an MPEG video with -vo caca

2010-01-31 Thread Reinhard Tartler
On So, Jan 31, 2010 at 12:18:29 (CET), Reimar Döffinger wrote:

> On Sun, Jan 31, 2010 at 09:32:05AM +0100, Reinhard Tartler wrote:
>> libswscale uses MMX2:
>> 
>> > -- The GDB backtrace
>> > #0  0xb620657d in yuv420_rgb24_MMX2 (c=0x8601ec0, src=0xbfffcb70, 
>> > srcStride=0xbfffcb40,
>> > srcSliceY=0, srcSliceH=16, dst=0x862c944, dstStride=0xbfffcb50)
>> > at 
>> > /build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libswscale/yuv2rgb_template.c:292
>> 
>> This is the same bug as
>> https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/386397
>> 
>> As easy workaround, you can move /usr/lib/i686/cmov/libswscale.so.0 out
>> of the way.
>> 
>> Not sure how to fix this properly.
>
> By doing what the first comment in that bug report says?
> Compile FFmpeg with --enable-runtime-cpudetection

upon closer inspection, this is not possible in ffmpeg 0.5 yet. Unless
someone wants to work on backporting this change from current trunk, I
fear this will remain unfixed until ffmpeg 0.6.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#567725: mplayer: gets SIGILL on Pentium II when playing an MPEG video with -vo caca

2010-01-31 Thread Reinhard Tartler
On So, Jan 31, 2010 at 12:18:29 (CET), Reimar Döffinger wrote:

> On Sun, Jan 31, 2010 at 09:32:05AM +0100, Reinhard Tartler wrote:
>> libswscale uses MMX2:
>> 
>> > -- The GDB backtrace
>> > #0  0xb620657d in yuv420_rgb24_MMX2 (c=0x8601ec0, src=0xbfffcb70, 
>> > srcStride=0xbfffcb40,
>> > srcSliceY=0, srcSliceH=16, dst=0x862c944, dstStride=0xbfffcb50)
>> > at 
>> > /build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libswscale/yuv2rgb_template.c:292
>> 
>> This is the same bug as
>> https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/386397
>> 
>> As easy workaround, you can move /usr/lib/i686/cmov/libswscale.so.0 out
>> of the way.
>> 
>> Not sure how to fix this properly.
>
> By doing what the first comment in that bug report says?
> Compile FFmpeg with --enable-runtime-cpudetection

oh, I must have overlooked that. Yes, at the first glance, this seems
indeed the way to go. Thanks for pointing this out.


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#567725: mplayer: gets SIGILL on Pentium II when playing an MPEG video with -vo caca

2010-01-31 Thread Reimar Döffinger
On Sun, Jan 31, 2010 at 09:32:05AM +0100, Reinhard Tartler wrote:
> libswscale uses MMX2:
> 
> > -- The GDB backtrace
> > #0  0xb620657d in yuv420_rgb24_MMX2 (c=0x8601ec0, src=0xbfffcb70, 
> > srcStride=0xbfffcb40,
> > srcSliceY=0, srcSliceH=16, dst=0x862c944, dstStride=0xbfffcb50)
> > at 
> > /build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libswscale/yuv2rgb_template.c:292
> 
> This is the same bug as
> https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/386397
> 
> As easy workaround, you can move /usr/lib/i686/cmov/libswscale.so.0 out
> of the way.
> 
> Not sure how to fix this properly.

By doing what the first comment in that bug report says?
Compile FFmpeg with --enable-runtime-cpudetection



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#567725: mplayer: gets SIGILL on Pentium II when playing an MPEG video with -vo caca

2010-01-31 Thread Reinhard Tartler
reassign 567725 libswscale0
stop

On Sa, Jan 30, 2010 at 23:30:57 (CET), Jonathan Neuschäfer wrote:

> I tried to play an MPEG video like this:
> mplayer -vo caca foo.mpg

It seems that your CPU supports MMX, but not MMX2:

> I hope this bug report helps.
>
> -- some programs' outputs
> $ file foo.mpg
> foo.mpg: MPEG sequence, v1, system multiplex
>
> # cat /proc/cpuinfo
> processor   : 0
> vendor_id   : GenuineIntel
> cpu family  : 6
> model   : 5
> model name  : Pentium II (Deschutes)
> stepping: 2
> cpu MHz : 232.098
> cache size  : 512 KB
> fdiv_bug: no
> hlt_bug : no
> f00f_bug: no
> coma_bug: no
> fpu : yes
> fpu_exception   : yes
> cpuid level : 2
> wp  : yes
> flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
> pse36 mmx fxsr up
> bogomips: 464.19
> clflush size: 32
> cache_alignment : 32
> address sizes   : 36 bits physical, 32 bits virtual
> power management:

libswscale uses MMX2:

> -- The GDB backtrace
> #0  0xb620657d in yuv420_rgb24_MMX2 (c=0x8601ec0, src=0xbfffcb70, 
> srcStride=0xbfffcb40,
> srcSliceY=0, srcSliceH=16, dst=0x862c944, dstStride=0xbfffcb50)
> at 
> /build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libswscale/yuv2rgb_template.c:292

This is the same bug as
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/386397

As easy workaround, you can move /usr/lib/i686/cmov/libswscale.so.0 out
of the way.

Not sure how to fix this properly.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Processed: Re: Bug#567725: mplayer: gets SIGILL on Pentium II when playing an MPEG video with -vo caca

2010-01-31 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 567725 libswscale0
Bug #567725 [mplayer] mplayer: gets SIGILL on Pentium II when playing an MPEG 
video with -vo caca
Bug reassigned from package 'mplayer' to 'libswscale0'.
Bug No longer marked as found in versions mplayer/1.0~rc3+svn20090405-1.
> stop
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#567725: mplayer: gets SIGILL on Pentium II when playing an MPEG video with -vo caca

2010-01-30 Thread Jonathan Neuschäfer
Package: mplayer
Version: 1.0~rc3+svn20090405-1
Severity: normal

I tried to play an MPEG video like this:
mplayer -vo caca foo.mpg

I hope this bug report helps.

-- some programs' outputs
$ file foo.mpg
foo.mpg: MPEG sequence, v1, system multiplex

# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 5
model name  : Pentium II (Deschutes)
stepping: 2
cpu MHz : 232.098
cache size  : 512 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov 
pse36 mmx fxsr up
bogomips: 464.19
clflush size: 32
cache_alignment : 32
address sizes   : 36 bits physical, 32 bits virtual
power management:

-- The GDB backtrace
#0  0xb620657d in yuv420_rgb24_MMX2 (c=0x8601ec0, src=0xbfffcb70, 
srcStride=0xbfffcb40,
srcSliceY=0, srcSliceH=16, dst=0x862c944, dstStride=0xbfffcb50)
at 
/build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libswscale/yuv2rgb_template.c:292
#1  0xb61f6cf1 in sws_scale (c=0x8601ec0, src=0xbfffcc00, srcStride=0x85e62e0, 
srcSliceY=0, srcSliceH=16, dst=0x862c944, dstStride=0x862c954)
at 
/build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libswscale/swscale.c:2804

  #2  0x08175904 in scale (sws1=0x8601ec0, sws2=0x0, src=,
src_stride=0x85e62e0, y=0, h=16, dst=0x862c944, 
dst_stride=0x862c954, interlaced=0) at 
libmpcodecs/vf_scale.c:348
#3  0x0824c0a5 in draw_slice (s=0x85bf850, src=0x85e62d0, offset=0xbfffccc0, 
y=0, type=3,
height=16) at libmpcodecs/vd_ffmpeg.c:478
#4  0xb64581a8 in ff_draw_horiz_band (s=0x85bfbc0, y=0, h=16)   
at 
/build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libavcodec/mpegvideo.c:2032

#5  0xb654c71e in mpeg_decode_slice (s1=0x85bfbc0, mb_y=,
buf=, buf_size=995)
at 
/build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libavcodec/mpeg12.c:1805
#6  0xb6551ebe in decode_chunks (avctx=, picture=,
data_size=, buf=0xb523f008 "", buf_size=1008)  
at 
/build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libavcodec/mpeg12.c:2441
#7  0xb65522e0 in mpeg_decode_frame (avctx=0x85bf850, data=0x85bf770, 
data_size=0xbfffd064,
buf=0xb523f008 "", buf_size=1008)
at 
/build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libavcodec/mpeg12.c:2305
#8  0xb6417f36 in avcodec_decode_video (avctx=0x85bf850, picture=0x85bf770,
got_picture_ptr=0xbfffd064, buf=0xb523f008 "", buf_size=1008)
at 
/build/buildd-ffmpeg_0.5+svn20090706-5-i386-gCmK4F/ffmpeg-0.5+svn20090706/libavcodec/utils.c:529
#9  0x0824b470 in decode (sh=0x85a2c08, data=0xb523f008, len=1008, flags=0)
at libmpcodecs/vd_ffmpeg.c:781
#10 0x0814b912 in decode_video (sh_video=0x85a2c08, start=0xb523f008 "", 
in_size=1008,
drop_frame=0, pts=0.31003332138061523) at 
libmpcodecs/dec_video.c:369
#11 0x080a0927 in update_video (argc=4, argv=0xb384) at mplayer.c:2289
#12 main (argc=4, argv=0xb384) at mplayer.c:3691

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mplayer depends on:
ii  debconf [debconf-2.0 1.5.28  Debian configuration management sy
ii  libasound2   1.0.21a-1   shared library for ALSA applicatio
ii  libatk1.0-0  1.28.0-1The ATK accessibility toolkit
ii  libaudio21.9.2-3 Network Audio System - shared libr
ii  libavcodec52 4:0.5+svn20090706-5 ffmpeg codec library
ii  libavformat524:0.5+svn20090706-5 ffmpeg file format library
ii  libavutil49  4:0.5+svn20090706-5 ffmpeg utility library
ii  libc62.10.2-5Embedded GNU C Library: Shared lib
ii  libcaca0 0.99.beta16-3   colour ASCII art library
ii  libcairo21.8.8-2 The Cairo 2D vector graphics libra
ii  libcdparanoia0   3.10.2+debian-9 audio extraction tool for sampling
ii  libdirectfb-1.2-01.2.8-5 direct frame buffer graphics - sha
ii  libesd0  0.2.41-6Enlightened Sound Daemon - Shared 
ii  libfontconfig1   2.8.0-2 generic font configuration library
ii  libfreetype6 2.3.11-1