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 544651 - db-summary busy loop
db-summary busy loop
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[disk-summary]
Depends on:
Blocks: 543389
 
 
Reported: 2008-07-25 07:32 UTC by Milan Crha
Modified: 2013-09-13 00:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed eds patch (2.30 KB, patch)
2008-07-25 09:43 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2008-07-25 07:32:19 UTC
I got a busy-loop after these things:
a) restore old evo from backup before db-summary
b) run evo, a bit slow, but otherwise just fine
c) it crashed on "cannot allocate" with some really big number
   (it gone, I'm sorry)
d) evolution --force-shutdown && evolution
e) "crash detected" dialog, hit Ignore, the busy loop is in background already
f) just eating CPU, so killed and restarted; seems like back in d) 

Thread 1 (Thread 0x7fe58b70b7f0 (LWP 3109))

  • #0 __lll_lock_wait
    from /lib64/libpthread.so.0
  • #1 _L_lock_100
    from /lib64/libpthread.so.0
  • #2 __pthread_mutex_lock
    at pthread_mutex_lock.c line 86
  • #3 camel_db_select
    at camel-db.c line 421
  • #4 camel_db_get_folder_deleted_uids
    at camel-db.c line 561
  • #5 vtrash_add_folder
    at camel-vtrash-folder.c line 525
  • #6 camel_vee_folder_add_folder
    at camel-vee-folder.c line 223
  • #7 get_special
    at camel-store.c line 617
  • #8 get_trash
    at camel-store.c line 628
  • #9 imap_get_trash
    at camel-imap-store.c line 1710
  • #10 camel_store_get_folder
    at camel-store.c line 301
  • #11 camel_store_get_trash
    at camel-store.c line 651
  • #12 store_info_new
    at mail-component.c line 184
  • #13 mc_add_store
    at mail-component.c line 243
  • #14 mail_component_add_store
    at mail-component.c line 1349
  • #15 mail_component_load_store_by_uri
    at mail-component.c line 1398
  • #16 load_accounts
    at mail-component.c line 350
  • #17 mc_startup
    at mail-component.c line 385
  • #18 impl_createView
    at mail-component.c line 723
  • #19 _ORBIT_skel_small_GNOME_Evolution_Component_createView
    at Evolution-common.c line 60
  • #20 GNOME_Evolution_Component_createView
    at Evolution-stubs.c line 96
  • #21 init_view
    at e-shell-window.c line 241
  • #22 switch_view
    at e-shell-window.c line 313
  • #23 sidebar_button_selected_callback
    at e-shell-window.c line 449
  • #24 IA__g_closure_invoke
    at gclosure.c line 490
  • #25 signal_emit_unlocked_R
    at gsignal.c line 2440
  • #26 IA__g_signal_emit_valist
    at gsignal.c line 2199
  • #27 IA__g_signal_emit
    at gsignal.c line 2243
  • #28 e_sidebar_select_button
    at e-sidebar.c line 649
  • #29 e_shell_window_switch_to_component
    at e-shell-window.c line 1092
  • #30 e_shell_window_new
    at e-shell-window.c line 1048
  • #31 e_shell_create_window
    at e-shell.c line 939
  • #32 idle_cb
    at main.c line 461
  • #33 IA__g_main_context_dispatch
    at gmain.c line 2009
  • #34 g_main_context_iterate
    at gmain.c line 2642
  • #35 IA__g_main_loop_run
    at gmain.c line 2850
  • #36 bonobo_main
    from /usr/lib64/libbonobo-2.so.0
  • #37 main
    at main.c line 783

Comment 1 Milan Crha 2008-07-25 09:43:31 UTC
Created attachment 115234 [details] [review]
proposed eds patch

for evolution-data-server;

srag found the real issue, I only added some little things around.
Comment 2 Srinivasa Ragavan 2008-07-25 09:53:28 UTC
Commit Milan.
Comment 3 Milan Crha 2008-07-25 09:58:28 UTC
Committed to trunk. Committed revision 9192.

Thanks again to srag for finding the real issue for the busy-loop. :)