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 347811 - Evolution takes >20 mins to start
Evolution takes >20 mins to start
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.7.x
Other All
: Normal blocker
: ---
Assigned To: Veerapuram Varadhan
Ximian Connector QA
: 359242 (view as bug list)
Depends on:
Blocks: 339777
 
 
Reported: 2006-07-17 17:09 UTC by Wiliam Murray
Modified: 2007-09-07 20:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Log from E2K_DEBUG=4 on evolution-exchange (652.80 KB, text/plain)
2006-08-16 07:36 UTC, Wiliam Murray
Details

Description Wiliam Murray 2006-07-17 17:09:54 UTC
Please describe the problem:
This bug has existed since 2.6.2. It is still there in 2.7.4
Is does not seem to be the same as bug 344196.

Evolution downloads 400Mb of stuff from our exchange 2003 server
before starting. It does it slowly, so that on my 100Mb/s ethernet
the activity is not large, but it takes 20'  to start.
This is not useable.

Steps to reproduce:
1. Create evolution-exchange account to corporate OWA
2. start it.
3. wait.


Actual results:
You have to wait. When all the data is downloaded evo runs OK.
Quit and re-start and evolution takes 20' all over again.

Expected results:
Start time in seconds.

Does this happen every time?
Yes

Other information:
I reported this in 344196. The 2.6.2 version times out and does not
work at all. 2.7.X does not time out.
Comment 1 Andreas Proschofsky 2006-07-27 11:05:04 UTC
I'd guess that's a duplicate of 

http://bugzilla.gnome.org/show_bug.cgi?id=346728
Comment 2 Sushma Rai 2006-08-01 10:04:41 UTC
Wiliam,

Do you have large public folders having subfolders?
Comment 3 Wiliam Murray 2006-08-01 10:15:14 UTC
Yes,
    Well, my employer does. 

du -sh ~/.evolution/exchange/XXXXXX/public/subfolders
163M    /home/murray/.evolution/exchange/XXXXXX/public/subfolders

And if I delete them they are completely re-downloaded before evo starts.
    Bill
Comment 4 Sushma Rai 2006-08-03 06:01:00 UTC
Can you go to Folder -> Subscriptions and uncheck them and then see how 
much time Evolution takes to load next time?
Comment 5 Wiliam Murray 2006-08-03 07:55:00 UTC
  Hi Sushma,
         Thanks, I idn;t know how to do that. Unfortunately, only the
3 public folders I saw in 'favourites' were checked, (while they are
all downloaded) and unchecking them made no difference. 
   This was with 2.7.90
         Bill 
Comment 6 Sushma Rai 2006-08-16 04:58:24 UTC
This is the issue with downloading public folders.
Can you set E2K_DEBUG=4 and paste it here?

2.6.3 should work much faster for you.
Comment 7 Wiliam Murray 2006-08-16 07:36:33 UTC
Created attachment 71011 [details]
Log from E2K_DEBUG=4 on evolution-exchange

This is the start of the log, many megabytes long.
Comment 8 Wiliam Murray 2006-08-16 07:38:53 UTC
evo 2.6.3 does indeed work correctly. 
The attached log file shows 2.7.91 on an FC6-T2 box, truncated
soon after I got into the public folders download stuff. It includes 
downloading my calendar..
             Bill
Comment 9 Wiliam Murray 2006-09-07 12:22:29 UTC
This bug, while 'unconfirmed' was said to be a blocker. But it is still present in 2.8.0
   Is there any hope of fixing this? 
                Bill
Comment 10 Veerapuram Varadhan 2006-09-30 13:07:01 UTC
Just committed a fix in current CVS HEAD - this should work much faster for you.
Comment 11 Wiliam Murray 2006-09-30 16:43:51 UTC
  I'd love to - but /usr/local/usrc/cvs/gnome/evolution-exchange/camel/camel-stub-marshal.c#
is full of <<<<<<<<<<<< symbols and doesn't compile.
Would one from Jun 15 (2.7.90) do for now?
        Bill
Comment 12 Wiliam Murray 2006-10-02 07:17:41 UTC
OK, I tried with the 2.7.90 camel-stub-marshal.c
It sort-of works. But doesn't quite.
It certainly starts faster, cutting off those public folders I 
assume. However, it also cuts of all the sub-folders of my
inbox, meaning I cannot see my old mail!!

  I was able to create a new folder, and could see that, but 
not the real ones.
   Something still needs tweaking - but maybe that is to do 
with this camel-stub-marshal.
    Bill
Comment 13 Wiliam Murray 2006-10-02 07:55:24 UTC
I tried this morning with the full CVS head. Compiles fine,
no camle-marshal-stub issues. But the subfolders of my inbox are still
missing.
    Biill
