[Pkg-phototools-devel] Bug#953060: ImportError when trying to import OpenImageIO

James Dietrich jdietrch at fastmail.fm
Tue Mar 3 21:58:06 GMT 2020


Package: python3-openimageio
Version:  2.1.11.2~dfsg0-3
Severity: normal

I am getting an ImportError when trying to import OpenImageIO:
jdietrch at saturn:~$ python3
Python 3.7.6 (default, Jan 19 2020, 22:34:52)
[GCC 9.2.1 20200117] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenImageIO
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block
>>>

If did figure out that if I LD_PRELOAD that library, then the import OpenImageIO succeeds; but I don't think that should be necessary.
jdietrch at saturn:~$ LD_PRELOAD=/lib/x86_64-linux-gnu/libjemalloc.so.2 python3
Python 3.7.6 (default, Jan 19 2020, 22:34:52)
[GCC 9.2.1 20200117] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenImageIO
>>>

Let me know if I can provide any further information.

Thank you,
James Dietrich



More information about the Pkg-phototools-devel mailing list