Bugzilla – Bug 116762
Exchange crashes randomly in Tasks view
Last modified: 2006-04-10 07:54:56 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'
Created attachment 49768 [details] Stack traces of exchange connector when it crashed
Created attachment 49769 [details] Stack traces of exchange connector when it crashed second time
Created attachment 49770 [details] Stack traces of exchange connector when it crashed again with more debugging symbols
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?
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.)
With valgrind exchange-storage is not crashing. But with 'gdb' or just launch exchange-storage from terminal exchange-storage crashes frequently.
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?
Lowerd the priority of the bug as it crashes only when a mail ids in a particular exchange server is configured.
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)
Sorry! that server is down now, once the backup of system is restored I will update this bug with account information.
Created attachment 51042 [details] Gdb traces of crash
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?)
Even with tha Dan's patch exchange connector is crashing when idle for mail id configured with SSL. Traces of crash is same
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?
*** Bug 120348 has been marked as a duplicate of this bug. ***
Dan: Applied your new patch to libsoup 2.2.6, the bug is not replicable again. I have tested enough.
Poornima, can this be closed?
Closing the bug based on comment #16.