Comment 14 oyvind.bjorstad 2006-10-04 14:11:04 UTC
*** Bug 359242 has been marked as a duplicate of this bug. ***
Comment 15 John Friar 2006-10-07 20:19:21 UTC
I am also having the subfolder viewing problem.

I Evolution-exchange is downloading the entire inbox hierarchy:

john@fritop:~/.evolution/exchange/john@exchangeserver/personal/subfolders/Inbox/subfolders$ ls
2005_02/  2005_05/  2005_08/  2005_11/  2006_02/  2006_05/
2005_03/  2005_06/  2005_09/  2005_12/  2006_03/  2006_06/
2005_04/  2005_07/  2005_10/  2006_01/  2006_04/  2006_07/

But in Evolution 2.8.1/evolution-exchange 2.8.1, I cannot see these folders under my Inbox.  The problem also exists for other all other subfolders in my "Personal Folders."

I'm using slackware 11 and dropline gnome 2.16.1 beta.
Comment 16 Srinivasa Ragavan 2006-10-12 12:40:15 UTC
Reverted varadhan's last commit and hardcoded to FALSE for deep search on public folders. This needs to be addressed in a better way. Re opening bug #268412 .
Comment 17 Wiliam Murray 2006-10-12 14:39:20 UTC
OK, the reverted code works for me; thank you.
Comment 18 Veerapuram Varadhan 2007-01-21 15:29:50 UTC
Though, marked resolved fixed.. the issue wasn't actually fixed until 2.9.4.  Can anyone check the latest CVS HEAD and update the bug with their observation in terms of startup time and public-folder subscription?  TIA. 
Comment 19 Wiliam Murray 2007-01-22 10:09:03 UTC
So I tried the CVS head just now, and it looks very like the 2.9.5
I am generally using. 
   I can see my public folders, it starts in a few tens of seconds 
[It is still not thunderbird, but it not a major problem]
     Thank you!
