Package: opencolorio-tools Version: 1.1.0~dfsg0-5 Severity: normal 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. Adding a "--ch 1,2,3" seems to avoid the crash. 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 -- System Information: Debian Release: 10.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-13-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages opencolorio-tools depends on: ii libc6 2.28-10 ii libgcc1 1:8.3.0-6 ii liblcms2-2 2.9-3 ii libopencolorio1v5 1.1.0~dfsg0-5 ii libopenimageio2.0 2.0.5~dfsg0-1 ii libstdc++6 8.3.0-6 ii libtinyxml2.6.2v5 2.6.2-4 ii libyaml-cpp0.6 0.6.2-4 opencolorio-tools recommends no packages. opencolorio-tools suggests no packages.