Public bug reported:

The python bindings for openwsman don't seem to work in Bionic:

$ python3 -c 'from pywsman import *'
malloc(): memory corruption
Aborted (core dumped)

Or:

$ python3 -c 'import pywsman'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pywsman.py", line 14, in 
swig_import_helper
    return importlib.import_module(mname)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: /usr/lib/python3/dist-packages/_pywsman.so: undefined symbol: 
PyInstance_Type

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/pywsman.py", line 17, in <module>
    _pywsman = swig_import_helper()
  File "/usr/lib/python3/dist-packages/pywsman.py", line 16, in 
swig_import_helper
    return importlib.import_module('_pywsman')
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ImportError: /usr/lib/python3/dist-packages/_pywsman.so: undefined symbol: 
PyInstance_Type
free(): invalid size
Aborted (core dumped)

** Affects: openwsman (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1795673

Title:
  malloc(): memory corruption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openwsman/+bug/1795673/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to