Description
Crash somewhat consistently occurs here in Blender 4.1.1 (OpenImageIO v2.5.12.0
) on Fedora 40:
OpenImageIO/src/libutil/paramlist.cpp
Line 53 in 80541ad
When crash doesn't occur, programs like Blender (4.1.1 built with v2.5.6.0
) continue running but with no icons, and the welcome image is also a black box. Tested with v2.5.6.0
up to v2.5.13.0
, with v2.5.9.0
and later having the bug.
Cause of the issue seems to be the new default
on Copy Constructor in PR #4162. Programs built with v2.5.6.0
but using a linked version later than v2.5.8.0
will SEGFAULT from the Copy Constructor change in distributed headers. In the Blender case it somehow changes the arraylen
from 0
to 32727
for a TypeDesc from changing a property in ImageDesc.
Temporarily reverting these changes does fix the issue for those cases. With this being built into distributed system headers it seems like it would be a breaking change for a minor API version; the alternative is tracking down how the arraylen value changes without touching any other code. rebuilding applications with the newer headers.