Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 141056

Summary: evolution-exchange 2.6.2 crashes
Product: Gentoo Linux Reporter: Ed Davison <edavison>
Component: Current packagesAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ed Davison 2006-07-19 09:39:13 UTC
I have evolution 2.6.2-r1 and evolution-exchange 2.6.2 installed.  When I try to connect to my Exchange server I get errors stating that evolution lost connection with evolution-exchange backend.

So I ran evolution-exchange from the CLI as "E2K_DEBUG=4 /usr/libexec/evolution/2.6/evolution-exchange-storage" and from a separate CLI ran evolution.  I got the same error message but nevolutoin-exchange-storage is still running and did not crash.

I will post CLI content and backtrace in a follow-up entry shortly.
Comment 1 Ed Davison 2006-07-19 09:41:24 UTC
CLI output from evolution-exchange-storage:

$ E2K_DEBUG=255 /usr/libexec/evolution/2.6/evolution-exchange-storage
Evolution Exchange Storage up and running
cal = 0x80a5d80
cal = 0x80a5db0
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/bfdi533/.evolution/addressbook/local/system
error : unterminated entity reference             '05
error : unterminated entity reference             '05
error : unterminated entity reference           Logos
error : unterminated entity reference           Logos
error : unterminated entity reference     Acceptances
error : unterminated entity reference     Acceptances
cal = 0x80e2400
cal = 0x80e2430
error : unterminated entity reference          Images
error : unterminated entity reference          Images
error : unterminated entity reference        Policies
error : unterminated entity reference        Policies

Comment 2 Ed Davison 2006-07-19 09:41:52 UTC
Console output from evolution:

$ evolution
CalDAV Eplugin starting up ...

(evolution-2.6:23422): camel-WARNING **: camel_exception_get_id called with NULL parameter.

(evolution-2.6:23422): evolution-mail-WARNING **: Error occurred while existing dialogue active:
Lost connection to Evolution Exchange backend process

Comment 3 Ed Davison 2006-07-19 09:42:34 UTC
backtrace info from evolution-exchange-storage process:

(gdb) back
#0  0xb68ae61c in strcmp () from /lib/tls/libc.so.6
#1  0xb6997da6 in g_str_equal () from /usr/lib/libglib-2.0.so.0
#2  0x08150870 in ?? ()
#3  0x083dbc40 in ?? ()
#4  0xb69dd1b8 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0xb6973c00 in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
#6  0x083d1ca8 in ?? ()
#7  0x083d1738 in ?? ()
#8  0x080ce4c0 in ?? ()
#9  0xb781c23b in exchange_account_rescan_tree ()
   from /usr/lib/libexchange-storage-1.2.so.1
#10 0xbfe31380 in ?? ()
#11 0x083dbc40 in ?? ()
#12 0x00000001 in ?? ()
#13 0xb6a50688 in ?? () from /usr/lib/libgobject-2.0.so.0
#14 0x08109958 in ?? ()
#15 0xbfe31380 in ?? ()
#16 0x080e2a90 in ?? ()
#17 0xb6a395e6 in g_cclosure_marshal_VOID__POINTER ()
   from /usr/lib/libgobject-2.0.so.0
