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 327557 - Evolution exchange storage crashes frequently during auto completion from the GAL
Evolution exchange storage crashes frequently during auto completion from the...
Status: RESOLVED INCOMPLETE
Product: Evolution Exchange
Classification: Deprecated
Component: Connector
2.6.0
Other All
: High critical
: ---
Assigned To: Connector Maintainer
Ximian Connector QA
Depends on:
Blocks:
 
 
Reported: 2006-01-18 17:01 UTC by Ian Perryman
Modified: 2006-10-25 15:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Ian Perryman 2006-01-18 17:01:07 UTC
Steps to reproduce:
1. Not clear how to reproduce, seems to happen randomly 
2. Open a new mail message
3. Enter a name (for auto-completion)
4. After 4 or 5 characters, the evolution exchange storage crashes.


Stack trace:
Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1208391200 (LWP 9646)]
0x00bf3402 in ?? ()
(gdb) thread apply all bt


This bug sometimes causes evolution itself to stop working, but not always. 

I don't know how to find out what version the Exchange server is.  I do have
access to the same server using Outlook, but I could not find a way to get info
about the server itself.  

I have received other error messages from the evolution-exchange-storage where
it says "multiple segmentation faults" while entering a name for auto-completion

My lineup of evolution packages is:

evolution-webcal-2.2.0-1
evolution-debuginfo-2.2.3-2.fc4
evolution-data-server-debuginfo-1.2.3-3.fc4
evolution-data-server-devel-1.2.3-3.fc4
evolution-connector-2.2.2-5
evolution-devel-2.2.3-2.fc4
evolution-2.2.3-2.fc4
evolution-data-server-1.2.3-3.fc4

My lineup of gnome related packages is:
gnome-python2-gtkhtml2-2.10.0-2.1
gnome-doc-utils-0.2.0-2
gnome-python2-libgtop2-2.10.0-2.1
libgnomeprint22-devel-2.10.3-1
iiimf-gnome-im-switcher-12.2-4.fc4.2
gnome-python2-gtkspell-2.10.0-2.1
libgnomedb-1.0.4-3
gnome-vfs2-2.10.0-5
gnome-themes-2.10.1-2
gnome-applets-2.10.1-9
gnome-panel-debuginfo-2.10.1-10.2
gnome-menus-devel-2.10.1-3
libgnome-2.10.0-3
gnome-user-docs-2.8.1-2
gnome-bluetooth-0.5.1-12
gnome-volume-manager-1.3.1-1
libgnomecanvas-devel-2.10.0-1
gnome-mag-devel-0.12.0-2
gnome-mime-data-2.4.2-1
libgnomecanvas-2.10.0-1
gnome-python2-2.10.0-1
libgnomeprintui22-2.10.1-1
gnome-keyring-manager-0.0.4-3
gnome-session-2.10.0-2
libgnomeprintui22-devel-2.10.1-1
gnome-desktop-devel-2.10.0-5
gnome-libs-devel-1.4.1.2.90-46
gnome-python2-gconf-2.10.0-1
libgail-gnome-devel-1.1.0-5
libgnomedb-devel-1.0.4-3
gnome-vfs-1.0.5-21
system-switch-mail-gnome-0.5.25-4
gnome-python2-gnomevfs-2.10.0-1
gnome-python2-extras-2.10.0-2.1
gnome-icon-theme-2.10.1-4
gnome-vfs2-smb-2.10.0-5
gnome-pilot-2.0.13-2
libgnome-devel-2.10.0-3
gnomemeeting-debuginfo-1.2.2-1.FC4
gnome-python2-gtkmozembed-2.10.0-2.1
gnome-terminal-2.10.0-2
gnome-vfs-extras-0.2.0-9
up2date-gnome-4.4.23-4
gnome-mag-0.12.0-2
gnome-bluetooth-libs-0.5.1-12
gnome-pilot-devel-2.0.13-2
gnome-keyring-devel-0.4.2-1
gnome-print-devel-0.37-11
gnome-media-devel-2.10.2-4
gnome-utils-debuginfo-2.10.0-4
openssh-askpass-gnome-4.2p1-fc4.1
gnome-vfs-devel-1.0.5-21
gnome-python2-bonobo-2.10.0-1
gnome-desktop-2.10.0-5
gnome-media-2.10.2-4
gnome-print-0.37-11
gnome-speech-0.3.6-1
gnome-pilot-conduits-2.0.13-1
gnome-nettool-1.2.0-1
gnome-python2-libwnck-2.10.0-2.1
gnome-python2-libegg-2.10.0-2.1
libgnome-java-devel-2.10.1-3
libgnomecups-devel-0.2.0-2
gnome-python2-gnomeprint-2.10.0-2.1
gnomemeeting-1.2.2-1.FC4
NetworkManager-gnome-0.5.1-1.FC4.4
gnome-spell-1.0.5-10
gnome-libs-1.4.1.2.90-46
gnome-kerberos-0.3.3-2
gnome-system-monitor-2.10.0-2
gnome-speech-devel-0.3.6-1
gnome-utils-2.10.0-4
gdk-pixbuf-gnome-0.22.0-18.fc4.2
gnome-keyring-0.4.2-1
libgnomeui-2.10.0-1
libgnomeprint22-2.10.3-1
gnome-netstatus-2.10.0-4
libgnomeui-devel-2.10.0-1
gnome-audio-extra-2.0.0-3
gnome-python2-applet-2.10.0-2.1
gnome-python2-gtksourceview-2.10.0-2.1
ethereal-gnome-0.10.14-1.FC4.1
gnome-python2-canvas-2.10.0-1
gnome-menus-2.10.1-3
libgail-gnome-1.1.0-5
hal-gnome-0.5.2-2
gnome-panel-2.10.1-10.2
libgnome-java-2.10.1-3
libgnomecups-0.2.0-2
gnome-games-2.10.0-5
libgnomeprint15-0.37-11
gnome-audio-2.0.0-3
gnome-vfs2-devel-2.10.0-5
gnome-panel-devel-2.10.1-10.2
gnome-python2-nautilus-cd-burner-2.10.0-2.1


