The functions caml_ml_flush and caml_ml_flush_partial in asmrun/io.c can return without CAMLreturn if they are called on a file that was already closed. This screws up the caml_local_roots data structure, which results in crashes.

Additional Information

I am pretty sure that I have filed an identical report a few days ago, and I confirmed that it showed in View Issues. Now I do not see it anymore. If somebody is deleting these reports I expect that they would at least bother to send me email to let me know the reason.