Hi,

I tried to fix the test issues of drmaa.  Besides a missing Depends
which was fixed in Git[1] this bug of jmalloc2 affects the import:

...
>>> import drmaa
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/drmaa/__init__.py", line 65, in <module>
    from .session import JobInfo, JobTemplate, Session
  File "/usr/lib/python3/dist-packages/drmaa/session.py", line 39, in <module>
    from drmaa.helpers import (adapt_rusage, Attribute, 
attribute_names_iterator,
  File "/usr/lib/python3/dist-packages/drmaa/helpers.py", line 36, in <module>
    from drmaa.wrappers import (drmaa_attr_names_t, drmaa_attr_values_t,
  File "/usr/lib/python3/dist-packages/drmaa/wrappers.py", line 58, in <module>
    _lib = CDLL(libpath, mode=RTLD_GLOBAL)
  File "/usr/lib/python3.9/ctypes/__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in 
static TLS block


So for drmaa it is release critical to fix the issue.

Kind regards

     Andreas.



[1] 
https://salsa.debian.org/med-team/drmaa/-/commit/9d70257de745b7e576e1b4f266caa3dbc3a44344

-- 
http://fam-tille.de

Reply via email to