AcademySoftwareFoundation / AcademySoftwareFoundation/openexr

Test failures on Window 32 bit

Open
#1,284 1 comment 0 reactions 0 assignees View on GitHub
Bug in progress
Dominant language
C
Stars
1.8k
Forks
700
Avg merge
3d 12h
Merged PRs (30d)
29

Description

Running OpenEXRTest in Visual Studio 2022 in 32 bit mode will cause multiple test failures.

One example:

> =======
> Running testOptimizedInterleavePatterns
> Testing SSE optimisation with different interleave patterns (large images) ...
> 0, 0: RGBHalf read as RGBHalf... OK OPTIMISED
> 0, 1: RGBHalf read as RGBAHalf... OK OPTIMISED
> 0, 2: RGBHalf read as ABGRHalf... OK
> 0, 3: RGBHalf read as RGBFloat...
>
> error reading back channel B pixel 72,88 got -nan expected -nan
> Assertion failed: writtenHalf.bits () == readHalf.bits (), file C:\work\BlocksDesign\common\openexr\src\test\OpenEXRTest\testOptimizedInterleavePatterns.cpp, line 268
>

I am testing in Debug mode.
This test passes in 64bit mode.

Contributor guide

Open the contributing guide

Research direction

Run OpenEXRTest in Visual Studio 2022 Debug mode for 32-bit and compare it with the passing 64-bit run. Start with test/OpenEXRTest/testOptimizedInterleavePatterns.cpp at the assertion on line 268 and trace the failing channel comparison. Done means the reported 32-bit failures are resolved while the existing 64-bit behavior still passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.