[libvirt] [PATCH] virt-admin: Call virInitialize to fix startup crash

Erik Skultety eskultet at redhat.com
Tue Jun 28 08:45:27 UTC 2016


On 28/06/16 10:12, Martin Kletzander wrote:
> On Mon, Jun 27, 2016 at 02:28:39PM -0400, Cole Robinson wrote:
>> Similar to what virsh and virt-login-shell do
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1350315
>> ---
>> I can't actually reproduce the bug, the backtrace is similar to
>> 97973ebb7 which added the same fix for virt-login-shell, and
>> that commit also mentions the randomness of reproducing...
>>
> 
> I think we should try finding out what the cause for that is.  It might
> be as simple as adding similar fix to yours and asking the user what
> error does he see with that fix in.  The idea behind that is that
> scripts shouldn't need to call that initialization as that should be
> part of any first call they make to the library.

I agree with Martin. The weird thing is, that although the BZ says 100%
reproducible, I couldn't reproduce the issue yet and AFAIK neither has
Martin, so we definitely need more details.

Erik




More information about the libvir-list mailing list