Bug#648843: ffmpeg: segmentation fault when transcoding mkv to mpg
Debian BTS
debbugs at busoni.debian.org
Tue Nov 15 15:30:05 UTC 2011
*** Please consider answering these questions, where appropriate ***
Reply-To: Eric Cooper <ecc at cmu.edu>, 648843 at bugs.debian.org
Resent-From: Eric Cooper <ecc at cmu.edu>
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: Debian multimedia packages maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
X-Loop: owner at bugs.debian.org
Resent-Date: Tue, 15 Nov 2011 15:30:02 +0000
Resent-Message-ID: <handler.648843.B.132137087516565 at bugs.debian.org>
Resent-Sender: owner at bugs.debian.org
X-Debian-PR-Message: report 648843
X-Debian-PR-Package: ffmpeg
X-Debian-PR-Keywords:
X-Debian-PR-Source: libav
Received: via spool by submit at bugs.debian.org id=B.132137087516565
(code B ref -1); Tue, 15 Nov 2011 15:30:02 +0000
Received: (at submit) by bugs.debian.org; 15 Nov 2011 15:27:55 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
(2010-03-16) on busoni.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-9.5 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE,
IMPRONONCABLE_1,IMPRONONCABLE_2,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,
RCVD_IN_DNSWL_MED,XMAILER_REPORTBUG autolearn=ham
version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 38; hammy, 151; neutral, 261; spammy,
0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--3001amd64
Received: from smtp03.srv.cs.cmu.edu ([128.2.217.198])
by busoni.debian.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
(Exim 4.72)
(envelope-from <ecc at cmu.edu>)
id 1RQKvS-0004Ix-PK
for submit at bugs.debian.org; Tue, 15 Nov 2011 15:27:54 +0000
Received: from stratocaster.home (pool-173-75-141-44.pitbpa.fios.verizon.net [173.75.141.44])
(authenticated bits=0)
by smtp03.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id pAFFRoeP000344
(version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO);
Tue, 15 Nov 2011 10:27:51 -0500 (EST)
Received: from ecc by stratocaster.home with local (Exim 4.77)
(envelope-from <ecc at cmu.edu>)
id 1RQKvN-0006ad-FN; Tue, 15 Nov 2011 10:27:49 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Eric Cooper <ecc at cmu.edu>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Message-ID: <20111115152749.25190.60015.reportbug at stratocaster.home>
X-Mailer: reportbug 6.3
Date: Tue, 15 Nov 2011 10:27:49 -0500
X-Scanned-By: mimedefang-cmuscs on 128.2.217.198
Delivered-To: submit at bugs.debian.org
Package: ffmpeg
Version: 4:0.7.2-1+b1
Severity: normalDear Maintainer,
$ ffmpeg -i 05\ The\ Rebel\ Flesh.mkv -target ntsc-dvd /tmp/5.mpgffmpeg version 0.7.2-4:0.7.2-1+b1, Copyright (c) 2000-2011 the Libav developers
built on Oct 27 2011 17:43:14 with gcc 4.6.2
configuration: --extra-version='4:0.7.2-1+b1' --arch=amd64 --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --enable-libvpx --enable-runtime-cpudetect --enable-vaapi --enable-libopenjpeg --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdirac --enable-libmp3lame --enable-librtmp --enable-libx264 --enable-libxvid --enable-libdc1394 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
libavutil 51. 7. 0 / 51. 7. 0
libavcodec 53. 5. 0 / 53. 5. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 4. 0 / 2. 4. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 52. 0. 0 / 52. 0. 0
[matroska,webm @ 0x2449500] max_analyze_duration reached
[matroska,webm @ 0x2449500] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '05 The Rebel Flesh.mkv':
Duration: 00:43:18.62, start: 0.000000, bitrate: 384 kb/s
Stream #0.0: Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
Stream #0.2(eng): Subtitle: ass (default)
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[buffer @ 0x255da00] w:1280 h:720 pixfmt:yuv420p
[scale @ 0x2563b40] w:1280 h:720 fmt:yuv420p -> w:720 h:480 fmt:yuv420p flags:0x4
Output #0, dvd, to '/tmp/5.mpg':
Metadata:
encoder : Lavf53.2.0
Stream #0.0: Video: mpeg2video, yuv420p, 720x480 [PAR 1:1 DAR 3:2], q=2-31, 6000 kb/s, 90k tbn, 29.97 tbc (default)
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, flt, 448 kb/s (default)
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
Input stream #0.1 frame changed from rate:48000 fmt:s16 ch:6 to rate:48000 fmt:flt ch:6
[dvd @ 0x245f0e0] buffer underflow i=1 bufi=1017 size=1792ate=4010.4kbits/s dup=4777 drop=0
Last message repeated 3 times051252kB time=2596.59 bitrate=3316.6kbits/s dup=12904 drop=0
Input stream #0.1 frame changed from rate:48000 fmt:flt ch:6 to rate:48000 fmt:flt ch:2
Warning, using s16 intermediate sample format for resampling
Segmentation fault
I had first tried the same command with "-threads 6", and it
printed the following before crashing:
ffmpeg: malloc.c:4631: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed.
Aborted
Then I tried the one above, in case it was a multi-threading issue,
but that doesn't appear to be the case.
The input .mkv file is 1.1GB; I can upload it somewhere upon request.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ffmpeg depends on:
ii libavcodec53 4:0.7.2-1+b1
ii libavdevice53 4:0.7.2-1+b1
ii libavfilter2 4:0.7.2-1+b1
ii libavformat53 4:0.7.2-1+b1
ii libavutil51 4:0.7.2-1+b1
ii libc6 2.13-21
ii libpostproc52 4:0.7.2-1+b1
ii libsdl1.2debian 1.2.14-6.4
ii libswscale2 4:0.7.2-1+b1
ffmpeg recommends no packages.
ffmpeg suggests no packages.
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list