Re: SIGSEGV using virConnect.newStream with Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/21/2013 02:51 AM, Claudio Bley wrote:
> At Tue, 20 Aug 2013 11:34:56 +0200,
> Claudio Bley wrote:
>>
>> Hi.
>>
>> I tried this on Fedora 19, using libvirt 1.0.5 and also tested with
>> git v1.1.1-maint as well as git master on Ubuntu 12.04.
>>
>> How to reproduce:
>>
>> ---- python -----
>> import libvirt as l
>> c = l.virConnect("test:///default")
>> v = c.virStream()
>> -----------------
> 
> Sorry for the noise, I just discovered that one has to use the
> libvirt.open function in order to create a virConnect instance.

It's not noise - we should try harder to avoid a segv, even when the
caller doesn't make the right call to initiate a connection.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]