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 629510 - evolution cpu goes 100% while fetching contacts
evolution cpu goes 100% while fetching contacts
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Contacts
3.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
: 668905 740688 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-13 12:09 UTC by Akhil Laddha
Modified: 2021-05-19 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Akhil Laddha 2010-09-13 12:09:57 UTC
evolution-mapi 0.31.92

When i click on a mapi address book with thousands of contacts, evolution cpu goes 100%, UI doesn't respond, it will come back to life after 3-4 minutes.

gdb traces of evolution

e_reflow_model_compare (e_reflow_model=0x843e490, n1=8092, n2=8107) at e-reflow-model.c:123
123	{
(gdb) t a a bt

Thread 1 (Thread 0xb6063830 (LWP 10924))

  • #0 e_reflow_model_compare
    at e-reflow-model.c line 123
  • #1 er_compare
    at e-reflow.c line 81
  • #2 esort_callback
    at e-sorter-array.c line 61
  • #3 g_qsort_with_data
    at gqsort.c line 176
  • #4 esa_sort
    at e-sorter-array.c line 88
  • #5 esa_backsort
    at e-sorter-array.c line 101
  • #6 esa_model_to_sorted
    at e-sorter-array.c line 121
  • #7 e_sorter_model_to_sorted
    at e-sorter.c line 104
  • #8 items_inserted
    at e-reflow.c line 452
  • #9 e_marshal_VOID__INT_INT
    at e-marshal.c line 1016
  • #10 g_closure_invoke
    at gclosure.c line 766
  • #11 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #12 g_signal_emit_valist
    at gsignal.c line 2983
  • #13 g_signal_emit
    at gsignal.c line 3040
  • #14 e_reflow_model_items_inserted
    at e-reflow-model.c line 294
  • #15 create_contact
    at e-addressbook-reflow-adapter.c line 291
  • #16 e_marshal_VOID__INT_INT
    at e-marshal.c line 1016
  • #17 g_closure_invoke
    at gclosure.c line 766
  • #18 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #19 g_signal_emit_valist
    at gsignal.c line 2983
  • #20 g_signal_emit
    at gsignal.c line 3040
  • #21 create_contact
    at e-addressbook-model.c line 176
  • #22 g_cclosure_marshal_VOID__POINTER
    at gmarshal.c line 603
  • #23 g_closure_invoke
    at gclosure.c line 766
  • #24 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #25 g_signal_emit_valist
    at gsignal.c line 2983
  • #26 g_signal_emit
    at gsignal.c line 3040
  • #27 contacts_added_cb
    at e-book-view.c line 71
  • #28 g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 568
  • #29 g_closure_invoke
    at gclosure.c line 766
  • #30 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #31 g_signal_emit_valist
  • #32 g_signal_emit
    at gsignal.c line 3040
  • #33 g_signal
    at e-gdbus-egdbusbookview.c line 1553
  • #34 _gio_marshal_VOID__STRING_STRING_VARIANT
    at gio-marshal.c line 775
  • #35 g_type_class_meta_marshal
    at gclosure.c line 877
  • #36 g_closure_invoke
    at gclosure.c line 766
  • #37 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #38 g_signal_emit_valist
  • #39 g_signal_emit
    at gsignal.c line 3040
  • #40 on_signal_received
    at gdbusproxy.c line 754
  • #41 emit_signal_instance_in_idle_cb
    at gdbusconnection.c line 3266
  • #42 g_idle_dispatch
    at gmain.c line 4236
  • #43 g_main_dispatch
    at gmain.c line 2131
  • #44 g_main_context_dispatch
    at gmain.c line 2684
  • #45 g_main_context_iterate
    at gmain.c line 2762
  • #46 g_main_loop_run
    at gmain.c line 2970
  • #47 IA__gtk_main
    at gtkmain.c line 1219
  • #48 main
    at main.c line 645

Comment 1 Akhil Laddha 2010-09-13 12:10:28 UTC
One more gdb traces of evolution

0xb78efd54 in e_contact_get_const (contact=0x89deaa8, field_id=E_CONTACT_UID) at e-contact.c:1588
1588	{
(gdb) t a a bt

Thread 1 (Thread 0xb6063830 (LWP 24091))

  • #0 e_contact_get_const
    at e-contact.c line 1588
  • #1 modify_contact
    at e-addressbook-model.c line 250
  • #2 g_cclosure_marshal_VOID__POINTER
  • #3 g_closure_invoke
    at gclosure.c line 766
  • #4 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #5 g_signal_emit_valist
    at gsignal.c line 2983
  • #6 g_signal_emit
    at gsignal.c line 3040
  • #7 contacts_changed_cb
    at e-book-view.c line 91
  • #8 g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 568
  • #9 g_closure_invoke
    at gclosure.c line 766
  • #10 signal_emit_unlocked_R
    at gsignal.c line 3252
  • #11 g_signal_emit_valist
  • #12 g_signal_emit
    at gsignal.c line 3040
  • #13 g_signal
    at e-gdbus-egdbusbookview.c line 1566
  • #14 _gio_marshal_VOID__STRING_STRING_VARIANT
    at gio-marshal.c line 775
  • #15 g_type_class_meta_marshal
    at gclosure.c line 877
  • #16 g_closure_invoke
    at gclosure.c line 766
  • #17 signal_emit_unlocked_R
    at gsignal.c line 3290
  • #18 g_signal_emit_valist
    at gsignal.c line 2983
  • #19 g_signal_emit
    at gsignal.c line 3040
  • #20 on_signal_received
    at gdbusproxy.c line 754
  • #21 emit_signal_instance_in_idle_cb
    at gdbusconnection.c line 3266
  • #22 g_idle_dispatch
    at gmain.c line 4236
  • #23 g_main_dispatch
    at gmain.c line 2131
  • #24 g_main_context_dispatch
    at gmain.c line 2684
  • #25 g_main_context_iterate
    at gmain.c line 2762
  • #26 g_main_loop_run
    at gmain.c line 2970
  • #27 IA__gtk_main
    at gtkmain.c line 1219
  • #28 main
    at main.c line 645

Comment 2 Milan Crha 2010-09-15 14:09:53 UTC
This is rather "issue" with evolution, then with ema, most likely caused "uncovered" by my changes in bug #625115, whre is UI notified about new contacts not later than in two seconds interval and 32 items (where the threshold for items were there before too). There might be done some change in UI to not re-sort the view immediately, but rather wait few seconds in case it'll get more updates.
Comment 3 Milan Crha 2012-04-26 09:35:21 UTC
*** Bug 668905 has been marked as a duplicate of this bug. ***
Comment 4 Milan Crha 2014-11-27 12:52:13 UTC
*** Bug 740688 has been marked as a duplicate of this bug. ***
Comment 5 André Klapper 2021-05-19 12:28:52 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. 
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org (resources are unfortunately quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines
and create a new bug report ticket at
  https://gitlab.gnome.org/GNOME/evolution/-/issues/

Thank you for your understanding and your help.