[libvirt] [PATCH] cygwin: fix abort of virsh on my system
Stefan Berger
stefanb at us.ibm.com
Thu May 6 19:03:35 UTC 2010
Stefan Berger/Watson/IBM wrote on 05/06/2010 02:55:31 PM:
> Chris Lalancette <clalance at redhat.com> wrote on 05/06/2010 02:28:18 PM:
>
>
> > On 05/06/2010 02:11 PM, Stefan Berger wrote:
> > > This strange patch fixes aborts of virsh on my system. It seems that
the
> > > string returned by xmlSaveUri is owned by the xml library??
> >
> [...]
>
> >
> > So something else might be going on. What version of libxml2
> > are you currently building against?
>
> Cygwin picks up what I have installed in /cydrive/c/GTK/ and there I
> have version 2.6.32.
>
> xmlversion.h:#define LIBXML_DOTTED_VERSION "2.6.32"
>
> The abort occurs upon the VIR_FREE(name).
That was also the problem. Since the includes weren't missing I didn't
have cygwin's libvirt-devel package installed and so it took the wrong
includes...
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100506/4ef2bf7d/attachment-0001.htm>
More information about the libvir-list
mailing list