[FFmpeg-trac] #3011(undetermined:new): mtv: deadlock and mem eater with forced format

FFmpeg trac at avcodec.org
Sat Sep 28 17:02:38 CEST 2013


#3011: mtv: deadlock and mem eater with forced format
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 http://samples.mplayerhq.hu/A-codecs/Nelly_Moser/h264_NellyMoser.mp4

 {{{
 (gdb) r -f mtv -i ./h264_NellyMoser.mp4 -f null -
 The program being debugged has been started already.
 Start it from the beginning? (y or n) y

 Starting program: /media/sdb1/ffmpeg-HEAD-5dc6c0e/ffmpeg_g -f mtv -i
 ./h264_NellyMoser.mp4 -f null -
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
 ffmpeg version 2.0-5dc6c0e Copyright (c) 2000-2013 the FFmpeg developers
   built on Sep 26 2013 20:30:42 with gcc 4.7 (Debian 4.7.2-5)
   configuration: --disable-yasm --enable-gpl --disable-ffserver --disable-
 ffprobe
   libavutil      52. 46.100 / 52. 46.100
   libavcodec     55. 33.100 / 55. 33.100
   libavformat    55. 18.102 / 55. 18.102
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 87.100 /  3. 87.100
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 Ignoring attempt to set invalid timebase 1/0 for st:0
 [NULL @ 0x9124760] [IMGUTILS @ 0xbfffed94] Picture size 28116x13897 is
 invalid
 [NULL @ 0x9124760] Ignoring invalid width/height values
 [IMGUTILS @ 0xbfffed34] Picture size 0x0 is invalid

 Program received signal SIGINT, Interrupt.
 0xb7ea76b4 in _int_malloc (av=<optimized out>, bytes=<optimized out>)
     at malloc.c:4636
 4636    malloc.c: No such file or directory.
 (gdb) bt
 #0  0xb7ea76b4 in _int_malloc (av=<optimized out>, bytes=<optimized out>)
     at malloc.c:4636
 #1  0xb7ea8297 in _int_memalign (av=<optimized out>, alignment=32,
 bytes=12)
     at malloc.c:5492
 #2  0xb7ea99b7 in *__GI___libc_memalign (alignment=32, bytes=12)
     at malloc.c:3880
 #3  0xb7ea9bd9 in __posix_memalign (memptr=memptr at entry=0xbfffeddc,
     alignment=511434760, alignment at entry=32, size=511368808,
 size at entry=12)
     at malloc.c:6315
 #4  0x08875e78 in av_malloc (size=12) at libavutil/mem.c:93
 #5  av_mallocz (size=size at entry=12) at libavutil/mem.c:243
 #6  0x088689dd in av_buffer_create (flags=0, opaque=0x0,
     free=0x88682d0 <av_buffer_default_free>, size=16,
     data=0x29161208 "\340\017\026)") at libavutil/buffer.c:47
 #7  av_buffer_realloc (pbuf=pbuf at entry=0xbfffee4c, size=size at entry=16)
     at libavutil/buffer.c:168
 #8  0x0827c6d3 in packet_alloc (size=0, buf=0xbfffee4c)
     at libavcodec/avpacket.c:74
 #9  av_new_packet (size=0, pkt=0xbffff058) at libavcodec/avpacket.c:86
 #10 av_grow_packet (pkt=pkt at entry=0xbffff058, grow_by=grow_by at entry=0)
     at libavcodec/avpacket.c:116
 #11 0x08237c54 in append_packet_chunked (s=s at entry=0x91243e0,
     pkt=pkt at entry=0xbffff058, size=size at entry=0) at
 libavformat/utils.c:156
 ---Type <return> to continue, or q <return> to quit---
 #12 0x08237db1 in av_get_packet (s=s at entry=0x91243e0,
     pkt=pkt at entry=0xbffff058, size=size at entry=0) at
 libavformat/utils.c:184
 #13 0x081cb924 in mtv_read_packet (s=0x911bd80, pkt=0xbffff058)
     at libavformat/mtv.c:186
 #14 0x08238ad7 in ff_read_packet (s=s at entry=0x911bd80,
     pkt=pkt at entry=0xbffff058) at libavformat/utils.c:652
 #15 0x0823b419 in read_frame_internal (s=s at entry=0x911bd80,
     pkt=pkt at entry=0xbffff238) at libavformat/utils.c:1310
 #16 0x0823f055 in avformat_find_stream_info (ic=0x911bd80,
 options=0x911c320)
     at libavformat/utils.c:2795
 #17 0x080a68e5 in open_input_file (o=o at entry=0xbffff51c,
     filename=<optimized out>) at ffmpeg_opt.c:809
 #18 0x080a5107 in open_files (inout=inout at entry=0x88eccdb "input",
     open_file=open_file at entry=0x80a6500 <open_input_file>,
     l=<error reading variable: Unhandled dwarf expression opcode 0xfa>,
     l=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
     at ffmpeg_opt.c:2494
 #19 0x080ad319 in ffmpeg_parse_options (argc=argc at entry=8,
     argv=argv at entry=0xbffff9a4) at ffmpeg_opt.c:2531
 #20 0x080a280a in main (argc=8, argv=0xbffff9a4) at ffmpeg.c:3393
 (gdb)
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3011>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list