Comment 0 for bug 1754244

Revision history for this message
Trent Lloyd (lathiat) wrote :

evolution-source-registry is using 100% CPU after login and never stops, it continues to do so after kill/respawn or reboot. This started sometime after upgrade to bionic and has been consistent for the last couple of weeks.

Looking at the process with perf, it seems that it is looping calling poll() via g_main_context_poll() via g_main_context_iterate in a hard loop. In strace you can also see poll being called about 10,000 times/second.

poll([{fd=3, events=POLLIN}, {fd=11, events=POLLIN}], 2, 0) = 0 (Timeout)

gdb backtrace for the main thread reflected in the attached out.svg - setting a breakpoint g_main_context_iterate is being called continually but we never exit from g_main_loop_run.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: evolution-data-server 3.27.90-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-11.12-generic 4.15.5
Uname: Linux 4.15.0-11-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Mar 8 13:28:39 2018
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/evolution/evolution-source-registry
ProcEnviron:
 LANG=en_AU.UTF-8
 LANGUAGE=en_AU:en
 PATH=(custom, user)
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
SourcePackage: evolution-data-server
UpgradeStatus: No upgrade log present (probably fresh install)