[maemo-developers] Valgrinding Home applet in Chinook

From: Vlad Vasiliev vlad at gas.by
Date: Thu May 29 10:59:13 EEST 2008
Eero Tamminen wrote:
> 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
It works. Thank you very much Eeero.


Vlad.


More information about the maemo-developers mailing list