Finally, here is an email message I wrote when I got the multiple segmentation
faults, but I did not have gdb attached, and did not do a stack trace in that
case, but here is the anectodal information:


I have been having this problem for some time.  I don't know exactly what is
wrong, but often (not always) when I enter a partial name in one of the address
lines, and Evolution attempts to do a LDAP lookup for me, the exchange server
crashes with a message like: 
The Application "evolution-exchange-storage" has quit unexpectedly.
        I tried:
E2K_DEBUG=4 /usr/libexec/evolution/2.2/evolution-exchange-storage
        CAMEL_VERBOSE_DEBUG=1 evolution
        
Sometimes this gives results sometimes not.  One time it gave this message:
e_data_book_respond_get_book_view
        Multiple segmentation faults occurred; can't display error dialog
        
Prior to that I was entering the name "Curt"  and it seems evolution was doing
multiple lookups as I typed.....  Perhaps when the results come in, it confuses
evolution ... 

It seems it does a look up after each letter after 2 are input.

first "cu"
then "cur"
then "curt"

The application typically dies after the 4th character is pressed.   


Here is more of the output of the evolution-exchange-storage program just prior
to the multiple seg fault message.


impl_GNOME_Evolution_Addressbook_BookFactory_getBook
+ gal://iperryma@tor-ismsg01/gal
=> 0x9065690
impl_GNOME_Evolution_Addressbook_Book_open (0x9065690)
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
+ exchange://iperryma@tor-ismsg01/personal/Contacts
=> 0x95f0558
impl_GNOME_Evolution_Addressbook_Book_open (0x95f0558)

(evolution-exchange-storage:6936): libedata-book-WARNING **:
impl_GNOME_Evolution_Addressbook_Book_getBookView ((or (beginswith "file_as" 
"cu") (beginswith "full_name"  "cu") (beginswith "email"  "cu") (beginswith
"nickname"  "cu") ))

