GNOME Bugzilla – Bug 333163
Evo-Exchange Crashes due to `E2K_IS_GLOBAL_CATALOG (gc)' failed
Last modified: 2006-03-06 06:29:02 UTC
Steps to reproduce: 1. Compile evo / evo-data-server / evo-exchange 2. configure exchange account 3. evo-exchange will crash and take evo with it 4. On startup, it will come out with "** CRITICAL **: e2k_global_catalog_lookup: assertion `E2K_IS_GLOBAL_CATALOG (gc)' failed" Stack trace: Stack Trace 1. ================= Thread 4 (Thread -1275642960 (LWP 9102)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb716fcd6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0xb7cefb5e in e_msgport_wait (mp=0x815c520) at e-msgport.c:663 #3 0xb7cf061d in thread_dispatch (din=0x815d1c0) at e-msgport.c:1022 #4 0xb716dc4b in start_thread () from /lib/tls/libpthread.so.0 #5 0xb71049ee in clone () from /lib/tls/libc.so.6 Thread 3 (Thread -1257399376 (LWP 9080)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb716fcd6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0xb7cefb5e in e_msgport_wait (mp=0x815d150) at e-msgport.c:663 #3 0xb7cf061d in thread_dispatch (din=0x815d0f0) at e-msgport.c:1022 #4 0xb716dc4b in start_thread () from /lib/tls/libpthread.so.0 #5 0xb71049ee in clone () from /lib/tls/libc.so.6 Thread 2 (Thread -1248613456 (LWP 9079)): #0 0xffffe410 in __kernel_vsyscall () #1 0xb716fcd6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0 #2 0xb7cefb5e in e_msgport_wait (mp=0x815d540) at e-msgport.c:663 #3 0xb7cf061d in thread_dispatch (din=0x815d4e0) at e-msgport.c:1022 #4 0xb716dc4b in start_thread () from /lib/tls/libpthread.so.0 #5 0xb71049ee in clone () from /lib/tls/libc.so.6 Thread 1 (Thread -1233118336 (LWP 9065)): #0 0xb71aa8a2 in g_logv () from /usr/lib/libglib-2.0.so.0 #1 0xb71aab26 in g_log () from /usr/lib/libglib-2.0.so.0 #2 0xb71aab9d in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0 #3 0xb5c0533a in e2k_global_catalog_lookup (gc=0x0, op=0xbf929b50, type=E2K_GLOBAL_CATALOG_LOOKUP_BY_EMAIL, key=0x8393650 "user@domain", flags=E2K_GLOBAL_CATALOG_LOOKUP_QUOTA, entry_p=0x71) at e2k-global-catalog.c:726 #4 0xb5bf0516 in exchange_account_connect (account=0x102c6a20, pword=0x1030b200 "PASSWORD", info_result=0xbf929bb4) at exchange-account.c:1553 #5 0xb5e75769 in exchange_config_listener_authenticate () from /usr/lib/evolution/2.6/plugins/liborg-gnome-exchange-operations.so #6 0xb5e75c2f in exchange_config_listener_authenticate () from /usr/lib/evolution/2.6/plugins/liborg-gnome-exchange-operations.so #7 0xb722e656 in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0 #8 0xb7217ec9 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 ===================== E2K_DEBUG=5 Output ==================== GET /owa/username/ HTTP/1.1 E2k-Debug: 0x813ac20 @ 1141320999 Host: IP_ADDRESS Accept-Language: en User-Agent: Evolution/1.5.92 401 Unauthorized E2k-Debug: 0x813ac20 @ 1141321000 Date: Thu, 02 Mar 2006 17:38:09 GMT X-Powered-By: ASP.NET X-Cache: MISS from paradyme.home.net Server: Microsoft-IIS/6.0 WWW-Authenticate: Basic realm="IP_ADDRESS" Connection: close Content-Length: 83 Content-Type: text/html GET /owa/username/ HTTP/1.1 E2k-Debug: 0x813ac20 @ 1141321000 [restarted] Host: IP_ADDRESS Accept-Language: en User-Agent: Evolution/1.5.92 200 OK E2k-Debug: 0x813ac20 @ 1141321000 MS-WebStorage: 6.5.7638 MS-WebStorage: 6.5.7638 Set-Cookie: sessionid=78170b09-c7a1-46b5-bd95-bf7774fb9003:0x9; path=/owa/username Date: Thu, 02 Mar 2006 17:38:09 GMT X-Powered-By: ASP.NET X-Powered-By: ASP.NET X-Cache: MISS from paradyme.home.net Server: Microsoft-IIS/6.0 Cache-Control: no-cache Connection: close Content-Length: 1116 Content-Type: text/html <!--Copyright (c) 2000-2003 Microsoft Corporation. All rights reserved.--> <!--CURRENT FILE== "NON-IE5" "NON-WIN32" frameset --> <!--CURRENT TEMPLATE == frameset.00000000 --> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-8859-1"> <TITLE>Microsoft Outlook Web Access</TITLE> <BASE href="http://IP_ADDRESS/owa/username/"> </HEAD> <SCRIPT language="JavaScript"> var g_iNewWindowWidth = 700; var g_iNewWindowHeight = 500; var g_fWarnOnLogOff=false; function WarnOnLogOff() { if (g_fWarnOnLogOff) alert("To help protect your mailbox from unauthorized access, close all browser windows when you finish using Outlook Web Access."); } </SCRIPT> <FRAMESET OnUnload="WarnOnLogOff()" framespacing="3" cols="190,*"><FRAME bordercolor="#3D5FA3" name="navbar" title="Navigation" src="./?Cmd=navbar" marginheight="0" marginwidth="0" scrolling="auto" border="1"><FRAME name="viewer" title="Contents" src="Inbox/?Cmd=contents" scrolling="auto"> <NOFRAMES> <BODY><P>This page uses frames, but your browser doesn't support them.</P></BODY> </NOFRAMES> </FRAMESET> </HTML> PROPFIND /owa/username/ HTTP/1.1 E2k-Debug: 0x813ac80 @ 1141321000 Host: IP_ADDRESS Depth: 0 Brief: t User-Agent: Evolution/1.5.92 Content-Type: text/xml <?xml version="1.0" encoding="utf-8" ?><D:propfind xmlns:D="DAV:" xmlns:a="urn:schemas:httpmail:" xmlns:b="http://schemas.microsoft.com/mapi/proptag/" xmlns:c="http://schemas.microsoft.com/exchange/"> <D:prop> <a:calendar/><a:contacts/><a:deleteditems/><a:drafts/><a:inbox/><a:journal/><a:notes/><a:outbox/><a:sentitems/><a:tasks/><a:msgfolderroot/><a:sendmsg/><b:x0ffb0102/><c:timezone/> </D:prop> </D:propfind> 207 Unknown E2k-Debug: 0x813ac80 @ 1141321000 MS-WebStorage: 6.5.7638 MS-WebStorage: 6.5.7638 Date: Thu, 02 Mar 2006 17:38:09 GMT Accept-Ranges: rows X-Powered-By: ASP.NET X-Powered-By: ASP.NET X-Cache: MISS from paradyme.home.net Server: Microsoft-IIS/6.0 Connection: close Content-Length: 1475 Content-Type: text/xml <?xml version="1.0"?><a:multistatus xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" xmlns:d="urn:schemas:httpmail:" xmlns:c="xml:" xmlns:e="http://schemas.microsoft.com/mapi/proptag/" xmlns:f="http://schemas.microsoft.com/exchange/" xmlns:a="DAV:"><a:response><a:href>http://IP_ADDRESS/owa/username/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><d:calendar>http://IP_ADDRESS/owa/username/Calendar</d:calendar><d:contacts>http://IP_ADDRESS/owa/username/Contacts</d:contacts><d:deleteditems>http://IP_ADDRESS/owa/username/Deleted%20Items</d:deleteditems><d:drafts>http://IP_ADDRESS/owa/username/Drafts</d:drafts><d:inbox>http://IP_ADDRESS/owa/username/Inbox</d:inbox><d:journal>http://IP_ADDRESS/owa/username/Journal</d:journal><d:notes>http://IP_ADDRESS/owa/username/Notes</d:notes><d:outbox>http://IP_ADDRESS/owa/username/Outbox</d:outbox><d:sentitems>http://IP_ADDRESS/owa/username/Sent%20Items</d:sentitems><d:tasks>http://IP_ADDRESS/owa/username/Tasks</d:tasks><d:msgfolderroot>http://IP_ADDRESS/owa/username/</d:msgfolderroot><d:sendmsg>http://IP_ADDRESS/owa/username/%23%23DavMailSubmissionURI%23%23/</d:sendmsg><e:x0ffb0102 b:dt="bin.base64">AAAAABtV+iCqZhHNm8gAqgAvxFoMAAAAV0RNWUVYQkUwMwAvTz1XREMvT1U9V0RFWENIL2NuPVJlY2lwaWVudHMvY249b3cubXVuLmhlbmcA</e:x0ffb0102><f:timezone>Singapore Standard Time</f:timezone></a:prop></a:propstat></a:response></a:multistatus> SEARCH /owa/username/ HTTP/1.1 E2k-Debug: 0x813ace0 @ 1141321000 Host: IP_ADDRESS Brief: t Range: rows=0-99 User-Agent: Evolution/1.5.92 Content-Type: text/xml <?xml version="1.0" encoding="utf-8" ?><searchrequest xmlns="DAV:"><sql> SELECT "http://schemas.microsoft.com/exchange/outlookfolderclass", "urn:schemas:httpmail:unreadcount", "DAV:displayname", "http://schemas.microsoft.com/exchange/permanenturl", "http://schemas.microsoft.com/exchange/foldersize", "DAV:hassubs" FROM SCOPE('hierarchical traversal of ""') WHERE "DAV:iscollection" = True AND "DAV:ishidden" = False </sql></searchrequest> 207 Unknown E2k-Debug: 0x813ace0 @ 1141321001 MS-WebStorage: 6.5.7638 MS-WebStorage: 6.5.7638 Date: Thu, 02 Mar 2006 17:38:10 GMT Accept-Ranges: rows X-Powered-By: ASP.NET X-Powered-By: ASP.NET X-Cache: MISS from paradyme.home.net Server: Microsoft-IIS/6.0 Connection: close Content-Length: 6091 Content-Type: text/xml Content-Range: rows 0-11; total=12 <?xml version="1.0"?><a:multistatus xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" xmlns:e="urn:schemas:httpmail:" xmlns:c="xml:" xmlns:d="http://schemas.microsoft.com/exchange/" xmlns:a="DAV:"><a:contentrange>0-11</a:contentrange><a:response><a:href>http://IP_ADDRESS/owa/username/Calendar/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><d:outlookfolderclass>IPF.Appointment</d:outlookfolderclass><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Calendar</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-136227</d:permanenturl><d:foldersize b:dt="int">37844</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Contacts/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><d:outlookfolderclass>IPF.Contact</d:outlookfolderclass><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Contacts</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-136228</d:permanenturl><d:foldersize b:dt="int">0</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Deleted%20Items/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><e:unreadcount b:dt="int">1</e:unreadcount><a:displayname>Deleted Items</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-138311</d:permanenturl><d:foldersize b:dt="int">436</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Drafts/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><d:outlookfolderclass>IPF.Note</d:outlookfolderclass><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Drafts</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-136229</d:permanenturl><d:foldersize b:dt="int">0</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Inbox/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><e:unreadcount b:dt="int">430</e:unreadcount><a:displayname>Inbox</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-13830e</d:permanenturl><d:foldersize b:dt="int">19261857</d:foldersize><a:hassubs b:dt="boolean">1</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Infected/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Infected</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/c386328088ed7f4e9f81afbabddf60da-31c0448</d:permanenturl><d:foldersize b:dt="int">0</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Journal/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><d:outlookfolderclass>IPF.Journal</d:outlookfolderclass><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Journal</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-13622a</d:permanenturl><d:foldersize b:dt="int">0</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Junk%20E-mail/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><d:outlookfolderclass>IPF.Note</d:outlookfolderclass><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Junk E-mail</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/b2cc997bf5130047a3d53099ab6ca2b0-1e44a1</d:permanenturl><d:foldersize b:dt="int">0</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Notes/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><d:outlookfolderclass>IPF.StickyNote</d:outlookfolderclass><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Notes</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-13622b</d:permanenturl><d:foldersize b:dt="int">0</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Outbox/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Outbox</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-13830f</d:permanenturl><d:foldersize b:dt="int">0</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Sent%20Items/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Sent Items</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-138310</d:permanenturl><d:foldersize b:dt="int">1851018</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response><a:response><a:href>http://IP_ADDRESS/owa/username/Tasks/</a:href><a:propstat><a:status>HTTP/1.1 200 OK</a:status><a:prop><d:outlookfolderclass>IPF.Task</d:outlookfolderclass><e:unreadcount b:dt="int">0</e:unreadcount><a:displayname>Tasks</a:displayname><d:permanenturl>http://IP_ADDRESS/owa/username/-FlatUrlSpace-/7e19fda7e1e3b548aea22ff97f9a4a3e-13622c</d:permanenturl><d:foldersize b:dt="int">0</d:foldersize><a:hassubs b:dt="boolean">0</a:hassubs></a:prop></a:propstat></a:response></a:multistatus> SEARCH /owa/username/Inbox/ HTTP/1.1 E2k-Debug: 0x813ad40 @ 1141321001 Host: IP_ADDRESS Brief: t Range: rows=0-99 User-Agent: Evolution/1.5.92 Content-Type: text/xml <?xml version="1.0" encoding="utf-8" ?><searchrequest xmlns="DAV:"><sql> SELECT "http://schemas.microsoft.com/exchange/outlookfolderclass", "urn:schemas:httpmail:unreadcount", "DAV:displayname", "http://schemas.microsoft.com/exchange/permanenturl", "http://schemas.microsoft.com/exchange/foldersize", "DAV:hassubs" FROM SCOPE('hierarchical traversal of ""') WHERE "DAV:iscollection" = True AND "DAV:ishidden" = False </sql></searchrequest> 401 Unauthorized E2k-Debug: 0x813ad40 @ 1141321002 Date: Thu, 02 Mar 2006 17:38:11 GMT X-Powered-By: ASP.NET ======================== Other information: Gentoo-system Gnome 2.13.92 Tried with unset G_DEBUG;evolution-2.6 as per guenther's suggestion. No Dice. Still crashes
Created attachment 60543 [details] [review] patch to skip quota check if GC server value is not available.
Fix committed to cvs head.