Rhythmbox cummulates memory in precise - probably memory leak

Bug #976534 reported by Mafiosso
This bug report is a duplicate of:  Bug #1031449: rhythmbox leaking memory. Edit Remove
172
This bug affects 37 people
Affects Status Importance Assigned to Milestone
Rhythmbox
Confirmed
High
rhythmbox (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Rhythmbox memory usage is constantly increasing during long playing - hours. After one day allocates over 1GB of memory and never frees.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: rhythmbox 2.96-0ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.0-0ubuntu4
Architecture: i386
Date: Sun Apr 8 14:19:34 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
SourcePackage: rhythmbox
UpgradeStatus: Upgraded to precise on 2012-02-06 (61 days ago)

Revision history for this message
Mafiosso (pavelvonlostice) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in rhythmbox (Ubuntu):
status: New → Confirmed
Revision history for this message
GonzO (gonzo) wrote :

Yup.

This is with all plugins and crossfading backend disabled, too. It *looks like* its caching the song in memory, and never releasing it - memory usage goes up every time there is a song change, be it natural or prompted (ff/rewind buttons).

This is completely unusuable; you can *easily* accumulate hundreds, if not thousands, of RAM by simply pushing FF a bunch of times.

Revision history for this message
GonzO (gonzo) wrote :

*hundreds, if not thousands, of --megabytes of -- RAM. Ugh. More coffee needed.

Revision history for this message
Reloweb (reloweb) wrote :

I've the same problem!

Revision history for this message
mihai.ile (mihai.ile) wrote :

I am also affected in Ubuntu 12.04, right now it consumes 1.4GB of RAM. Never seen anything like this in rhythmbox...

Revision history for this message
Thomas Boxley (tboxley) wrote :

I am experiencing the same problem. I opened up system monitor one day to find Rhythmbox was using 1.8 GB of RAM. I started pressing the skip button, and the usage started building up even more, up to 2.3 GB.

Revision history for this message
Thomas Boxley (tboxley) wrote :

This should be a high-priority bug in my opinion.

Revision history for this message
Heimen Stoffels (vistaus) wrote :

I am experiencing this too, though not every time, but it does happen sometimes on 12.04
Can't believe how ignorant the devs are, none of them has even said something here!

Revision history for this message
Victor Martinez (victored) wrote :

I don't think the memory leak is related to the GStreamer backend. It could be related to in-memory album art caching. You should file this bug directly on bugzilla if you want to get more attention from upstream devs.

Revision history for this message
Žygimantas Beručka (zygis) wrote :

Since the problem persists in both 2.96 and the recently released 2.97 (that I grabbed from webupd8.org ppa), in order to get more attention to this bug, I have forwarded this to GNOME's bugzilla.

Changed in rhythmbox:
importance: Unknown → High
status: Unknown → New
Revision history for this message
Žygimantas Beručka (zygis) wrote :

It is claimed that it has just been fixed: https://bugzilla.gnome.org/show_bug.cgi?id=677738#c5 Could anyone backport this patch, please: http://git.gnome.org/browse/rhythmbox/commit/?id=8999cca931818ad7e0385d3ab88b44bfa4329410 ? It's of really high importance, since the leaks are really huge.

Changed in rhythmbox:
status: New → Incomplete
Revision history for this message
Žygimantas Beručka (zygis) wrote :

Why is it set to incomplete?

Revision history for this message
Žygimantas Beručka (zygis) wrote :

It is claimed in the upstream report that a number of recent commits (4 in total since 2.97 so far) fix even more of 'huge leaks.' I would like to kindly ask you to consider backporting them to Precise. It's very important to make Rhythmbox, which is the *main* media player, actually usable in Precise.

Changed in rhythmbox:
status: Incomplete → Confirmed
Revision history for this message
Žygimantas Beručka (zygis) wrote :

According to Jonathan Matthew, the current main developer of Rhythmbox, GNOME git commits '3dec1ff, fc1e8ca, 7ea940f and 7cdf4cd fix even more leaks'. See gnome bug #677738 for the full list.

Can Ubuntu 12.04 LTS users expect these very important patches for the *default* media player to reach their systems in the nearest future? Or at least backport them to the Quantal version so that someone with packaging knowledge would at least be able to backport the package to Precise.

Revision history for this message
Benjamin Herbert (bherbert) wrote :

I am affected with 11.10.

I just discovered that my Rhythmbox used 1.8 GB of memory.

I then killed it and started it again. I notice that skipping to or playing a new song eats up memory. If I skip to a next song, about 25 MB of memory are consumed and not properly released anymore. So if I click on -->| fast for four times in a row, around 100 MB are consumed without one of the skipped songs is actually played. I will take a look with another system, which has 12.04 installed.

I digged a little further in it and it seems that

Revision history for this message
Benjamin Herbert (bherbert) wrote :

Sorry, accidentally clicked the post button.

It seems that the memory consumption has something to do with the cover art plugin, which is enabled.

Revision history for this message
bwat47 (bwat47) wrote :

I'm having this issue in precise with both 2.96 and 2.97. For me it only seems to happen when I use the unity music lense to start playing music.

Revision history for this message
Edgar Cherkasov (edgar2705) wrote :

I build latest rhythmbox from quantal reps for precise with patches from git which fixes memory leaks. You can install it from my ppa https://launchpad.net/~edgar2705/+archive/my-ppa and test it.

Revision history for this message
Reloweb (reloweb) wrote :

@Edgar It seems that the problem has gone away... Will this patch be included in the next release of Ubuntu?

Revision history for this message
Edgar Cherkasov (edgar2705) wrote :

I think now because quantal now in beta freeze. Also I think this patches not be included in precise, because this problem is not hard to notice but nothing has changed.

Revision history for this message
Edgar Cherkasov (edgar2705) wrote :

I think *not ...

Revision history for this message
Sebastian Bugiu (sebastian-bugiu) wrote :

Is this bug being fixed? Cause I still have it in 2.96 in precise pangolin. Any ideas what to do in order to not have to restart rhythmbox every couple of days?

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.