[Pkg-libvirt-maintainers] Bug#605965: Bug#605965: python-libvirt: segfaults after making lots of readonly connections

dave b db.pub.mail at gmail.com
Mon Dec 6 04:44:19 UTC 2010


On 6 December 2010 01:53, Guido Günther <agx at sigxcpu.org> wrote:
> tag 605965 +unreproducible
>
> On Sun, Dec 05, 2010 at 04:26:06PM +1100, david b wrote:
>> Package: python-libvirt
>> Version: 0.8.3-4
>> Severity: normal
>>
>> Here is an example python script you can use to reproduce the problem:
>>
>> import libvirt
>> import sys
>>
>>
>> def main():
>>       conn = libvirt.openReadOnly(None)
>>
>> if __name__ == "__main__":
>>       for i in range(0, 10000):
>>               main()
>>
>> If you run it after a number of connections python will segfault.
> Not here with 0.8.3-5. The report is lacking information as to what
> hypervisor you conenct to, etc.
>  -- Guido

It needs virtualbox to be installed. If you look at the backtrace, you
can see it is in some virtualbox method. Apparently when you have
virtualbox installed, the connection is to virtualbox(when you pass in
None).
If you dont' have virtualbox installed then the above crash will not
take place.

--
He hath eaten me out of house and home.		-- William Shakespeare, "Henry IV"





More information about the Pkg-libvirt-maintainers mailing list