Hello maintainers, First, thanks for you hard work.
I hope you will not waste too much time with this one. System: Debian 10 buster Kernel 4.19 Step to reproduce: Download ACES 1.2 from here and extract it: https://github.com/colour-science/OpenColorIO-Configs/releases/tag/v1.2 Open a terminal, set the OCIO variable: export OCIO=/path/to/ACES/config.ocio And execute this command with given file: ocioconvert one_pixel.exr 'ACEScg' out.png 'Output - sRGB' This will crash: Loading one_pixel.exr Segmentation fault Notice this image is a cropped 1x1 pixel on a bigger image, but the problem is the same with a bigger image. Using gdb, I can find it's related to OpenImageIO/PNG: Thread 1 "ocioconvert" received signal SIGSEGV, Segmentation fault. __sigsetjmp () at ../sysdeps/x86_64/setjmp.S:32 32 ../sysdeps/x86_64/setjmp.S: No such file or directory. (gdb) bt #0 0x00007ffff6e973b0 in __sigsetjmp () at ../sysdeps/x86_64/setjmp.S:32 #1 0x00007ffff7dbf7f9 in OpenImageIO_v2_0::PNG_pvt::write_row(png_struct_def*&, unsigned char*) () at /lib/x86_64-linux-gnu/libOpenImageIO.so.2.0 #2 0x00007ffff7e00657 in OpenImageIO_v2_0::PNGOutput::write_scanline(int, int, OpenImageIO_v2_0::TypeDesc, void const*, long) () at /lib/x86_64-linux-gnu/libOpenImageIO.so.2.0 #3 0x00007ffff7caf90b in OpenImageIO_v2_0::ImageOutput::write_scanlines(int, int, int, OpenImageIO_v2_0::TypeDesc, void const*, long, long) () at /lib/x86_64-linux-gnu/libOpenImageIO.so.2.0 #4 0x00007ffff7cafc92 in OpenImageIO_v2_0::ImageOutput::write_image(OpenImageIO_v2_0::TypeDesc, void const*, long, long, long, bool (*)(void*, float), void*) () at /lib/x86_64-linux-gnu/libOpenImageIO.so.2.0 #5 0x000055555555c307 in main () If you try with jpeg or tif, it works: $ ocioconvert one_pixel.exr 'ACEScg' out.jpg 'Output - sRGB' Loading one_pixel.exr Wrote out.jpg $ ocioconvert one_pixel.exr 'ACEScg' out.tif 'Output - sRGB' Loading one_pixel.exr Wrote out.tif And image is as expected. I suspect its a bug in upstream OpenImageIO or OpenColorIO. Maybe it's fixed in upstream. Hope you can report it. Once again, thanks for the good work team! Thanks, and have a nice day! Dorian
-- Pkg-phototools-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-phototools-devel
