Hi Guillaume, Thanks for the extensive report.
On 7/15/19 7:15 PM, Guillaume Pasero wrote: > I am using libossim1 through Orfeo ToolBox and I noticed a crash when > upgrading Ossim from 2.6.2 to 2.7.2. We could try upgrading ossim to 2.8.2. maybe that contains a fix. > There is a segmentation fault when using the > ossimImageHandler::getImageGeometry() on a TIFF file. > > The steps to reproduce are: > > * Get a docker image ready to build OTB : > registry.orfeo-toolbox.org/orfeotoolbox/otb-build-env/otb-debian-native:unstable > * run the docker container as root > * Upgrade Ossim to 2.7.2 > * make sure LFS is installed: git lfs install > * clone OTB sources (develop branch) : git clone > https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb > * in OTB sources, run : ctest -VV -S CI/main_ci.cmake > -DIMAGE_NAME=debian-unstable-gcc > * after the test fails you can re-run a test manually, for instance: ctest > -VV -R ioTvMultiResolutionReadingInfo_TIFF Since you're building OTB yourself, it's unlikely to be an ABI break issue due to the otb package being built with an old version of ossim. I didn't want to touch ossim in anticipation of the OTB 7 which won't require it any more, but I guess I don't have much of a choice. Please try to reproduce the issue when ossim (2.8.2-1) is available unstable. Kind Regards, Bas -- GPG Key ID: 4096R/6750F10AE88D4AF1 Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1