Segmentation violation using Mosek

(Luca Calatroni) #1


I always get a segmentation violation problem on my MATLAB R2016a using cvx solver Mosek.
I am running some test over a database of images: the code works well for the first 4 or 5, storing in each iteration the quantity of interest but then it crashes unexpectedly. I don’t know how to fix this!
In terms of memory, I make sure that I cancel at each iteration the useless quantities, leaving only the ones really needed!
Can you please help? I read that using other solvers this problem is frequent, but using Mosek that should be prevented, right?

My CVX version is:
CVX: Software for Disciplined Convex Programming ©2014 CVX Research
Version 2.1, Build 1113 (9aaf6f1)



(Erling D.Andersen) #2

If you think the crash is caused by MOSEK, then make sure you use the latest MOSEK. If that also crashes, then

tells you how you can dump a so called task file you can email