clock-applet memory leak

Przemek Klosowski przemek.klosowski at nist.gov
Tue Apr 23 14:42:54 UTC 2013


On 04/22/2013 03:06 PM, Richard W.M. Jones wrote:

> One trick I've used in the past is to core dump the process
> (set 'ulimit -c unlimited' before startx, then kill -SEGV $clockpid),
> and parse it with some simple command line tools.

You can use GDB for that: gdb -p $clockpid followed by

(gdb) gcore /tmp/clock-applet-core
Saved corefile /tmp/clock-applet-core

 > sort < core | uniq -c | sort -nr

Nice idiom---I also discovered it some time ago and I find myself using 
it regularly.


More information about the devel mailing list