mencoder segv processing a avi file

Bug #522711 reported by Fernando Fernandez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: mplayer

The command "mencoder k7-25.avi -oac copy -ovc copy -o k7-25-b.avi" ends with SIGSEGV.

Before it crashed, the output was:
== OUTPUT START ==
MEncoder UNKNOWN-4.4.1 (C) 2000-2009 MPlayer Team
success: format: 0 data: 0x0 - 0x24d0d800
AVI file format detected.
AVI: ODML: Building ODML index (1 superindexchunks).
AVI_NI: No video stream found.
libavformat file format detected.
[avi @ 0x1e422d0]non-interleaved AVI
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [dvsd] 720x576 0bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s)
[V] filefmt:35 fourcc:0x64737664 size:720x576 fps:25.000 ftime:=0.0400
videocodec: framecopy (720x576 0bpp fourcc=64737664)
audiocodec: framecopy (format=1 chans=2 rate=48000 bits=16 B/s=192000 sample-0)
Segmentation fault
== OUTPUT END ==

I don't know if it's useful, but strace'ing it gave the following:
== STRACE START ==
write(1, "[lavf] Video stream found, -vid "..., 34[lavf] Video stream found, -vid 0
) = 34
write(1, "[lavf] Audio stream found, -aid "..., 34[lavf] Audio stream found, -aid 1
) = 34
write(1, "VIDEO: [dvsd] 720x576 0bpp 2"..., 73VIDEO: [dvsd] 720x576 0bpp 25.000 fps 28800.0 kbps (3515.6 kbyte/s)
) = 73
write(1, "[V] filefmt:35 fourcc:0x6473766"..., 75[V] filefmt:35 fourcc:0x64737664 size:720x576 fps:25.000 ftime:=0.0400
) = 75
open("k7-25-b.avi", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
lseek(4, 0, SEEK_END) = 0
lseek(4, 0, SEEK_SET) = 0
mmap(NULL, 2101248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0b4f5b3000
write(1, "videocodec: framecopy (720x576 0"..., 53videocodec: framecopy (720x576 0bpp fourcc=64737664)
) = 53
write(1, "audiocodec: framecopy (format=1 "..., 80audiocodec: framecopy (format=1 chans=2 rate=48000 bits=16 B/s=192000 sample-0)
) = 80
rt_sigaction(SIGINT, {0x446a70, [INT], SA_RESTORER|SA_RESTART, 0x7f0b545e6530}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0x446a70, [QUIT], SA_RESTORER|SA_RESTART, 0x7f0b545e6530}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x446a70, [TERM], SA_RESTORER|SA_RESTART, 0x7f0b545e6530}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGHUP, {0x446a70, [HUP], SA_RESTORER|SA_RESTART, 0x7f0b545e6530}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {0x446a70, [PIPE], SA_RESTORER|SA_RESTART, 0x7f0b545e6530}, {SIG_DFL, [], 0}, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
== STRACE END ==

System info:
ferdez@vmax:/tmp$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
ferdez@vmax:/tmp$ apt-cache policy mencoder
mencoder:
  Installed: 2:1.0~rc3+svn20090426-1ubuntu10.1
  Candidate: 2:1.0~rc3+svn20090426-1ubuntu10.1
  Version table:
 *** 2:1.0~rc3+svn20090426-1ubuntu10.1 0
        500 http://pt.archive.ubuntu.com karmic-updates/multiverse Packages
        100 /var/lib/dpkg/status
     2:1.0~rc3+svn20090426-1ubuntu10 0
        500 http://pt.archive.ubuntu.com karmic/multiverse Packages

ProblemType: Bug
Architecture: amd64
CheckboxSubmission: 5252472d3a42581679507f969c5981a7
CheckboxSystem: b1865df84255b8716d3bcc269ff410d1
Date: Tue Feb 16 16:02:33 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: nvidia
Package: mencoder 2:1.0~rc3+svn20090426-1ubuntu10.1
ProcEnviron:
 LANGUAGE=en_GB.UTF-8
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
RelatedPackageVersions:
 libavcodec52 N/A
 libavcodec-extra-52 4:0.5+svn20090706-2ubuntu3
SourcePackage: mplayer
Uname: Linux 2.6.31-19-generic x86_64
UserConf:
 # Write your default config options here!

 [gnome-mplayer]
 msglevel=all=5
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.31-19-generic

Revision history for this message
Fernando Fernandez (ferdez) wrote :
Revision history for this message
Reinhard Tartler (siretart) wrote :

please attach k7-25.avi, or at least parts of it to this bug. we need to be able to reproduce this crash ourselves in order to verify a potential fix.

Changed in mplayer (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Fernando Fernandez (ferdez) wrote :

I attach the first 5 meg of the file. The result is the same.

Revision history for this message
Reinhard Tartler (siretart) wrote :

seems to be fixed in lucid then, as it is unreproducable.

does the segfault happen with ffplay or ffmpeg as well?

Revision history for this message
Fernando Fernandez (ferdez) wrote :

No. Both ffplay and ffmpeg work well with this file.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for mplayer (Ubuntu) because there has been no activity for 60 days.]

Changed in mplayer (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.