[libvirt-users] virInitialize dumps core intermittently.
Daniel P. Berrange
berrange at redhat.com
Fri Aug 12 08:58:10 UTC 2011
On Thu, Aug 11, 2011 at 11:36:51AM -0700, Sharad Mishra wrote:
> Hi,
>
> I have a host with 6 VMs set to autostart. When this host reboots, it
> starts libvirtd, pegasus cimom and libvirt-cim. It also restarts the VMs.
> Intermittently we noticed a core during start up that points to the last
> call made by libvirt-cim to "virInitialize". I am thinking that it is a
> timing issue where virInitialize is called while libvirt is trying to
> autostart the VMs.
The virInitialize() API calls does very little, it merely sets up a few
internal data structures.
There is no attempt to connect to libvirtd until you call viConnectOpen,
so I can't see how virInitialize would race with libvirtd autostart.
To get more information, you really need to capture a stack trace of
the crash in GDB (or via Abrt)
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvirt-users
mailing list