← Back to team overview

touch-packages team mailing list archive

[Bug 1326513] Re: Applications are orphaned when unity8 crashes

 

The problem is that non-foreground apps are SIGSTOPed, meaning that they
won't find out about unity8 dying until such time that they get resumed
again. Which will not happen if it crashed... So yeah, they still do get
orphaned.

I'm thinking that the whole session should be brought down and
restarted, which would cause upstart to SIGKILL all the suspended apps.
Otherwise we'd need to try and tell upstart to kill them one by one...
but we're in the process of crashing, so it's not like this would ever
be reliable, would it?

** Changed in: unity8 (Ubuntu)
       Status: Expired => Triaged

** Changed in: unity8 (Ubuntu)
   Importance: Undecided => Medium

** Changed in: qtmir
       Status: Expired => Triaged

** Changed in: qtmir
   Importance: Undecided => Medium

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

Title:
  Applications are orphaned when unity8 crashes

Status in Mir:
  Expired
Status in Qt integration with the Mir display server:
  Triaged
Status in “unity8” package in Ubuntu:
  Triaged

Bug description:
  For some reason Unity8 crashed on me. The applications I had open are
  now orphaned. They're still running but you can't get to it as it no
  longer shows up under the recent applications. In addition if I
  attempt to start the app, it fails to run or come back from orphaned
  state, so I have to restart.

  My unity process where Unity8 died an hour or two back.

  lightdm   1871  0.0  0.0   1392   464 ?        Ss   10:06   0:00 /bin/sh /usr/lib/lightdm/lightdm-greeter-session /usr/bin/unity8-greeter-wrapper /usr/bin/unity8-greeter
  lightdm   1875  0.0  0.0   1392   472 ?        S    10:06   0:00 /bin/sh /usr/bin/unity8-greeter-wrapper /usr/bin/unity8-greeter
  lightdm   2362  0.2  5.0 343724 95000 ?        Sl   10:06   1:47 /usr/bin/unity8-greeter
  phablet  22852  0.4  5.6 452692 105852 ?       Ssl  19:03   0:34 unity8

  The application:-

  phablet   8503 10.3  8.6 297792 161652 ?       Ssl  11:33  59:33
  /usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene ubuntu-calculator-
  app.qml

  Now when I start calculator it just white-screens.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: unity8 7.87+14.10.20140603.1-0ubuntu1
  Uname: Linux 3.4.0-5-mako armv7l
  ApportVersion: 2.14.3-0ubuntu1
  Architecture: armhf
  Date: Wed Jun  4 21:04:34 2014
  InstallationDate: Installed on 2014-06-04 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140604)
  SourcePackage: unity8
  UpgradeStatus: No upgrade log present (probably fresh install)

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