Assertion fctx error

Hi all,
Been running into this error message repeately.
“Assertion fctx->async_lock failed at libavcodec/pthread_frame.c:167”

Anyone knows how to solve it? TIA