FS#66962 - [openvdb][jemalloc] pyopenvdb cannot be imported in python
Attached to Project:
Community Packages
Opened by Martin Saraceno (tinux) - Tuesday, 09 June 2020, 22:01 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 14 June 2020, 22:40 GMT
Opened by Martin Saraceno (tinux) - Tuesday, 09 June 2020, 22:01 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 14 June 2020, 22:40 GMT
|
Details
It is not possible to import pyopenvdb in python:
<code> $ python Python 3.8.3 (default, May 17 2020, 18:15:42) [GCC 10.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyopenvdb Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/lib64/libjemalloc.so.2: cannot allocate memory in static TLS block </code> Additional info: * openvdb-7.0.0-5 * python-3.8.3-1 |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 14 June 2020, 22:40 GMT
Reason for closing: Fixed
Additional comments about closing: New jemalloc currently in testing has the fix.
Sunday, 14 June 2020, 22:40 GMT
Reason for closing: Fixed
Additional comments about closing: New jemalloc currently in testing has the fix.
https://github.com/jemalloc/jemalloc/commit/a62e42baebe09dc84aaff731faa6ff87fde6bc4e
```
$ ipython
Python 3.8.3 (default, May 17 2020, 18:15:42)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.15.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import pyopenvdb
In [2]:
```
As long as there are not other drawbacks I'd say it's worth it.
No idea whether or not there are any drawbacks.