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 518524 - E-D-S loops after gnome login (after a fresh reboot)
E-D-S loops after gnome login (after a fresh reboot)
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Calendar
2.22.x (obsolete)
Other Linux
: High critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2008-02-25 02:10 UTC by C de-Avillez
Modified: 2010-01-09 20:52 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
gdb output of such a loop (17.77 KB, text/plain)
2008-02-25 02:12 UTC, C de-Avillez
Details

Description C de-Avillez 2008-02-25 02:10:50 UTC
Ubuntu original bug: https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/151536

This one has been bothering me for a while now. Users report that, after rebooting the system and logging in Gnome, CPU utilisation was steady at 100%. Looking aroung, they see E-D-S eating up all CPU.

Since the original report, we have been trying to get a nice stacktrace and additional data. A query I put to #evolution had a suggestion of network issues (specifically the network not being yet available after a fresh reboot and login); I have been unable to verify it.

Finally, yesterday we were able to get a nice bt & a strace output. From the bt and the strace I have the feeling that this is very early in e-d-s init, and that poll() is returning very fast with timeouts.

But, then, I am not a glib programmer, and I am not sure what this means, if anything at all.

So... for you, folks. I will attach the bt and strace.
Comment 1 C de-Avillez 2008-02-25 02:12:54 UTC
Created attachment 105886 [details]
gdb output of such a loop
Comment 2 C de-Avillez 2008-02-25 02:24:42 UTC
strace output is available at http://launchpadlibrarian.net/12175013/strace-eds.log
Comment 3 C de-Avillez 2008-02-25 11:50:33 UTC
Given the number of hits we are getting (and the fact that, when this happens, the system gets sort of slow), is there any chances of having this looked at before 2.22?
Comment 4 C de-Avillez 2008-02-25 14:13:36 UTC
chatted with mchra on #evolution. We still do not know what might be causing the loop, so we will ask the reporters to get a backtrace of both e-d-s and evolution-alarm-notify.

Hum. Just in case, I will also ask for an 'ifconfig -a'.
Comment 5 Matthew Barnes 2008-03-11 00:35:09 UTC
Bumping version to a stable release.
Comment 6 C de-Avillez 2008-04-13 09:19:42 UTC
backtraces (lots of them) are available on the ubuntu bug (https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/151536).

More and more Ubuntu users are joining in a "me too"... help is appreciated.
Comment 7 C de-Avillez 2008-04-13 16:25:24 UTC
Whatever causes it... when evolution-alarm-notify is killed, then e-d-s stops looping. This sounds like a resource contention issue, driven by e-a-n.

We should have a e-a-n backtrace in a few. I still find it weird that nobody else has experienced it except on Ubuntu hardy.
Comment 8 C de-Avillez 2008-04-13 17:28:03 UTC
bt for e-a-n. Seems to be simply waiting


Comment 9 C de-Avillez 2008-04-13 19:47:53 UTC
further tests downstream show that killing e-a-n also causes e-d-s to die.
Comment 10 André Klapper 2008-04-14 07:17:45 UTC
i have run into this issue several times but haven't found a pattern so far. top shows e-a-n eating all of my cpu and evolution never finishes to display my folders. this goes on for minutes until processes die.
Comment 11 Lucian Adrian Grijincu 2008-04-28 04:27:45 UTC
Thread #3 seems to be in an infinite loop inside

  • #0 IA__g_hash_table_lookup
    at /build/buildd/glib2.0-2.16.3/glib/ghash.c line 141
  • #1 IA__g_scanner_lookup_symbol
    at /build/buildd/glib2.0-2.16.3/glib/gscanner.c line 394
I couldn't "step" any of the other threads because they're all blocked in a syscall (poll).

I repeatedly attached/detached from e-d-s and only got this behavior (thread #3 infinitely looping, the other 3 threads blocked).

I've run oprofile on my system and this is the (relevant) output:
$ opreport --symbols --image-path=/lib/modules/2.6.24-16-generic/
6759333 48.9573 libglib-2.0.so.0.1600.3 libglib-2.0.so.0.1600.3 g_hash_table_lookup
5424338 39.2880 libglib-2.0.so.0.1600.3 evolution-data-server-2.22 g_hash_table_lookup
Comment 12 Milan Crha 2009-11-24 13:19:05 UTC
I see no (relevant) update on the downstream Ubuntu bug since 2008-04-13, neither any duplicates here for more than 18 months. What is the actual state of this, please?
Comment 13 Tobias Mueller 2010-01-09 20:52:30 UTC
I simply assume that this is OBSOLETE by now. If this still occurs, please reopen.