Comment 20 Veerapuram Varadhan 2007-09-07 12:51:40 UTC
(In reply to comment #19)
> So I tried the CVS head just now, and it looks very like the 2.9.5
> I am generally using. 
>    I can see my public folders, it starts in a few tens of seconds 
> [It is still not thunderbird, but it not a major problem]
>      Thank you!
> 
Any updates on 2.11.92 w.r.t startup speed?
Comment 21 Andreas Proschofsky 2007-09-07 13:17:10 UTC
For me it's really fast now, still craps out from time to time, but I guess that's another bug. But the speed is very good now. :)(In reply to comment #20)
> (In reply to comment #19)
> > So I tried the CVS head just now, and it looks very like the 2.9.5
> > I am generally using. 
> >    I can see my public folders, it starts in a few tens of seconds 
> > [It is still not thunderbird, but it not a major problem]
> >      Thank you!
> > 
> Any updates on 2.11.92 w.r.t startup speed?
> 

For me it's really fast now, still craps out from time to time, but I guess that's another bug. But the speed is very good now. :)
Comment 22 Wiliam Murray 2007-09-07 13:19:55 UTC
I agree. IF you don't fall foul of the LDAP non-acesss
http://bugzilla.gnome.org/show_bug.cgi?id=474502
 issue it is fast.
    Bill
Comment 23 Veerapuram Varadhan 2007-09-07 13:34:28 UTC
(In reply to comment #21)
> For me it's really fast now, still craps out from time to time, but I guess
> that's another bug. But the speed is very good now. :)(In reply to comment #20)
> > (In reply to comment #19)
> > > So I tried the CVS head just now, and it looks very like the 2.9.5
> > > I am generally using. 
> > >    I can see my public folders, it starts in a few tens of seconds 
> > > [It is still not thunderbird, but it not a major problem]
> > >      Thank you!
> > > 
> > Any updates on 2.11.92 w.r.t startup speed?
> > 
> 
> For me it's really fast now, still craps out from time to time, but I guess
> that's another bug. But the speed is very good now. :)
> 
Thanks for the updates.  I will close this bug - before that, what/where does it fail time to time?
Comment 24 Veerapuram Varadhan 2007-09-07 13:37:50 UTC
(In reply to comment #22)
> I agree. IF you don't fall foul of the LDAP non-acesss
> http://bugzilla.gnome.org/show_bug.cgi?id=474502
>  issue it is fast.
>     Bill
> 
I have updated bug#474502 - can you reply back?
Comment 25 Andreas Proschofsky 2007-09-07 13:43:42 UTC
(In reply to comment #23)
> > 
> Thanks for the updates.  I will close this bug - before that, what/where does
> it fail time to time?

Actually I have to restart evolution a few times a day, cause I get a lot of "Connection to exchange backend lost" or "Cannot update folder" messages. Didn't find the time to debug it until now, that's why I didn't file a yet, sorry for that. I suspect it could have something to do with my company not providing a Global Adress list, at least I get lot's of queries for that after some time (and useless password dialogs). Might be something totally different though ;)

Comment 26 Veerapuram Varadhan 2007-09-07 15:43:39 UTC
I would be interested in knowing the scenarios that gives you "Lost connection to Evolution-exchange backend process".  If you find time, reply back with scenarios and the version of Evolution exchange that you use. 
Comment 27 Andreas Proschofsky 2007-09-07 16:20:04 UTC
(In reply to comment #26)
> I would be interested in knowing the scenarios that gives you "Lost connection
> to Evolution-exchange backend process".  If you find time, reply back with
> scenarios and the version of Evolution exchange that you use. 
> 

Ok, will try to catch such an error. In the meantime: I also get a lot of 

"Error while Refreshing folder. Could not get new messages"

But these seem to be harmless, evolution-exchange still works afterwards, so they are just annoying. The debug-log of evolution-exchange just shows:

"(evolution-exchange-storage:6967): exchange-mail-WARNING **: got_new_smtp_messages: 7"

nothing else
Comment 28 Wiliam Murray 2007-09-07 16:33:41 UTC
The "lost connection to exchange" messages are frequent with evo 2.10.4. 
Typically they just 'pop up' after a while.
One good way to make them is to move a mail into a big folder which I
have not opened that session. Evolution then says "fetching summary for new messages" etc in that folder for a while. Try to click on click on another 
while it is doing it. There is a noticable probability of loosing the
exchange connection.
   Bill
Comment 29 Andreas Proschofsky 2007-09-07 17:37:27 UTC
(In reply to comment #27)
> 
> Ok, will try to catch such an error. In the meantime: I also get a lot of 
> 
> "Error while Refreshing folder. Could not get new messages"
> 
> But these seem to be harmless, evolution-exchange still works afterwards, so
> they are just annoying. The debug-log of evolution-exchange just shows:
> 
> "(evolution-exchange-storage:6967): exchange-mail-WARNING **:
> got_new_smtp_messages: 7"
> 
> nothing else
> 

Just got this again, same message.
Comment 30 Andreas Proschofsky 2007-09-07 17:56:19 UTC
(In reply to comment #29)
> (In reply to comment #27)
> > 
> > Ok, will try to catch such an error. In the meantime: I also get a lot of 
> > 
> > "Error while Refreshing folder. Could not get new messages"
> > 
> > But these seem to be harmless, evolution-exchange still works afterwards, so
> > they are just annoying. The debug-log of evolution-exchange just shows:
> > 
> > "(evolution-exchange-storage:6967): exchange-mail-WARNING **:
> > got_new_smtp_messages: 7"
> > 
> > nothing else
> > 
> 
> Just got this again, same message.
> 

Sorry for the bug spam, really should have waited a bit. Anyway: This time it's not so harmless at all, instead I get the famous "The folder shows a number after its name signifying a new message, but when I look into the folder nothing is shown"-bug. Looking into OWA shows, that there is a new message indeed. Trying to do a manual refresh doesn't help either. Only thing that helps is restarting.

That's what I did and got another error ;). What I did was clicking on an new message obviously before evolution finished downloading the new messages. After some time this resulted in the same error dialog as above, but the log is a bit more verbose:

(evolution-exchange-storage:28099): exchange-mail-WARNING **: got_folder: 7

(evolution-exchange-storage:28099): exchange-mail-WARNING **: got_new_smtp_messages: 7

(evolution-exchange-storage:28099): evolution-exchange-storage-CRITICAL **: e_folder_exchange_propfind: assertion `E_IS_FOLDER_EXCHANGE (folder)' failed

(evolution-exchange-storage:28099): exchange-mail-WARNING **: got_sync_deleted_props: 8
/usr/libexec/evolution-exchange-storage: No such file or directory.
Error while mapping shared library sections:
/usr�����^�
^H0�n^HP�^H^H�m: No such file or directory.

GThread-ERROR **: file gthread-posix.c: line 197 (): error 'Invalid argument' during 'pthread_mutex_trylock'
aborting...
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/suka/.evolution/addressbook/local/system
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/suka/.evolution/addressbook/local/system
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/suka/.evolution/addressbook/local/system
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check

Even bug buddy popped up, but crashed itself before delivering a stack trace unfortunately... 
Comment 31 Andreas Proschofsky 2007-09-07 17:58:38 UTC
Sorry again, some more info to share: After all the above I get the "Unable to retrieve message
Lost connection to Evolution Exchange backend process" error shown in the message preview