** Description changed: Binary package hint: evolution-data-server - On login evolution-data-server uses 100% cpu. This is gutsy with all - updates (upgraded from feisty). + <PLEASE> -- do not add simple "me too" comments, they do not help: we + already *know* this is a problem, and these comments only make it more + difficult to find potentially important data in the bug. If you have the + knowledge and time to help debug, your help *is* appreciated. Go to + #ubuntu-bugs in irc.freenode.net, and discuss it there. I am sure that + any one of us will be more than happy to get on with this ;-)</PLEASE> - $ ps ax |grep evolution-data-server - 6522 ? RNl 8:45 /usr/lib/evolution/evolution-data-server-1.12 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServer_CalFactory:1.2 --oaf-ior-fd=24 + On login evolution-data-server uses 100% cpu. At login evolution-alarm- + notify is auto-started by gnome-session; e-a-n kicks in E-D-S and, for + yet an unknown reason, E-D-S enters a loop. strace on E-D-S shows a + sequence of very fast poll() calls; a strace on e-a-n shows e-a-n + waiting for an event. This seems to happen on some machines, but not + all. It affects both Evolution users and non-users -- E-D-S is still + installed under Gnome even if you do not use the Evolution mail client. - $ strace -p 6522 - poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN|POLLPRI}], 2, 0) = 0 - poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN|POLLPRI}], 2, 0) = 0 - ... + All symptoms are of a race condition, very early in E-D-S or a library + startup. Backtraces are inconclusive, and show slightly different code + paths. I cannot reproduce it on my machine (an AMD64 dual-core), no + matter what I try. - $ ls -l /proc/6522/fd - ... - l-wx------ 1 egon egon 64 2007-10-11 11:42 4 -> pipe:[20797] - lr-x------ 1 egon egon 64 2007-10-11 11:42 5 -> pipe:[20798] - l-wx------ 1 egon egon 64 2007-10-11 11:42 6 -> pipe:[20798] - ... + I would like to know what Linux and hardware architecture, and how many + CPUs for those that are *frequently* hit (for example, {linux64, AMD64, + 2 CPUs}, meaning I am running linux64 on an AMD64 with two CPUs; + {linux32, AMD64, 4 CPUs}, meaning I am running linux32 Intel on an AMD64 + with 4 CPUs). - $ sudo lsof |grep 20798 - evolution 6522 egon 5r FIFO 0,6 20798 pipe - evolution 6522 egon 6w FIFO 0,6 20798 pipe - - $ ltrace -p 6522 - --- SIGSTOP (Stopped (signal)) --- - --- SIGSTOP (Stopped (signal)) --- - (nothing more) - - $ gdb -p 6522 - (gdb) where - #0 0xb7775c8c in pthread_mutex_unlock () - from /lib/tls/i686/cmov/libpthread.so.0 - #1 0xb77f5909 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 - #2 0xb7956d13 in bonobo_main () from /usr/lib/libbonobo-2.so.0 - #3 0x0804b964 in ?? () - #4 0x0804c3ab in ?? () - #5 0x00000020 in ?? () - #6 0x0804c4c7 in ?? () - #7 0x00000000 in ?? () - (gdb) - - Let me know if you need more information. - - Cheers, - Michael + Right now we are considering this as a race very early on session + startup, perhaps caused by the current placement of e-a-n on the default + session list (with the default priority of 50). I myself still cannot + reproduce it, and I wonder if having a dual-CPU machine, and/or linux64, + and/or AMD64, makes the race more difficult to happen.
-- [MASTER] E-D-S hangs on login and uses 100% cpu https://bugs.launchpad.net/bugs/151536 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs