[libvirt] python binding: openAuth() segfaulting

Dan Kenigsberg danken at redhat.com
Tue Mar 16 16:30:56 UTC 2010


I was trying to learn how to use openAuth(uri, auth_cb, flags), and
got:

Python 2.6.2 (r262:71600, Jan 25 2010, 18:46:47)
[GCC 4.4.2 20091222 (Red Hat 4.4.2-20)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libvirt
>>> libvirt.openAuth('qemu:///system', lambda x: None, 0)
Segmentation fault (core dumped)

I guess my lambda expression was not what libvirt expected, but still..

Regards,

Dan.




More information about the libvir-list mailing list