API Image Operator bpy.ops.image.open - Segmentation Fault
Closed, ResolvedPublic

Description

System Information
Kernel : Linux 4.10.0-38-lowlatency (x86_64)
Compiled : #42-Ubuntu SMP PREEMPT Tue Oct 10 14:33:03 UTC 2017
C Library : GNU C Library version (Ubuntu GLIBC 2.24-9ubuntu2.2) 2.24 (unstable)
Default C Compiler : GNU C Compiler version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2)
Distribution : Ubuntu 17.04
Graphics Card: Onboard

Blender Version
Broken:

  • blender-2.79-linux-glibc219-x86_64
  • blender-2.79-21a535840df-linux-glibc219-x86_64

Worked:

  • blender-2.78c-linux-glibc219-x86_64

Short description of error
Segmentation fault when calling bpy API image operation "open" with any image file. This also cripples the NetRender addon.
bpy.ops.image.open(filepath=filename)

Exact steps for others to reproduce the error
I'm going to attach a sample python script that will cause the crash, in addition to a simple bash script that will use each of the three mentioned versions of blender, to show that only 2.78c official release works.

Attached here are the script files I used to reproduce the error

This is a simple bash script, which will call blender several times; Once per specified version. The release folder must be in the same folder if you want to actually use it.

This is the python script that fails on the two newer versions, but succeeds on official release 2.78c. It expects an input file called "test.exr" in the same directory, and will output "test.jpg" on success. I'm currently using it with an EXR generated by the NetRender addon. I can upload my test EXR I'm using if you like, but it also fails with any PNG I stick in there as well.

Here is output generated when I ran the script myself

Here is the blender crash log generated from blender-2.79-21a535840df-linux-glibc219-x86_64

This comment was removed by Mike (mikeperalta).
This comment was removed by Mike (mikeperalta).
This comment was removed by Mike (mikeperalta).
This comment was removed by Mike (mikeperalta).
Mike (mikeperalta) added a project: Python.
Mike (mikeperalta) updated the task description. (Show Details)
Mike (mikeperalta) updated the task description. (Show Details)