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 663383 - Doesn't allow to quit
Doesn't allow to quit
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Miscellaneous / EWS Core
3.3.x
Other Linux
: Normal major
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-11-04 07:10 UTC by Akhil Laddha
Modified: 2012-07-04 16:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ews patch (4.16 KB, patch)
2012-07-04 16:10 UTC, Milan Crha
committed Details | Review

Description Akhil Laddha 2011-11-04 07:10:33 UTC
Evolution 3.3.1

after facing bug 663379, i disabled ews account and tried to quit evolution but even after waiting for 5 minutes, it didn't quit. Status bar said 'Disconnecting Exchange server .. Scanning folders in Exchange server ...'

gdb trace of evolution

(gdb) t a a bt

Thread 2 (Thread 0xb5e49b70 (LWP 13394))

  • #0 read
    at ../sysdeps/unix/syscall-template.S line 82
  • #1 read
    at /usr/include/bits/unistd.h line 45
  • #2 unix_signal_helper_thread
    at gmain.c line 4551
  • #3 g_thread_create_proxy
    at gthread.c line 1962
  • #4 start_thread
    at pthread_create.c line 301
  • #5 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 133

Comment 1 Milan Crha 2012-04-04 12:08:46 UTC
Downstream bug report about the same from 3.4.0:
https://bugzilla.redhat.com/show_bug.cgi?id=809364
Comment 2 Milan Crha 2012-07-04 16:10:42 UTC
Created attachment 218024 [details] [review]
ews patch

for evolution-mapi;

I think I found the issue here. This patch fixes ref-counting error and removed incorrect camel_service_disconnect_sync() calls from ews_connect_sync(). It requires fix from bug #679303 for full functionality too.
Comment 3 Milan Crha 2012-07-04 16:13:17 UTC
Created commit 8638b8f in ews master (3.5.4+)
Created commit cc821ed in ews gnome-3-4 (3.4.4+)