After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 322729 - evolution-exchange calendar leads to 100% cpu usage
evolution-exchange calendar leads to 100% cpu usage
Status: RESOLVED DUPLICATE of bug 325726
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.4.x
Other All
: Normal critical
: 2.5
Assigned To: Chenthill P
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-11-29 07:58 UTC by Fred Blaise
Modified: 2006-01-11 05:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
top screenshot and e2k_debug=5 debug trace (31.39 KB, application/x-gzip)
2005-11-29 07:59 UTC, Fred Blaise
Details

Description Fred Blaise 2005-11-29 07:58:17 UTC
Please describe the problem:
If you click on the Clock applet without prior starting evolution, gconfd-2 and 
evolution-exchange will take up to 100%, leaving the computer unusable.

Steps to reproduce:
1. Boot-up your computer
2. Login to gnome
3. I would assume you have to have an exchange account configured within 
evolution.
4. Click the Clock applet to display the calendar
5. CPU will shoot up, until you close the Clock applet's calendar or kill the 
evolution-exchange process



Actual results:
CPU goes to 100% usage

Expected results:
CPU usage stays very low and doesn't prevent use of the desktop.

Does this happen every time?
Yes

Other information:
Running with E2K_DEBUG=5, we can see quite a few 

(evolution-exchange-storage:8384): Bonobo-CRITICAL **: bonobo_object_corba_objre
f: assertion `BONOBO_IS_OBJECT (object)' failed

Log attached, and picture of 'top' also attached.

I must add that the exchange server was not local when I ran this, and the link 
isn't the fastest.
Comment 1 Fred Blaise 2005-11-29 07:59:45 UTC
Created attachment 55359 [details]
top screenshot and e2k_debug=5 debug trace
Comment 2 Fred Blaise 2005-11-29 08:34:20 UTC
It seems that after all this, the Clock applet freezes (Time doesn't change), 
and you have to send a HUP signal to reload the applet.

Also, this behavior only happens when the evolution software isn't launched 
(when evolution-exchange-storage wasn't running?). If evolution is running, then 
you won't see this happen.
Comment 3 André Klapper 2005-11-29 12:18:03 UTC
fred: thanks for reporting, moving to connector (=evolution-exchange)
Comment 4 Poornima 2005-12-21 14:53:00 UTC
Fred: Approximatly how many appointments and meetings are there in your calendar ? How many calendars are there ? Approximatly how many recurring meetings are there ? Are there appointments which has got updates from other user using 'Outlook'. Give more information about the data in your 'Calendar' and 'Tasks'
Comment 5 Fred Blaise 2005-12-21 15:16:07 UTC
Calendar appointments... Maybe 2 per week?
Tasks = none. I don't use them.

Note that if evolution is started _before_, then this behavior doesn't occur. It only happens when you boot, and click the Clock applet without evolution being run prior.

Also as feature request, it'd be nice to be able to right-click on a calendar and get a count of the number of meetings we have :)
Comment 6 Sushma Rai 2006-01-10 12:57:29 UTC
For the feature request, please fila a enhancement request bug
on Evolution calendar. I guess some work is going on, in displaying
now of events in a day, in day view.

For the CPU usage part, can you attach gdb to evolution-exchange-storage
and get the traces using "thread apply all bt" command when it hogs CPU.
(http://live.gnome.org/GettingTraces).

Comment 7 Sushma Rai 2006-01-11 05:34:22 UTC
From the debug information printed in exchange-storae-console
I see that,
cal = 0x8252260
cal = 0x81a8d38
cal = 0x81ccef0
cal = 0x81325b0
cal = 0x81ebd70 ...

This is the problem of set_mode being called repeatedly.
this has been fixed in 2.5.x


*** This bug has been marked as a duplicate of 325726 ***