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 312229 - Mark a mail folder for offline in offline mode and switch to online - evolution-exchange-storage crashes
Mark a mail folder for offline in offline mode and switch to online - evoluti...
Status: VERIFIED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.3.x
Other Linux
: Normal critical
: 2.4.1
Assigned To: Arunprakash
Ximian Connector QA
: 310861 311705 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-08-01 11:12 UTC by Khasim Shaheed
Modified: 2007-08-22 11:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (4.67 KB, patch)
2005-09-26 14:47 UTC, Arunprakash
none Details | Review
Proposed patch. (1.41 KB, patch)
2005-09-28 11:32 UTC, Arunprakash
none Details | Review
Final patch. (2.22 KB, patch)
2005-09-30 05:31 UTC, Arunprakash
none Details | Review

Description Khasim Shaheed 2005-08-01 11:12:32 UTC
Steps to reproduce:
1.Switch to offline mode
2.Select a mail folder, right click and check the option "Copy folder contents 
  locally for offline operations".
3.Now switch to online mode

Evolution exchange storage crashes.

Debugging Info:

Thread 1 (Thread 1099242176 (LWP 18345))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 gnome_init_with_popt_table
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #6 <signal handler called>
  • #7 e_folder_get_type_string
    at e-folder.c line 191
  • #8 add_href
    at exchange-hierarchy-webdav.c line 478
  • #9 g_hash_table_foreach
    from /opt/gnome/lib/libglib-2.0.so.0
  • #10 rescan
    at exchange-hierarchy-webdav.c line 516
  • #11 exchange_hierarchy_rescan
    at exchange-hierarchy.c line 292
  • #12 exchange_account_rescan_tree
    at exchange-account.c line 334
  • #13 get_folder_info
    at mail-stub-exchange.c line 2159
  • #14 connection_handler
    at mail-stub.c line 321
  • #15 g_io_channel_unix_get_fd
    from /opt/gnome/lib/libglib-2.0.so.0
  • #16 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #17 g_main_context_acquire
    from /opt/gnome/lib/libglib-2.0.so.0
  • #18 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #19 bonobo_main
    from /opt/gnome/lib/libbonobo-2.so.0
  • #20 main
    at main.c line 225
  • #0 ??

Comment 1 Khasim Shaheed 2005-08-01 11:16:07 UTC
This is happening with the devel snaps,
evolution-exchange-2.3.6.0.200507270301-0.snap.novell.11.1
evolution-data-server-1.3.6.0.200507270301-0.snap.novell.11.1
evolution-2.3.6.0.200507270301-0.snap.novell.11.1

Comment 2 Khasim Shaheed 2005-08-01 11:35:00 UTC
In fact, send mail in offline and switch to online also crashes
evolution-exchange-storage. GAL is marked for auto completion.

E2K_DEBUG traces in this case:
Evolution Exchange Storage up and running
E2K_DEBUG=4
I/O warning : failed to load external entity
"/home/cycle2/.evolution/exchange/madhu@164.99.168.136/shaheed@blr.novell.com/hierarchy.xml"
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/cycle2/.evolution/addressbook/local/system
cal = 0x8287d08
cal = 0x82bc1b8
cal = 0x82fb278
cal = 0x82db6d8
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + gal://madhu@164.99.168.136/gal
 => 0x82ec038
impl_GNOME_Evolution_Addressbook_Book_open (0x82ec038)
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/cycle2/.evolution/addressbook/local/system
I/O warning : failed to load external entity
"/home/cycle2/.evolution/exchange/madhu@164.99.168.136/shaheed@blr.novell.com/hierarchy.xml"

(evolution-exchange-storage:19462): evolution-exchange-storage-CRITICAL **:
exchange_account_connect: assertion `EXCHANGE_IS_ACCOUNT (account)' failed

Comment 3 Khasim Shaheed 2005-08-01 11:40:09 UTC
Just switch to offline and switch back to online crashes
evolution-exchange-storage. Marking as a blocker.
Comment 4 Khasim Shaheed 2005-08-01 11:59:27 UTC
Reducing the severity since it is not blocking offline operations.
Comment 5 Sarfraaz Ahmed 2005-08-19 19:46:49 UTC
*** Bug 311705 has been marked as a duplicate of this bug. ***
Comment 6 Arunprakash 2005-09-26 14:47:08 UTC
Created attachment 52678 [details] [review]
Proposed patch.
Comment 7 Arunprakash 2005-09-26 14:55:59 UTC
*** Bug 310861 has been marked as a duplicate of this bug. ***
Comment 8 Arunprakash 2005-09-28 11:32:40 UTC
Created attachment 52772 [details] [review]
Proposed patch.

The other one has other wrong memory fixes in addition. Removed them.
Comment 9 Arunprakash 2005-09-30 05:31:16 UTC
Created attachment 52843 [details] [review]
Final patch.
Comment 10 Khasim Shaheed 2005-10-03 09:50:55 UTC
exchange process is not crashing now.
Comment 11 Lucky Wankhede 2007-08-22 11:15:55 UTC
I found this patch committed to head.. Already.