GNOME Bugzilla – Bug 637376
Evoultion periodically hangs for seconds while e-addressbook-factory uses 100%CPU
Last modified: 2011-03-31 08:00:12 UTC
While writing mails but also doing everything else, evolution hangs for a while (10 seconds more or less). top shows e-addressbook-factory using 100%CPU. After that period you can go on working, but periodically (seconds) the program hangs again. top often shows e-addressbook-factory, even when you are not using evolution, so I do not know whether the issues are related. This problem makes the application unusable. version 2.32, but also 2.30 was affected by similar behaviour, even worse (periodical random crashes on receiving mails). Gnome 2.32, gentoo linux. USE flags for gnome-extra/evolution-data-server-2.32.1 - - doc : Adds extra documentation (API, Javadoc, etc) - - gnome-keyring : Enable support for storing passwords via gnome-keyring - - ipv6 : Adds support for IP version 6 - - kerberos : Adds kerberos support - - ldap : Adds LDAP support (Lightweight Directory Access Protocol) + + ssl : Adds support for Secure Socket Layer connections - - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore + + weather : Enable optional weather calendar support. USE flags for mail-client/evolution-2.32.1: U I - - connman : Enable net-misc/connman support (requires 'networkmanager' USE flag to be disabled). + + crypt : Enable GPG encryption support using app-crypt/gnupg and app-crypt/pinentry - - doc : Adds extra documentation (API, Javadoc, etc) - - gstreamer : Adds support for media-libs/gstreamer (Streaming media) - - kerberos : Adds kerberos support - - ldap : Enable support for fetching contacts from an LDAP or Active Directory server using net-nds/openldap - - networkmanager : Allows Evolution to automagically toggle online/offline mode by talking to net-misc/networkmanager and getting the current network state - - profile : Build support for profiling Evolution for development purposes + + python : Adds support/bindings for the Python language + + ssl : Adds support for Secure Socket Layer connections Let me know if you need more info. Thanks Giacomo.
strace output welcome when this happens.
Created attachment 177469 [details] evolution strace Hi. I attach the evolution.strace output. Launched evolution, clicked on a item on the subject item list widget. top shows e-addressbook-factory 100%CPU usage while evolution hangs. Tried to close evolution. No way. Had to kill the process. Hope the trace helps solving a problem that have affected my evolution installation for more than one year, making it unusable. Many thanks Giacomo.
I'm seeing this as well under Gentoo and Evo 2.32. It's most notable when I start evolution since it apparently blocks the rendering of the mails (just telling me it's formatting the mail). Attaching strace to e-addressbook-factory just gives lots of sched_yield() = 0 Attaching gdb indicates that the gconf client blocks on dbus while trying to contact the gconf server. It's apperently also affecting the addressbook view which first shows empty books and then shows an error dialog: Unable to open address book This address book cannot be opened. Please check that the path /home/felix/.local/share/evolution/addressbook/1265194980.2103.1@localhost exists and that permissions are set to access it. Detailed error message: Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached
Backtrace of e-addressbook-factory burning CPU-cycles:
+ Trace 225445
Thread 1 (Thread 0x7fe6f8405720 (LWP 16984))
I'm suffering from exactly the same issues. Using Gentoo and evolution-2.32.2, evolution-data-server-2.32.2 For 'evolution-addressbook-export' it's the same. After some seconds waiting, it reports: // $ /usr/libexec/evolution/2.32/evolution-addressbook-export -l (evolution-addressbook-export:19297): libebook-WARNING **: e-book.c:3079: cannot activate book: Error calling StartServiceByName for org.gnome.evolution.dataserver.AddressBook: Timeout was reached (evolution-addressbook-export:19297): evolution-addressbook-tools-WARNING **: failed to open book // Are there any workarounds to export contact-data until this bug is fixed? I'm quite in a hurry to get the data in usable formats (like vCard).
Are there any news? Evolution 2.32.2-r1 is still unusable when it comes to e-addressbook factory. I have to remove /usr/libexec/e-addressbook-factory in order to be able to use the client, but, of course, no address book :( So evolution has been quite unusable since at least 2.28 in gentoo for me. Eliminating the "source" entries in gconf-editor works around the problem, but as soon as a new address book is created, e-addressbook-factory consumes 100% CPU and evolution hangs for seconds. Let me know if there's any hope to have the issue addressed and solved. Thanks in advance Giacomo.
Maybe would help if you could tell here how do you create the new addressbook, maybe it's containing something causing this problem...
Switch to "Contacts" by clicking on the "Contacts" push button on the bottom left corner of the GUI. Then, near the New button on the left, I select "Address Book" from the drop down list. CPU goes 100% as to e-addressbook-factory. Address book type is "On this computer". Giacomo.
Please change the status to CONFIRMED as there are many other users who encountered this bug as said by: http://bugs.gentoo.org/show_bug.cgi?id=354233 Including me.
Backtrace matches bug #629945, thus I'm marking this one as a duplicate. *** This bug has been marked as a duplicate of bug 629945 ***
If this is a dupe of bug 629945 and it's fixed with http://git.gnome.org/browse/glib/commit/?id=7036415cc1a32bbd9cc08e516196dbd704f8b5eb this should then be solved with glib-2.28. Have reported tried with that glib version?
(In reply to comment #11) > If this is a dupe of bug 629945 and it's fixed with > http://git.gnome.org/browse/glib/commit/?id=7036415cc1a32bbd9cc08e516196dbd704f8b5eb > this should then be solved with glib-2.28. > > Have reported tried with that glib version? Yes, I had it running with 2.28. Didn't help. I updated to Evo 2.91.92 yesterday and the problem seems to be gone since then.
I also have 2.28 and have the same problem.
I upgraded evolution to 2.91.92 and now the addressbook works.
Confirm that glib-2.28 does not solve the problem. Giacomo
Would be nice to know what commit to master fixed this as I am not sure when we will be able to have Gnome3 in main tree downstream at Gentoo :-( (Also seems clear that this is not a dupe of bug 629945 as glib-2.28 should includes referred change)