[FFmpeg-trac] #3603(ffprobe:open): ffprobe crashes on streams added after probe

FFmpeg trac at avcodec.org
Tue May 6 12:40:35 CEST 2014


#3603: ffprobe crashes on streams added after probe
-------------------------------------+-------------------------------------
             Reporter:  cus          |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  ffprobe
              Version:  git-master   |               Resolution:
             Keywords:  crash        |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by er.anshul.maheshwari@…):

 gdb trace with ffprobe_g -show_packets <input>

 ffprobe version N-62757-g18af0ce Copyright (c) 2007-2014 the FFmpeg
 developers
   built on Apr 28 2014 14:30:07 with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      52. 79.100 / 52. 79.100
   libavcodec     55. 59.100 / 55. 59.100
   libavformat    55. 37.101 / 55. 37.101
   libavdevice    55. 13.100 / 55. 13.100
   libavfilter     4.  4.100 /  4.  4.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 18.100 /  0. 18.100


 {{{
 #0  0xb7ade245 in raise () from /lib/libc.so.6
 #1  0xb7adfac3 in abort () from /lib/libc.so.6
 #2  0xb7b20035 in __libc_message () from /lib/libc.so.6
 #3  0xb7b2663b in malloc_printerr () from /lib/libc.so.6
 #4  0xb7b26d05 in munmap_chunk () from /lib/libc.so.6
 #5  0x089af3c2 in av_free (ptr=<optimized out>) at libavutil/mem.c:232
 #6  av_freep (arg=0xbfffe4bc) at libavutil/mem.c:239
 #7  0x089a8577 in av_frame_free (frame=frame at entry=0xbfffe4bc) at
 libavutil/frame.c:129
 #8  0x080c6990 in read_interval_packets (w=w at entry=0x9371b00,
 fmt_ctx=fmt_ctx at entry=0x93743a0, interval=interval at entry=0xbfffeb30,
     cur_ts=cur_ts at entry=0xbfffead0) at ffprobe.c:1943
 #9  0x080b79cb in read_packets (fmt_ctx=0x93743a0, w=0x9371b00) at
 ffprobe.c:1958
 #10 probe_file (filename=0x93743a0 " \233\241\b\200\327\313\b",
 wctx=<optimized out>) at ffprobe.c:2398
 #11 main (argc=3, argv=0xbfffec64) at ffprobe.c:2969

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3603#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list