← Back to team overview

touch-packages team mailing list archive

[Bug 1340120] Re: Some Mir clients spin at 100% CPU if the server dies

 

There are quite a few problems to solve if you want a client to
reconnect. Either it would have to remember or just lose the surface
state information that is stored on the server.

But we don't have to consider such an enhancement yet to resolve this
bug. Just returning errors to the client and letting it close gracefully
would be enough.

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

Title:
  Some Mir clients spin at 100% CPU if the server dies

Status in Mir:
  Triaged
Status in Qt integration with the Mir display server:
  Invalid
Status in “mir” package in Ubuntu:
  New
Status in “unity-mir” package in Ubuntu:
  Invalid
Status in “unity8” package in Ubuntu:
  Invalid

Bug description:
  From time to time, some application uses 100% CPU but is not running
  in foreground (not even in the list of recent application on the
  application scope)

  For example, in the top output below gallery-app uses 100% CPU, but it
  is not 'launched' (not in recent apps)

  top - 12:09:39 up  2:41,  2 users,  load average: 1,82, 1,48, 2,31
  Tasks: 250 total,   1 running, 246 sleeping,   3 stopped,   0 zombie
  %Cpu(s):  3,1 us,  5,5 sy,  0,6 ni, 90,2 id,  0,6 wa,  0,0 hi,  0,0 si,  0,0 st
  KiB Mem:   1878580 total,  1775476 used,   103104 free,    33104 buffers
  KiB Swap:   524284 total,     2144 used,   522140 free.  1023324 cached Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
   3895 phablet   20   0  302372  96608  40712 S 117,0  5,1  22:21.13 gallery-app
  15556 phablet   20   0    5820   1088    752 R  35,6  0,1   0:00.13 top

  I attached the output of strace for the gallery-app.
  It is not specific to the gallery-app, I noticed this behavior with system-settings too.

  I didn't find any pattern to reproduce this problem reliably.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: unity8 7.90+14.10.20140709.2-0ubuntu1
  Uname: Linux 3.4.0-5-mako armv7l
  ApportVersion: 2.14.4-0ubuntu1
  Architecture: armhf
  Date: Thu Jul 10 11:56:49 2014
  InstallationDate: Installed on 2014-07-10 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140710-020204)
  SourcePackage: unity8
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1340120/+subscriptions