[Kde-pim] Using valgrind on Akonadi agents

Thomas McGuire mcguire at kde.org
Fri Aug 12 21:36:01 BST 2011


Hi,

On Wednesday, August 03, 2011 10:05:34 PM David Jarvie wrote:
> I tried to run an Akonadi agent under valgrind, following the instructions
> at
> http://techbase.kde.org/Projects/PIM/Akonadi/Development_Tools#Running_an_
> agent_in_valgrind. But the agent just ran normally - no log file output,
> and it ran at normal speed. I set the following environment variables in a
> terminal window, and then ran 'akonadictl start' in that terminal:
> 
> AKONADI_VALGRIND=akonadi_kalarm_resource
> AKONADI_VALGRIND_OPTIONS='--leak-check=full --log-file=/tmp/valg.log'
> 
> Yes, I have valgrind installed. Any ideas?

I don't know why it is not working for you, but it should be pretty easy to 
debug. Either use GDB to debug the akonadi_control process at the point at 
which it starts your agent, or add some debug output. The relevant function is 
ProcessControl::start() in akonadi/server/control.

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110812/7559d0ec/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list