e_data_book_respond_get_book_view

(evolution-exchange-storage:6936): libedata-book-WARNING **:
impl_GNOME_Evolution_Addressbook_Book_getBookView ((or (beginswith "file_as" 
"cu") (beginswith "full_name"  "cu") (beginswith "email"  "cu") (beginswith
"nickname"  "cu") ))

e_data_book_respond_get_book_view
SEARCH /exchange/iperryma@altera.com/Contacts/ HTTP/1.1
E2k-Debug: 0x95f7058 @ 1137169457
Host: tor-ismsg01
Brief: t
Range: rows=0-99
User-Agent: Evolution/2.2.2
Content-Type: text/xml

<?xml version="1.0" encoding="utf-8" ?><searchrequest xmlns="DAV:"><sql> 
SELECT "DAV:uid", "DAV:getlastmodified", "DAV:creationdate",
"http://schemas.microsoft.com/mapi/email1addrtype",
"http://schemas.microsoft.com/mapi/email2addrtype",
"http://schemas.microsoft.com/mapi/email3addrtype",
"urn:schemas:httpmail:hasattachment", "urn:schemas:contacts:cn",
"urn:schemas:contacts:sn", "urn:schemas:contacts:givenName",
"urn:schemas:contacts:title", "urn:schemas:contacts:o",
"urn:schemas:contacts:fileas", "urn:schemas:contacts:callbackphone",
"urn:schemas:contacts:facsimiletelephonenumber", "urn:schemas:contacts:homefax",
"urn:schemas:contacts:homePhone", "urn:schemas:contacts:homephone2",
"urn:schemas:contacts:internationalisdnnumber", "urn:schemas:contacts:mobile",
"urn:schemas:contacts:organizationmainphone", "urn:schemas:contacts:otherfax&!
quot;, "urn:schemas:contacts:pager", "urn:schemas:contacts:telephoneNumber",
"urn:schemas:contacts:telephonenumber2", "urn:schemas:contacts:telexnumber",
"urn:schemas:contacts:ttytddphone", "urn:schemas:contacts:secretaryphone",
"urn:schemas:contacts:othermobile", "urn:schemas:contacts:otherTelephone",
"http://schemas.microsoft.com/mapi/proptag/x3a1d001f",
"http://schemas.microsoft.com/mapi/proptag/x3a1a001f",
"http://schemas.microsoft.com/mapi/email1emailaddress",
"http://schemas.microsoft.com/mapi/email2emailaddress",
"http://schemas.microsoft.com/mapi/email3emailaddress",
"urn:schemas:contacts:workaddress", "urn:schemas:contacts:homepostaladdress",
"urn:schemas:contacts:otherpostaladdress",
"urn:schemas:contacts:businesshomepage", "urn:schemas:contacts:department",
"urn:schemas:contacts:ro! omnumber", "urn:schemas:contacts:profession", &!
quot;urn :schemas:contacts:manager", "urn:schemas:contacts:secretarycn",
"urn:schemas:contacts:nickname", "urn:schemas:contacts:spousecn",
"urn:schemas:contacts:bday", "urn:schemas:contacts:weddinganniversary",
"urn:schemas:calendar:fburl", "urn:schemas:httpmail:textdescription" 
FROM "" 
WHERE (&quot;urn:schemas:contacts:fileas&quot; LIKE 'cu%' OR
&quot;urn:schemas:contacts:cn&quot; LIKE 'cu%' OR
&quot;urn:schemas:contacts:sn&quot; LIKE 'cu%' OR
&quot;http://schemas.microsoft.com/mapi/email1emailaddress&quot; LIKE 'cu%' OR
&quot;http://schemas.microsoft.com/mapi/email2emailaddress&quot; LIKE 'cu%' OR
&quot;http://schemas.microsoft.com/mapi/email3emailaddress&quot; LIKE 'cu%' OR
&quot;urn:schemas:contacts:nickname&quot; LIKE 'cu%') AND
(&quot;DAV:contentclass&quot; = 'urn:content-classes:person' OR
&quot;DAV:contentclass&quot; = 'urn:content-classes:contact') AND
&quot;DAV:iscollection&quot; = False 
</sql></searchrequest>

