crash without crash

hi, very rarely i obtain a crash for video rendering and if i go inside
to check, after i press cancel and the program returned to work
like in the picture.
in the rectangole ui crash, if i press ok the program finish in 1 second
and i lost all the records in direct.
if i don't touch the ok, the program continue to record channels, also
open scheduled programs and record them.