Memory leak in Ubuntu

Bug #1030818 reported by Vadim Mirgorod
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Glipper
Expired
Undecided
Unassigned

Bug Description

There is a memory leak in Ubuntu 12.04 and glipper ver. 2.3-1.

See https://twitter.com/dealancer/status/229893685523922945/photo/1.

Revision history for this message
Stanislav Demchenko (sdemchenko) wrote :

I have been running the latest Glipper for weeks without any reboots and memory leaks.
Can you provide steps to reproduce the leak?
Also, specify please which desktop environment you are using and any other relevant details which might help to reproduce it.

Changed in glipper:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Glipper because there has been no activity for 60 days.]

Changed in glipper:
status: Incomplete → Expired
Revision history for this message
jezozwierzak (jezozwierzak) wrote :

I had some memory issue with glipper 2.3-1 too.
How to reproduce the leak? I don't know. Sometimes I see in htop that glipper use to much memory. Then I have to restart it.
I can't get into preferences and about or plugins sections then. Although it doesn't disturb to use clipboard manager function.

Here you can see my pmap:
http://pastebin.com/9v3dEqG6

If you need any more information just mail me.

Revision history for this message
Mikko Rantalainen (mira) wrote :

I can easily reproduce huge memory leaks.

$ apt-cache policy glipper
glipper:
  Installed: 2.4-6
  Candidate: 2.4-6
  Version table:
 *** 2.4-6 500
        500 http://fi.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        500 http://fi.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
        100 /var/lib/dpkg/status

I'm using Cinnamon as my desktop in case it makes a difference.

$ apt-cache policy cinnamon
cinnamon:
  Installed: 3.0.5-1~xenial0
  Candidate: 3.0.6-1~xenial0
  Version table:
     3.0.6-1~xenial0 500
        500 http://ppa.launchpad.net/embrosyn/cinnamon/ubuntu xenial/main amd64 Packages
 *** 3.0.5-1~xenial0 100
        100 /var/lib/dpkg/status
     2.8.6-1ubuntu1 500
        500 http://fi.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

I have limited the "Number of items in history" setting to 15.

Using the tool from https://raw.githubusercontent.com/pixelb/ps_mem/master/ps_mem.py my current real Glipper memory use is

$ sudo python ps_mem.py --swap -p $(pgrep glipper)
 Private + Shared = RAM used Swap used Program

  1.0 GiB + 3.4 MiB = 1.0 GiB 111.3 MiB glipper
----------------------------------------------
                          1.0 GiB 111.3 MiB
==============================================

which is kind of excessive for a clipboard history app...

Possibly related: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/777246

Additional info:

According to

$ lsof -P -T -p $(pgrep glipper) | fgrep .so | sort -t "/" -k2

I'm using GTK2 theme engine "murrine":

$ apt-cache policy gtk2-engines-murrine
gtk2-engines-murrine:
  Installed: 0.98.2-0ubuntu2
  Candidate: 0.98.2-0ubuntu2.1
  Version table:
     0.98.2-0ubuntu2.1 500
        500 http://fi.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
 *** 0.98.2-0ubuntu2 500
        500 http://fi.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Worth mentioning is that /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 is also listed in above `lsof` output. I'm using that to allow https://github.com/Airblader/unclutter-xfixes to run.

I can provide more information as needed.

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.