207 Multi-Status
E2k-Debug: 0x95f7058 @ 1137169457
MS-WebStorage: 6.5.7226
Date: Fri, 13 Jan 2006 16:23:42 GMT
Accept-Ranges: rows
X-Powered-By: ASP.NET
Server: Microsoft-IIS/6.0
Transfer-Encoding: chunked
Content-Type: text/xml
Content-Range: rows 0-99; total=0

<?xml version="1.0"?><a:multistatus
xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
xmlns:e="urn:schemas:httpmail:" xmlns:d="http://schemas.microsoft.com/mapi/"
xmlns:c="xml:" xmlns:g="http://schemas.microsoft.com/mapi/proptag/"
xmlns:h="urn:schemas:calendar:" xmlns:f="urn:schemas:contacts:"
xmlns:a="DAV:"><a:contentrange>0-99</a:contentrange></a:multistatus>


(evolution-exchange-storage:6936): libedata-book-WARNING **:
impl_GNOME_Evolution_Addressbook_Book_getBookView ((or (beginswith "file_as" 
"cur") (beginswith "full_name"  "cur") (beginswith "email"  "cur") (beginswith
"nickname"  "cur") ))

e_data_book_respond_get_book_view

(evolution-exchange-storage:6936): libedata-book-WARNING **:
impl_GNOME_Evolution_Addressbook_Book_getBookView ((or (beginswith "file_as" 
"cur") (beginswith "full_name"  "cur") (beginswith "email"  "cur") (beginswith
"nickname"  "cur") ))

e_data_book_respond_get_book_view
SEARCH /exchange/iperryma@altera.com/Contacts/ HTTP/1.1
E2k-Debug: 0xb480cba0 @ 1137169457
Host: tor-ismsg01
Brief: t
Range: rows=0-99
User-Agent: Evolution/2.2.2
Content-Type: text/xml

<?xml version="1.0" encoding="utf-8" ?><searchrequest xmlns="DAV:"><sql> 
SELECT "DAV:uid", "DAV:getlastmodified", "DAV:creationdate",
"http://schemas.microsoft.com/mapi/email1addrtype",
"http://schemas.microsoft.com/mapi/email2addrtype",
"http://schemas.microsoft.com/mapi/email3addrtype",
"urn:schemas:httpmail:hasattachment", "urn:schemas:contacts:cn",
"urn:schemas:contacts:sn", "urn:schemas:contacts:givenName",
"urn:schemas:contacts:title", "urn:schemas:contacts:o",
"urn:schemas:contacts:fileas", "urn:schemas:contacts:callbackphone",
"urn:schemas:contacts:facsimiletelephonenumber", "urn:schemas:contacts:homefax",
"urn:schemas:contacts:homePhone", "urn:schemas:contacts:homephone2",
"urn:schemas:contacts:internationalisdnnumber", "urn:schemas:contacts:mobile",
"urn:schemas:contacts:organizationmainphone", "urn:schemas:contacts:otherfax&!
quot;, "urn:schemas:contacts:pager", "urn:schemas:contacts:telephoneNumber",
"urn:schemas:contacts:telephonenumber2", "urn:schemas:contacts:telexnumber",
"urn:schemas:contacts:ttytddphone", "urn:schemas:contacts:secretaryphone",
"urn:schemas:contacts:othermobile", "urn:schemas:contacts:otherTelephone",
"http://schemas.microsoft.com/mapi/proptag/x3a1d001f",
"http://schemas.microsoft.com/mapi/proptag/x3a1a001f",
"http://schemas.microsoft.com/mapi/email1emailaddress",
"http://schemas.microsoft.com/mapi/email2emailaddress",
"http://schemas.microsoft.com/mapi/email3emailaddress",
"urn:schemas:contacts:workaddress", "urn:schemas:contacts:homepostaladdress",
"urn:schemas:contacts:otherpostaladdress",
"urn:schemas:contacts:businesshomepage", "urn:schemas:contacts:department",
"urn:schemas:contacts:ro! omnumber", "urn:schemas:contacts:profession", &!
quot;urn :schemas:contacts:manager", "urn:schemas:contacts:secretarycn",
"urn:schemas:contacts:nickname", "urn:schemas:contacts:spousecn",
"urn:schemas:contacts:bday", "urn:schemas:contacts:weddinganniversary",
"urn:schemas:calendar:fburl", "urn:schemas:httpmail:textdescription" 
FROM "" 
WHERE (&quot;urn:schemas:contacts:fileas&quot; LIKE 'cur%' OR
&quot;urn:schemas:contacts:cn&quot; LIKE 'cur%' OR
&quot;urn:schemas:contacts:sn&quot; LIKE 'cur%' OR
&quot;http://schemas.microsoft.com/mapi/email1emailaddress&quot; LIKE 'cur%' OR
&quot;http://schemas.microsoft.com/mapi/email2emailaddress&quot; LIKE 'cur%' OR
&quot;http://schemas.microsoft.com/mapi/email3emailaddress&quot; LIKE 'cur%' OR
&quot;urn:schemas:contacts:nickname&quot; LIKE 'cur%') AND
(&quot;DAV:contentclass&quot; = 'urn:content-classes:person' OR
&quot;DAV:contentclass&quot; = 'urn:content-classes:contact') AND
&quot;DAV:iscollection&quot; = False 
</sql></searchrequest>


