[Pacemaker] cib still leaks in pacemaker-1.0.3

Nikola Ciprich extmaillist at linuxbox.cz
Thu May 14 19:34:50 UTC 2009


Hi guys,
sooo I've got valgrind grinding:)
I had some trouble getting the latest stuff working, so I used heartbeat-2.99.2 with Dejan's (fixed) patch and --enable-valgrind --with-valgrind-log="--log-file=/tmp/crm-%p.valgrind"
and recompiled pacemaker-1.0.3 (withount openais as Andrew suggested).
now enabling valgrind works!
Unfortulately I don't see the leaks on my testing machine, so I'll have to try it directly on
production one. Hopefully I'll have some time for playing Tomorrow or during the weekend, so I'll
report ASAP.
thanks a lot for all Your help!
best regards
nik

On Thu, May 14, 2009 at 04:12:52PM +0200, Andrew Beekhof wrote:
> On Thu, May 14, 2009 at 3:58 PM, Nikola Ciprich <extmaillist at linuxbox.cz> wrote:
> > Hi,
> > Dejan, thanks a lot, I compiled Your version, but crmd with shipped pacemaker keeps segfaulting
> > with it, and unable to rebuild pacemaker with this heartbeat to get the -debug package.
> > compilation fails with:
> >
> > plugin.c: In function 'check_message_sanity':
> > plugin.c:1190: warning: format '%d' expects type 'int', but argument 10 has type 'long unsigned int'
> > plugin.c:1190: warning: format '%d' expects type 'int', but argument 10 has type 'long unsigned int'
> > gmake[2]: *** [plugin.lo] Error 1
> > gmake[2]: Leaving directory `/home/src/redhat/BUILD/pacemaker/lib/ais'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/home/src/redhat/BUILD/pacemaker/lib'
> > make: *** [all-recursive] Error 1
> > error: Bad exit status from /var/tmp/rpm-tmp.81431 (%build)
> >
> > Could You please send me only the related patch, so I could try compiling latest stable
> > version? I don't see it in the mercurial...
> 
> When you configure pacemaker, just add the --without-ais option.
> 
> >
> > Andrew thanks for Your patches as well, I'll try them, but honestly I'm a bit confused,
> > first patch is for heartbeat, right?
> 
> actually, you probably dont need the second one.  i think its in 1.0 already.
> 

-- 
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799

www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis at linuxbox.cz
-------------------------------------




More information about the Pacemaker mailing list