Unity daemon processes left after logout

Bug #1086960 reported by Øyvind Stegard
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Unity
New
Undecided
Unassigned

Bug Description

Certain Unity service processes (lenses, daemons) are not killed after logging out of a session.

Steps to reproduce:
1. Create fresh standard test user.
2. Log in, use dash at least once (search for something), log out. Repeat a few times.
3. Finally logout, then hit Ctrl+Alt+1 to enter VC.
4. $ ps -u TESTUSER -f

Observe that many of the same processes have accumulated from each login/logout cycle. They are not properly ended/killed on session exit.

Example ps output after having completed the above procedure:
$ ps -u ut -f
UID PID PPID C STIME TTY TIME CMD
ut 16330 1 0 20:17 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.16 /org/gtk/gvfs/exec_spaw/0
ut 16438 1 0 20:17 ? 00:00:00 /usr/lib/evolution/evolution-calendar-factory
ut 16837 1 0 20:17 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
ut 17107 1 0 20:18 ? 00:00:00 /usr/lib/unity-lens-applications/unity-applications-daemon
ut 17109 1 0 20:18 ? 00:00:00 /usr/lib/unity-lens-files/unity-files-daemon
ut 17113 1 0 20:18 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity-music-daemon
ut 17118 1 0 20:18 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity-shopping-daemon
ut 17617 1 0 20:19 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
ut 17792 1 0 20:19 ? 00:00:00 /usr/lib/unity-lens-applications/unity-applications-daemon
ut 17794 1 0 20:19 ? 00:00:00 /usr/lib/unity-lens-files/unity-files-daemon
ut 17798 1 0 20:19 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity-music-daemon
ut 17806 1 0 20:19 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity-shopping-daemon
ut 18363 1 0 20:19 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
ut 28246 1 0 20:30 ? 00:00:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.7 /org/gtk/gvfs/exec_spaw/0
ut 28445 1 0 20:30 ? 00:00:00 /usr/lib/unity-lens-applications/unity-applications-daemon
ut 28447 1 0 20:30 ? 00:00:00 /usr/lib/unity-lens-files/unity-files-daemon
ut 28454 1 0 20:30 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity-shopping-daemon
ut 28456 1 0 20:30 ? 00:00:00 /usr/lib/x86_64-linux-gnu/unity-music-daemon

There are multiple stale instances of unity-files-daemon, unity-shopping-daemon, unity-applications-daemon and unity-music-daemon. (There are also gvfsd-trash processes which are not ended properly, but that's for another bug report.)

These processes looks truly stale and never seem to time out or get reused if the same user logs back in.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: unity 6.12.0+bzr2799sruubuntu0+806 [origin: LP-PPA-unity-team-sru]
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.6.1-0ubuntu9
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CrashDB: unity
Date: Wed Dec 5 20:24:54 2012
InstallationDate: Installed on 2012-05-28 (191 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: unity
UpgradeStatus: Upgraded to quantal on 2012-12-04 (1 days ago)

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :
summary: - Unity daemon procs left after logout
+ Unity daemon processes left after logout
Revision history for this message
Isaac Potoczny-Jones (isaac-jones) wrote :
Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Yes, this is most likely a dupe of bug 1072508, thanks Isaac. I'll mark as such when Launchpad will let me. Currently it times out.

Revision history for this message
Øyvind Stegard (oyvindstegard) wrote :

Something seems to be wrong with Launchpad, as timeout always occurs when trying to set duplicate status.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.