Comment 4 for bug 907012

Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

The problem is this is a service not an actual program, so I don't know where to start.

Asking on IRC I now know that /usr/share/dbus-1/services/indicator-datetime.service is the file that actually launches the service.

The original contents were:

[D-BUS Service]
Name=com.canonical.indicator.datetime
Exec=/usr/lib/indicator-datetime/indicator-datetime-service

I modified it to:

[D-BUS Service]
Name=com.canonical.indicator.datetime
Exec=G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=/home/alex-mayorga/valgrind.log /usr/lib/indicator-datetime/indicator-datetime-service

Then killed the leaking service but then it failed to restart, pretty sure I'm doing it wrong but I don't know what exactly =(