Seg Fault with otb 8.1.1 and SAR Calibration with thermal noise removal with older product
Description
Segmentation Fault when I perform a SARCalibration of a Sentinel 1 product from 2018 with thermal noise removal option. When I use a production from 2021 => No segfault When I don't use the thermal noise removal => No segfault Not the case with otb7.4.1 with or without the thermal noise removal and with or without
Steps to reproduce
After a proper installation from the latest release and the S1A_IW_GRDH_1SDV_20181102T153633_20181102T153700_024411_02ACA1_105A product
source ~/.local/otb-8.1.1/otbenv.profile
otbcli_SARCalibration -in input/36TWR/S1A_IW_GRDH_1SDV_20181102T153633_20181102T153700_024411_02ACA1_105A/S1A_IW_GRDH_1SDV_20181102T153633_20181102T153700_024411_02ACA1_105A.SAFE/measurement/s1a-iw-grd-vv-20181102t153633-20181102t153700-024411-02aca1-001.tiff -removenoise 1 -out /tmp/vv_cal_8.1.1.tif
2023-02-02 18:02:18 (INFO) SARCalibration: Default RAM limit for OTB is 256 MB
2023-02-02 18:02:18 (INFO) SARCalibration: GDAL maximum cache size is 1597 MB
2023-02-02 18:02:18 (INFO) SARCalibration: OTB will use at most 12 threads
2023-02-02 18:02:18 (INFO): Loading metadata from official product
2023-02-02 18:02:18 (INFO): Estimated memory for full processing: 12131.9MB (avail.: 256 MB), optimal image partitioning: 48 blocks
2023-02-02 18:02:18 (INFO): File /tmp/vv_cal_8.1.1.tif will be written in 42 blocks of 4096x3072 pixels
Writing /tmp/vv_cal_8.1.1.tif...: 82% [***************************************** ]Segmentation fault
With a 2021 product:
otbcli_SARCalibration -in input/31TCJ/S1A_IW_GRDH_1SDV_20210708T060105_20210708T060130_038682_04908E_8979/S1A_IW_GRDH_1SDV_20210708T060105_20210708T060130_038682_04908E_8979.SAFE/measurement/s1a-iw-grd-vv-20210708t060105-20210708t060130-038682-04908e-001.tiff -out /tmp/vv_cal_8.1.1_removenoise.tif
2023-02-02 18:11:29 (INFO) SARCalibration: Default RAM limit for OTB is 256 MB
2023-02-02 18:11:29 (INFO) SARCalibration: GDAL maximum cache size is 1597 MB
2023-02-02 18:11:29 (INFO) SARCalibration: OTB will use at most 12 threads
2023-02-02 18:11:29 (INFO): Loading metadata from official product
2023-02-02 18:11:29 (INFO): Estimated memory for full processing: 11756.2MB (avail.: 256 MB), optimal image partitioning: 46 blocks
2023-02-02 18:11:29 (INFO): File /tmp/vv_cal_8.1.1_removenoise.tif will be written in 42 blocks of 4096x3072 pixels
Writing /tmp/vv_cal_8.1.1_removenoise.tif...: 100% [**************************************************] (15s)
Configuration information
Ubuntu 20.04 with official package 8.1.1