Public bug reported:

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.

(gdb) bt
#0  0x00007f6e1ce30150 in g_main_context_iterate (context=0x55ca494d18c0, 
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../../glib/gmain.c:3840
#1  0x00007f6e1ce30662 in g_main_loop_run (loop=0x55ca4949f580) at 
../../../../glib/gmain.c:4099
#2  0x00007f6e1df22710 in dbus_server_run_server (server=0x55ca494df1a0 
[ESourceRegistryServer]) at ./src/libebackend/e-dbus-server.c:247
#3  0x00007f6e19502dae in ffi_call_unix64 () at 
/usr/lib/x86_64-linux-gnu/libffi.so.6
#4  0x00007f6e1950271f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#5  0x00007f6e1d10ab4d in g_cclosure_marshal_generic_va 
(closure=0x55ca494d8ab0, return_value=0x7ffd34330e10, instance=<optimized out>, 
args_list=<optimized out>, marshal_data=<optimized out>, n_params=0, 
param_types=0x0) at ../../../../gobject/gclosure.c:1604
#6  0x00007f6e1d10a1a6 in _g_closure_invoke_va (closure=0x55ca494d8ab0, 
return_value=0x7ffd34330e10, instance=0x55ca494df1a0, args=0x7ffd34330ec0, 
n_params=0, param_types=0x0) at ../../../../gobject/gclosure.c:867
#7  0x00007f6e1d1256df in g_signal_emit_valist (instance=0x55ca494df1a0, 
signal_id=<optimized out>, detail=<optimized out>, 
var_args=var_args@entry=0x7ffd34330ec0)
    at ../../../../gobject/gsignal.c:3300
#8  0x00007f6e1d125e0f in g_signal_emit 
(instance=instance@entry=0x55ca494df1a0, signal_id=<optimized out>, 
detail=detail@entry=0) at ../../../../gobject/gsignal.c:3447
#9  0x00007f6e1df22a1d in e_dbus_server_run (server=0x55ca494df1a0 
[ESourceRegistryServer], wait_for_client=0) at 
./src/libebackend/e-dbus-server.c:441
#10 0x000055ca473cec0c in main (argc=<optimized out>, argv=<optimized out>) at 
./src/services/evolution-source-registry/evolution-source-registry.c:233


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)

** Affects: evolution-data-server (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic third-party-packages

** Description changed:

  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.
  
+ (gdb) bt
+ #0  0x00007f6e1ce30150 in g_main_context_iterate (context=0x55ca494d18c0, 
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
+     at ../../../../glib/gmain.c:3840
+ #1  0x00007f6e1ce30662 in g_main_loop_run (loop=0x55ca4949f580) at 
../../../../glib/gmain.c:4099
+ #2  0x00007f6e1df22710 in dbus_server_run_server (server=0x55ca494df1a0 
[ESourceRegistryServer]) at ./src/libebackend/e-dbus-server.c:247
+ #3  0x00007f6e19502dae in ffi_call_unix64 () at 
/usr/lib/x86_64-linux-gnu/libffi.so.6
+ #4  0x00007f6e1950271f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
+ #5  0x00007f6e1d10ab4d in g_cclosure_marshal_generic_va 
(closure=0x55ca494d8ab0, return_value=0x7ffd34330e10, instance=<optimized out>, 
args_list=<optimized out>, marshal_data=<optimized out>, n_params=0, 
param_types=0x0) at ../../../../gobject/gclosure.c:1604
+ #6  0x00007f6e1d10a1a6 in _g_closure_invoke_va (closure=0x55ca494d8ab0, 
return_value=0x7ffd34330e10, instance=0x55ca494df1a0, args=0x7ffd34330ec0, 
n_params=0, param_types=0x0) at ../../../../gobject/gclosure.c:867
+ #7  0x00007f6e1d1256df in g_signal_emit_valist (instance=0x55ca494df1a0, 
signal_id=<optimized out>, detail=<optimized out>, 
var_args=var_args@entry=0x7ffd34330ec0)
+     at ../../../../gobject/gsignal.c:3300
+ #8  0x00007f6e1d125e0f in g_signal_emit 
(instance=instance@entry=0x55ca494df1a0, signal_id=<optimized out>, 
detail=detail@entry=0) at ../../../../gobject/gsignal.c:3447
+ #9  0x00007f6e1df22a1d in e_dbus_server_run (server=0x55ca494df1a0 
[ESourceRegistryServer], wait_for_client=0) at 
./src/libebackend/e-dbus-server.c:441
+ #10 0x000055ca473cec0c in main (argc=<optimized out>, argv=<optimized out>) 
at ./src/services/evolution-source-registry/evolution-source-registry.c:233
+ 
+ 
  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>
+  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)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evolution-data-server in Ubuntu.
https://bugs.launchpad.net/bugs/1754244

Title:
  [bionic] evolution-source-registry always using 100% cpu

Status in evolution-data-server package in Ubuntu:
  New

Bug description:
  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.

  (gdb) bt
  #0  0x00007f6e1ce30150 in g_main_context_iterate (context=0x55ca494d18c0, 
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
      at ../../../../glib/gmain.c:3840
  #1  0x00007f6e1ce30662 in g_main_loop_run (loop=0x55ca4949f580) at 
../../../../glib/gmain.c:4099
  #2  0x00007f6e1df22710 in dbus_server_run_server (server=0x55ca494df1a0 
[ESourceRegistryServer]) at ./src/libebackend/e-dbus-server.c:247
  #3  0x00007f6e19502dae in ffi_call_unix64 () at 
/usr/lib/x86_64-linux-gnu/libffi.so.6
  #4  0x00007f6e1950271f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
  #5  0x00007f6e1d10ab4d in g_cclosure_marshal_generic_va 
(closure=0x55ca494d8ab0, return_value=0x7ffd34330e10, instance=<optimized out>, 
args_list=<optimized out>, marshal_data=<optimized out>, n_params=0, 
param_types=0x0) at ../../../../gobject/gclosure.c:1604
  #6  0x00007f6e1d10a1a6 in _g_closure_invoke_va (closure=0x55ca494d8ab0, 
return_value=0x7ffd34330e10, instance=0x55ca494df1a0, args=0x7ffd34330ec0, 
n_params=0, param_types=0x0) at ../../../../gobject/gclosure.c:867
  #7  0x00007f6e1d1256df in g_signal_emit_valist (instance=0x55ca494df1a0, 
signal_id=<optimized out>, detail=<optimized out>, 
var_args=var_args@entry=0x7ffd34330ec0)
      at ../../../../gobject/gsignal.c:3300
  #8  0x00007f6e1d125e0f in g_signal_emit 
(instance=instance@entry=0x55ca494df1a0, signal_id=<optimized out>, 
detail=detail@entry=0) at ../../../../gobject/gsignal.c:3447
  #9  0x00007f6e1df22a1d in e_dbus_server_run (server=0x55ca494df1a0 
[ESourceRegistryServer], wait_for_client=0) at 
./src/libebackend/e-dbus-server.c:441
  #10 0x000055ca473cec0c in main (argc=<optimized out>, argv=<optimized out>) 
at ./src/services/evolution-source-registry/evolution-source-registry.c:233


  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/1754244/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to