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

Re: [libvirt] SIGSEGV using virConnect.newStream with Python



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


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