Bug#834135: mplayer crashes with SIGSEGV when taking a screenshot

2016-11-24 Thread James Cowgill
Control: tags -1 patch fixed-upstream

On 24/11/16 21:52, Antonio Ospite wrote:
> Package: mplayer
> Version: 2:1.3.0-5
> Followup-For: Bug #834135
> 
> Dear Maintainer,
> 
> the crash when taking screenshots is still there in 2:1.3.0-5.
> 
> The patch in my previous message fixes it, please consider applying it.

For reference, the patch was applied to upstream SVN in revision 37875.

James



signature.asc
Description: OpenPGP digital signature


Bug#834135: mplayer crashes with SIGSEGV when taking a screenshot

2016-11-24 Thread Antonio Ospite
Package: mplayer
Version: 2:1.3.0-5
Followup-For: Bug #834135

Dear Maintainer,

the crash when taking screenshots is still there in 2:1.3.0-5.

The patch in my previous message fixes it, please consider applying it.

Thanks,
   Antonio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mplayer depends on:
ii  liba52-0.7.4  0.7.4-18
ii  libaa11.4p5-44
ii  libasound21.1.2-1
ii  libass5   0.13.4-1
ii  libaudio2 1.9.4-5
ii  libavcodec57  7:3.2-2
ii  libavformat57 7:3.2-2
ii  libavutil55   7:3.2-2
ii  libbluray11:0.9.3-3
ii  libbs2b0  3.1.0+dfsg-2.2
ii  libc6 2.24-6
ii  libcaca0  0.99.beta19-2+b1
ii  libcdio-cdda1 0.83-4.2+b1
ii  libcdio-paranoia1 0.83-4.2+b1
ii  libcdio13 0.83-4.2+b1
ii  libdca0   0.0.5-10
ii  libdirectfb-1.2-9 1.2.10.0-5.2+b1
ii  libdv41.0.0-11
ii  libdvdnav45.0.3-2
ii  libdvdread4   5.0.3-2
ii  libenca0  1.19-1
ii  libfaad2  2.8.0~cvs20161113-1
ii  libfontconfig12.11.0-6.7
ii  libfreetype6  2.6.3-3+b1
ii  libfribidi0   0.19.7-1
ii  libgif7   5.1.4-0.4
ii  libgl1-mesa-glx [libgl1]  12.0.4-2
ii  libjack-jackd2-0 [libjack-0.116]  1.9.10+20150825git1ed50c92~dfsg-3
ii  libjpeg62-turbo   1:1.5.1-2
ii  liblirc-client0   0.9.4c-4
ii  libmad0   0.15.1b-8
ii  libmpeg2-40.5.1-7
ii  libmpg123-0   1.23.8-1
ii  libogg0   1.3.2-1
ii  libopenal11:1.17.2-4
ii  libpng16-16   1.6.26-2
ii  libpostproc54 7:3.2-2
ii  libpulse0 9.0-5
ii  libsdl1.2debian   1.2.15+dfsg1-4
ii  libsmbclient  2:4.4.7+dfsg-1
ii  libspeex1 1.2~rc1.2-1
ii  libswresample27:3.2-2
ii  libswscale4   7:3.2-2
ii  libtheora01.1.1+dfsg.1-14
ii  libtinfo5 6.0+20160917-1
ii  libvdpau1 1.1.1-5
ii  libvorbisidec11.0.2+svn18153-0.2
ii  libx11-6  2:1.6.3-1
ii  libxext6  2:1.3.3-1
ii  libxinerama1  2:1.1.3-1+b1
ii  libxss1   1:1.2.2-1
ii  libxv12:1.0.10-1+b1
ii  libxvidcore4  2:1.3.4-1
ii  libxvmc1  2:1.0.9-1
ii  libxxf86dga1  2:1.1.4-1+b1
ii  libxxf86vm1   1:1.1.4-1
ii  zlib1g1:1.2.8.dfsg-2+b3

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2   1.0.6-8
ii  fontconfig  2.11.0-6.7
ii  fonts-freefont-ttf  20120503-4
pn  mplayer-doc 
pn  netselect | fping   

-- no debconf information
-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



Bug#834135: mplayer crashes with SIGSEGV when taking a screenshot

2016-10-27 Thread Antonio Ospite
Package: mplayer
Version: 2:1.3.0-4
Followup-For: Bug #834135

Dear Maintainer,

the crash is still there in 2:1.3.0-4.

