Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: skip tests that crash with OpenEXR 3.3.2 #11352

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Nov 25, 2024

The update of OpenEXR in alpine:edge from 3.1.13-r2 (https://github.com/OSGeo/gdal/actions/runs/11960737896/job/33345432787) to 3.3.2-r0
(https://github.com/OSGeo/gdal/actions/runs/12000822356/job/33450446198) causes multiple tests to crash when reading pixels. This is apparently linked to tiled files.

$ valgrind apps/gdallocationinfo temp.exr 0 0
Report:
  Location: (0P,0L)
  Band 1:
==96901== Invalid write of size 8
==96901==    at 0x11A9E833: ??? (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0x11A9EFEC: ??? (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0x11AA728A: exr_decoding_run (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0xA2F275E: ??? (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0xA2EFBFF: Imf_3_3::TiledInputFile::readTiles(int, int, int, int, int, int) (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0xA2F2505: Imf_3_3::TiledInputFile::readTile(int, int, int, int) (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0x59BE255: GDALEXRRasterBand::IReadBlock(int, int, void*) (in /home/even/gdal/gdal/build_ci_alpine/libgdal.so.36.3.11.0)
==96901==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==96901==
==96901==
==96901== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==96901==  Access not within mapped region at address 0x0
==96901==    at 0x11A9E833: ??? (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0x11A9EFEC: ??? (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0x11AA728A: exr_decoding_run (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0xA2F275E: ??? (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0xA2EFBFF: Imf_3_3::TiledInputFile::readTiles(int, int, int, int, int, int) (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0xA2F2505: Imf_3_3::TiledInputFile::readTile(int, int, int, int) (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0x59BE255: GDALEXRRasterBand::IReadBlock(int, int, void*) (in /home/even/gdal/gdal/build_ci_alpine/libgdal.so.36.3.11.0)

The update of OpenEXR in alpine:edge from 3.1.13-r2
(https://github.com/OSGeo/gdal/actions/runs/11960737896/job/33345432787)
to 3.3.2-r0
(https://github.com/OSGeo/gdal/actions/runs/12000822356/job/33450446198)
causes multiple tests to crash when reading pixels. This is apparently
linked to tiled files.

```
$ valgrind apps/gdallocationinfo temp.exr 0 0
Report:
  Location: (0P,0L)
  Band 1:
==96901== Invalid write of size 8
==96901==    at 0x11A9E833: ??? (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0x11A9EFEC: ??? (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0x11AA728A: exr_decoding_run (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0xA2F275E: ??? (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0xA2EFBFF: Imf_3_3::TiledInputFile::readTiles(int, int, int, int, int, int) (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0xA2F2505: Imf_3_3::TiledInputFile::readTile(int, int, int, int) (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0x59BE255: GDALEXRRasterBand::IReadBlock(int, int, void*) (in /home/even/gdal/gdal/build_ci_alpine/libgdal.so.36.3.11.0)
==96901==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==96901==
==96901==
==96901== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==96901==  Access not within mapped region at address 0x0
==96901==    at 0x11A9E833: ??? (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0x11A9EFEC: ??? (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0x11AA728A: exr_decoding_run (in /usr/lib/libOpenEXRCore-3_3.so.32.3.3.2)
==96901==    by 0xA2F275E: ??? (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0xA2EFBFF: Imf_3_3::TiledInputFile::readTiles(int, int, int, int, int, int) (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0xA2F2505: Imf_3_3::TiledInputFile::readTile(int, int, int, int) (in /usr/lib/libOpenEXR-3_3.so.32.3.3.2)
==96901==    by 0x59BE255: GDALEXRRasterBand::IReadBlock(int, int, void*) (in /home/even/gdal/gdal/build_ci_alpine/libgdal.so.36.3.11.0)
```
@rouault
Copy link
Member Author

rouault commented Nov 25, 2024

reported upstream in AcademySoftwareFoundation/openexr#1925

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 73.702% (+0.005%) from 73.697%
when pulling 22d2437 on rouault:ci_workaround_exr_3_3_2_crashes
into b914d9b on OSGeo:master.

@rouault rouault merged commit d66e4db into OSGeo:master Nov 25, 2024
35 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants