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 607732 - evolution crashed : about to enter password after enabling mapi account
evolution crashed : about to enter password after enabling mapi account
Status: RESOLVED DUPLICATE of bug 571579
Product: evolution-mapi
Classification: Applications
Component: Mail
0.29.x
Other Linux
: Normal critical
: ---
Assigned To: evolution-mapi-maint
evolution-mapi-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-22 06:44 UTC by Akhil Laddha
Modified: 2010-02-17 12:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Akhil Laddha 2010-01-22 06:44:38 UTC
evolution 2.29.5 
libmapi 0.9

MAPI account was configured already, i just enabled it under preferences and password windows popped up, i was about to enter password and it crashed.

Logging into the server... MapiLogonProvider : succeeded 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xa7d02b70 (LWP 1725)]
0xae757fed in MonitorNotification (session=0xa7454d00, private_data=0x0, 
    cb_data=0x9210160) at libmapi/IMAPISupport.c:422
422			FD_SET(notify_ctx->fd, &read_fds);
(gdb) t a a bt

Thread 1 (Thread 0xb6330760 (LWP 2780))

  • #0 __kernel_vsyscall
  • #1 fsync
    from /lib/libpthread.so.0
  • #2 transaction_sync
    at ../lib/tdb/common/transaction.c line 548
  • #3 _tdb_transaction_cancel
    at ../lib/tdb/common/transaction.c line 600
  • #4 tdb_transaction_commit
    at ../lib/tdb/common/transaction.c line 1096
  • #5 ltdb_end_trans
    at lib/ldb/ldb_tdb/ldb_tdb.c line 957
  • #6 ldb_transaction_commit
    at lib/ldb/common/ldb.c line 438
  • #7 ldb_autotransaction_request
    at lib/ldb/common/ldb.c line 534
  • #8 ldb_modify_ctrl
    at lib/ldb/common/ldb.c line 1415
  • #9 ldb_modify
    at lib/ldb/common/ldb.c line 1426
  • #10 mapi_profile_add_string_attr
    at libmapi/IProfAdmin.c line 333
  • #11 set_profile_mvstr_attribute
    at libmapi/IProfAdmin.c line 1192
  • #12 ProcessNetworkProfile
    at libmapi/IProfAdmin.c line 1396
  • #13 exchange_mapi_create_profile
    at exchange-mapi-connection.c line 3178
  • #14 create_profile_entry
    at exchange-mapi-account-listener.c line 633
  • #15 mapi_account_changed
    at exchange-mapi-account-listener.c line 717
  • #16 IA__g_cclosure_marshal_VOID__OBJECT
    at gmarshal.c line 636
  • #17 IA__g_closure_invoke
    at gclosure.c line 767
  • #18 signal_emit_unlocked_R
    at gsignal.c line 3247
  • #19 IA__g_signal_emit_valist
    at gsignal.c line 2980
  • #20 IA__g_signal_emit
    at gsignal.c line 3037
  • #21 gconf_accounts_changed
    at e-account-list.c line 151
  • #22 ??
    from /usr/lib/libgconf-2.so.4
  • #23 gconf_listeners_notify
    from /usr/lib/libgconf-2.so.4
  • #24 ??
    from /usr/lib/libgconf-2.so.4
  • #25 ??
    from /usr/lib/libgconf-2.so.4
  • #26 g_idle_dispatch
    at gmain.c line 4065
  • #27 g_main_dispatch
    at gmain.c line 1960
  • #28 IA__g_main_context_dispatch
    at gmain.c line 2513
  • #29 g_main_context_iterate
    at gmain.c line 2591
  • #30 IA__g_main_loop_run
    at gmain.c line 2799
  • #31 IA__gtk_main
    at gtkmain.c line 1216
  • #32 main
    at main.c line 609
  • #0 MonitorNotification
    at libmapi/IMAPISupport.c line 422
  • #1 exchange_mapi_events_monitor
    at exchange-mapi-connection.c line 3065
  • #2 mapi_push_notification_listener
    at camel-mapi-notifications.c line 262
  • #3 session_thread_proxy
    at camel-session.c line 590
  • #4 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #5 g_thread_create_proxy
    at gthread.c line 635
  • #6 start_thread
    at pthread_create.c line 297
  • #7 ??
    at pthread_create.c line 216
(gdb)
Comment 1 Milan Crha 2010-02-05 12:46:38 UTC
I was pointer here from bug #607744. I do not see the crash itself, but when doing:
a) run evolution without ema account enabled
b) edit->preferences enable ema account
c) enter password, do not close preferences, wait till it's finished
d) disable ema account
e) enable ema account (possible enter password)
I get valgrind claims on the same place:
==10458== Invalid read of size 4
==10458==    at 0x7DD2812: MonitorNotification (IMAPISupport.c:422)
==10458==    by 0x7D7DD17: exchange_mapi_events_monitor (exchange-mapi-connection.c:3159)
==10458==    by 0x803F0CE: mapi_push_notification_listener (camel-mapi-notifications.c:237)
==10458==    by 0x43A9198: session_thread_proxy (camel-session.c:590)
==10458==    by 0xBDA0E6: g_thread_pool_thread_proxy (gthreadpool.c:265)
==10458==    by 0xBD8A4F: g_thread_create_proxy (gthread.c:635)
==10458==    by 0xB29AB4: start_thread (pthread_create.c:297)
==10458==    by 0xA8083D: clone (clone.S:130)
==10458==  Address 0x57700c0 is 56 bytes inside a block of size 68 free'd
==10458==    at 0x40057F6: free (vg_replace_malloc.c:325)
==10458==    by 0x7FA9FF2: _talloc_free_internal (talloc.c:669)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FAAC2E: _talloc_free (talloc.c:1133)
==10458==    by 0x7DE2D8C: MAPIUninitialize (cdo_mapi.c:284)
==10458==    by 0x7D762B4: exchange_mapi_connection_close (exchange-mapi-connection.c:179)
==10458==    by 0x7D7E55E: exchange_mapi_delete_profile (exchange-mapi-connection.c:3333)
==10458==    by 0x7C2E8C0: mapi_account_removed (exchange-mapi-account-listener.c:596)
==10458==    by 0x7C2EE73: mapi_account_changed (exchange-mapi-account-listener.c:716)
==10458== 
==10458== Invalid read of size 4
==10458==    at 0x7DD285B: MonitorNotification (IMAPISupport.c:424)
==10458==    by 0x7D7DD17: exchange_mapi_events_monitor (exchange-mapi-connection.c:3159)
==10458==    by 0x803F0CE: mapi_push_notification_listener (camel-mapi-notifications.c:237)
==10458==    by 0x43A9198: session_thread_proxy (camel-session.c:590)
==10458==    by 0xBDA0E6: g_thread_pool_thread_proxy (gthreadpool.c:265)
==10458==    by 0xBD8A4F: g_thread_create_proxy (gthread.c:635)
==10458==    by 0xB29AB4: start_thread (pthread_create.c:297)
==10458==    by 0xA8083D: clone (clone.S:130)
==10458==  Address 0x57700c0 is 56 bytes inside a block of size 68 free'd
==10458==    at 0x40057F6: free (vg_replace_malloc.c:325)
==10458==    by 0x7FA9FF2: _talloc_free_internal (talloc.c:669)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FAAC2E: _talloc_free (talloc.c:1133)
==10458==    by 0x7DE2D8C: MAPIUninitialize (cdo_mapi.c:284)
==10458==    by 0x7D762B4: exchange_mapi_connection_close (exchange-mapi-connection.c:179)
==10458==    by 0x7D7E55E: exchange_mapi_delete_profile (exchange-mapi-connection.c:3333)
==10458==    by 0x7C2E8C0: mapi_account_removed (exchange-mapi-account-listener.c:596)
==10458==    by 0x7C2EE73: mapi_account_changed (exchange-mapi-account-listener.c:716)
==10458== 
==10458== Invalid read of size 4
==10458==    at 0x7DD286B: MonitorNotification (IMAPISupport.c:425)
==10458==    by 0x7D7DD17: exchange_mapi_events_monitor (exchange-mapi-connection.c:3159)
==10458==    by 0x803F0CE: mapi_push_notification_listener (camel-mapi-notifications.c:237)
==10458==    by 0x43A9198: session_thread_proxy (camel-session.c:590)
==10458==    by 0xBDA0E6: g_thread_pool_thread_proxy (gthreadpool.c:265)
==10458==    by 0xBD8A4F: g_thread_create_proxy (gthread.c:635)
==10458==    by 0xB29AB4: start_thread (pthread_create.c:297)
==10458==    by 0xA8083D: clone (clone.S:130)
==10458==  Address 0x57700c0 is 56 bytes inside a block of size 68 free'd
==10458==    at 0x40057F6: free (vg_replace_malloc.c:325)
==10458==    by 0x7FA9FF2: _talloc_free_internal (talloc.c:669)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FA9F01: _talloc_free_internal (talloc.c:631)
==10458==    by 0x7FAAC2E: _talloc_free (talloc.c:1133)
==10458==    by 0x7DE2D8C: MAPIUninitialize (cdo_mapi.c:284)
==10458==    by 0x7D762B4: exchange_mapi_connection_close (exchange-mapi-connection.c:179)
==10458==    by 0x7D7E55E: exchange_mapi_delete_profile (exchange-mapi-connection.c:3333)
==10458==    by 0x7C2E8C0: mapi_account_removed (exchange-mapi-account-listener.c:596)
==10458==    by 0x7C2EE73: mapi_account_changed (exchange-mapi-account-listener.c:716)
Comment 2 Milan Crha 2010-02-08 17:37:23 UTC
I tried this with a patch from bug #571579 and it doesn't happen any more. Could you try as well, as it was crashing for you, whereas I saw only the valgrind claims, please?
Comment 3 Akhil Laddha 2010-02-17 12:16:42 UTC

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