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 552013 - current svn head evo/evo-exchange deadlocks
current svn head evo/evo-exchange deadlocks
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-09-12 19:13 UTC by Reid Thompson
Modified: 2013-09-13 01:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
sshot (128.66 KB, image/png)
2008-09-23 15:00 UTC, Reid Thompson
Details
sshot1 (116.03 KB, image/png)
2008-09-23 15:00 UTC, Reid Thompson
Details
sshot3 (112.06 KB, image/png)
2008-09-23 15:03 UTC, Reid Thompson
Details

Description Reid Thompson 2008-09-12 19:13:04 UTC
Steps to reproduce:
--force-shutdown
rebuild from svn
rm  -rf  .evolution/exchange/ .evolution/mail/exchange/
start evo
everything goes ok until 
  Fetching summary information for new messages
after a bit of success ( percentage complete going up ), evo deadlocks.
I can click on the X in the summary notification window to stop the fetch which
allows evo to start scannig for changed messages but causes evo to lose the
connection with the exchange backend.
I can then click the 'work offline' button to go offline, then click it again to
go back online and evo will again begin Fetching summary information for new
messages -- until it deadlocks again and I have to repeat the steps

Stack trace:
evo and evo-exchange bts:
evo bt:


Other information:
Path: .
URL: http://svn.gnome.org/svn/glib/trunk
Repository Root: http://svn.gnome.org/svn/glib
Repository UUID: 5bbd4a9e-d125-0410-bf1d-f987e7eefc80
Revision: 7473
Node Kind: directory
Schedule: normal
Last Changed Author: tml
Last Changed Rev: 7472
Last Changed Date: 2008-09-11 20:54:14 -0400 (Thu, 11 Sep 2008)

Path: .
URL: http://svn.gnome.org/svn/libsoup/trunk
Repository Root: http://svn.gnome.org/svn/libsoup
Repository UUID: 03f96f1e-eb25-0410-be34-e7bec31b2f82
Revision: 1158
Node Kind: directory
Schedule: normal
Last Changed Author: danw
Last Changed Rev: 1158
Last Changed Date: 2008-09-07 13:43:03 -0400 (Sun, 07 Sep 2008)

Path: .
URL: http://svn.gnome.org/svn/gtkhtml/trunk
Repository Root: http://svn.gnome.org/svn/gtkhtml
Repository UUID: 6715bd1f-e025-0410-99cf-e594b4b1144d
Revision: 8983
Node Kind: directory
Schedule: normal
Last Changed Author: sprasad
Last Changed Rev: 8983
Last Changed Date: 2008-09-12 08:41:54 -0400 (Fri, 12 Sep 2008)

Path: .
URL: http://svn.gnome.org/svn/evolution-data-server/trunk
Repository Root: http://svn.gnome.org/svn/evolution-data-server
Repository UUID: d0434b6f-c725-0410-8785-fd8a057797ef
Revision: 9535
Node Kind: directory
Schedule: normal
Last Changed Author: aklapper
Last Changed Rev: 9535
Last Changed Date: 2008-09-12 09:52:35 -0400 (Fri, 12 Sep 2008)

Path: .
URL: http://svn.gnome.org/svn/evolution/trunk
Repository Root: http://svn.gnome.org/svn/evolution
Repository UUID: 9792ae6b-c725-0410-a7bc-87ac6a6ec1ac
Revision: 36313
Node Kind: directory
Schedule: normal
Last Changed Author: psankar
Last Changed Rev: 36313
Last Changed Date: 2008-09-12 12:19:36 -0400 (Fri, 12 Sep 2008)

Path: .
URL: http://svn.gnome.org/svn/evolution-exchange/trunk
Repository Root: http://svn.gnome.org/svn/evolution-exchange
Repository UUID: cbd800bf-df25-0410-b17b-96628719a9b0
Revision: 1793
Node Kind: directory
Schedule: normal
Last Changed Author: al_shopov
Last Changed Rev: 1793
Last Changed Date: 2008-09-12 03:31:55 -0400 (Fri, 12 Sep 2008)

Path: .
URL: http://svn.gnome.org/svn/evolution-webcal/trunk
Repository Root: http://svn.gnome.org/svn/evolution-webcal
Repository UUID: 30acfedd-e925-0410-bc1e-a2789d043b2b
Revision: 448
Node Kind: directory
Schedule: normal
Last Changed Author: rsedak
Last Changed Rev: 448
Last Changed Date: 2008-09-07 17:29:32 -0400 (Sun, 07 Sep 2008)
Comment 1 Reid Thompson 2008-09-15 11:32:23 UTC
left evo running over weekend after getting it into a functional state ( multiple offline/online switches ).  It deadlocked during normal background email operations over the weekend.
Comment 2 Bharath Acharya 2008-09-15 17:02:45 UTC
Thanks a lot Reid for finding this one. I committed a fix for this one to Evolution-Exchange trunk as r1804. 

After updating to this you should no longer see any deadlocks. The initial count at startup with the cache empty may show some variations, but once synced up all the counts should work perfectly even after restarts.

Please test it and let me know your observations. Hard code freeze in a couple more hours. Let me know if any major issues still persist. TIA
Comment 3 Reid Thompson 2008-09-23 14:54:28 UTC
I still experience OWA message count issues. svn head as of 20080923
1) Label count show incorrect after msg deletion
   see attached screenshots
   selected all mgs (3) in sqlite folder and deleted them
   after deletion, label still shows 3 msgs
   Clicked Send/Receive, label still shows 3 msgs
2) continue to have occasional instances where 'older' msgs disappear -- have to 
   $ evolution --force-shutdown
   $ rm  -rf  .evolution/exchange/ .evolution/mail/exchange/
   and restart to make them visible again
Comment 4 Reid Thompson 2008-09-23 15:00:04 UTC
Created attachment 119226 [details]
sshot
Comment 5 Reid Thompson 2008-09-23 15:00:55 UTC
Created attachment 119227 [details]
sshot1
Comment 6 Reid Thompson 2008-09-23 15:02:30 UTC
It appears that the label Total count just increases -- never decrements or resets to 0.

I just got another msg in sqlite. The label Total count read 4. Deleted it.  The total count remained at 4
Comment 7 Reid Thompson 2008-09-23 15:03:13 UTC
Created attachment 119228 [details]
sshot3