assertion failed in vlc_fifo when transcoding
Reproduced on MacOSX and Linux:
./bin/vlc-osx-static --sout="#transcode{vcodec=h264}:std{mux=mp4, dst=export.mp4, access=file}" -I dummy TRON_Disney_Intro.mp4 -vvv --play-and-exit --run-time 3
Assertion failed: (fifo->i_size >= block->i_buffer), function vlc_fifo_DequeueUnlocked, file /Users/unidan/Workspace/vlc/extras/package/macosx/../../../src/misc/fifo.c, line 75.
Process 69124 stopped
* thread [#24](https://code.videolan.org/videolan/vlc/-/issues/24), stop reason = signal SIGABRT
frame [#0](https://code.videolan.org/videolan/vlc/-/issues/0): 0x00007fff6bfa033a libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
-> 0x7fff6bfa033a <+10>: jae 0x7fff6bfa0344 ; <+20>
0x7fff6bfa033c <+12>: movq %rax, %rdi
0x7fff6bfa033f <+15>: jmp 0x7fff6bf9a629 ; cerror_nocancel
0x7fff6bfa0344 <+20>: retq
Target 0: (vlc-osx-static) stopped.
(lldb) bt
* thread [#24](https://code.videolan.org/videolan/vlc/-/issues/24), stop reason = signal SIGABRT
* frame [#0](https://code.videolan.org/videolan/vlc/-/issues/0): 0x00007fff6bfa033a libsystem_kernel.dylib`__pthread_kill + 10
frame [#1](https://code.videolan.org/videolan/vlc/-/issues/1): 0x00007fff6c05ce60 libsystem_pthread.dylib`pthread_kill + 430
frame [#2](https://code.videolan.org/videolan/vlc/-/issues/2): 0x00007fff6bf27808 libsystem_c.dylib`abort + 120
frame [#3](https://code.videolan.org/videolan/vlc/-/issues/3): 0x00007fff6bf26ac6 libsystem_c.dylib`__assert_rtn + 314
frame [#4](https://code.videolan.org/videolan/vlc/-/issues/4): 0x0000000100218212 libvlccore.dylib`vlc_fifo_DequeueUnlocked(fifo=0x000000010053e8c0) at fifo.c:75:9
frame [#5](https://code.videolan.org/videolan/vlc/-/issues/5): 0x00000001002183f5 libvlccore.dylib`block_FifoGet(fifo=0x000000010053e8c0) at fifo.c:122:13
frame [#6](https://code.videolan.org/videolan/vlc/-/issues/6): 0x000000010af773fb libmux_mp4_plugin.dylib`BlockDequeue(p_input=0x000000010053e780, p_stream=0x000000010053eef0) at mp4.c:601:24
frame [#7](https://code.videolan.org/videolan/vlc/-/issues/7): 0x000000010af7664d libmux_mp4_plugin.dylib`MuxStream(p_mux=0x0000000103805610, p_input=0x000000010053e780, p_stream=0x000000010053eef0) at mp4.c:644:23
frame [#8](https://code.videolan.org/videolan/vlc/-/issues/8): 0x000000010af75f13 libmux_mp4_plugin.dylib`DelStream(p_mux=0x0000000103805610, p_input=0x000000010053e780) at mp4.c:544:15
frame [#9](https://code.videolan.org/videolan/vlc/-/issues/9): 0x000000010023c479 libvlccore.dylib`sout_MuxDeleteStream(p_mux=0x0000000103805610, p_input=0x000000010053e780) at stream_output.c:531:9
frame [#10](https://code.videolan.org/videolan/vlc/-/issues/10): 0x000000010dead6bf libstream_out_standard_plugin.dylib`Del(p_stream=0x00000001038049a0, id=0x000000010053e780) at standard.c:132:5
frame [#11](https://code.videolan.org/videolan/vlc/-/issues/11): 0x00000001067c18e1 libstream_out_transcode_plugin.dylib`sout_StreamIdDel(s=0x00000001038049a0, id=0x000000010053e780) at vlc_sout.h:240:9
frame [#12](https://code.videolan.org/videolan/vlc/-/issues/12): 0x00000001067c0eaf libstream_out_transcode_plugin.dylib`Del(p_stream=0x0000000103804a20, _id=0x0000000100623a00) at transcode.c:708:29
frame [#13](https://code.videolan.org/videolan/vlc/-/issues/13): 0x000000010023b0d1 libvlccore.dylib`sout_StreamIdDel(s=0x0000000103804a20, id=0x0000000100623a00) at vlc_sout.h:240:9
frame [#14](https://code.videolan.org/videolan/vlc/-/issues/14): 0x000000010023b06e libvlccore.dylib`sout_InputDelete(p_input=0x0000000100627220) at stream_output.c:208:5
frame [#15](https://code.videolan.org/videolan/vlc/-/issues/15): 0x0000000100189325 libvlccore.dylib`DeleteDecoder(p_owner=0x0000000100823800) at decoder.c:1983:9
frame [#16](https://code.videolan.org/videolan/vlc/-/issues/16): 0x0000000100188e3d libvlccore.dylib`vlc_input_decoder_Delete(p_owner=0x0000000100823800) at decoder.c:2204:5
frame [#17](https://code.videolan.org/videolan/vlc/-/issues/17): 0x000000010019929d libvlccore.dylib`EsOutDestroyDecoder(out=0x0000000103a38ae8, p_es=0x0000000100824c00) at es_out.c:2224:5
frame [#18](https://code.videolan.org/videolan/vlc/-/issues/18): 0x0000000100198dd2 libvlccore.dylib`EsOutUnselectEs(out=0x0000000103a38ae8, es=0x0000000100824c00, b_update=true) at es_out.c:2393:9
frame [#19](https://code.videolan.org/videolan/vlc/-/issues/19): 0x00000001001a1640 libvlccore.dylib`EsOutVaPrivControlLocked(out=0x0000000103a38ae8, query=65536, args=0x00007000083a3b00) at es_out.c:3485:17
frame [#20](https://code.videolan.org/videolan/vlc/-/issues/20): 0x0000000100194e73 libvlccore.dylib`EsOutPrivControl(out=0x0000000103a38ae8, query=65536, args=0x00007000083a3b00) at es_out.c:3779:15
frame [#21](https://code.videolan.org/videolan/vlc/-/issues/21): 0x00000001001ab614 libvlccore.dylib`es_out_vaPrivControl(out=0x0000000103a38ae8, query=65536, args=0x00007000083a3b00) at es_out.h:105:12
frame [#22](https://code.videolan.org/videolan/vlc/-/issues/22): 0x00000001001ab79d libvlccore.dylib`es_out_PrivControl(out=0x0000000103a38ae8, query=65536) at es_out.h:112:18
frame [#23](https://code.videolan.org/videolan/vlc/-/issues/23): 0x00000001001ab0ab libvlccore.dylib`CmdExecutePrivControl(p_tsout=0x000000010042bea8, p_cmd=0x00007000083a3ca8) at es_out_timeshift.c:1806:16
frame [#24](https://code.videolan.org/videolan/vlc/-/issues/24): 0x00000001001aa6c3 libvlccore.dylib`PrivControlLocked(p_tsout=0x000000010042bea8, i_query=65536, args=0x00007000083a3ee0) at es_out_timeshift.c:799:16
frame [#25](https://code.videolan.org/videolan/vlc/-/issues/25): 0x00000001001a71ec libvlccore.dylib`PrivControl(p_tsout=0x000000010042bea8, i_query=65536, args=0x00007000083a3ee0) at es_out_timeshift.c:858:13
frame [#26](https://code.videolan.org/videolan/vlc/-/issues/26): 0x00000001001b4274 libvlccore.dylib`es_out_vaPrivControl(out=0x000000010042bea8, query=65536, args=0x00007000083a3ee0) at es_out.h:105:12
frame [#27](https://code.videolan.org/videolan/vlc/-/issues/27): 0x00000001001b41bd libvlccore.dylib`es_out_PrivControl(out=0x000000010042bea8, query=65536) at es_out.h:112:18
frame [#28](https://code.videolan.org/videolan/vlc/-/issues/28): 0x00000001001b1952 libvlccore.dylib`es_out_SetMode(p_out=0x000000010042bea8, i_mode=0) at es_out.h:119:17
frame [#29](https://code.videolan.org/videolan/vlc/-/issues/29): 0x00000001001aee48 libvlccore.dylib`End(p_input=0x0000000105034400) at input.c:1390:5
frame [#30](https://code.videolan.org/videolan/vlc/-/issues/30): 0x00000001001acdb9 libvlccore.dylib`Run(data=0x0000000105034400) at input.c:480:9
frame [#31](https://code.videolan.org/videolan/vlc/-/issues/31): 0x00007fff6c05d109 libsystem_pthread.dylib`_pthread_start + 148
frame [#32](https://code.videolan.org/videolan/vlc/-/issues/32): 0x00007fff6c058b8b libsystem_pthread.dylib`thread_start + 15
I don't know yet if other samples are reproducing the issue, will provide further inspection if needed.