Adding Exchange-accounts doesn't work

Bug #12407 reported by Jens Bech Madsen
8
Affects Status Importance Assigned to Milestone
evolution-exchange (Ubuntu)
Fix Released
Medium
Sebastien Bacher

Bug Description

Adding an Exchange account no longer works.

To reproduce

1: Click Add in the Mail Accounts tab in the Preferences window
2: Enter name and email address (mine being <email address hidden>)
3: Forward
4: Select Microsoft Exchange
5: Username is prefilled with jens.madsen (from my email address). This isn't
correct in my case, since my Exchange login is catalog\jbma. Fix this.
6: Enter URL for OWA: https://webmail.stibo.com
7: Click Authenticate
8: The dialog which prompts for password says this: "Enter password for
jens.madsen" which is wrong. No matter what I do it always prompts for the
username it took from my mail address. Naturally I can not authenticate with
that username.

If I try to work around this by supplying catalog\<email address hidden> as my mail
address, it prompts me correctly with "Enter password for catalog\jbma". After
entering the password, evolution crashes.

Backtrace from gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1098241408 (LWP 8442)]
0x455988f8 in e2k_validate_user ()
   from /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so
(gdb)
(gdb) thread apply all bt

Thread 8 (Thread 1138158512 (LWP 8460)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4146700e in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x4077b045 in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0x405ba8f1 in e_msgport_wait () from /usr/lib/libedataserver-1.2.so.0
#4 0x405bb0db in e_thread_busy () from /usr/lib/libedataserver-1.2.so.0
#5 0x41464ae0 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0x4076fc2a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 1146551216 (LWP 8459)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4146700e in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x4077b045 in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0x405ba8f1 in e_msgport_wait () from /usr/lib/libedataserver-1.2.so.0
#4 0x405bb0db in e_thread_busy () from /usr/lib/libedataserver-1.2.so.0
#5 0x41464ae0 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0x4076fc2a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 1121295280 (LWP 8458)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4146700e in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x4077b045 in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0x405ba8f1 in e_msgport_wait () from /usr/lib/libedataserver-1.2.so.0
#4 0x405bb0db in e_thread_busy () from /usr/lib/libedataserver-1.2.so.0
#5 0x41464ae0 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0x4076fc2a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 1129687984 (LWP 8456)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4146700e in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x4077b045 in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0x405ba8f1 in e_msgport_wait () from /usr/lib/libedataserver-1.2.so.0
#4 0x405bb0db in e_thread_busy () from /usr/lib/libedataserver-1.2.so.0
#5 0x41464ae0 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0x4076fc2a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 1112902576 (LWP 8454)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4146700e in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0x4077b045 in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0x405ba8f1 in e_msgport_wait () from /usr/lib/libedataserver-1.2.so.0
#4 0x405bb0db in e_thread_busy () from /usr/lib/libedataserver-1.2.so.0
#5 0x41464ae0 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0x4076fc2a in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 1098241408 (LWP 8442)):
#0 0x455988f8 in e2k_validate_user ()
   from /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so
#1 0x45590671 in camel_exchange_folder_construct ()
   from /usr/lib/evolution-data-server-1.2/camel-providers/libcamelexchange.so
#2 0x418ee298 in exchange_options_commit ()
   from /usr/lib/evolution/2.2/plugins/liborg-gnome-exchange-account-settings.so
#3 0x418ee345 in exchange_options_commit ()
   from /usr/lib/evolution/2.2/plugins/liborg-gnome-exchange-account-settings.so
#4 0x415a1c9a in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#5 0x41591351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6 0x415a17e2 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#7 0x415a08f1 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8 0x415a0b75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9 0x410f82d6 in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x410f9076 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x415a1c9a in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#12 0x415915bf in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#13 0x41591351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x415a1080 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#15 0x415a08f1 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x415a0b75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0x410f8251 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x410f8f52 in _gtk_button_paint () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x411b44f2 in _gtk_marshal_BOOLEAN__BOXED ()
   from /usr/lib/libgtk-x11-2.0.so.0
#20 0x415915bf in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#21 0x41591351 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0x415a1270 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#23 0x415a06ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0x415a0b75 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0x412960fc in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x411b3106 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#27 0x411b20e3 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#28 0x414be96b in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#29 0x415e3c8b in g_main_depth () from /usr/lib/libglib-2.0.so.0
#30 0x415e4c31 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x415e4f53 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0x415e549a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#33 0x40e686d3 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#34 0x08067d97 in main ()

http://bugzilla.ximian.com/show_bug.cgi?id=72053: http://bugzilla.ximian.com/show_bug.cgi?id=72053

Revision history for this message
Remy Maucherat (remy-maucherat) wrote :

I have a very similar problem in Evolution 2.1.4, but with a wrong dialog in the
druid (text box for entering the server host is not present). Screenshot attached.

Revision history for this message
Remy Maucherat (remy-maucherat) wrote :

Created an attachment (id=1227)
Bad dialog screenshot

Revision history for this message
Remy Maucherat (remy-maucherat) wrote :

The cause for my bad dialog was that the Exchange plugin was not enabled.
Obviously, this is not very user friendly.
Unfortunately, as my username on the Exchange server is my full email address, I
am now experiencing this bug as described (but without any possible workaround
as the domain is always stripped from the address).

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've opened a bug upstream about this:
http://bugzilla.ximian.com/show_bug.cgi?id=72053

Revision history for this message
Jens Bech Madsen (jbmadsen) wrote :

This is partially fixed in 2.1.5. When using the workaround for the username, it
no longer crashes. It's now possible to create an account.

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed upstream

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed in this upload:

 ximian-connector (2.1.6-0ubuntu1) hoary; urgency=low
 .
   * New upstream release:
     - fix label setting is not being saved across sessions.
     - fix all-day calendar events incorrectly show as busy.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.