evolution hangs

Bug #265044 reported by Brian J. Murrell on 2008-09-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
evolution-data-server (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

$ apt-cache policy evolution
  Version table:
 *** 0
        500 http://apt.interlinx.bc.ca hardy-updates/main Packages
        100 /var/lib/dpkg/status
     2.22.2-0ubuntu1.2 0
        500 http://apt.interlinx.bc.ca hardy-security/main Packages
     2.22.1-0ubuntu3 0
        500 http://apt.interlinx.bc.ca hardy/main Packages

Frequently I will find evolution hung. That is, no UI updates at all even. A stack trace of the evolution process while hung shows:

#0 0xb7f16410 in __kernel_vsyscall ()
#1 0xb79eaaa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb75fe384 in giop_recv_buffer_get (ent=0xbfab6c8c, timeout=0xbfab6ca4) at giop-recv-buffer.c:716
#3 0xb7602e88 in ORBit_small_invoke_stub (obj=0xd640558, m_data=0xb7b891a0, ret=0xbfab6d70, args=0xbfab6d68, ctx=0x0, ev=0xbfab6dd8) at orbit-small.c:658
#4 0xb7603095 in ORBit_small_invoke_stub_n (object=0xd640558, methods=0x5a3d, index=<value optimized out>, ret=0xbfab6d70, args=0xbfab6d68, ctx=0x0,
    ev=0xbfab6dd8) at orbit-small.c:575
#5 0xb760f812 in ORBit_c_stub_invoke (obj=0xd640558, methods=0xb7b891e4, method_index=0, ret=0xbfab6d70, args=0xbfab6d68, ctx=0x0, ev=0xbfab6dd8,
    class_id=0, method_offset=4, skel_impl=0xb7b64b90 <_ORBIT_skel_small_GNOME_Evolution_Addressbook_BookFactory_getBook>) at poa.c:2643
#6 0xb7b66749 in GNOME_Evolution_Addressbook_BookFactory_getBook (_obj=0xd640558,
    source=0xcea6700 "<?xml version=\"1.0\"?>\n<source uid=\"1220589626.933.185@pc\" name=\"\" uri=\"file:///home/brian/.evolution/addressbook/local/system\"/>\n", listener=0xcde7b38, ev=0xbfab6dd8) at Evolution-DataServer-Addressbook-stubs.c:330
#7 0xb7b6e1dc in e_book_new (source=0xd67a8a0, error=0xbfab6e68) at e-book.c:3340
#8 0xb7b6e71e in e_book_new_from_uri (uri=0xd7a4b28 "file:///home/brian/.evolution/addressbook/local/system", error=0xbfab6e68) at e-book.c:3856
#9 0xb3f09db4 in bbdb_open_addressbook (type=1) at bbdb.c:331
#10 0xb3f0ad0c in bbdb_sync_buddy_list () at gaimbuddies.c:125
#11 0xb3f0b2bf in bbdb_sync_buddy_list_check () at gaimbuddies.c:109
#12 0xb3f0a520 in bbdb_timeout (data=0x0) at bbdb.c:139
#13 0xb6c73546 in g_timeout_dispatch (source=0x8a7d788, callback=0xfffffe00, user_data=0x0) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:3446
#14 0xb6c72dd6 in IA__g_main_context_dispatch (context=0x809cb20) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2012
#15 0xb6c76193 in g_main_context_iterate (context=0x809cb20, block=1, dispatch=1, self=0x80676c0) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2645
#16 0xb6c76577 in IA__g_main_loop_run (loop=0x80db978) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2853
#17 0xb7667a93 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#18 0x0805ede9 in main (argc=1, argv=0xbfab7334) at main.c:793

evolution-data-server's stack looks like:

#0 0xb7f54410 in __kernel_vsyscall ()
#1 0xb7638589 in __lll_lock_wait () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7633ba6 in _L_lock_95 () from /lib/tls/i686/cmov/libpthread.so.0
#3 0xb763358a in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7f2dce4 in e_book_backend_remove_client (backend=0x806f948, book=0x8a9c550) at e-book-backend.c:598
#5 0xb7f2df91 in listener_died_cb (cnx=0x833a958, user_data=0x8a9c550) at e-book-backend.c:484
#6 0xb77edae1 in link_connection_emit_broken (cnx=0x833a958, callbacks=0x80731d8) at linc-connection.c:146
#7 0xb77ee183 in link_connection_broken_idle (data=0x833a958) at linc-connection.c:167
#8 0xb76b91e1 in g_idle_dispatch (source=0xb4d757b8, callback=0xfffffe00, user_data=0x833a958) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:4090
#9 0xb76badd6 in IA__g_main_context_dispatch (context=0x805d588) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2012
#10 0xb76be193 in g_main_context_iterate (context=0x805d588, block=1, dispatch=1, self=0x804e4c0) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2645
#11 0xb76be577 in IA__g_main_loop_run (loop=0x8095e48) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2853
#12 0xb7838a93 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#13 0x0804b9f2 in main (argc=134634624, argv=0xbfbd4464) at server.c:418

and now, pidgin just hung with a similar stack to evolution (I have evolution integration enabled in pidgin):

#0 0xb7f38410 in __kernel_vsyscall ()
#1 0xb76e2aa5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb6d16384 in giop_recv_buffer_get (ent=0xbfb1f35c, timeout=0xbfb1f374) at giop-recv-buffer.c:716
#3 0xb6d1ae88 in ORBit_small_invoke_stub (obj=0xa91d980, m_data=0xb6e70660, ret=0xbfb1f440, args=0xbfb1f438, ctx=0x0, ev=0xbfb1f4a8) at orbit-small.c:658
#4 0xb6d1b095 in ORBit_small_invoke_stub_n (object=0xa91d980, methods=0x127, index=<value optimized out>, ret=0xbfb1f440, args=0xbfb1f438, ctx=0x0,
    ev=0xbfb1f4a8) at orbit-small.c:575
#5 0xb6d27812 in ORBit_c_stub_invoke (obj=0xa91d980, methods=0xb6e706a4, method_index=0, ret=0xbfb1f440, args=0xbfb1f438, ctx=0x0, ev=0xbfb1f4a8,
    class_id=0, method_offset=4, skel_impl=0xb6e2eb90 <_ORBIT_skel_small_GNOME_Evolution_Addressbook_BookFactory_getBook>) at poa.c:2643
#6 0xb6e30749 in GNOME_Evolution_Addressbook_BookFactory_getBook (_obj=0xa91d980,
    source=0xa1ad468 "<?xml version=\"1.0\"?>\n<source uid=\"1220617781.7685.99@pc\" name=\"\" uri=\"file:///home/brian/.evolution/addressbook/local/system\"/>\n", listener=0xaa5db70, ev=0xbfb1f4a8) at Evolution-DataServer-Addressbook-stubs.c:330
#7 0xb6e381dc in e_book_new (source=0xa74bb30, error=0x0) at e-book.c:3340
#8 0xb6e3871e in e_book_new_from_uri (uri=0xaa8f798 "file:///home/brian/.evolution/addressbook/local/system", error=0x0) at e-book.c:3856
#9 0xb6ea5139 in gevo_load_addressbook (uri=0xaa8f798 "file:///home/brian/.evolution/addressbook/local/system", book=0xbfb1f570, error=0x0)
    at ../../../../pidgin/plugins/gevolution/gevo-util.c:144
#10 0xb6ea68e9 in gevo_run_query_in_uri (uri=0xaa8f798 "file:///home/brian/.evolution/addressbook/local/system", query=0xa8e4500)
    at ../../../../pidgin/plugins/gevolution/eds-utils.c:123
#11 0xb6ea6bea in gevo_search_buddy_in_contacts (buddy=0x83dce30, query=0x0) at ../../../../pidgin/plugins/gevolution/eds-utils.c:232
#12 0xb6ea430e in blist_node_extended_menu_cb (node=0x83dce30, menu=0xbfb1f6d0) at ../../../../pidgin/plugins/gevolution/gevolution.c:271
#13 0xb787ee55 in purple_marshal_VOID__POINTER_POINTER (cb=0xb6ea42a6 <blist_node_extended_menu_cb>, args=0xbfb1f6c0 "\f", data=0x0, return_val=0x0)
    at ../../libpurple/signals.c:669
#14 0xb787e8e5 in purple_signal_emit_vargs (instance=0xb78e9f8c, signal=0xb78cc16e "blist-node-extended-menu", args=0xbfb1f6b8 "0�=\b����\f") at ../../libpurple/signals.c:482
#15 0xb787e777 in purple_signal_emit (instance=0xb78e9f8c, signal=0xb78cc16e "blist-node-extended-menu") at ../../libpurple/signals.c:434
#16 0xb783bd78 in purple_blist_node_get_extended_menu (n=0x83dce30) at ../../libpurple/blist.c:2679
#17 0x08077a74 in pidgin_append_blist_node_extended_menu (menu=0x8574c60, node=0x83dce30) at ../../pidgin/gtkblist.c:1303
#18 0x08092a5a in populate_menu_with_options (menu=0x8574c60, gtkconv=0xa87b2b8, all=0) at ../../pidgin/gtkconv.c:3096
#19 0x08092b3f in regenerate_options_items (win=0x876f5f8) at ../../pidgin/gtkconv.c:3126
#20 0x080a13a4 in switch_conv_cb (notebook=0x82eb398, page=0xa896ff8, page_num=10, user_data=0x876f5f8) at ../../pidgin/gtkconv.c:8834
#21 0xb7c116f1 in _gtk_marshal_VOID__POINTER_UINT (closure=0x87ed518, return_value=0x0, n_param_values=3, param_values=0xbfb1fad4,
    invocation_hint=0xbfb1f9dc, marshal_data=0x80a12e6) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmarshalers.c:2633
#22 0xb77d6759 in IA__g_closure_invoke (closure=0x87ed518, return_value=0x0, n_param_values=3, param_values=0xbfb1fad4, invocation_hint=0xbfb1f9dc)
    at /build/buildd/glib2.0-2.16.4/gobject/gclosure.c:490
#23 0xb77eb329 in signal_emit_unlocked_R (node=0x824bc78, detail=0, instance=0x82eb398, emission_return=0x0, instance_and_params=0xbfb1fad4)
    at /build/buildd/glib2.0-2.16.4/gobject/gsignal.c:2510
#24 0xb77ecc1f in IA__g_signal_emit_valist (instance=0x80, signal_id=107, detail=0, var_args=0xbfb1fd14 "�o\211\n(���\234���\230�.\b")
    at /build/buildd/glib2.0-2.16.4/gobject/gsignal.c:2199
#25 0xb77ecf69 in IA__g_signal_emit (instance=0x82eb398, signal_id=107, detail=0) at /build/buildd/glib2.0-2.16.4/gobject/gsignal.c:2243
#26 0xb7c28fe4 in gtk_notebook_switch_page (notebook=0x82eb398, page=0xa896ff8) at /build/buildd/gtk+2.0-2.12.9/gtk/gtknotebook.c:5813
#27 0xb7c323ee in gtk_notebook_button_press (widget=0x82eb398, event=0x9bdcb40) at /build/buildd/gtk+2.0-2.12.9/gtk/gtknotebook.c:2505
#28 0xb7c148d4 in _gtk_marshal_BOOLEAN__BOXED (closure=0x81be1b8, return_value=0xbfb1ffe0, n_param_values=2, param_values=0xbfb200c4,
    invocation_hint=0xbfb1ffcc, marshal_data=0xb7c32310) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmarshalers.c:84
#29 0xb77d5079 in g_type_class_meta_marshal (closure=0x81be1b8, return_value=0xbfb1ffe0, n_param_values=2, param_values=0xbfb200c4,
    invocation_hint=0xbfb1ffcc, marshal_data=0xb0) at /build/buildd/glib2.0-2.16.4/gobject/gclosure.c:567
#30 0xb77d6759 in IA__g_closure_invoke (closure=0x81be1b8, return_value=0xbfb1ffe0, n_param_values=2, param_values=0xbfb200c4, invocation_hint=0xbfb1ffcc) at /build/buildd/glib2.0-2.16.4/gobject/gclosure.c:490
#31 0xb77eb11a in signal_emit_unlocked_R (node=0x820b7e8, detail=0, instance=0x82eb398, emission_return=0xbfb20284, instance_and_params=0xbfb200c4)
    at /build/buildd/glib2.0-2.16.4/gobject/gsignal.c:2478
#32 0xb77ec947 in IA__g_signal_emit_valist (instance=0x82eb398, signal_id=32, detail=0, var_args=0xbfb20300 "\030\003��@˽\t\230�.\b?\204ӷ\230�.\b�\b!\b")
    at /build/buildd/glib2.0-2.16.4/gobject/gsignal.c:2209
#33 0xb77ecf69 in IA__g_signal_emit (instance=0x82eb398, signal_id=32, detail=0) at /build/buildd/glib2.0-2.16.4/gobject/gsignal.c:2243
#34 0xb7d33667 in gtk_widget_event_internal (widget=0x82eb398, event=0x9bdcb40) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c:4678
#35 0xb7c0db21 in IA__gtk_propagate_event (widget=0x82eb398, event=0x9bdcb40) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:2336
#36 0xb7c0ee92 in IA__gtk_main_do_event (event=0x9bdcb40) at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:1541
#37 0xb7a87a9a in gdk_event_dispatch (source=0x81497f8, callback=0, user_data=0x0) at /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkevents-x11.c:2351
#38 0xb774ddd6 in IA__g_main_context_dispatch (context=0x8149840) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2012
#39 0xb7751193 in g_main_context_iterate (context=0x8149840, block=1, dispatch=1, self=0x8118190) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2645
#40 0xb7751577 in IA__g_main_loop_run (loop=0x863ee80) at /build/buildd/glib2.0-2.16.4/glib/gmain.c:2853
#41 0xb7c0f264 in IA__gtk_main () at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:1163
#42 0x080c70d5 in main (argc=3, argv=0xbfb227a4) at ../../pidgin/gtkmain.c:879

These stack traces look similar to the one in another bug I have filed: 257404.

Pedro Villavicencio (pedro) wrote :

thanks for the report, trace looks like http://bugzilla.gnome.org/show_bug.cgi?id=540779, linking the report.

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Changed in evolution:
status: Unknown → New
Sheldon Hearn (sheldonh) wrote :

Problem affects Ubuntu 8.10 on i386 also.

Sheldon Hearn (sheldonh) wrote :

Sorry, I forgot to mention the work-around on Ubuntu 8.10:

killall evolution \
    evolution-alarm-notify \
    evolution-data-server-2.24 \

Herafter, evolution can be started again.

Torvall (torvall) wrote :

After upgrading to Jaunty, I started to have hangs in both Pidgin and Evolution. The symptoms in Pidgin are slow tab switching (3+ secs) in conversation windows and more when working with the contact list. In Evolution, almost anything that involves opening new windows or popups takes more than 20 seconds. This happens a few minutes after both applications have been started.

Closing Evolution and doing a "evolution --force-shutdown" in a terminal solves the problem and both applications become usable again for a while. Apparently, Pidgin does not need to be restarted.

I only have IMAP accounts configured, plus a few calendars.

Some specs and info:
CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz
RAM: 1.5GB

torvall@terra:~$ evolution --version
GNOME evolution 2.26.1
torvall@terra:~$ pidgin --version
Pidgin 2.5.5

I hope this helps and is relevant to this particular bug.

Changed in evolution:
status: New → In Progress
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in evolution (Ubuntu):
status: Triaged → Fix Committed
affects: evolution (Ubuntu) → evolution-data-server (Ubuntu)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-data-server - 2.27.4-0ubuntu1

evolution-data-server (2.27.4-0ubuntu1) karmic; urgency=low

  * New upstream version:
    Bug Fixes:
    - #540779 - Do not call e_book_new in the main thread (lp: #265044)
    - #563668 - Do not pop-down an empty completion list
    - #586225 - Parse numeric name suffixes
    - #548702 - google calendar source does not show all events (lp: #183846)
    - #575701 - Message disappear from unread vfolder, when reply.
    - #568302 - create camel summary table if not exists on load
    - #586602 – folder messages are lost on folder rename
    - #327285 - Word "Success" in error message for failed action (lp: #175599)
    - #587699 - IMAP - Localize only Inbox folder name, no other
    - #579065 - IMAP - Synchronize remote mail locally is not working
      (lp: #331478)
    - #564388 - UI blocks for a long time when downloading mails with nntp
    - #586442 – Various build cleanups
    - #586477 – Fix quoting in configure.ac
    - #586811 – Require automake 1.9 and fix whitespace
    - #586813 – Fix iconv cflags/libs in configure.ac
    - #586809 – Enable "silent rules" automake 1.11 option
    - #587165 – Double free in initialize_categories
    - #587374 - iconv test broken on some gcc
        Other Fixes:
    Use G_BEGIN_DECLS / G_END_DECLS macros.
    Work around deprecation of g_mapped_file_free
    Silence some compiler warnings
    Fixes for windows build
    CalDav Fixes/improvements

 -- Sebastien Bacher <email address hidden> Mon, 13 Jul 2009 15:01:33 +0200

Changed in evolution-data-server (Ubuntu):
status: Fix Committed → Fix Released

On Mon, 2009-07-13 at 13:40 +0000, Launchpad Bug Tracker wrote:
> This bug was fixed in the package evolution-data-server -
> 2.27.4-0ubuntu1

Yes, which will be in what release, Karmic? But as always this does
nothing for the greatest mass of users which are all on the current
stable release, Jaunty. :-(

But fixes for the next release are always great, but they always leave
the current users swinging in the breeze.

Changed in evolution:
status: In Progress → Fix Released
Changed in evolution:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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