I am attaching a new patch, the previous one contained also the
changelog, which will be generated automatically by gpb-dch anyways.

The patch can be applied with git-am to the current master branch of the
source package repository.

Thanks,
   Antonio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mplayer depends on:
ii  liba52-0.7.4  0.7.4-18
ii  libaa11.4p5-44
ii  libasound21.1.2-1
ii  libass5   0.13.4-1
ii  libaudio2 1.9.4-5
ii  libavcodec57  7:3.1.5-1
ii  libavformat57 7:3.1.5-1
ii  libavutil55   7:3.1.5-1
ii  libbluray11:0.9.3-2
ii  libbs2b0  3.1.0+dfsg-2.2
ii  libc6 2.24-5
ii  libcaca0  0.99.beta19-2+b1
ii  libcdio-cdda1 0.83-4.2+b1
ii  libcdio-paranoia1 0.83-4.2+b1
ii  libcdio13 0.83-4.2+b1
ii  libdca0   0.0.5-10
ii  libdirectfb-1.2-9 1.2.10.0-5.2+b1
ii  libdv41.0.0-11
ii  libdvdnav45.0.3-2
ii  libdvdread4   5.0.3-2
ii  libenca0  1.19-1
ii  libfaad2  2.8.0~cvs20150510-1
ii  libfontconfig12.11.0-6.7
ii  libfreetype6  2.6.3-3+b1
ii  libfribidi0   0.19.7-1
ii  libgif7   5.1.4-0.4
ii  libgl1-mesa-glx [libgl1]  12.0.3-3
ii  libjack-jackd2-0 [libjack-0.116]  1.9.10+20150825git1ed50c92~dfsg-3
ii  libjpeg62-turbo   1:1.5.1-2
ii  liblircclient00.9.0~pre1-1.2
ii  libmad0   0.15.1b-8
ii  libmpeg2-40.5.1-7
ii  libmpg123-0   1.23.8-1
ii  libogg0   1.3.2-1
ii  libopenal11:1.17.2-4
ii  libpng16-16   1.6.26-1
ii  libpostproc54 7:3.1.5-1
ii  libpulse0 9.0-4
ii  libsdl1.2debian   1.2.15+dfsg1-4
ii  libsmbclient  2:4.4.6+dfsg-2
ii  libspeex1 1.2~rc1.2-1
ii  libswresample27:3.1.5-1
ii  libswscale4   7:3.1.5-1
ii  libtheora01.1.1+dfsg.1-14
ii  libtinfo5 6.0+20160917-1
ii  libvdpau1 1.1.1-5
ii  libvorbisidec11.0.2+svn18153-0.2
ii  libx11-6  2:1.6.3-1
ii  libxext6  2:1.3.3-1
ii  libxinerama1  2:1.1.3-1+b1
ii  libxss1   1:1.2.2-1
ii  libxv12:1.0.10-1+b1
ii  libxvidcore4  2:1.3.4-1
ii  libxvmc1  2:1.0.9-1
ii  libxxf86dga1  2:1.1.4-1+b1
ii  libxxf86vm1   1:1.1.4-1
ii  zlib1g1:1.2.8.dfsg-2+b1

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2   1.0.6-8
ii  fontconfig  2.11.0-6.7
ii  fonts-freefont-ttf  20120503-4
pn  mplayer-doc 
pn  netselect | fping   

-- no debconf information
-- 
Antonio Ospite
https://ao2.it
https://twitter.com/ao2it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
>From c4925a3d72835ab5eaa4de076f9e74b1f0a2c2cb Mon Sep 17 00:00:00 2001
From: Antonio Ospite 
Date: Thu, 27 Oct 2016 09:00:25 +0200
Subject: [PATCHv2] debian/patches: add
 mplayer-vf-screenshot-avcodec_open2-fix.patch from upstream