GC: Connecting to ldap://ttc-isdc01:3268/
207 Multi-Status
E2k-Debug: 0xb480cba0 @ 1137169458
MS-WebStorage: 6.5.7226
Date: Fri, 13 Jan 2006 16:23:42 GMT
Accept-Ranges: rows
X-Powered-By: ASP.NET
Server: Microsoft-IIS/6.0
Transfer-Encoding: chunked
Content-Type: text/xml
Content-Range: rows 0-99; total=0

<?xml version="1.0"?><a:multistatus
xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
xmlns:e="urn:schemas:httpmail:" xmlns:d="http://schemas.microsoft.com/mapi/"
xmlns:c="xml:" xmlns:g="http://schemas.microsoft.com/mapi/proptag/"
xmlns:h="urn:schemas:calendar:" xmlns:f="urn:schemas:contacts:"
xmlns:a="DAV:"><a:contentrange>0-99</a:contentrange></a:multistatus>


(evolution-exchange-storage:6936): libedata-book-WARNING **:
impl_GNOME_Evolution_Addressbook_Book_getBookView ((or (beginswith "file_as" 
"curt") (beginswith "full_name"  "curt") (beginswith "email"  "curt")
(beginswith "nickname"  "curt") ))
Comment 1 Christian Kirbach 2006-01-19 18:52:36 UTC
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Comment 2 Ian Perryman 2006-01-23 15:05:31 UTC
Ok, there is no package with evolution-exchange-storage debug info that I can find.  I am not really familiar enough with compiling my own sources... sorry. 

The problem has occured again, and I have a backtrace from evolution itself (with symbols) Hoping that might help.

I attached the debugger to evolution only after evolution-exchange-storage crashed.  Here is the backtrace at that point.

I also got a message that indicated that the connection to the exchange server had been lost ... I think this is the note that comes right at the end of the stack trace, and I continue the program (evolution).

After that, I killed the program (evolution) from gdb, then used "evolution --force-shutdown" from the shell.

(gdb) thread apply all bt

Continuing.

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread -1221960784 (LWP 2615)]
0x00b00402 in ?? ()
(gdb) continue
Continuing.


I had run evolution with CAMEL_VERBOSE_DEBUG=1, so here is the console output when the error occured:

