DOI-USGS / ISIS3

Integrated Software for Imagers and Spectrometers v3. ISIS3 is a digital image processing software package to manipulate imagery collected by current and past NASA and International planetary missions.
https://isis.astrogeology.usgs.gov
Other
200 stars 168 forks source link

Qmos - Seg faults only under isis8.2.0-RC# #5539

Closed lwellerastro closed 3 months ago

lwellerastro commented 4 months ago

ISIS version(s) affected: isis8.2.0-RC1 and isis8.2.0-RC2, works under all other versions back to isis5.0.2

Description
Qmos seg faults on images near the poles (not sure this is the issue) and in particular images crossing the 0/360 longitude boundary. In particular, when loading images using the default map file (equi, 0-360) the program does not seg fault. Seg fault occurs either switching to a polar stereographic projection (+/- 180 lon domain) for loaded images, or first opening the polar map file, then loading the images.

This happens with LROC NAC and Kaguya TC images (but not Cassini ISS of Titan). Seems to need a certain number of 0/360 longitude crossing images, but not sure. Have equi sets of images with 0/360 crossing images that do not make qmos seg fault, but those typically only have dozens of boundary crossing images and the polar lists have far more. But I really don't know what is causing this, only that it only occurs under the latest version of isis, but not prior versions.

How to reproduce
See data under my work area /Isis3Tests/Qmos/LonBndry/

Additional context
I wonder if there is any relation to what is going on with #5520 and/or maybe updates to geos

amystamile-usgs commented 4 months ago

@lwellerastro isis8.2.0-RC2 was fixed and updated earlier this week. I would do a quick test and see if you are still seeing segfaults with Qmos.

lwellerastro commented 4 months ago

@amystamile-usgs, the program still segfaults using steps as described above

amystamile-usgs commented 4 months ago

Okay, I just wanted to make sure. I will take a look at this.

amystamile-usgs commented 4 months ago

@lwellerastro I was able to run the list you provide in qmos once I removed M109088796LE.lev1.cub. So I am going to look into why this particular cube is causing the segfault.