gnome-shell leaking memory when a customized AppImageLauncher is running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
Edited description:
To replicate the problem (on Ubuntu 19.10 running Ubuntu Gnome)
1. Install AppImageLauncher from https:/
sudo apt install -f
to fix missing dependencies.
2. Run it and change the appimage destination location to ~/apps/appimages. It is necessary to change it away from the default setting in order for the problem to appear, though probably the actual destination is not important). Ensure that Auto start auto-integration daemon is selected.
3. Download an appimage (I downloaded Cura 4.4.1 from https:/
4. Open it with appimagelauncher (this can be done by double clicking it in nautilus) and tell it to move it and run the application. Then close the application.
5. It may be necessary to reboot at this point I don't know.
6. Logon using Ubuntu (Gnome) and watch the memory usage of gnome-shell. It may take a few minutes to get going but then the memory used will start increasing at several MB/minute.
There is an issue open against appimage launcher which is likely the same problem. https:/
Original description:
On one of my machines which has been upgraded over several years and
is now running 19.10 just one of the configured users appears to be
seeing a dramatic memory leak in gnome-shell, even when nothing is
happening on the UI. Immediately after logging on, using the Ubuntu
selection from the logon screen, gnome shell shows as using about
134MB. From there it climbs at about 300MB per hour and after a few
hours the machine grinds to a crawl, not surprisingly. This happens
even if the user logs on and then the machine is left completely
alone. Logout and back in frees all the memory.
A test user I have configured sees no such problem.
I have uninstalled all extensions apart from the system ones, disabled
all the system ones and reset all the gnome settings using dconf reset
-f /org/gnome/ to no avail. Also I have removed
~/.local/
Also I have removed .compiz, .config/dconf/user, .gconf, .gnome, .gnome2.
I can't see anything obvious in the log.
It must be something in my settings that is triggering it as the other
user does not see it, but I have run out of ideas on what to try.
See also bug #1856516
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: gnome-shell 3.34.1+
ProcVersionSign
Uname: Linux 5.3.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Feb 12 08:54:21 2020
DisplayManager: gdm3
InstallationDate: Installed on 2014-10-21 (1939 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20141017)
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to eoan on 2020-01-27 (15 days ago)
summary: |
- gnome-shell leaking memory + gnome-shell leaking memory in interaction with appimagelauncher |
no longer affects: | appimagelauncher |
tags: |
added: gnome-shell-leak removed: leak |
I would like to understand if there's something about your system triggering these leaks that most of us don't encounter.
Please:
1. Take a screenshot of your whole Ubuntu desktop (all monitors) that is experiencing the problem and attach it here.
2. Try setting this to false:
b'org. gnome.desktop. interface' b'clock- show-seconds' b'true'
and run the leak test again.
3. Try disabling ALL Ubuntu extensions, or just try a raw GNOME session which should be the same:
sudo apt install gnome-session
and choose GNOME on the login screen.