Crash when editing InputImageParameter Qt widget
Mantis Issue 1182, reported by gpasero, assigned to gpasero, created: 2016-04-08
When editing a filename in the filename box, let say, adding : ?&geom= The application crashes with the message :
WARNG> Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'itk::ExceptionObject' what(): /home/gpasero/Projet_OTB/src/OTB/Modules/IO/ExtendedFilename/src/otbExtendedFilenameHelper.cxx:61: itk::ERROR: Value for option 'geom' is not set. Aborted (core dumped)
There is also a lot of error message from the ImageReader saying that the edited filename doesn't exist : /home/gpasero/Projet_OTB/FormationBordeaux/Bordeaux2016/TP/phr_smooth.tif&
1460134030 - gpaseroFixed in release-5.4, with 2 parts :
-
avoid crash due to extended filenames : https://git.orfeo-toolbox.org/otb.git/commit/9ddebfcbb46e929303b82ce95e87781e508851fb
-
fix behavior of ComplexInputImageParameter (now similar to InputImageParameter) https://git.orfeo-toolbox.org/otb.git/commit/28c3abb8f7c1fb3ede529896ddd3e26eabd6af61