[FFmpeg-trac] #429(undetermined:open): ffmpeg is killed by kernel (out of Memmry)

FFmpeg trac at avcodec.org
Mon Sep 5 18:46:41 CEST 2011


#429: ffmpeg is killed by kernel (out of Memmry)
-------------------------------------+-------------------------------------
             Reporter:  mus          |                    Owner:  michael
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  memory x264  |               Resolution:
  killed kernel                      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by mus):

 ok, I got it, thanks.
 The command line I'm using now is:

 ffmpeg -i input.mkv -c copy -map 0 -map -0:a out.mkv

 I'm not sure what I'm doing wrong, but the bt/disass/info commands I'm
 supposed to run after the crash don't seem to have any information. Sorry,
 but I'm not really familiar with this debugging stuff...

 I'm using a different file here btw, I have accidentally overwritten the
 other video I was using. In this file, the subtitle causing the problem is
 the second one and not the third.

 {{{
 GNU gdb (GDB) 7.3.1
 Copyright (C) 2011 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 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-unknown-linux-gnu".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /home/mus/ffmpeg/ffmpeg_g...done.
 (gdb) r -i input.mkv -c copy -map 0 -map -0:a out.mkv
 Starting program: /home/mus/ffmpeg/ffmpeg_g -i input.mkv -c copy -map 0
 -map -0:a out.mkv
 [Thread debugging using libthread_db enabled]
 ffmpeg version N-32325-g6f8b1fc, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Sep  5 2011 18:25:51 with gcc 4.6.1 20110819 (prerelease)
   configuration:
   libavutil    51. 16. 0 / 51. 16. 0
   libavcodec   53. 13. 0 / 53. 13. 0
   libavformat  53. 11. 0 / 53. 11. 0
   libavdevice  53.  3. 0 / 53.  3. 0
   libavfilter   2. 37. 0 /  2. 37. 0
   libswscale    2.  1. 0 /  2.  1. 0
 [matroska,webm @ 0x129f780] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, matroska,webm, from 'input.mkv':
   Duration: 01:50:20.40, start: 0.000000, bitrate: 2176 kb/s
     Chapter #0.0: start 0.000000, end 762.887111
     Metadata:
       title           : Chapter 00
     Chapter #0.1: start 762.887111, end 1439.354578
     Metadata:
       title           : Chapter 01
     Chapter #0.2: start 1439.354578, end 2046.502778
     Metadata:
       title           : Chapter 02
     Chapter #0.3: start 2046.502778, end 2780.110667
     Metadata:
       title           : Chapter 03
     Chapter #0.4: start 2780.110667, end 3571.192622
     Metadata:
       title           : Chapter 04
     Chapter #0.5: start 3571.192622, end 4710.414022
     Metadata:
       title           : Chapter 05
     Chapter #0.6: start 4710.414022, end 5524.977778
     Metadata:
       title           : Chapter 06
     Chapter #0.7: start 5524.977778, end 6060.929867
     Metadata:
       title           : Chapter 07
     Chapter #0.8: start 6060.929867, end 6359.144444
     Metadata:
       title           : Chapter 08
     Chapter #0.9: start 6359.144444, end 6620.405000
     Metadata:
       title           : Chapter 09
     Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR
 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
     Stream #0.1(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), s16, 1536
 kb/s (default)
     Metadata:
       title           : 3/2+1
     Stream #0.2(deu): Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s
     Metadata:
       title           : 3/2+1
     Stream #0.3(deu): Subtitle: hdmv_pgs_subtitle (default)
     Stream #0.4(deu): Subtitle: hdmv_pgs_subtitle
     Stream #0.5(eng): Subtitle: hdmv_pgs_subtitle
 File 'out.mkv' already exists. Overwrite ? [y/N] y
 Output #0, matroska, to 'out.mkv':
   Metadata:
     encoder         : Lavf53.11.0
     Chapter #0.0: start 0.000000, end 762.887111
     Metadata:
       title           : Chapter 00
     Chapter #0.1: start 762.887111, end 1439.354578
     Metadata:
       title           : Chapter 01
     Chapter #0.2: start 1439.354578, end 2046.502778
     Metadata:
       title           : Chapter 02
     Chapter #0.3: start 2046.502778, end 2780.110667
     Metadata:
       title           : Chapter 03
     Chapter #0.4: start 2780.110667, end 3571.192622
     Metadata:
       title           : Chapter 04
     Chapter #0.5: start 3571.192622, end 4710.414022
     Metadata:
       title           : Chapter 05
     Chapter #0.6: start 4710.414022, end 5524.977778
     Metadata:
       title           : Chapter 06
     Chapter #0.7: start 5524.977778, end 6060.929867
     Metadata:
       title           : Chapter 07
     Chapter #0.8: start 6060.929867, end 6359.144444
     Metadata:
       title           : Chapter 08
     Chapter #0.9: start 6359.144444, end 6620.405000
     Metadata:
       title           : Chapter 09
     Stream #0.0(eng): Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9],
 q=2-31, 1k tbn, 1k tbc (default)
     Stream #0.1(deu): Subtitle: hdmv_pgs_subtitle (default)
     Stream #0.2(deu): Subtitle: hdmv_pgs_subtitle
     Stream #0.3(eng): Subtitle: hdmv_pgs_subtitle
 Stream mapping:
   Stream #0.0 -> #0.0 (copy)
   Stream #0.3 -> #0.1 (copy)
   Stream #0.4 -> #0.2 (copy)
   Stream #0.5 -> #0.3 (copy)
 Press [q] to stop, [?] for help
 frame=45503 fps=259 q=-1.0 size= 1862235kB time=00:08:09.61
 bitrate=31158.1kbits/s
 Program terminated with signal SIGKILL, Killed.
 The program no longer exists.
 (gdb) bt
 No stack.
 (gdb) disass $pc-32,$pc+32
 No registers.
 (gdb) info all-registers
 The program has no registers now.
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/429#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list