Bug#703646: mplayer: crashes when play mpg file from http

2013-03-21 Thread Alexander V. Kudrevatykh
В Чт., 21/03/2013 в 22:27 +0100, Reimar Döffinger пишет: 
> On 21 Mar 2013, at 21:41, "Alexander V. Kudrevatykh"  
> wrote:
> > В Чт., 21/03/2013 в 21:04 +0100, Reimar Döffinger пишет: 
> >> 
> >> On 21 Mar 2013, at 20:46, "Alexander V. Kudrevatykh" 
> >>  wrote:
> >> 
> >>> Package: mplayer
> >>> Version: 2:1.0~rc4.dfsg1+svn34540-1+b2
> >>> Severity: normal
> >>> 
> >>> When I trying to play mpg files from http (static file from lighttpd or 
> >>> from
> >>> upnp server) mplayer crashed.
> >>> Files were encoded with avconv and avplay successfully decodes such files.
> >>> Same file played from nfs/local file without crash.
> >>> Attached output of gdb. If you need file example I can provide it (or you 
> >>> can
> >>> download file on url from gdb output).
> >> 
> >> The gdb backtrace looks like you are using -lavdopts fast, is that the 
> >> case?
> >> That option is expected to possibly crash with buggy/invalid files (and I 
> >> think the current MPlayer documentation says so).
> > 
> > Yes. It's really used, But if file buggy, why it isn't crashed when
> > playing from local file, not from http?
> 
> Possible things I can think of:
> 1) Bug in MPlayer's http implementation corrupts data
> 2) Playing via http results in using a different demuxer
> 3) Bug in http server
> 4) Random changes in memory layout might result in just decode errors instead 
> of crashes.
> 
> > Without -lavdopts fast crash missing, thanks.
> 
> Do you get decode errors? If so, do you also get them when playing the file 
> locally?
Output when playing locally:
Starting playback...
[ac3 @ 0x7fc381036400]frame CRC mismatch
[ac3 @ 0x7fc381036400]frame sync error
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [null] 1024x576 => 1024x576 Planar YV12 
A:   1.8 V:   1.8 A-V: -0.000 ct: -0.000  21/ 21  4%  0%  1.0% 0 0 0% 
[ac3 @ 0x7fc381036400]incomplete frame
A:   2.6 V:   2.6 A-V: -0.000 ct: -0.000  40/ 40  5%  0%  0.6% 0 0 0% 


Exiting... (End of file)
From http:
Starting playback...
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [null] 1024x576 => 1024x576 Planar YV12 
[mpeg2video @ 0x7f6a6fa13400]ac-tex damaged at 62 7
[mpeg2video @ 0x7f6a6fa13400]Warning MVs not available
[mpeg2video @ 0x7f6a6fa13400]concealing 1843 DC, 1843 AC, 1843 MV errors
A:   1.8 V:   1.8 A-V:  0.010 ct:  0.065  22/ 22  7%  0%  1.0% 0 0 0% 
[ac3 @ 0x7f6a6fa13400]incomplete frame
A:   2.6 V:   2.6 A-V:  0.001 ct:  0.073  41/ 41  6%  0%  0.6% 0 0 0% 


Exiting... (End of file)

Also, some other things:
mplayer2 with same file does not crash when using -lavdopts fast
mplayer from ubuntu i386 crashes on another machine for that file.



signature.asc
Description: This is a digitally signed message part
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#703646: mplayer: crashes when play mpg file from http

2013-03-21 Thread Reimar Döffinger
On 21 Mar 2013, at 21:41, "Alexander V. Kudrevatykh"  
wrote:
> В Чт., 21/03/2013 в 21:04 +0100, Reimar Döffinger пишет: 
>> 
>> On 21 Mar 2013, at 20:46, "Alexander V. Kudrevatykh"  
>> wrote:
>> 
>>> Package: mplayer
>>> Version: 2:1.0~rc4.dfsg1+svn34540-1+b2
>>> Severity: normal
>>> 
>>> When I trying to play mpg files from http (static file from lighttpd or from
>>> upnp server) mplayer crashed.
>>> Files were encoded with avconv and avplay successfully decodes such files.
>>> Same file played from nfs/local file without crash.
>>> Attached output of gdb. If you need file example I can provide it (or you 
>>> can
>>> download file on url from gdb output).
>> 
>> The gdb backtrace looks like you are using -lavdopts fast, is that the case?
>> That option is expected to possibly crash with buggy/invalid files (and I 
>> think the current MPlayer documentation says so).
> 
> Yes. It's really used, But if file buggy, why it isn't crashed when
> playing from local file, not from http?

Possible things I can think of:
1) Bug in MPlayer's http implementation corrupts data
2) Playing via http results in using a different demuxer
3) Bug in http server
4) Random changes in memory layout might result in just decode errors instead 
of crashes.

> Without -lavdopts fast crash missing, thanks.

Do you get decode errors? If so, do you also get them when playing the file 
locally?
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#703646: mplayer: crashes when play mpg file from http

2013-03-21 Thread Alexander V. Kudrevatykh
В Чт., 21/03/2013 в 21:04 +0100, Reimar Döffinger пишет: 
> 
> On 21 Mar 2013, at 20:46, "Alexander V. Kudrevatykh"  
> wrote:
> 
> > Package: mplayer
> > Version: 2:1.0~rc4.dfsg1+svn34540-1+b2
> > Severity: normal
> > 
> > When I trying to play mpg files from http (static file from lighttpd or from
> > upnp server) mplayer crashed.
> > Files were encoded with avconv and avplay successfully decodes such files.
> > Same file played from nfs/local file without crash.
> > Attached output of gdb. If you need file example I can provide it (or you 
> > can
> > download file on url from gdb output).
> 
> The gdb backtrace looks like you are using -lavdopts fast, is that the case?
> That option is expected to possibly crash with buggy/invalid files (and I 
> think the current MPlayer documentation says so).

