Bug 120346 - kdevelop 3 high cpu usage
Summary: kdevelop 3 high cpu usage
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.2.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 21:47 UTC by Fernando Diaz
Modified: 2006-12-16 21:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Diaz 2006-01-17 21:47:03 UTC
Version:           3.2.0 (using KDE 3.3.2,  (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-13)
OS:                Linux (i686) release 2.4.27-2-386

I'm using debian sarge and loging in remotely from windows using cygwin/x and XDMCP. A friend logs localy to the same box, and when we both start kdevelop, the cpu usage goes to 100% whenever the second person to login loads a project. Having no open files doesn't solve the problem, the only way to bring the cpu usage back to normal is to close the current project on wichever kdevelop started last.
Comment 1 Jens Dagerbo 2006-01-18 11:41:49 UTC
I have no answers, but some questions off the top of my head:

1. What process causes the load? The local or the remote?
2. Are you working on the same codebase? (ie the same _files_?)
Comment 2 Fernando Diaz 2006-01-18 18:36:18 UTC
We are working in the same project, but each one has separate copies of the files in our home directories. Doing additional testing we have found how to reproduce the problem. The deciding factor that determines wich kdevelop process causes the load is wich user executes it for the first time since booting up the computer. The second user to fire it causes a 100% cpu load, even if the other user isn't using kdevelop. This remains so until the computer is restarted.
Having multiple instances of kdevelop open by the first user doesn't cause high cpu load, the symptom only appears when the second user opens a kdevelop project, even with no files from it open.
The only non-standard configuration we are using i can think of is that our display manager is not kdm, but gdm. 
Comment 3 Fernando Diaz 2006-01-18 21:24:18 UTC
We have changed gdm for kdm, just in case, but it didn't solve the problem.
Comment 4 Fernando Diaz 2006-01-20 12:38:52 UTC
We have found another symptom refering to the high cpu usage. The xsession-error file is abnormaly huge (4gb), and is filled with errors coming from kdevelop and other applications. Right now I don't have access to the computer, so I can't post fragments of the file. But if someone could confirm that this indicates a problem with the X server, and not kdevelop, I could close the bug report and dump cygwin/X.
Comment 5 Fernando Diaz 2006-01-27 12:53:54 UTC
Ok, we have changed the configuration from the client machine from windows + cygwin/x to debian 3.1, and the problem persists. The high cpu usage and multitude of xsession errors appear wether usgin xdmcp or ssh with x forwarding. In fact, kdevelop isn't the only application to throw the xsession errors. I've been searching on google to no avail. Could someone at least point me in the right direction?
Comment 6 Mathieu Chouinard 2006-12-16 21:14:37 UTC
seems to be a setup specific problem