possible memory leak in ubuntu-location-serviced on mako #281

Bug #1304362 reported by Alan Pope 🍺🐧🐱 🦄
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
location-service (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I ran https://raw.github.com/pixelb/ps_mem/master/ps_mem.py every 5 mins and noticed ubuntu-location-serviced memory use climbing at around 0.5MiB/minute.

ps_2014-04-08-104122.txt: 18.3 MiB + 609.5 KiB = 18.9 MiB ubuntu-location-serviced
ps_2014-04-08-104726.txt: 21.6 MiB + 483.5 KiB = 22.1 MiB ubuntu-location-serviced
ps_2014-04-08-105332.txt: 24.9 MiB + 486.0 KiB = 25.4 MiB ubuntu-location-serviced
ps_2014-04-08-105939.txt: 28.3 MiB + 489.0 KiB = 28.8 MiB ubuntu-location-serviced
ps_2014-04-08-110545.txt: 31.6 MiB + 491.5 KiB = 32.1 MiB ubuntu-location-serviced
ps_2014-04-08-111152.txt: 34.9 MiB + 494.5 KiB = 35.4 MiB ubuntu-location-serviced
ps_2014-04-08-111759.txt: 38.3 MiB + 497.0 KiB = 38.8 MiB ubuntu-location-serviced
ps_2014-04-08-112406.txt: 41.6 MiB + 500.0 KiB = 42.1 MiB ubuntu-location-serviced
ps_2014-04-08-113012.txt: 44.9 MiB + 502.5 KiB = 45.4 MiB ubuntu-location-serviced
ps_2014-04-08-113619.txt: 48.3 MiB + 504.5 KiB = 48.8 MiB ubuntu-location-serviced
ps_2014-04-08-114226.txt: 51.6 MiB + 508.0 KiB = 52.1 MiB ubuntu-location-serviced

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-location-service-bin 0.0.2+14.04.20140307-0ubuntu1
Uname: Linux 3.4.0-5-mako armv7l
ApportVersion: 2.14.1-0ubuntu1
Architecture: armhf
Date: Tue Apr 8 11:44:23 2014
InstallationDate: Installed on 2014-04-08 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20140408)
SourcePackage: location-service
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in location-service (Ubuntu):
status: New → Confirmed
Revision history for this message
Robert Bruce Park (robru) wrote :

I see this as well (indeed about 0.5 or 0.6 MiB/min), didrocks asked me to try reverting dbus-cpp and process-cpp to older versions to see if they cause the leak, but going back several versions of each has had no effect on the leak.

Revision history for this message
Robert Bruce Park (robru) wrote :

The version of location-service from Feb 11th also exhibits this behavior.

Revision history for this message
Robert Bruce Park (robru) wrote :

Just doing some bisecting here. I reproduced this in image 260 but not 240.

Revision history for this message
Robert Bruce Park (robru) wrote :

Huh, not sure what's happening, I just reproduced this with image 240. popey can you go back a few images and confirm this isn't a new regression?

http://paste.ubuntu.com/7223435/

Revision history for this message
Robert Bruce Park (robru) wrote :

Oops, here's the same paste but without the broken highlighting: http://paste.ubuntu.com/7223440/

Revision history for this message
Thomas Voß (thomas-voss) wrote :

I cannot reproduce the issue and the test suite is green under valgrind. Marking as incomplete.

Changed in location-service (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for location-service (Ubuntu) because there has been no activity for 60 days.]

Changed in location-service (Ubuntu):
status: Incomplete → Expired
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.