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 <extmaill...@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: ser...@linuxbox.cz ------------------------------------- _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker