[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 225602] Kmail is extremely slow and uses CPU without any reason
From:       Thomas McGuire <mcguire () kde ! org>
Date:       2010-03-02 22:11:20
Message-ID: 20100302221120.ED54435FAC () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=225602





--- Comment #11 from Thomas McGuire <mcguire kde org>  2010-03-02 23:11:07 ---
> I can try to find out how to use GDB. It is installed at my machine and it 
> this should be a good way to finbd out the reason that makes my machine slow.

Ok, this is how you use GDB for this:

1. Attach GDB to the KMail process:
gdb --pid `pidof kmail`
2. When GDB is done attaching, it has interrupted the application. Type
"continue" to let it continue.
3. Press Ctrl+C at any time time to interrupt the application, and type
"continue" again to let it continue
4. When KMail is interrupted, type "backtrace" to get a backtrace. That will
show you in which code path KMail currently is. If you manage to interrupt
KMail when it is using CPU, the backtrace should show which function uses the
CPU and how it is called.
Try interrupting KMail several times, when it is using CPU. If the backtraces
have similar function names, then those functions are likely the ones using the
CPU. If you manage to find a backtrace that's nearly always the same when KMail
is using CPU, post it here.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic