etheory
etheory
[stationary_pencil02_paint_mask.zip](https://github.com/OpenImageIO/oiio/files/8520943/stationary_pencil02_paint_mask.zip) Here is the offending file (sorry I had to compress the .tif to a .zip else I couldn't attach it). This is from our USD ALab assets. One of...
Thanks @lgritz let me try upgrading to OpenJPEG-2.4 and see if that helps.
Interesting. Maybe it's some esoteric issue with our specific openjpeg library then.... that changes sounds very useful thanks. Once that's done I'll pull from it and try again. In the...
Trying right now with openjpeg-2.4.0. I'll let you know how it goes.
No good, it still segfaults in exactly the same way :-(.
Dammit, I think I found the issue. It looks like the build I'm doing isn't linking agains the correct openjpeg. So it's probably a build error. Lemme keep looking, but...
It turns out that no, that's not the issue. The build is correct, and it's linking against the correct openjpeg library. So the mystery continues. In the meantime, I'm changing...
Skipping the jpeg2000 loader by returning false from it fixes the problem. So something on our system is definitely broken when calling any version of the jpeg2000 library. It just...
I completely agree with your hypothesis, that certainly seems like the most plausible theory. I'll test with some j2k files and see what happens and let you know.
There don't appear to be any j2k test images in https://github.com/OpenImageIO/oiio-images. I'll go hunting online.