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

FFmpeg trac at avcodec.org
Thu Aug 9 20:53:17 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):

 Debug information:

 {{{
 Process 56275 stopped
 * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
     frame #0: 0x00007fff6b92a780 libsystem_c.dylib`__vfprintf + 3942
 libsystem_c.dylib`__vfprintf:
 ->  0x7fff6b92a780 <+3942>: leaq   0x421e2(%rip), %rcx       ; "(null)"
     0x7fff6b92a787 <+3949>: cmovneq %rax, %rcx
     0x7fff6b92a78b <+3953>: movq   %rcx, -0x1a0(%rbp)
     0x7fff6b92a792 <+3960>: jmp    0x7fff6b92aa60            ; <+4678>
 Target 0: (ffmpeg_g) stopped.

 Executable module set to "./ffmpeg_g".
 Architecture set to: x86_64h-apple-macosx.
 (lldb) bt
 * thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
   * frame #0: 0x00007fff6b92a780 libsystem_c.dylib`__vfprintf + 3942
     frame #1: 0x00007fff6b952059 libsystem_c.dylib`__v2printf + 473
     frame #2: 0x00007fff6b93734b libsystem_c.dylib`_vsnprintf + 415
     frame #3: 0x00007fff6b9373fe libsystem_c.dylib`vsnprintf + 80
     frame #4: 0x0000000107f55bb0
 ffmpeg_g`av_bprintf(buf=0x00007ffee8b9fbc8, fmt="%s") at bprint.c:105
 [opt]
     frame #5: 0x0000000107f579b6
 ffmpeg_g`av_get_channel_layout_string(buf=<unavailable>,
 buf_size=<unavailable>, nb_channels=<unavailable>,
 channel_layout=<unavailable>) at channel_layout.c:217 [opt]
     frame #6: 0x00000001070ef604 ffmpeg_g`ff_request_frame_to_filter at
 avfilter.c:395 [opt]
     frame #7: 0x00000001070ef5e6
 ffmpeg_g`ff_request_frame_to_filter(link=0x00007fe93b902b00) at
 avfilter.c:454 [opt]
     frame #8: 0x00000001070ee543 ffmpeg_g`ff_filter_activate [inlined]
 forward_status_change(filter=<unavailable>, in=<unavailable>) at
 avfilter.c:1243 [opt]
     frame #9: 0x00000001070ee50b ffmpeg_g`ff_filter_activate [inlined]
 ff_filter_activate_default(filter=<unavailable>) at avfilter.c:1274 [opt]
     frame #10: 0x00000001070ee3ce
 ffmpeg_g`ff_filter_activate(filter=0x00007fe93b8013c0) at avfilter.c:1430
 [opt]
     frame #11: 0x00000001070f3dfc ffmpeg_g`av_buffersrc_close [inlined]
 push_frame(graph=0x00007fe93964b400) at buffersrc.c:181 [opt]
     frame #12: 0x00000001070f3dd4
 ffmpeg_g`av_buffersrc_close(ctx=<unavailable>, pts=<unavailable>, flags=4)
 at buffersrc.c:269 [opt]
     frame #13: 0x000000010707a237 ffmpeg_g`process_input_packet [inlined]
 ifilter_send_eof(ifilter=<unavailable>, pts=<unavailable>) at
 ffmpeg.c:2211 [opt]
     frame #14: 0x000000010707a21b ffmpeg_g`process_input_packet [inlined]
 send_filter_eof(ist=<unavailable>) at ffmpeg.c:2562 [opt]
     frame #15: 0x000000010707a1da
 ffmpeg_g`process_input_packet(ist=0x00007fe9396148c0, pkt=<unavailable>,
 no_eof=<unavailable>) at ffmpeg.c:2701 [opt]
     frame #16: 0x00000001070772f1 ffmpeg_g`transcode [inlined]
 process_input at ffmpeg.c:4305 [opt]
     frame #17: 0x00000001070769ab ffmpeg_g`transcode [inlined]
 transcode_step at ffmpeg.c:4625 [opt]
     frame #18: 0x000000010707698c ffmpeg_g`transcode at ffmpeg.c:4679
 [opt]
     frame #19: 0x0000000107073ce9 ffmpeg_g`main(argc=<unavailable>,
 argv=<unavailable>) at ffmpeg.c:4886 [opt]
     frame #20: 0x00007fff6b896015 libdyld.dylib`start + 1
 }}}

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


More information about the FFmpeg-trac mailing list