< b72a5bb0 >

(evolution:2605): libebook-WARNING **: EBookView: Exception while releasing BookView


(evolution:2605): libebook-WARNING **: corba exception._major = 2


(evolution:2605): libebook-WARNING **: corba exception._major = 2


(evolution:2605): libebook-WARNING **: EBookView: Exception while releasing BookView


(evolution:2605): libebook-WARNING **: corba exception._major = 2


(evolution:2605): libebook-WARNING **: EBookView: Exception while releasing BookView


(evolution:2605): libebook-WARNING **: corba exception._major = 2


(evolution:2605): libebook-WARNING **: EBookView: Exception while releasing BookView


(evolution:2605): libebook-WARNING **: corba exception._major = 2


(evolution:2605): libebook-WARNING **: EBookView: Exception while releasing BookView

CamelException.setv(0xa1a0e38, 2, 'Lost connection to Evolution Exchange backend process')
Thread b72a5bb0 >
Get folder info(0x9c3ec58:exchange://iperryma@tor-ismsg01/, '<null>') =
< b72a5bb0 >





[1]+  Stopped                 CAMEL_VERBOSE_DEBUG=1 evolution
(1035) ~>evolution --force-shutdown
Shutting down evolution (Evolution Shell)
Shutting down evolution-data-server-1.2 (Evolution Calendar file and webcal backend / Evolution Addressbook file backend)
Shutting down evolution-alarm-notify (Evolution Calendar alarm notification service)
[1]+  Killed                  CAMEL_VERBOSE_DEBUG=1 evolution

Comment 3 Poornima 2006-05-02 10:47:32 UTC
This must be duplicate of crash in ldap code. Changing component to 'connector'
Comment 4 Sushma Rai 2006-05-04 05:43:15 UTC
There was a issue (http://bugzilla.gnome.org/show_bug.cgi?id=305398)
which was fixed on 2005-05-05, and available in 2.3.3 development 
version onwards. Can you upgrade to recent stable version 2.6.x and 
see if it is fixed?
Comment 5 Derumier Alexandre 2006-05-22 13:44:33 UTC
i have the problem with 2.6.1  (and before with 2.4.x)
Comment 6 Bryan christ 2006-06-28 15:43:47 UTC
I also have the problem with 2.6.1 and am unable to determine a consistent way to reproduce the crash.
Comment 7 Poornima 2006-07-04 10:45:45 UTC
Derumier/Bryan: Could you paste stack traces of crash u observe in 2.6.1 ?
Comment 8 André Klapper 2006-07-04 11:02:51 UTC
Derumier/Bryan: Thanks for the bug report. Without a stack trace from the crash it's very hard to determine what caused it.
Can you provide us with one? Please see http://live.gnome.org/GettingTraces for
more information on how to do so.
Comment 9 Derumier Alexandre 2006-07-04 11:56:56 UTC
cant reproduce it for the moment.

we have change our network infrasctrure at work.

beforce i was behind a wifi connection and have many error.(10 or more by day)


now i'am wired, and a have less complement error (1 or 2 by week)



generaly, i have the error after i had type the 4 first characters of the email.



perhaps network packet loss ? don't know.

i have lauch gdb, i hope evolution will crash soon ( :p )


Regards,

Alexandre




Comment 10 Christian Kirbach 2006-08-31 21:55:40 UTC
Derumier and Bryan, can you get us a good trace?
Comment 11 Bryan christ 2006-09-05 16:46:23 UTC
Christian,

I would be glad to.  Can you give me some instructions on how to do that (and what component to trace).  I am using FC5 and my instinct is to use strace.  Also, because Evolution chews through memory really quickly on my system (329251) so getting a capture can be difficult--in other words, if Evo stays running long enough to see the problem.
Comment 12 Christian Kirbach 2006-09-05 20:35:51 UTC
Please see http://live.gnome.org/GettingTraces

If you need more help feel free to make yourself heard
Comment 13 Christian Kirbach 2006-10-25 15:15:13 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!