Tested and worked just as the ppa did:

root@xenial-test:~# ./test.py                
past conn.getAllDomainStats
[...]
libvirt: Domain error : invalid domain pointer in virDomainFree
Segmentation fault (core dumped)

root@xenial-test:~# apt install python-libvirt
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  python-libvirt
1 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
Need to get 117 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 
python-libvirt amd64 1.3.1-1ubuntu1.1 [117 kB]
Fetched 117 kB in 0s (951 kB/s)       
(Reading database ... 54557 files and directories currently installed.)
Preparing to unpack .../python-libvirt_1.3.1-1ubuntu1.1_amd64.deb ...
Unpacking python-libvirt (1.3.1-1ubuntu1.1) over (1.3.1-1ubuntu1) ...
Setting up python-libvirt (1.3.1-1ubuntu1.1) ...

root@xenial-test:~# ./test.py 
past conn.getAllDomainStats
[...]

** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

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

Title:
  outdated version of libvirt-python 1.3.1 crashes on call to
  getAllDomainStats

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt-python/+bug/1731482/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to