SVM learn module : crash when displaying results
Mantis Issue 265, reported by smay, assigned to cvalladeau, created: 2011-03-31
The application crashes when display button is clicked into SVM learn module
1303227551 - C ValladeauWAIT FOR COMMENT...
It appears that the error came from otbPipelineMemoryPrintCalculator::EvaluatememoryPrint method. Indeed, in the method, we loop over the source inpust and for each one, we evaluate the memory print. In this particular case, the source have 2 inputs but one of them is null. That's why Monteverdi crashed. This may be because we use a Persistent filter... I add a control on the input to only use the non null input. Monteverdi doesn't crash anymore. http://hg.orfeo-toolbox.org/OTB/rev/176fda9b7f48
I am not sure of this correction, maybe this null input shows another problem. If someone has any idea...