X-Face: z*RaLf`X<@C75u6Ig9}{oW$H;1_\2t5)({*|jhM/Vb;]yA5\I~93>J<_`<4)A{':UrE

Fix a crash when using the screenshot plugin, see
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-June/073497.html

Closes: #834135
---
 .../mplayer-vf-screenshot-avcodec_open2-fix.patch | 19 +++
 debian/patches/series |  1 +
 2 files changed, 20 insertions(+)
 create mode 100644 debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch

diff --git a/debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch b/debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch
new file mode 100644
index 000..77e9791
--- /dev/null
+++ b/debian/patches/mplayer-vf-scre

Bug#834135: mplayer crashes with SIGSEGV when taking a screenshot

2016-09-15 Thread Antonio Ospite
Package: mplayer
Version: 2:1.3.0-3
Followup-For: Bug #834135

Dear Maintainer,

The issue has been fixed upstream, see
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2016-June/073497.html

I prepared a patch against the debian package repository to integrate
the fix.

Now I have a package with a working mplayer installed locally, but it
would be great for others if you could upload a new package version with
the fix.

Thanks,
   Antonio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mplayer depends on:
ii  liba52-0.7.4  0.7.4-18
ii  libaa11.4p5-44
ii  libasound21.1.2-1
ii  libass5   0.13.2-1
ii  libaudio2 1.9.4-5
ii  libavcodec57  7:3.1.3-1+b3
ii  libavformat57 7:3.1.3-1+b3
ii  libavutil55   7:3.1.3-1+b3
ii  libbluray11:0.9.3-2
ii  libbs2b0  3.1.0+dfsg-2.2
ii  libc6 2.24-2
ii  libcaca0  0.99.beta19-2+b1
ii  libcdio-cdda1 0.83-4.2+b1
ii  libcdio-paranoia1 0.83-4.2+b1
ii  libcdio13 0.83-4.2+b1
ii  libdca0   0.0.5-10
ii  libdirectfb-1.2-9 1.2.10.0-5.2+b1
ii  libdv41.0.0-11
ii  libdvdnav45.0.3-1
ii  libdvdread4   5.0.3-1
ii  libenca0  1.19-1
ii  libfaad2  2.8.0~cvs20150510-1
ii  libfontconfig12.11.0-6.7
ii  libfreetype6  2.6.3-3+b1
ii  libfribidi0   0.19.7-1
ii  libgif7   5.1.4-0.3
ii  libgl1-mesa-glx [libgl1]  12.0.2-1
ii  libjack-jackd2-0 [libjack-0.116]  1.9.10+20150825git1ed50c92~dfsg-2
ii  libjpeg62-turbo   1:1.5.0-1
ii  liblircclient00.9.0~pre1-1.2
ii  libmad0   0.15.1b-8
ii  libmpeg2-40.5.1-7
ii  libmpg123-0   1.22.4-1
ii  libogg0   1.3.2-1
ii  libopenal11:1.17.2-2
ii  libpng16-16   1.6.25-1
ii  libpostproc54 7:3.1.3-1+b3
ii  libpulse0 9.0-3
ii  libsdl1.2debian   1.2.15+dfsg1-4
ii  libsmbclient  2:4.4.5+dfsg-3
ii  libspeex1 1.2~rc1.2-1
ii  libswresample27:3.1.3-1+b3
ii  libswscale4   7:3.1.3-1+b3
ii  libtheora01.1.1+dfsg.1-14
ii  libtinfo5 6.0+20160910-1
ii  libvdpau1 1.1.1-3
ii  libvorbisidec11.0.2+svn18153-0.2
ii  libx11-6  2:1.6.3-1
ii  libxext6  2:1.3.3-1
ii  libxinerama1  2:1.1.3-1+b1
ii  libxss1   1:1.2.2-1
ii  libxv12:1.0.10-1+b1
ii  libxvidcore4  2:1.3.4-1
ii  libxvmc1  2:1.0.9-1
ii  libxxf86dga1  2:1.1.4-1+b1
ii  libxxf86vm1   1:1.1.4-1
ii  zlib1g1:1.2.8.dfsg-2+b1

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2   1.0.6-8
ii  fontconfig  2.11.0-6.7
ii  fonts-freefont-ttf  20120503-4
pn  mplayer-doc 
pn  netselect | fping   

-- no debconf information
-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
>From 462f10a73d11367dab08c8c4ffbf28d1c3a144ea Mon Sep 17 00:00:00 2001
From: Antonio Ospite 
Date: Thu, 15 Sep 2016 20:25:57 +0200
Subject: [PATCH] Add mplayer-vf-screenshot-avcodec_open2-fix.patch
X-Face: z*RaLf`X<@C75u6Ig9}{oW$H;1_\2t5)({*|jhM/Vb;]yA5\I~93>J<_`<4)A{':UrE

Gbp-Dch: ignore
---
 debian/changelog  |  8 
 .../mplayer-vf-screenshot-avcodec_open2-fix.patch | 19 +++
 debian/patches/series |  1 +
 3 files changed, 28 insertions(+)
 create mode 100644 debian/patches/mplayer-vf-screenshot-avcodec_open2-fix.patch

diff --git a/debian/changelog b/debian/changelog
index f895d27..80b647e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mplayer (2:1.3.0-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches: add mplayer-vf

Bug#834135: mplayer crashes with SIGSEGV when taking a screenshot

2016-08-12 Thread Antonio Ospite
Package: mplayer
Version: 2:1.3.0-3
Severity: normal

Dear Maintainer,

mplayer crashes when taking a screenshot, this is how to reproduce the
issue:

  $ mplayer -vf screenshot file.avi

and then press 's' on the keyboard.

I am attaching a full backtrace of the crash, but from the mplayer log
you can already see some anomalies:

...
libavformat version 57.41.100 (external)
Mismatching header version 57.25.100
...
[png @ 0x729c1040]The encoder timebase is not set.
Could not open libavcodec PNG encoder
FATAL: Cannot initialize video driver.
...

Thanks,
   Antonio

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'unstable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages mplayer depends on:
ii  liba52-0.7.4  0.7.4-18
ii  libaa11.4p5-44
ii  libasound21.1.2-1
ii  libass5   0.13.2-1
ii  libaudio2 1.9.4-5
ii  libavcodec57  7:3.1.2-1
ii  libavformat57 7:3.1.2-1
ii  libavutil55   7:3.1.2-1
ii  libbluray11:0.9.3-2
ii  libbs2b0  3.1.0+dfsg-2.2
ii  libc6 2.23-4
ii  libcaca0  0.99.beta19-2+b1
ii  libcdio-cdda1 0.83-4.2+b1
ii  libcdio-paranoia1 0.83-4.2+b1
ii  libcdio13 0.83-4.2+b1
ii  libdca0   0.0.5-10
ii  libdirectfb-1.2-9 1.2.10.0-5.2+b1
ii  libdv41.0.0-11
ii  libdvdnav45.0.3-1
ii  libdvdread4   5.0.3-1
ii  libenca0  1.18-1
ii  libfaad2  2.8.0~cvs20150510-1
ii  libfontconfig12.11.0-6.5
ii  libfreetype6  2.6.3-3+b1
ii  libfribidi0   0.19.7-1
ii  libgif7   5.1.4-0.3
ii  libgl1-mesa-glx [libgl1]  11.2.2-1
ii  libjack-jackd2-0 [libjack-0.116]  1.9.10+20150825git1ed50c92~dfsg-2
ii  libjpeg62-turbo   1:1.5.0-1
ii  liblircclient00.9.0~pre1-1.2
ii  libmad0   0.15.1b-8
ii  libmpeg2-40.5.1-7
ii  libmpg123-0   1.22.4-1
ii  libogg0   1.3.2-1
ii  libopenal11:1.17.2-1
ii  libpng16-16   1.6.24-1
ii  libpostproc54 7:3.1.2-1
ii  libpulse0 9.0-1.1
ii  libsdl1.2debian   1.2.15+dfsg1-4
ii  libsmbclient  2:4.4.5+dfsg-2
ii  libspeex1 1.2~rc1.2-1
ii  libswresample27:3.1.2-1
ii  libswscale4   7:3.1.2-1
ii  libtheora01.1.1+dfsg.1-14
ii  libtinfo5 6.0+20160625-1
ii  libvdpau1 1.1.1-3
ii  libvorbisidec11.0.2+svn18153-0.2
ii  libx11-6  2:1.6.3-1
ii  libxext6  2:1.3.3-1
ii  libxinerama1  2:1.1.3-1+b1
ii  libxss1   1:1.2.2-1
ii  libxv12:1.0.10-1+b1
ii  libxvidcore4  2:1.3.4-1
ii  libxvmc1  2:1.0.9-1
ii  libxxf86dga1  2:1.1.4-1+b1
ii  libxxf86vm1   1:1.1.4-1
ii  zlib1g1:1.2.8.dfsg-2+b1

mplayer recommends no packages.

Versions of packages mplayer suggests:
ii  bzip2   1.0.6-8
ii  fontconfig  2.11.0-6.5
ii  fonts-freefont-ttf  20120503-4
pn  mplayer-doc 
pn  netselect | fping   

-- no debconf information
-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
$ gdb --args mplayer -vf screenshot file.avi
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for com