Yes. It's really used, But if file buggy, why it isn't crashed when
playing from local file, not from http?
Without -lavdopts fast crash missing, thanks.


signature.asc
Description: This is a digitally signed message part
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Bug#703646: mplayer: crashes when play mpg file from http

2013-03-21 Thread Reimar Döffinger


On 21 Mar 2013, at 20:46, "Alexander V. Kudrevatykh"  
wrote:

> Package: mplayer
> Version: 2:1.0~rc4.dfsg1+svn34540-1+b2
> Severity: normal
> 
> When I trying to play mpg files from http (static file from lighttpd or from
> upnp server) mplayer crashed.
> Files were encoded with avconv and avplay successfully decodes such files.
> Same file played from nfs/local file without crash.
> Attached output of gdb. If you need file example I can provide it (or you can
> download file on url from gdb output).

The gdb backtrace looks like you are using -lavdopts fast, is that the case?
That option is expected to possibly crash with buggy/invalid files (and I think 
the current MPlayer documentation says so).
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#703646: mplayer: crashes when play mpg file from http

2013-03-21 Thread Alexander V. Kudrevatykh
Package: mplayer
Version: 2:1.0~rc4.dfsg1+svn34540-1+b2
Severity: normal

When I trying to play mpg files from http (static file from lighttpd or from
upnp server) mplayer crashed.
Files were encoded with avconv and avplay successfully decodes such files.
Same file played from nfs/local file without crash.
Attached output of gdb. If you need file example I can provide it (or you can
download file on url from gdb output).
Thanks.



-- System Information:
Debian Release: 7.0
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500,
'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mplayer depends on:
ii  libaa11.4p5-40
ii  libasound21.0.25-4
ii  libavcodec53  6:0.8.5-1
ii  libavformat53 6:0.8.5-1
ii  libavutil51   6:0.8.5-1
ii  libbluray11:0.2.2-1
ii  libc6 2.16-0experimental1
ii  libcaca0  0.99.beta18-1
ii  libcdparanoia03.10.2+debian-11
ii  libdca0   0.0.5-5
ii  libdirectfb-1.2-9 1.2.10.0-5
ii  libdvdnav44.2.0+20121016-2
ii  libdvdread4   4.2.0+20121016-2
ii  libenca0  1.14-2
ii  libesd0   0.2.41-10+b1
ii  libfaad2  2.7-8
ii  libfontconfig12.9.0-7.1
ii  libfreetype6  2.4.9-1.1
ii  libfribidi0   0.19.2-3
ii  libgcc1   1:4.7.2-5
ii  libgif4   4.1.6-10
ii  libgl1-mesa-glx [libgl1]  8.0.5-4
ii  libjack0 [libjack-0.116]  1:0.121.3+20120418git75e3e20b-2.1
ii  libjpeg8  8d-1
ii  liblircclient00.9.0~pre1-1
ii  liblzo2-2 2.06-1
ii  libmp3lame0   3.99.5+repack1-3
ii  libmpeg2-40.5.1-5
ii  libncurses5   5.9-10
ii  libogg0   1.3.0-4
ii  libopenal11:1.14-4
ii  libpng12-01.2.49-3
ii  libpostproc52 6:0.8.5-1
ii  libpulse0 2.0-6
ii  libsdl1.2debian   1.2.15-5
ii  libsmbclient  2:3.6.6-5
ii  libspeex1 1.2~rc1-7
ii  libstdc++64.7.2-5
ii  libsvga1  1:1.4.3-33
ii  libswscale2   6:0.8.5-1
ii  libtheora01.1.1+dfsg.1-3.1
ii  libtinfo5 5.9-10
ii  libvdpau1 0.4.1-8
ii  libx11-6  2:1.5.0-1
ii  libx264-123   2:0.123.2189+git35cf912-1
ii  libxext6  2:1.3.1-2
ii  libxinerama1  2:1.1.2-1
ii  libxv12:1.0.7-1
ii  libxvidcore4  2:1.3.2-9
ii  libxvmc1  2:1.0.7-1
ii  libxxf86dga1  2:1.1.3-2
ii  libxxf86vm1   1:1.1.2-1
ii  zlib1g1:1.2.7.dfsg-13

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2  1.0.6-4
ii  fontconfig 2.9.0-7.1
ii  fonts-freefont-ttf [ttf-freefont]  20120503-1
ii  mplayer-doc2:1.0~rc4.dfsg1+svn34540-1
pn  netselect | fping  
ii  ttf-freefont   20120503-1

-- no debconf information
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
MPlayer svn r34540 (Debian), built with gcc-4.7 (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: AMD Turion(tm) X2 Dual-Core Mobile RM-75 (Family: 17, Model: 3, Stepping: 
1)
extended cpuid-level: 26
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/maloi/.mplayer/codecs.conf'
Reading optional codecs config file /home/maloi/.mplayer/codecs.conf: No such 
file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: No such file or 
directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/maloi/.mplayer/fonts'
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc --enable-menu 
--disable-arts --language=all --disable-dvdread-internal 
--disable-libdvdcss-internal --disable-libmpeg2-internal --disable-ffmpeg_a 
--enable-runtime-cpudetection --enable-debug --enable-joystick --disable-gui
CommandLine: '-v' '-ao' 'null' '-vo' 'null' 
'http://ipv4.maloi.mooo.com/tmp/file.mpg'
Using nanosleep() timing
get_path('input.conf') -> '/home/maloi/.mplayer/input.conf'
Reading optional input config file /home/maloi/.mplayer/input.conf: No such 
file or directory
Parsing input config file /etc/mplayer/input.conf
Inpu