chromium.launcher script does not terminate on Chromium exit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The chromium.launcher process stays alive after the browser and its processes terminated
This affects the following transitional package version (that points to a snap):
$ apt-cache policy chromium-browser
chromium-browser:
Installed: 80.0.3987.
Candidate: 80.0.3987.
Version table:
*** 80.0.3987.
500 http://
100 /var/lib/
$ lsb_release -rd
Description: Ubuntu 20.04 LTS
Release: 20.04
Steps to reproduce:
1.) Ensure chromium is not running:
$ ps aux | grep chromium | grep -v grep
$
2.) Start chromium browser using the launcher
3.) Verify running processes:
$ ps aux | grep chromium | grep -v grep | awk '{print $11,$12}'
/snap/chromium/
/bin/sh/
/snap/chromium/
/snap/chromium/
/snap/chromium/
/snap/chromium/
/snap/chromium/
/snap/chromium/
/snap/chromium/
4.) Close chromium
5.) Check for lingering processes:
$ ps aux | grep chromium | grep -v grep | awk '{print $11,$12}'
/bin/sh /snap/chromium/
If you restart chromium multiple times, more launcher processes will linger around in the system.
My expectation would be that the launcher process terminates after the main chrome process is terminated.
This is being tracked in bug #1864901.