#18 0x080e2a90 in ?? ()
#19 0x083d1738 in ?? ()
#20 0x080ce4c0 in ?? ()
---Type <return> to continue, or q <return> to quit---
#21 0xb6a50688 in ?? () from /usr/lib/libgobject-2.0.so.0
#22 0x08109958 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0xb6a273b7 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0xbfe31268 in ?? ()
#27 0x00000000 in ?? ()
#28 0xb6993dff in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#29 0x08053aec in ?? ()
#30 0x40000003 in ?? ()
#31 0x081065c8 in ?? ()
#32 0x00000000 in ?? ()
#33 0xb6a32858 in g_param_spec_override () from /usr/lib/libgobject-2.0.so.0
#34 0xb6a50688 in ?? () from /usr/lib/libgobject-2.0.so.0
#35 0xbfe31268 in ?? ()
#36 0x080e46e0 in ?? ()
#37 0x08080e10 in prop_info ()
#38 0xb6a3878b in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#39 0xbfe31268 in ?? ()
#40 0x00000010 in ?? ()
#41 0x00000001 in ?? ()
#42 0xb6973bdb in g_hash_table_lookup () from /usr/lib/libglib-2.0.so.0
#43 0xbfe311e8 in ?? ()
---Type <return> to continue, or q <return> to quit---
#44 0xb69e5071 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0
#45 0x00000000 in ?? ()
(gdb)
Comment 4 Ed Davison 2006-07-19 13:22:03 UTC
Re-ran many times and now I have more info.

CLI screen from evolution-exchange-storage:

$ E2K_DEBUG=4 /usr/libexec/evolution/2.6/evolution-exchange-storage
Evolution Exchange Storage up and running
E2K_DEBUG=4
impl_GNOME_Evolution_Addressbook_BookFactory_getBook
 + file:///home/bfdi533/.evolution/addressbook/local/system
cal = 0x80a4d80
cal = 0x80a4db0
error : unterminated entity reference             '05
error : unterminated entity reference             '05
error : unterminated entity reference           Logos
error : unterminated entity reference           Logos
error : unterminated entity reference     Acceptances
error : unterminated entity reference     Acceptances
error : unterminated entity reference          Images
error : unterminated entity reference          Images
error : unterminated entity reference        Policies
error : unterminated entity reference        Policies
error : unterminated entity reference M Interview Calendar
error : unterminated entity reference M Interview Calendar
error : unterminated entity reference               2
error : unterminated entity reference               2
error : unterminated entity reference        2/ignore

(evolution-exchange:20928): evolution-exchange-storage-CRITICAL **: e_folder_exchange_get_path: assertion `E_IS_FOLDER_EXCHANGE (folder)' failed


output from gdb with segfault and backtrace:

(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1232959824 (LWP 20928)]
0xb68f2618 in strcmp () from /lib/tls/libc.so.6
(gdb) back
#0  0xb68f2618 in strcmp () from /lib/tls/libc.so.6
#1  0xb785d9e2 in exchange_account_get_folder ()
   from /usr/lib/libexchange-storage-1.2.so.1
#2  0xb68b69a3 in bsearch () from /lib/tls/libc.so.6
#3  0xb68b6a79 in qsort () from /lib/tls/libc.so.6
#4  0xb785dac9 in exchange_account_get_folders ()
   from /usr/lib/libexchange-storage-1.2.so.1
#5  0x08060541 in mail_stub_exchange_get_type ()
#6  0x08062cef in mail_stub_get_type ()
#7  0xb69e8219 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#8  0x080b8130 in ?? ()
#9  0x00000001 in ?? ()
#10 0x080ab1a0 in ?? ()
#11 0x0808c158 in ?? ()
#12 0xb6a211b8 in ?? () from /usr/lib/libglib-2.0.so.0
#13 0x0808c158 in ?? ()
#14 0xb6a214c0 in g_idle_funcs () from /usr/lib/libglib-2.0.so.0
#15 0xb69c3888 in g_main_depth () from /usr/lib/libglib-2.0.so.0
#16 0x0808c158 in ?? ()
#17 0x080625f3 in mail_stub_get_type ()
Previous frame inner to this frame (corrupt stack?)
(gdb)

Comment 5 Ed Davison 2006-07-21 11:34:08 UTC
Recompiled evolution 2.6.2-r1 and evolution-exchange 2.6.2-r1 and now it appears to be working again.  The -r1 patch for evolution-exchange must have fixed something related to this CPU and crash. 
Comment 6 John N. Laliberte (RETIRED) gentoo-dev 2006-07-22 21:08:19 UTC

*** This bug has been marked as a duplicate of 138715 ***