AcademySoftwareFoundation / OpenRV

Open source version of RV, the Sci-Tech award-winning media review and playback software.
Other
585 stars 144 forks source link

[Bug]: OpenRV crashes on Windows with DWAA EXRs #106

Closed finnschi closed 1 year ago

finnschi commented 1 year ago

What happened?

Loading in a DWAA compressed EXR file crashes RV on windows.

Tested on 3 seperate windows 10 machines with different CPUs (amd and intel).

List all the operating systems versions where this is happening

Windows 10

On what computer hardware is this happening?

Multiples

Relevant console log output

There is no console output, it just exits, even in DEBUG and TRACE mode it just exits after reading the file. 

Version 1.0.0, built on Mar 31 2023 at 13:03:45 (HEAD=2b799c585).
Copyright (c) 2022 Autodesk, Inc. All rights reserved.
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
INFO: trying brute force to find an image reader for trace
ERROR: Open of 'trace' failed: unsupported media type.
ERROR: Unable to retrieve OCIO context: ERROR: $OCIO environment variable unset!
ERROR: Unable to retrieve OCIO context: ERROR: $OCIO environment variable unset!
INFO: trace
INFO: Read image info from E:/projects/SPC_00142_MBU/SPC_00142_MBU_prod/060_shots/040/comp/render/mbu_040_comp_v007_exr/mbu_040_comp

Environment variables

No response

Extra information

No response

Code of Conduct

finnschi commented 1 year ago

Updating openexr to 3.1.7 fixes this issue:

cmake/dependencies/openexr.cmake

-> Change version from 3.1.5 to 3.1.7 -> Change hash a211c5c9f0796ad5c895fe0d2ce6a3f8 to a278571601083a74415d40d2497d205c

Rebuild