Re: clock-applet memory leak

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux