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 563563 - e-d-s deadlock leads to evolution hanging while formatting
e-d-s deadlock leads to evolution hanging while formatting
Status: RESOLVED INCOMPLETE
Product: evolution-data-server
Classification: Platform
Component: Contacts
2.22.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: Evolution Triage Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-12-07 15:01 UTC by Johannes Berg
Modified: 2010-03-25 17:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Johannes Berg 2008-12-07 15:01:43 UTC
occasionally, after a long time of using evolution, it will hang when formatting a message ("Formatting message ..." status), never show a message and I then need to evolution --force-shutdown to get it working again.


Distribution: Debian 5.0
Gnome Release: 2.22.3 2008-09-18 (Debian)
BugBuddy Version: 2.22.0
Comment 1 Johannes Berg 2008-12-09 11:18:04 UTC
It seems e-d-s is to blame, when this happens it's deadlocked:

  • #0 __lll_lock_wait
    from /lib/libpthread.so.0
  • #1 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #2 e_book_backend_remove_client
    from /usr/lib/libedata-book-1.2.so.2
  • #3 ??
    from /usr/lib/libedata-book-1.2.so.2
  • #4 ??
    from /usr/lib/libORBit-2.so.0
  • #5 ??
    from /usr/lib/libORBit-2.so.0
  • #6 link_connection_try_reconnect
    from /usr/lib/libORBit-2.so.0
  • #7 giop_connection_try_reconnect
    from /usr/lib/libORBit-2.so.0
  • #8 ??
    from /usr/lib/libORBit-2.so.0
  • #9 ORBit_object_get_connection
    from /usr/lib/libORBit-2.so.0
  • #10 ORBit_small_invoke_stub
    from /usr/lib/libORBit-2.so.0
  • #11 ORBit_small_invoke_stub_n
    from /usr/lib/libORBit-2.so.0
  • #12 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #13 GNOME_Evolution_Addressbook_BookListener_notifyWritable
    from /usr/lib/libedata-book-1.2.so.2
  • #14 e_data_book_report_writable
    from /usr/lib/libedata-book-1.2.so.2
  • #15 e_book_backend_notify_writable
    from /usr/lib/libedata-book-1.2.so.2
  • #16 ??
    from /usr/lib/evolution-data-server-1.2/extensions/libebookbackendfile.so
  • #17 e_book_backend_set_mode
    from /usr/lib/libedata-book-1.2.so.2
  • #18 ??
    from /usr/lib/libedata-book-1.2.so.2
  • #19 IA__g_hash_table_foreach
    at /build/buildd/glib2.0-2.16.6/glib/ghash.c line 1076
  • #20 e_data_book_factory_set_backend_mode
    from /usr/lib/libedata-book-1.2.so.2
  • #21 ??
  • #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 /build/buildd/glib2.0-2.16.6/glib/gmain.c line 4090
  • #27 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.16.6/glib/gmain.c line 2012
  • #28 g_main_context_iterate
  • #29 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.16.6/glib/gmain.c line 2853
  • #30 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #31 ??
  • #32 generic_start_main
    from /lib/libc.so.6
  • #33 __libc_start_main
    from /lib/libc.so.6
  • #34 ??


killing just e-d-s solves the problem.
Comment 2 Akhil Laddha 2008-12-30 13:42:16 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot
to solve the problem, so it will be hard for the developers to fix that crash.
Could you please install some debugging packages [1], start the application as
normal, and reproduce the crash, if possible?

Once bug-buddy pops up, you can find the stacktrace in the Details, now
containing way more information. Please copy that stacktrace and paste it as a
comment here. Thanks in advance!

[1] debugging packages for evolution, evolution-data-server, evolution-exchange, gtkhtml, gtk, glib, libsoup, gnome-vfs, libgnome, orbit2 and libgnomeui (as far as those packages are provided by your distribution). More details can be found here:
http://live.gnome.org/GettingTraces

Comment 3 Johannes Berg 2009-01-02 15:24:41 UTC
I did install them now, but I have a new laptop where suspend is broken, so I can't seem to reproduce the problem right now.

Bit odd that #2 has a symbol but #3 doesn't, same with 6/7 and 4/5, any ideas?
Comment 4 Johannes Berg 2009-01-05 18:44:16 UTC
Just came across it again, this time with hopefully more info

  • #0 __lll_lock_wait
    from /lib/libpthread.so.0
  • #1 _L_lock_102
    from /lib/libpthread.so.0
  • #2 pthread_mutex_lock
    from /lib/libpthread.so.0
  • #3 e_book_backend_remove_client
    at e-book-backend.c line 598
  • #4 link_connection_emit_broken
    at linc-connection.c line 146
  • #5 dispatch_callbacks_drop_lock
    at linc-connection.c line 273
  • #6 link_connection_try_reconnect
    at linc-connection.c line 738
  • #7 ORBit_try_connection_T
    at corba-object.c line 276
  • #8 ORBit_object_get_connection
    at corba-object.c line 325
  • #9 ORBit_small_invoke_stub
    at orbit-small.c line 634
  • #10 GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus
    at Evolution-DataServer-Addressbook-stubs.c line 316
  • #11 e_data_book_report_connection_status
    at e-data-book.c line 849
  • #12 e_book_backend_notify_connection_status
    at e-book-backend.c line 1003
  • #13 g_hash_table_foreach
    from /usr/lib/libglib-2.0.so.0
  • #14 e_data_book_factory_set_backend_mode
    at e-data-book-factory.c line 482
  • #15 gconf_listeners_notify
    from /usr/lib/libgconf-2.so.4
  • #16 ??
    from /usr/lib/libgconf-2.so.4
  • #17 ??
    from /usr/lib/libgconf-2.so.4
  • #18 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #19 ??
    from /usr/lib/libglib-2.0.so.0
  • #20 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #21 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #22 main
    at server.c line 418

Comment 5 Akhil Laddha 2009-09-02 08:57:11 UTC
Could you please confirm if this bug is still happening at your end ? Please try in 2.24.x / 2.26.x and report back. 

Again thank you for reporting this bug and we are sorry it could not be fixed
for the version you originally used here.

Without feedback this report will be closed as INCOMPLETE in 6 weeks.

And please paste full traces instead of a thread. 
see http://live.gnome.org/GettingTraces/Details#gdb-not-yet-running for details
about how to do this
Comment 6 Tobias Mueller 2010-03-25 17:40:01 UTC
sadly closing as INCOMPLETE :'(