jamesbowman/openexrpython

Some errors about Segmentation fault (core dumped)

ningscapr opened this issue · 3 comments

Hi,
This is my code running on Ubuntu 16.07 python 3.5.

import OpenEXR 
infile = OpenEXR.InputFile("7_31.VRayID.0000.exr")
print(infile.header())

It can't print out anything but an error Segmentation fault (core dumped). I don't know how to fix this. Can you help me?

This exr file is 86kB. I tried another one is 41kB, it works fine. I guess it is something about the storage. But i really can't identify it.

Thanks in advance.

And i have used gdb to debug, got the answer

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f1ab1c057d0 in ?? ()
[Current thread is 1 (LWP 11741)]

I am new to this, i don't know how to do it.

Thanks, problem solved. It seems some errors in my EXR file. I haven't figured it out, but my code is correct.