Skip to content

appimagelauncherd.service triggering memory leak in gnome-shell #301

@colinl

Description

@colinl

Running AppImageLaucher 2.1.1 on Ubuntu 19.10, installed from appimagelauncher_2.1.1-travis931.f6d5926.bionic_amd64.deb, if appimagelauncherd is running then gnome-shell exhibits a memory leak of several MB/minute, but only if the Move To directory is set to a non-standard setting.

I think that almost certainly this is related to Issue #294 which also only exhibits itself when the destination directory is changed.

See associated gnome-shell issue https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1862910

To Reproduce
Steps to reproduce the behaviour:

  1. Running Ubuntu 19.04 logged on with 'Ubuntu' session (ie gnome-shell) install AppImageLaucher from appimagelauncher_2.1.1-travis931.f6d5926.bionic_amd64.deb
  2. Run AppImageLauncher
  3. Set the Move To directory to apps/appimages under your home directory
  4. Install an AppImage (I installed Cura, but actually I don't know whether it is necessary to install one at all).
  5. Monitor the memory usage of gnome-shell in System Monitor (for example). The leak may take a few minutes to get going then it will increase until all memory is used up.
  6. Stop the daemon from running and the memory leak ceases.

Tested with both v2.1.0 and 2.1.1

I guess this is AppImageLauncher doing something unusual which then triggers the leak in gnome-shell. The clue to diagnosing may be the fact that it does not appear if the destination directory is left unspecified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds verificationDescription of the issue needs to be verified by the team

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions