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 305398 - GAL lookup crashes exchange connector
GAL lookup crashes exchange connector
Status: RESOLVED FIXED
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.6.0
Other All
: High critical
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
: 305487 305957 307986 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-05-25 05:37 UTC by Sarfraaz Ahmed
Modified: 2006-06-01 04:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for GAL mutex locks (14.13 KB, patch)
2005-05-25 06:05 UTC, Sarfraaz Ahmed
none Details | Review

Description Sarfraaz Ahmed 2005-05-25 05:37:27 UTC
Steps to reproduce:
1. With autocompletion turned on, attempt to add a contact to an email
in any "sender" field (i.e. To:, CC:, BCC:, etc.) or to a meeting notice
such that a GAL lookup is attempted.
2. 


Stack trace:
stack trace when it gets a SIGPIPE on the LDAP connection
---------------------------------------------------------
Program received signal SIGPIPE, Broken pipe.

Other information:
The bug happens when the GC server times out the LDAP connection and then
connector reconnects. (On his server, this happens after the LDAP connection
is idle for 10 minutes, which you can tell by doing "netstat --inet -n |
grep 3268" and waiting for the socket to change from ESTABLISHED to CLOSE_WAIT.)

From looking at the two traces, the problem seems to be that one thread calls
gal_reconnect() while another thread is using the LDAP connection. So we need
to protect bl->priv->ldap with a mutex to keep that from happening.
Comment 1 Sarfraaz Ahmed 2005-05-25 06:05:06 UTC
Created attachment 46862 [details] [review]
Patch for GAL mutex locks
Comment 2 Sarfraaz Ahmed 2005-05-26 09:01:52 UTC
*** Bug 305487 has been marked as a duplicate of this bug. ***
Comment 3 Poornima 2005-06-02 07:02:56 UTC
*** Bug 305957 has been marked as a duplicate of this bug. ***
Comment 4 Sarfraaz Ahmed 2005-06-16 06:54:01 UTC
Patch committed on May,25 in gnome-210 branch and HEAD. Closing this bug.
Comment 5 André Klapper 2005-12-25 23:42:51 UTC
*** Bug 307986 has been marked as a duplicate of this bug. ***
Comment 6 Sushma Rai 2006-02-16 08:43:30 UTC
*** Bug 319865 has been marked as a duplicate of this bug. ***
Comment 7 André Klapper 2006-05-31 17:25:34 UTC
*** Bug 343520 has been marked as a duplicate of this bug. ***
Comment 8 André Klapper 2006-05-31 17:26:22 UTC
according to bug 343520 this happens again in 2.6. reopening.
Comment 9 Sushma Rai 2006-06-01 04:58:44 UTC
Removed bug 343520 and 319865, those are actually duplicates of bug #319865.
Closing this bug.