Closed anthomas01 closed 3 years ago
I believe I have narrowed this down to named_semilogy(), this call does not explicitly fail, however every call that fails is immediately after the named_semilogy(). It will animate for hundreds of iterations of the while loop corresponding to 1-5 iterations of the optimization then spontaneously fail and no successive calls to the library work.
Added std runtime_error to named_plot and named_semilogy and it is the semilogy causing the problem. Any ideas??
terminate called after throwing an instance of 'std::runtime_error' what(): Call to named_semilogy() failed.
I am trying to animate four subplots based on real time data that is getting piped to a log file over docker. Sometimes it works fine, others it will crash on either grid(), legend() if grid() is disabled, or subplot() if both are disabled. The subplot it terminates on seems to be random. If grid() and legend() are not called it crashes after many iterations, if they are called it seems to be after the first few. Any way of handling the errors or preventing them in the first place would be greatly appreciated.
output-
what(): Call to subplot() failed.