[maemo-developers] Valgrinding Home applet in Chinook

From: Eero Tamminen eero.tamminen at nokia.com
Date: Wed May 28 11:47:11 EEST 2008
Hi,

ext Vlad Vasiliev wrote:
> How I can find a memory leak  in a home applet in Chinook?
> 
> Old method af-sb-init.sh start --valgrind maemo_af_desktop
> or I have tried next variant
> af-sb-init.sh start --valgrind hildon-desktop
> does not have result.

At least this should work...

First install the required packages:
fakeroot apt-get install valgrind maemo-debug-scripts
debug-dep-install /usr/bin/hildon-desktop.launch /usr/bin/maemo-launcher

Then run AF environment and re-start desktop under valgrind:
af-sb-init.sh start
kill $(pidof hildon-desktop)
run-standalone.sh run-with-memcheck /usr/bin/hildon-desktop.launch


	- Eero

More information about the maemo-developers mailing list