← Back to team overview

touch-packages team mailing list archive

[Bug 1470750] Re: scoperegistry uses 45% CPU after applying updates from the store, draining battery quickly

 

When using strace against scoperegistry in this state, the output gets
*flooded* with the following until I interrupt strace:

[pid 10491] futex(0x443a14, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 10491] futex(0x443a3c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 244392527, {633437444, 854775807}, ffffffff) = -1 ETIMEDOUT (Connection timed out)

Now, googling for it reveals several problems like this (for various
programs) caused by the leap second (it so happens that leap seconds
were added on Jun 30/Jul 1 this year). Could this be the issue?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1470750

Title:
  scoperegistry uses 45% CPU after applying updates from the store,
  draining battery quickly

Status in the base for Ubuntu mobile products:
  Confirmed
Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  current build number: 44
  device name: arale
  channel: ubuntu-touch/rc-proposed/meizu.en
  last update: 2015-07-02 07:10:44
  version version: 44
  version ubuntu: 20150702
  version device: 20150608-6e66f3c
  version custom: 20150602-731-5-32

  Suddenly this morning, the battery started discharging very quickly,
  'top' revealed that scoperegistry was using around 45% CPU steadily.

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
   2207 phablet   20   0  377996   9576   6200 S  46,0  0,5  67:34.54 scoperegistry

  Around the same time that the battery started dropping, I applied all the updates from the store, in the list of apps to update were:
  - Terminal
  - BBC Sport
  - BBC
  - Euronews
  - Engadget
  - Cnet

  I pressed 'Update all' and waited until it's done then closed system-
  settings.

  There is no crash file corresponding to this event.

  I reproduced it on ubuntu-touch/rc-proposed/bq-aquaris.en/krillin #55

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470750/+subscriptions


References