Randomly File stops playing just before end

I have windows 10 64 bit, server 2.1 beta2.
Following error occurs and there is blank on screen consumer and decklink output.

[2019-09-17 02:59:34.127] [3048]  [error]   common/executor.h(110): Throw in function class std::future<void> __cdecl caspar::executor::begin_invoke<class caspar::ffmpeg::input::impl::tick::<lambda_f9a4346f9b617aa215e3bad91bb0617b>>(class caspar::ffmpeg::input::impl::tick::<lambda_f9a4346f9b617aa215e3bad91bb0617b> &&,enum caspar::task_priority)
[2019-09-17 02:59:34.127] [3048]  [error]   Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::invalid_operation>
[2019-09-17 02:59:34.127] [3048]  [error]   [struct caspar::tag_call_stack_info * __ptr64] = 
[2019-09-17 02:59:34.127] [3048]  [error]       common\executor.h (110): caspar::executor::begin_invoke<<lambda_f9a4346f9b617aa215e3bad91bb0617b> >
[2019-09-17 02:59:34.127] [3048]  [error]       modules\ffmpeg\producer\input\input.cpp (172): caspar::ffmpeg::input::impl::tick
[2019-09-17 02:59:34.127] [3048]  [error]       modules\ffmpeg\producer\input\input.cpp (122): caspar::ffmpeg::input::impl::try_pop
[2019-09-17 02:59:34.127] [3048]  [error]       modules\ffmpeg\producer\ffmpeg_producer.cpp (547): caspar::ffmpeg::ffmpeg_producer::try_decode_frame
[2019-09-17 02:59:34.127] [3048]  [error]       modules\ffmpeg\producer\ffmpeg_producer.cpp (248): caspar::ffmpeg::ffmpeg_producer::render_frame
[2019-09-17 02:59:34.127] [3048]  [error]       modules\ffmpeg\producer\ffmpeg_producer.cpp (222): caspar::ffmpeg::ffmpeg_producer::receive_impl
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\frame_producer.cpp (114): caspar::core::frame_producer_base::impl::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\frame_producer.cpp (140): caspar::core::frame_producer_base::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\framerate\framerate_producer.cpp (410): caspar::core::framerate_producer::pop_frame_from_source
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\framerate\framerate_producer.cpp (393): caspar::core::framerate_producer::fast_forward_integer_frames
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\framerate\framerate_producer.cpp (377): caspar::core::framerate_producer::do_render_progressive_frame
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\framerate\framerate_producer.cpp (236): caspar::core::framerate_producer::receive_impl
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\frame_producer.cpp (114): caspar::core::frame_producer_base::impl::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\frame_producer.cpp (140): caspar::core::frame_producer_base::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\frame_producer.cpp (287): caspar::core::destroy_producer_proxy::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\transition\transition_producer.cpp (73): caspar::core::transition_producer::receive_impl
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\frame_producer.cpp (114): caspar::core::frame_producer_base::impl::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\frame_producer.cpp (140): caspar::core::frame_producer_base::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\layer.cpp (126): caspar::core::layer::impl::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\layer.cpp (215): caspar::core::layer::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\stage.cpp (125): caspar::core::stage::impl::draw
[2019-09-17 02:59:34.127] [3048]  [error]       tbb\parallel_do.h (120): tbb::internal::do_iteration_task_iter<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > >,tbb::internal::parallel_for_each_body<<lambda_cdb1569559bd2d3c109e79a8368f2690>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > > >,int>::execute
[2019-09-17 02:59:34.127] [3048]  [error]       0000000180016DA3 (tbb): (filename not available): tbb::interface7::internal::task_arena_base::internal_current_slot
[2019-09-17 02:59:34.127] [3048]  [error]       tbb\parallel_do.h (361): tbb::internal::do_task_iter<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > >,tbb::internal::parallel_for_each_body<<lambda_cdb1569559bd2d3c109e79a8368f2690>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > > >,int>::run_for_random_access_iterator
[2019-09-17 02:59:34.127] [3048]  [error]       0000000180016DA3 (tbb): (filename not available): tbb::interface7::internal::task_arena_base::internal_current_slot
[2019-09-17 02:59:34.127] [3048]  [error]       tbb\parallel_do.h (386): tbb::internal::run_parallel_do<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > >,tbb::internal::parallel_for_each_body<<lambda_cdb1569559bd2d3c109e79a8368f2690>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > > >,int>
[2019-09-17 02:59:34.127] [3048]  [error]       tbb\parallel_for_each.h (76): tbb::parallel_for_each<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > >,<lambda_cdb1569559bd2d3c109e79a8368f2690> >
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\stage.cpp (96): <lambda_88ba5aa795c3d9325a0bfd667ea84424>::operator()
[2019-09-17 02:59:34.127] [3048]  [error]       common\executor.h (220): <lambda_2db2cbb591b916396d2e22a6896992d4>::operator()
[2019-09-17 02:59:34.127] [3048]  [error]       type_traits (1408): std::_Invoker_functor::_Call<<lambda_2db2cbb591b916396d2e22a6896992d4> & __ptr64>
[2019-09-17 02:59:34.127] [3048]  [error]       type_traits (1476): std::invoke<<lambda_2db2cbb591b916396d2e22a6896992d4> & __ptr64>
[2019-09-17 02:59:34.127] [3048]  [error]       type_traits (1501): std::_Invoke_ret<std::map<int,caspar::core::draw_frame,std::less<int>,std::allocator<std::pair<int const ,caspar::core::draw_frame> > >,<lambda_2db2cbb591b916396d2e22a6896992d4> & __ptr64>
[2019-09-17 02:59:34.127] [3048]  [error]       functional (209): std::_Func_impl<<lambda_2db2cbb591b916396d2e22a6896992d4>,std::allocator<int>,std::map<int,caspar::core::draw_frame,std::less<int>,std::allocator<std::pair<int const ,caspar::core::draw_frame> > > >::_Do_call
[2019-09-17 02:59:34.127] [3048]  [error]       functional (275): std::_Func_class<std::map<int,caspar::core::draw_frame,std::less<int>,std::allocator<std::pair<int const ,caspar::core::draw_frame> > > >::operator()
[2019-09-17 02:59:34.127] [3048]  [error]       future (610): std::_Packaged_state<std::map<int,caspar::core::draw_frame,std::less<int>,std::allocator<std::pair<int const ,caspar::core::draw_frame> > > __cdecl(void)>::_Call_immediate
[2019-09-17 02:59:34.127] [3048]  [error]       common\executor.h (234): <lambda_d4220a8638399b4ef65e9d3ec2b362c7>::operator()
[2019-09-17 02:59:34.127] [3048]  [error]       common\executor.h (286): caspar::executor::run
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF67A922B03 (casparcg): (filename not available): boost::detail::shared_count::swap
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF86ECFDC05 (ucrtbase): (filename not available): iswascii
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF870551FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF87274EFC1 (ntdll): (filename not available): RtlUserThreadStart
[2019-09-17 02:59:34.127] [3048]  [error]   
[2019-09-17 02:59:34.127] [3048]  [error]   [struct caspar::tag_context_info * __ptr64] = 
[2019-09-17 02:59:34.127] [3048]  [error]   [struct caspar::tag_msg_info * __ptr64] = executor not running.
[2019-09-17 02:59:34.127] [3048]  [error]   [struct caspar::tag_source_info * __ptr64] = ffmpeg_input[D:/casparcg/_media//localPB2/PROMO\11986 DOON BAIKA F EYKA [3500-3538]17.09.19_Trimmed.mp4)]
[2019-09-17 02:59:34.127] [3048]  [error]   Caught at (stage 1):
[2019-09-17 02:59:34.127] [3048]  [error]   
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\layer.cpp (158): `caspar::core::layer::impl::receive'::`1'::catch$1
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF85F5CC710 (VCRUNTIME140): (filename not available): _C_specific_handler
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF85F5C2AC2 (VCRUNTIME140): (filename not available): _FrameUnwindFilter
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF872784203 (ntdll): (filename not available): RtlCaptureContext
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\layer.cpp (126): caspar::core::layer::impl::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\layer.cpp (215): caspar::core::layer::receive
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\stage.cpp (125): caspar::core::stage::impl::draw
[2019-09-17 02:59:34.127] [3048]  [error]       tbb\parallel_do.h (120): tbb::internal::do_iteration_task_iter<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > >,tbb::internal::parallel_for_each_body<<lambda_cdb1569559bd2d3c109e79a8368f2690>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > > >,int>::execute
[2019-09-17 02:59:34.127] [3048]  [error]       0000000180016DA3 (tbb): (filename not available): tbb::interface7::internal::task_arena_base::internal_current_slot
[2019-09-17 02:59:34.127] [3048]  [error]       tbb\parallel_do.h (361): tbb::internal::do_task_iter<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > >,tbb::internal::parallel_for_each_body<<lambda_cdb1569559bd2d3c109e79a8368f2690>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > > >,int>::run_for_random_access_iterator
[2019-09-17 02:59:34.127] [3048]  [error]       0000000180016DA3 (tbb): (filename not available): tbb::interface7::internal::task_arena_base::internal_current_slot
[2019-09-17 02:59:34.127] [3048]  [error]       tbb\parallel_do.h (386): tbb::internal::run_parallel_do<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > >,tbb::internal::parallel_for_each_body<<lambda_cdb1569559bd2d3c109e79a8368f2690>,std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > > >,int>
[2019-09-17 02:59:34.127] [3048]  [error]       tbb\parallel_for_each.h (76): tbb::parallel_for_each<std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int> > >,<lambda_cdb1569559bd2d3c109e79a8368f2690> >
[2019-09-17 02:59:34.127] [3048]  [error]       core\producer\stage.cpp (96): <lambda_88ba5aa795c3d9325a0bfd667ea84424>::operator()
[2019-09-17 02:59:34.127] [3048]  [error]       common\executor.h (220): <lambda_2db2cbb591b916396d2e22a6896992d4>::operator()
[2019-09-17 02:59:34.127] [3048]  [error]       type_traits (1408): std::_Invoker_functor::_Call<<lambda_2db2cbb591b916396d2e22a6896992d4> & __ptr64>
[2019-09-17 02:59:34.127] [3048]  [error]       type_traits (1476): std::invoke<<lambda_2db2cbb591b916396d2e22a6896992d4> & __ptr64>
[2019-09-17 02:59:34.127] [3048]  [error]       type_traits (1501): std::_Invoke_ret<std::map<int,caspar::core::draw_frame,std::less<int>,std::allocator<std::pair<int const ,caspar::core::draw_frame> > >,<lambda_2db2cbb591b916396d2e22a6896992d4> & __ptr64>
[2019-09-17 02:59:34.127] [3048]  [error]       functional (209): std::_Func_impl<<lambda_2db2cbb591b916396d2e22a6896992d4>,std::allocator<int>,std::map<int,caspar::core::draw_frame,std::less<int>,std::allocator<std::pair<int const ,caspar::core::draw_frame> > > >::_Do_call
[2019-09-17 02:59:34.127] [3048]  [error]       functional (275): std::_Func_class<std::map<int,caspar::core::draw_frame,std::less<int>,std::allocator<std::pair<int const ,caspar::core::draw_frame> > > >::operator()
[2019-09-17 02:59:34.127] [3048]  [error]       future (610): std::_Packaged_state<std::map<int,caspar::core::draw_frame,std::less<int>,std::allocator<std::pair<int const ,caspar::core::draw_frame> > > __cdecl(void)>::_Call_immediate
[2019-09-17 02:59:34.127] [3048]  [error]       common\executor.h (234): <lambda_d4220a8638399b4ef65e9d3ec2b362c7>::operator()
[2019-09-17 02:59:34.127] [3048]  [error]       common\executor.h (286): caspar::executor::run
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF67A922B03 (casparcg): (filename not available): boost::detail::shared_count::swap
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF86ECFDC05 (ucrtbase): (filename not available): iswascii
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF870551FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
[2019-09-17 02:59:34.127] [3048]  [error]       00007FF87274EFC1 (ntdll): (filename not available): RtlUserThreadStart
[2019-09-17 02:59:34.127] [3048]  [error]   
[2019-09-17 02:59:34.386] [7448]  [info]    ffmpeg[11986 DOON BAIKA F EYKA [3500-3538]17.09.19_Trimmed.mp4|720x576i50.00|911/955] Destroyed.

This happens randomly. File stops playing just before end. For example The above file was of of 955 frames and stoped at 911 frame. The same file runs good at other time.

ffmpeg[11986 DOON BAIKA F EYKA [3500-3538]17.09.19_Trimmed.mp4|720x576i50.00|911/955] Destroyed.

Now I found 4 times when it was exact 44 frame before the playing file stopped.

Again this error is comming. File stops exact before 44 frame of end. These file are recorded in casparcg server 2.1 beta2, and trimmed with ffmpeg. Then played with 2.1 beta2.


full log file is here
https://drive.google.com/file/d/1vMypH7W4JW_d3TXWdQwL6jePTy_Kvft-/view?usp=sharing