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 568285 - Evolution crashed when disabled and enable the MAPI account
Evolution crashed when disabled and enable the MAPI account
Status: RESOLVED DUPLICATE of bug 564897
Product: evolution-mapi
Classification: Applications
Component: Mail
0.25.x
Other All
: Normal critical
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2009-01-19 11:17 UTC by Kandepu Prasad
Modified: 2009-02-11 04:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kandepu Prasad 2009-01-19 11:17:15 UTC
Steps to reproduce:
1. Click on the checkbox for Disable/Enable the MAPI account number of times.
2. Some time I got a password prompt
3. Entered the password and clicked on OK.
Evolution crashed.


Stack trace:
Evolution crashed when enabled MAPI account and clicked on Send/Receive button

(evolution.bin:10676): GLib-CRITICAL **: g_ascii_strcasecmp: assertion `s1 != NULL' failed
Unknown parameter encountered: "printing"
Ignoring unknown parameter "printing"
Unknown parameter encountered: "printcap name"
Ignoring unknown parameter "printcap name"
Unknown parameter encountered: "printcap cache time"
Ignoring unknown parameter "printcap cache time"
Unknown parameter encountered: "cups options"
Ignoring unknown parameter "cups options"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "logon path"
Ignoring unknown parameter "logon path"
Unknown parameter encountered: "logon home"
Ignoring unknown parameter "logon home"
Unknown parameter encountered: "logon drive"
Ignoring unknown parameter "logon drive"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "inherit acls"
Ignoring unknown parameter "inherit acls"
Unknown parameter encountered: "store dos attributes"
Ignoring unknown parameter "store dos attributes"
Unknown parameter encountered: "inherit acls"
Ignoring unknown parameter "inherit acls"
Unknown parameter encountered: "veto files"
Ignoring unknown parameter "veto files"
Unknown parameter encountered: "inherit acls"
Ignoring unknown parameter "inherit acls"
Unknown parameter encountered: "write list"
Ignoring unknown parameter "write list"
Unknown parameter encountered: "force group"
Ignoring unknown parameter "force group"
** (evolution.bin:10676): DEBUG: Deleting profile prasad@ray.com 
libexchangemapi-Message: exchange-mapi-connection.c(142): exchange_mapi_connection_close: lock(connect_lock)
libexchangemapi-Message: exchange-mapi-connection.c(145): exchange_mapi_connection_close: unlock(connect_lock)
libexchangemapi-Message: exchange-mapi-connection.c(126): exchange_mapi_connection_new: lock(connect_lock)

exchange-mapi-connection.c(71): Entering mapi_profile_load Unknown parameter encountered: "printing"
Ignoring unknown parameter "printing"
Unknown parameter encountered: "printcap name"
Ignoring unknown parameter "printcap name"
Unknown parameter encountered: "printcap cache time"
Ignoring unknown parameter "printcap cache time"
Unknown parameter encountered: "cups options"
Ignoring unknown parameter "cups options"
Unknown parameter encountered: "map to guest"
Ignoring unknown parameter "map to guest"
Unknown parameter encountered: "logon path"
Ignoring unknown parameter "logon path"
Unknown parameter encountered: "logon home"
Ignoring unknown parameter "logon home"
Unknown parameter encountered: "logon drive"
Ignoring unknown parameter "logon drive"
Unknown parameter encountered: "usershare allow guests"
Ignoring unknown parameter "usershare allow guests"
Unknown parameter encountered: "valid users"
Ignoring unknown parameter "valid users"
Unknown parameter encountered: "inherit acls"
Ignoring unknown parameter "inherit acls"
Unknown parameter encountered: "store dos attributes"
Ignoring unknown parameter "store dos attributes"
Unknown parameter encountered: "inherit acls"
Ignoring unknown parameter "inherit acls"
Unknown parameter encountered: "veto files"
Ignoring unknown parameter "veto files"
Unknown parameter encountered: "inherit acls"
Ignoring unknown parameter "inherit acls"
Unknown parameter encountered: "write list"
Ignoring unknown parameter "write list"
Unknown parameter encountered: "force group"
Ignoring unknown parameter "force group"
    GetDefaultProfile        : MAPI_E_NOT_FOUND (0x8004010F)

exchange-mapi-connection.c(112): Leaving mapi_profile_load libexchangemapi-Message: exchange-mapi-connection.c(129): exchange_mapi_connection_new: unlock(connect_lock)

(evolution.bin:10676): libexchangemapi-WARNING **: 
exchange-mapi-connection.c(132): exchange_mapi_connection_new: Login failed 

(evolution.bin:10676): e-data-server-ui-WARNING **: Unable to find password(s) in keyring (Keyring reports: No matching results)
e-data-server-ui-Message: Unable to find password(s) in keyring (Keyring reports: No matching results)
e-data-server-ui-Message: Key file does not have group 'Passwords-ExchangeMAPI'
e-data-server-ui-Message: Unable to find password(s) in keyring (Keyring reports: No matching results)
e-data-server-ui-Message: Key file does not have group 'Passwords-ExchangeMAPI'
libexchangemapi-Message: exchange-mapi-connection.c(126): exchange_mapi_connection_new: lock(connect_lock)

exchange-mapi-connection.c(71): Entering mapi_profile_load Create profile with prasad Novell123 (****) ray.com 164.99.99.185
    MAPIInitialize           : MAPI_E_SESSION_LIMIT (0x80040112)

Program received signal SIGABRT, Aborted.
0xffffe430 in __kernel_vsyscall ()
(gdb) t a a bt

Thread 1 (Thread 0xb5d0a780 (LWP 10676))

  • #0 __kernel_vsyscall
  • #1 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 *__GI_abort
    at abort.c line 88
  • #3 _talloc_free
    at talloc.c line 567
  • #4 _talloc_free
    at talloc.c line 546
  • #5 _talloc_free
    at talloc.c line 546
  • #6 _talloc_free
    at talloc.c line 546
  • #7 talloc_free
    at talloc.c line 546
  • #8 MAPIUninitialize
    at libmapi/cdo_mapi.c line 245
  • #9 exchange_mapi_create_profile
    at exchange-mapi-account-setup.c line 225
  • #10 create_profile_entry
    at exchange-mapi-account-listener.c line 621
  • #11 mapi_account_changed
    at exchange-mapi-account-listener.c line 695
  • #12 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #13 IA__g_closure_invoke
    at gclosure.c line 767
  • #14 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #15 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #16 IA__g_signal_emit
    at gsignal.c line 3034
  • #17 gconf_accounts_changed
    at e-account-list.c line 151
  • #18 notify_listeners_callback
    at gconf-client.c line 2385
  • #19 gconf_listeners_notify
    at gconf-listeners.c line 590
  • #20 notify_one_entry
    at gconf-client.c line 2410
  • #21 notify_idle_callback
    at gconf-client.c line 2450
  • #22 g_idle_dispatch
    at gmain.c line 4235
  • #23 IA__g_main_context_dispatch
    at gmain.c line 2144
  • #24 g_main_context_iterate
    at gmain.c line 2778
  • #25 IA__g_main_loop_run
    at gmain.c line 2986
  • #26 bonobo_main
    at bonobo-main.c line 311
  • #27 main
    at main.c line 689
  • #0 __kernel_vsyscall
  • #1 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 *__GI_abort
    at abort.c line 88
  • #3 _talloc_free
    at talloc.c line 567
  • #4 _talloc_free
    at talloc.c line 546
  • #5 _talloc_free
    at talloc.c line 546
  • #6 _talloc_free
    at talloc.c line 546
  • #7 talloc_free
    at talloc.c line 546
  • #8 MAPIUninitialize
    at libmapi/cdo_mapi.c line 245
  • #9 exchange_mapi_create_profile
    at exchange-mapi-account-setup.c line 225
  • #10 create_profile_entry
    at exchange-mapi-account-listener.c line 621
  • #11 mapi_account_changed
    at exchange-mapi-account-listener.c line 695
  • #12 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #13 IA__g_closure_invoke
    at gclosure.c line 767
  • #14 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #15 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #16 IA__g_signal_emit
    at gsignal.c line 3034
  • #17 gconf_accounts_changed
    at e-account-list.c line 151
  • #18 notify_listeners_callback
    at gconf-client.c line 2385
  • #19 gconf_listeners_notify
    at gconf-listeners.c line 590
  • #20 notify_one_entry
    at gconf-client.c line 2410
  • #21 notify_idle_callback
    at gconf-client.c line 2450
  • #22 g_idle_dispatch
    at gmain.c line 4235
  • #23 IA__g_main_context_dispatch
    at gmain.c line 2144
  • #24 g_main_context_iterate
    at gmain.c line 2778
  • #25 IA__g_main_loop_run
    at gmain.c line 2986
  • #26 bonobo_main
    at bonobo-main.c line 311
  • #27 main
    at main.c line 689


Other information:
Comment 1 Kandepu Prasad 2009-01-19 11:20:45 UTC
Evolution mapi version
evolution-mapi-provider-0.1-5.5
Comment 2 Kandepu Prasad 2009-01-19 11:22:47 UTC
Tried to reproduce and got this trace

Unknown parameter encountered: "force group"
Ignoring unknown parameter "force group"
    GetDefaultProfile        : MAPI_E_NOT_FOUND (0x8004010F)

exchange-mapi-connection.c(112): Leaving mapi_profile_load libexchangemapi-Message: exchange-mapi-connection.c(129): exchange_mapi_connection_new: unlock(connect_lock)

(evolution.bin:11979): libexchangemapi-WARNING **: 
exchange-mapi-connection.c(132): exchange_mapi_connection_new: Login failed 

(evolution.bin:11979): e-data-server-ui-WARNING **: Unable to find password(s) in keyring (Keyring reports: No matching results)
e-data-server-ui-Message: Unable to find password(s) in keyring (Keyring reports: No matching results)
e-data-server-ui-Message: Key file does not have group 'Passwords-ExchangeMAPI'
e-data-server-ui-Message: Unable to find password(s) in keyring (Keyring reports: No matching results)
e-data-server-ui-Message: Key file does not have group 'Passwords-ExchangeMAPI'
[Thread 0xb4472b90 (LWP 12314) exited]
[New Thread 0xb4472b90 (LWP 12345)]
[New Thread 0xb4c73b90 (LWP 12346)]
[New Thread 0xac2bbb90 (LWP 12348)]
[New Thread 0xaacffb90 (LWP 12349)]
[New Thread 0xaa4feb90 (LWP 12350)]
[New Thread 0xa9cfdb90 (LWP 12351)]

(evolution.bin:11979): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
[Thread 0xac2bbb90 (LWP 12348) exited]
[Thread 0xb4472b90 (LWP 12345) exited]
[Thread 0xaacffb90 (LWP 12349) exited]
[Thread 0xa9cfdb90 (LWP 12351) exited]
[Thread 0xaa4feb90 (LWP 12350) exited]
[New Thread 0xaa4feb90 (LWP 12352)]
[Thread 0xb4c73b90 (LWP 12346) exited]
libexchangemapi-Message: exchange-mapi-connection.c(126): exchange_mapi_connection_new: lock(connect_lock)

exchange-mapi-connection.c(71): Entering mapi_profile_load Create profile with prasad Novell123 (****) ray.com 164.99.99.185
    MAPIInitialize           : MAPI_E_SESSION_LIMIT (0x80040112)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xacabcb90 (LWP 12315)]
0xffffe430 in __kernel_vsyscall ()
(gdb) t a a bt

Thread 1 (Thread 0xb5d0a780 (LWP 11979))

  • #0 __kernel_vsyscall
  • #1 read
    from /lib/libpthread.so.0
  • #2 ??
    from /usr/lib/libgnome-keyring.so.0
  • #3 ??
    from /usr/lib/libgnome-keyring.so.0
  • #4 gnome_keyring_get_default_keyring_sync
    from /usr/lib/libgnome-keyring.so.0
  • #5 e_passwords_init
    at e-passwords.c line 1275
  • #6 ep_msg_new
    at e-passwords.c line 480
  • #7 e_passwords_get_password
    at e-passwords.c line 1425
  • #8 create_profile_entry
    at exchange-mapi-account-listener.c line 607
  • #9 mapi_account_changed
    at exchange-mapi-account-listener.c line 663
  • #10 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #11 IA__g_closure_invoke
    at gclosure.c line 767
  • #12 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #13 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #14 IA__g_signal_emit
    at gsignal.c line 3034
  • #15 gconf_accounts_changed
    at e-account-list.c line 151
  • #16 notify_listeners_callback
    at gconf-client.c line 2385
  • #17 gconf_listeners_notify
    at gconf-listeners.c line 590
  • #18 notify_one_entry
    at gconf-client.c line 2410
  • #19 notify_idle_callback
    at gconf-client.c line 2450
  • #20 g_idle_dispatch
    at gmain.c line 4235
  • #21 IA__g_main_context_dispatch
    at gmain.c line 2144
  • #22 g_main_context_iterate
    at gmain.c line 2778
  • #23 IA__g_main_context_iteration
    at gmain.c line 2841
  • #24 ep_msg_send
    at e-passwords.c line 524
  • #25 e_passwords_ask_password
    at e-passwords.c line 1508
  • #26 create_profile_entry
    at exchange-mapi-account-listener.c line 613
  • #27 mapi_account_changed
    at exchange-mapi-account-listener.c line 695
  • #28 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #29 IA__g_closure_invoke
    at gclosure.c line 767
  • #30 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #31 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #32 IA__g_signal_emit
    at gsignal.c line 3034
  • #33 gconf_accounts_changed
    at e-account-list.c line 151
  • #34 notify_listeners_callback
    at gconf-client.c line 2385
  • #35 gconf_listeners_notify
    at gconf-listeners.c line 590
  • #36 notify_one_entry
    at gconf-client.c line 2410
  • #37 notify_idle_callback
    at gconf-client.c line 2450
  • #38 g_idle_dispatch
    at gmain.c line 4235
  • #39 IA__g_main_context_dispatch
    at gmain.c line 2144
  • #40 g_main_context_iterate
    at gmain.c line 2778
  • #41 IA__g_main_loop_run
    at gmain.c line 2986
  • #42 bonobo_main
    at bonobo-main.c line 311
  • #43 main
    at main.c line 689
  • #0 __kernel_vsyscall
  • #1 *__GI_raise
    at ../nptl/sysdeps/unix/sysv/linux/raise.c line 64
  • #2 *__GI_abort
    at abort.c line 88
  • #3 talloc_free
    at talloc.c line 567
  • #4 string_set
    at param/loadparm.c line 1003
  • #5 set_variable
    at param/loadparm.c line 1665
  • #6 lp_do_global_parameter
    at param/loadparm.c line 1728
  • #7 lp_do_global_parameter_var
    at param/loadparm.c line 1807
  • #8 loadparm_init
    at param/loadparm.c line 2343
  • #9 MAPIInitialize
    at libmapi/cdo_mapi.c line 207
  • #10 exchange_mapi_connection_new
    at exchange-mapi-connection.c line 81
  • #11 mapi_connect
    at camel-mapi-store.c line 317
  • #12 camel_service_connect
    at camel-service.c line 369
  • #13 camel_offline_store_set_network_state
    at camel-offline-store.c line 174
  • #14 set_offline_exec
    at mail-ops.c line 2370
  • #15 mail_msg_proxy
    at mail-mt.c line 520
  • #16 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #17 g_thread_create_proxy
    at gthread.c line 635
  • #18 start_thread
    at pthread_create.c line 297
  • #19 clone
    at ../sysdeps/unix/sysv/linux/i386/clone.S line 130
(gdb) 

Comment 3 Kandepu Prasad 2009-01-21 08:57:11 UTC
So the password is not remembered and we get a password prompt after disabling and enabling. After this crash I need to do a forget passwords and disable and enable the account for the password to get accepted. Even then I need to restart Evo again for it to be proper working.
Comment 4 Suman Manjunath 2009-02-11 04:43:32 UTC
The crash is due to a race condition between camel-mapi and the
account-setup-eplugin.

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