[Touch-packages] [Bug 1351444] Re: SessionSwitcher can remove valid sessions from its map since it only checks the name

2014-08-14 Thread Alberto Aguirre
** Changed in: unity-system-compositor
   Status: In Progress = Fix Released

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

Title:
  SessionSwitcher can remove valid sessions from its map since it only
  checks the name

Status in Unity System Compositor:
  Fix Released
Status in “unity-system-compositor” package in Ubuntu:
  Fix Released

Bug description:
  SessionSwitcher can remove valid sessions from its map since it only
  checks the name.

  Normally that's ok, except when a session crashes. What can happen is

  Session A with name session-0 starts, SessionSwitcher registers session-0 
in its internal map.
  At some point this client crashes but it's process has not been killed yet 
maybe because apport is collecting data so the mir session on the server side 
is still alive.

  Session B with name also session-0 starts up and registers with 
SessionSwitcher.
  SessionSwitcher replaces the entry associated with name session-0 in its 
map with the new session pointer.

  Apport finishes up collecting data so the process is now killed. Mir closes 
SessionA as the process has exited.
  SessionSwitcher is told to remove session name session-0, which is 
associated with Sesssion B now (because it does not check the session pointer) 
so SessionSwitcher decides to show the spinner since the active session has 
been closed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-system-compositor/+bug/1351444/+subscriptions

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


[Touch-packages] [Bug 1351444] Re: SessionSwitcher can remove valid sessions from its map since it only checks the name

2014-08-04 Thread Launchpad Bug Tracker
This bug was fixed in the package unity-system-compositor -
0.0.4+14.10.20140804-0ubuntu1

---
unity-system-compositor (0.0.4+14.10.20140804-0ubuntu1) utopic; urgency=low

  [ Alberto Aguirre ]
  * SessionSwitcher: check if a session is being tracked before
attempting to remove it (LP: #1351444)
 -- Ubuntu daily release ps-jenk...@lists.canonical.com   Mon, 04 Aug 2014 
15:50:56 +

** Changed in: unity-system-compositor (Ubuntu)
   Status: New = Fix Released

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

Title:
  SessionSwitcher can remove valid sessions from its map since it only
  checks the name

Status in Unity System Compositor:
  In Progress
Status in “unity-system-compositor” package in Ubuntu:
  Fix Released

Bug description:
  SessionSwitcher can remove valid sessions from its map since it only
  checks the name.

  Normally that's ok, except when a session crashes. What can happen is

  Session A with name session-0 starts, SessionSwitcher registers session-0 
in its internal map.
  At some point this client crashes but it's process has not been killed yet 
maybe because apport is collecting data so the mir session on the server side 
is still alive.

  Session B with name also session-0 starts up and registers with 
SessionSwitcher.
  SessionSwitcher replaces the entry associated with name session-0 in its 
map with the new session pointer.

  Apport finishes up collecting data so the process is now killed. Mir closes 
SessionA as the process has exited.
  SessionSwitcher is told to remove session name session-0, which is 
associated with Sesssion B now (because it does not check the session pointer) 
so SessionSwitcher decides to show the spinner since the active session has 
been closed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-system-compositor/+bug/1351444/+subscriptions

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


[Touch-packages] [Bug 1351444] Re: SessionSwitcher can remove valid sessions from its map since it only checks the name

2014-08-04 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/unity-system-compositor

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

Title:
  SessionSwitcher can remove valid sessions from its map since it only
  checks the name

Status in Unity System Compositor:
  In Progress
Status in “unity-system-compositor” package in Ubuntu:
  Fix Released

Bug description:
  SessionSwitcher can remove valid sessions from its map since it only
  checks the name.

  Normally that's ok, except when a session crashes. What can happen is

  Session A with name session-0 starts, SessionSwitcher registers session-0 
in its internal map.
  At some point this client crashes but it's process has not been killed yet 
maybe because apport is collecting data so the mir session on the server side 
is still alive.

  Session B with name also session-0 starts up and registers with 
SessionSwitcher.
  SessionSwitcher replaces the entry associated with name session-0 in its 
map with the new session pointer.

  Apport finishes up collecting data so the process is now killed. Mir closes 
SessionA as the process has exited.
  SessionSwitcher is told to remove session name session-0, which is 
associated with Sesssion B now (because it does not check the session pointer) 
so SessionSwitcher decides to show the spinner since the active session has 
been closed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-system-compositor/+bug/1351444/+subscriptions

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