rhythmbox hangs after a few days (too many threads?)

Bug #296375 reported by Mike Coleman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rhythmbox
Invalid
Critical
rhythmbox (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

I've noticed that recent versions rhythmbox hang after they've been running a few days (at least for me). I tried attaching to a hung program with gdb. I did notice that there were over 500 threads, which seems odd, but I have no idea what else to look for.

Description: Ubuntu 8.10
Release: 8.10

rhythmbox:
  Installed: 0.11.6svn20081008-0ubuntu4.1
  Candidate: 0.11.6svn20081008-0ubuntu4.1
  Version table:
 *** 0.11.6svn20081008-0ubuntu4.1 0
        500 http://us.archive.ubuntu.com intrepid-updates/main Packages
        100 /var/lib/dpkg/status
     0.11.6svn20081008-0ubuntu4 0
        500 http://us.archive.ubuntu.com intrepid/main Packages

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace of the hang http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Mike Coleman (tutufan) wrote :

Here's a backtrace. It's a hang, but I'm not sure it's exactly the same hang (the notable difference is that in this case, the app won't repaint and the CPU is spinning, whereas before I think it was repainting and sleeping--maybe that's not a meaningful difference, though). As before there are hundreds of threads.

Not sure whether there are enough symbols in here to be useful or not. Rhythmbox seems to link to a million zillion libraries, and I have no idea of how to pull in all of the necessary lib*-dbg packages without adding them one by one, which I don't wish to do.

Revision history for this message
Mike Coleman (tutufan) wrote :

One further comment, just by looking at the output of 'ps auxwwm', I can see that rhythmbox is starting a new thread every couple of minutes more or less. This almost certainly coincides with the start of each new song. So the bug would seem to be that these threads are not correctly being terminated.

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

OK, I've just seen this as well - it's leaking a task and two fd's on each song and eventually falls over.

Changed in rhythmbox:
status: Incomplete → Confirmed
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Christophe Fergeau has marked the GNOME bug as a dupe with
http://bugzilla.gnome.org/show_bug.cgi?id=567746

that got fixed last month.

It would be good to get that fix into Ubuntu.

Dave

Changed in rhythmbox:
status: Confirmed → Triaged
Changed in rhythmbox:
status: Unknown → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug is fixed in 0.11.99.1 in jaunty now

Changed in rhythmbox:
status: Triaged → Fix Released
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

I can confirm the version in Jaunty is fine as of today.

Dave

Changed in rhythmbox:
importance: Unknown → Critical
status: Invalid → Unknown
Changed in rhythmbox:
status: Unknown → Invalid
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.