Bug 116762 - Exchange crashes randomly in Tasks view
Summary: Exchange crashes randomly in Tasks view
Status: RESOLVED FIXED
: 120348 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Evolution (show other bugs)
Version: RC 2
Hardware: Other All
: P5 - None : Major
Target Milestone: ---
Assignee: Sushma Rai
QA Contact: Poornima Nayak
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 13:41 UTC by Poornima Nayak
Modified: 2006-04-10 07:54 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Stack traces of exchange connector when it crashed (9.59 KB, text/plain)
2005-09-13 13:44 UTC, Poornima Nayak
Details
Stack traces of exchange connector when it crashed second time (5.14 KB, text/plain)
2005-09-13 13:44 UTC, Poornima Nayak
Details
Stack traces of exchange connector when it crashed again with more debugging symbols (5.05 KB, text/plain)
2005-09-13 13:45 UTC, Poornima Nayak
Details
Gdb traces of crash (32.28 KB, text/plain)
2005-09-28 11:40 UTC, Poornima Nayak
Details
proposed patch (3.07 KB, patch)
2005-09-30 19:23 UTC, Dan Winship
Details | Diff
new patch (8.63 KB, patch)
2005-10-20 14:37 UTC, Dan Winship
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Poornima Nayak 2005-09-13 13:41:58 UTC
Launch evolution in calendar view or tasks view exchange storage crashes
randomly & frequently with these attached traces.

After discusing with exchange connector maintainer assigned to 'Dan Wanship'
Comment 1 Poornima Nayak 2005-09-13 13:44:03 UTC
Created attachment 49768 [details]
Stack traces of exchange connector when it crashed
Comment 2 Poornima Nayak 2005-09-13 13:44:42 UTC
Created attachment 49769 [details]
Stack traces of exchange connector when it crashed second time
Comment 3 Poornima Nayak 2005-09-13 13:45:14 UTC
Created attachment 49770 [details]
Stack traces of exchange connector when it crashed again with more debugging symbols
Comment 4 Dan Winship 2005-09-14 13:08:00 UTC
I am not able to reproduce this. Whenever I try to start evolution showing
either the exchange calendar or exchange tasks view, It says "Error loading
calendar. The calendar is not marked for offline usage" (or likewise with
tasks). Sometimes it pops up several copies of this error. (Eg, the last time
I got 15 of them!). It says this despite the fact that I have:

    a) Selected "Automatically synchronize account locally" for the Exchange
       account in the Mail Accounts preferences page
    b) Selected "Mark Calendar for offline use" in the context menu on the
       Exchange calendar in the calendar source view
    c) Checked "Copy calendar contents locally for offline operation" in the
       "Properties" dialog for the Exchange calendar in the calendar source
       view.

Can you try running with purify to see if it finds anything?
Comment 5 Dan Winship 2005-09-14 14:56:35 UTC
I meant "valgrind", not "purify" of course.

The "not marked for offline usage" thing seems to be a race condition. I don't
get it if I run under purify. (But I don't get the crash either.)
Comment 6 Poornima Nayak 2005-09-15 11:35:07 UTC
With valgrind exchange-storage is not crashing. But with 'gdb' or just launch
exchange-storage from terminal exchange-storage crashes frequently.
Comment 7 Dan Winship 2005-09-15 13:58:38 UTC
Can you try running it with "MALLOC_CHECK_=2" set in the environment? (note
the trailing "_" in the variable name). That may make it crash slightly
earlier, which might help in figuring things out. Also, can you do this with
E2K_DEBUG output as well?
Comment 8 Poornima Nayak 2005-09-16 08:19:23 UTC
Lowerd the priority of the bug as it crashes only when a mail ids in a
particular exchange server is configured.
Comment 9 Dan Winship 2005-09-16 16:51:07 UTC
can you give me the details of the server/account to use to trigger this
bug? (I'd like to figure out what's going wrong in libsoup anyway)
Comment 10 Poornima Nayak 2005-09-28 08:27:37 UTC
Sorry! that server is down now, once the backup of system is restored I will
update this bug with account information.
Comment 11 Poornima Nayak 2005-09-28 11:40:22 UTC
Created attachment 51042 [details]
Gdb traces of crash
Comment 12 Dan Winship 2005-09-30 19:23:58 UTC
Created attachment 51279 [details]
proposed patch

I'm only able to reproduce the bug very sporadically here. (Must be
timing-related.) But I understand what's causing it. Can you try this patch?
(And if it does fix the crash, can you also make sure that it doesn't seem to
break anything else?)
Comment 13 Poornima Nayak 2005-10-10 11:47:12 UTC
Even with tha Dan's patch exchange connector is crashing when idle for mail id
configured with SSL. Traces of crash is same
Comment 14 Dan Winship 2005-10-20 14:37:01 UTC
Created attachment 54960 [details]
new patch

Can you try this new patch (which includes the previous one, plus new debugging output), and run with E2K_DEBUG=5, and attach the debug log and backtrace?
Comment 15 Dan Winship 2005-10-24 14:33:53 UTC
*** Bug 120348 has been marked as a duplicate of this bug. ***
Comment 16 Poornima Nayak 2005-10-27 04:45:19 UTC
Dan: Applied your new patch to libsoup 2.2.6, the bug is not replicable again. I have tested enough. 
Comment 17 Sushma Rai 2006-02-13 08:51:04 UTC
Poornima, can this be closed?
Comment 18 Sushma Rai 2006-04-10 07:54:56 UTC
Closing the bug based on comment #16.