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

[libvirt] clone memory leak and libvirt connection selection



Hi,

I'm trying to use libvirt-0.6.5 within a multithreaded application without
libvirtd and from what it looks like, it appears to have two things
that are somewhat undesirable:
  1) It tries to connect to libvirtd which isn't running.  But it does
eventually connect to the hypervisor.
  2) It appears to leak some memory within a readonly
connect and close.  This is not too bad but it would be an issue in my
long lived daemon application.

I've attached an example program illustrating the issue with the linker log
and the log from valgrind showing the memory leak.  The code itself
is based off the one on the website.  Is there a URI I can use to avoid
the connection to the libvirtd daemon while still connecting to the
xendstore
and is the memory leak an issue with the application environment or the
library?
Let me know if you need any more information.

Thanks,
Johnny
#gJZms۸WWl|DRi3x;V3vM{HP˜"4([wI[:m:x&H,v/%RQ:'qq{o;vl_jȤ"\=k?(p˄BӔ

ﯙr) YRHtń([,%HqAq  CAingdԛPP-'?j*ŠRlSy>dD6 XS>(Qj`aiS_1qbJw"FGuIDPJBS7 3ݰ{p
䉡NSIgl`{8Rи2KÁe/[8*)8xtZKrCO4l4ii
{1FɆk`xO"DhkDitBw4
MnqrSs1hV%7F/`Y\!L8κ?ܝBsTUHZEKG1KSW]WY5+sbգ&&8o59GFEOt l<ެ<g&f7*h7:0~A/Ղٺ[7$z֭7lBho$%SR ^qH\ݎY0n	5^>L%2fjo#A:S6ܟ7>,[k\,eHo+a;v/gV<QJF$Pj:L	pGɖdj<lxp58!kmrM`Rm+k=-u7M"ȪwfŝX͈ME.NgZv?Vmw^Cw!E8Uwb]n#pբ<˵`8]țF'xa*jt
FRDD qwJwv0fӿ]s0ktTBPuJßT7)ARG?ŕ]uzX+-	Z[0)"[T@,Ȃ^Gղ[_+00TDa"KNם_HѨҊF0dOP%`l]3di7bܒq.wD">ΙgI!$h1wd~ \RR=KJoxr~19=}瑟e,"	LX
hcŪ2H؞UxjgE"QJ_KU>i>]cr`یy];lC1VPs
)U:8}DPp̜H!lE_r						3Yy˄܄܄܄8΄܄܄܄܄	B|e:}N_\_姳#Xޡ`Eof&z#iAfXPK 'L8N}`d!vțdޠ7k;Rbމ(~,Ey\k[XIz%gTZkrei-{r!mu|߶pRLǤ0vJw_\D=ap}mGAIhfA		hꄁk:txaMw!	E¡;yWjRޕ[nGI8h艟sx诛\Kza8{d
,R$Hp˹N}PKԩ_{M52\>H5cITZ9׵wA.[e%\Yyr0%آ5c?g'P

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