I’m running a C++ program that takes as inputs a bunch of images, processes them in a certain way, and outputs the data in a MATLAB .mat file. As it takes a while to process all the data, I let it run overnight.
When I checked on it this morning, I saw there was an exception due to
libmat.dll after the program had processed the first 677 files. I ended the program, and then restarted it on number 678 (the one that cause the break) and it continued with no problem.
What could have caused that exception? It clearly wasn’t related to file 678, nor does it seem to be code related. This isn’t the first time I’ve had weird interruptions when running long programs either, but I don’t really understand why they’ve happened.