[FFmpeg-trac] #2962(avformat:open): MPEG TS stream: Failed assertion

FFmpeg trac at avcodec.org
Mon Sep 16 00:17:18 CEST 2013


#2962: MPEG TS stream: Failed assertion
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  Underground78                      |                   Status:  open
                 Type:  defect       |                Component:  avformat
             Priority:  important    |               Resolution:
              Version:  git-master   |               Blocked By:
             Keywords:  mpegts       |  Reproduced by developer:  1
  crash abort regression             |
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:  mpegts crash abort => mpegts crash abort regression
 * status:  new => open
 * reproduced:  0 => 1


Comment:

 {{{
 (gdb) r -i rtp://127.0.0.1:4444
 Starting program: /home/cehoyos/test/cehoyos/FFmpeg/ffmpeg_g -i
 rtp://127.0.0.1:4444
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib64/libthread_db.so.1".
 ffmpeg version N-56297-g7ac6c63 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Sep 15 2013 23:50:37 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 43.100 / 52. 43.100
   libavcodec     55. 31.101 / 55. 31.101
   libavformat    55. 16.102 / 55. 16.102
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 84.100 /  3. 84.100
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 Assertion pos >= 188 failed at libavformat/mpegts.c:1865

 Program received signal SIGABRT, Aborted.
 0x00007ffff6048d25 in raise () from /lib64/libc.so.6
 (gdb) bt
 #0  0x00007ffff6048d25 in raise () from /lib64/libc.so.6
 #1  0x00007ffff604a1a8 in abort () from /lib64/libc.so.6
 #2  0x0000000000561755 in handle_packet (ts=ts at entry=0x16f0360,
     packet=packet at entry=0x17249a8 "G at D\033") at libavformat/mpegts.c:1865
 #3  0x0000000000565aff in ff_mpegts_parse_packet (ts=0x16f0360,
 pkt=<optimized out>,
     buf=0x17249a8 "G at D\033", buf at entry=0x17248ec "G", len=1128,
 len at entry=1316)
     at libavformat/mpegts.c:2413
 #4  0x000000000059efb4 in mpegts_handle_packet (ctx=<optimized out>,
 data=0x16ee320,
     st=<optimized out>, pkt=<optimized out>, timestamp=<optimized out>,
 buf=0x17248ec "G",
     len=1316, seq=58721, flags=2) at libavformat/rtpdec_mpegts.c:86
 #5  0x000000000059952c in rtp_parse_packet_internal (s=s at entry=0x16ea1e0,
     pkt=pkt at entry=0x7fffffffd190, buf=0x17248ec "G", buf at entry=0x17248e0
 "\200\241\345a",
     len=1316, len at entry=1328) at libavformat/rtpdec.c:638
 #6  0x000000000059a6e1 in rtp_parse_one_packet (len=1328,
 bufptr=<optimized out>,
     pkt=0x7fffffffd190, s=0x16ea1e0) at libavformat/rtpdec.c:785
 #7  ff_rtp_parse_packet (s=0x16ea1e0, pkt=pkt at entry=0x7fffffffd190,
     bufptr=bufptr at entry=0x16e9cc0, len=len at entry=1328) at
 libavformat/rtpdec.c:815
 #8  0x00000000005aa43b in ff_rtsp_fetch_packet (s=0x16e8080,
 pkt=0x7fffffffd190)
     at libavformat/rtsp.c:2034
 #9  0x00000000005ca312 in ff_read_packet (s=s at entry=0x16e8080,
 pkt=pkt at entry=0x7fffffffd190)
     at libavformat/utils.c:651
 #10 0x00000000005cc230 in read_frame_internal (s=s at entry=0x16e8080,
     pkt=pkt at entry=0x7fffffffd3b0) at libavformat/utils.c:1307
 #11 0x00000000005cf71f in avformat_find_stream_info (ic=0x16e8080,
 options=0x0)
     at libavformat/utils.c:2791
 #12 0x0000000000460acb in open_input_file (o=o at entry=0x7fffffffd700,
     filename=<optimized out>) at ffmpeg_opt.c:809
 #13 0x000000000045f5b4 in open_files (inout=inout at entry=0xc9975f "input",
     open_file=open_file at entry=0x4606f0 <open_input_file>, l=<optimized
 out>,
     l=<optimized out>) at ffmpeg_opt.c:2494
 #14 0x0000000000466909 in ffmpeg_parse_options (argc=argc at entry=3,
     argv=argv at entry=0x7fffffffdd98) at ffmpeg_opt.c:2531
 #15 0x000000000045d198 in main (argc=3, argv=0x7fffffffdd98) at
 ffmpeg.c:3393
 }}}

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


More information about the FFmpeg-trac mailing list