[FFmpeg-trac] #7351(avfilter:new): Infinite loop during concatenation with empty streams

FFmpeg trac at avcodec.org
Fri Aug 10 00:25:58 EEST 2018


#7351: Infinite loop during concatenation with empty streams
-------------------------------------+-------------------------------------
             Reporter:  javer        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avfilter
              Version:  git-master   |               Resolution:
             Keywords:  deadlock     |               Blocked By:
  trim concat                        |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by javer):

 More detailed backtrace:

 {{{
 Process 82092 stopped
 * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
     frame #0: 0x00007fff5a82f357 libsystem_c.dylib`_vsnprintf + 427
 libsystem_c.dylib`_vsnprintf:
 ->  0x7fff5a82f357 <+427>: movb   $0x0, (%rcx)
     0x7fff5a82f35a <+430>: leaq   0x38726d0f(%rip), %rcx    ;
 __stack_chk_guard
     0x7fff5a82f361 <+437>: movq   (%rcx), %rcx
     0x7fff5a82f364 <+440>: cmpq   -0x28(%rbp), %rcx
 Target 0: (ffmpeg_g) stopped.

 Executable module set to "./ffmpeg_g".
 Architecture set to: x86_64-apple-macosx.
 (lldb) bt
 * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
   * frame #0: 0x00007fff5a82f357 libsystem_c.dylib`_vsnprintf + 427
     frame #1: 0x00007fff5a82f3fe libsystem_c.dylib`vsnprintf + 80
     frame #2: 0x000000010b20d343
 ffmpeg_g`av_bprintf(buf=0x00007ffee5ed14e8, fmt="%s") at bprint.c:105
     frame #3: 0x000000010b20f2f3
 ffmpeg_g`av_bprint_channel_layout(bp=0x00007ffee5ed14e8, nb_channels=1,
 channel_layout=4) at channel_layout.c:188
     frame #4: 0x000000010b20f4b8
 ffmpeg_g`av_get_channel_layout_string(buf="mono", buf_size=128,
 nb_channels=-1, channel_layout=4) at channel_layout.c:217
     frame #5: 0x0000000109dead1e
 ffmpeg_g`ff_tlog_link(ctx=0x0000000000000000, link=0x00007fa91fc04200,
 end=1) at avfilter.c:395
     frame #6: 0x0000000109dedfaa
 ffmpeg_g`ff_request_frame_to_filter(link=0x00007fa91fc04200) at
 avfilter.c:454
     frame #7: 0x0000000109dededc
 ffmpeg_g`forward_status_change(filter=0x00007fa91fe0aa80,
 in=0x00007fa91fe0b140) at avfilter.c:1243
     frame #8: 0x0000000109decbd7
 ffmpeg_g`ff_filter_activate_default(filter=0x00007fa91fe0aa80) at
 avfilter.c:1274
     frame #9: 0x0000000109decab0
 ffmpeg_g`ff_filter_activate(filter=0x00007fa91fe0aa80) at avfilter.c:1430
     frame #10: 0x0000000109defee7
 ffmpeg_g`ff_filter_graph_run_once(graph=0x00007fa91fd14f80) at
 avfiltergraph.c:1454
     frame #11: 0x0000000109df4db5
 ffmpeg_g`push_frame(graph=0x00007fa91fd14f80) at buffersrc.c:181
     frame #12: 0x0000000109df4d81
 ffmpeg_g`av_buffersrc_close(ctx=0x00007fa91fc02980, pts=2560, flags=4) at
 buffersrc.c:269
     frame #13: 0x0000000109d5e65e
 ffmpeg_g`ifilter_send_eof(ifilter=0x00007fa91ff02a00, pts=2560) at
 ffmpeg.c:2211
     frame #14: 0x0000000109d5d156
 ffmpeg_g`send_filter_eof(ist=0x00007fa91ff016c0) at ffmpeg.c:2562
     frame #15: 0x0000000109d507aa
 ffmpeg_g`process_input_packet(ist=0x00007fa91ff016c0,
 pkt=0x0000000000000000, no_eof=0) at ffmpeg.c:2701
     frame #16: 0x0000000109d564c3 ffmpeg_g`process_input(file_index=0) at
 ffmpeg.c:4305
     frame #17: 0x0000000109d4ecf3 ffmpeg_g`transcode_step at ffmpeg.c:4625
     frame #18: 0x0000000109d4c9f9 ffmpeg_g`transcode at ffmpeg.c:4679
     frame #19: 0x0000000109d4bd22 ffmpeg_g`main(argc=7,
 argv=0x00007ffee5ed2a18) at ffmpeg.c:4886
     frame #20: 0x00007fff5a78e015 libdyld.dylib`start + 1
     frame #21: 0x00007fff5a78e015 libdyld.dylib`start + 1
 }}}

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


More information about the FFmpeg-trac mailing list