Rhythmbox can't start because an old instance is still running

Bug #47646 reported by Julien Olivier
12
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

In dapper, sometimes I can't open Rhythmbox. CLicking on the icon doesn't do anything.

After investigating a bit, I noticed that, when that happens, issuing a "killall rhythmbox" fixes the problem.

So, it seems that, sometimes, when closing RB's window, the process stays around. Thus, when you try to launch RB again, it find the running process, and refuses to launch it again.

In Dapper, this seems to happen about half the time for me !

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. How do you close rhythmbox? What version do you use? The 0.9.3.1 from dapper? Do you use any plugin or other feature talking to rhythmbox? Could you get a backtrace of the rhythmbox still running?
- gdb $(pidof rhythmbox)
(gdb) thread apply all bt

and copy that to a comment

Changed in rhythmbox:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Julien Olivier (julo) wrote :
Download full text (8.5 KiB)

I can reproduce this bug by closing RB using metacity's 'X' button, or by right-clicking on the notification icon, and choosing 'quit' while RB's window is hidden.

It's version 0.9.3.1 from dapper.

I don't use any plugin, but I activated music sharing and audioscrobbler. Should I try without any of those features ?

Here is a backtrace of RB never stopping after I closed it using metacity's 'X' button:

(gdb) thread apply all bt
(gdb) run
Starting program: /usr/bin/rhythmbox
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226319648 (LWP 11338)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols fo...

Read more...

Revision history for this message
Julien Olivier (julo) wrote :

I've just tried without audioscrobbler and without music sharing, and the bug bit me again. It seems that the bug only happens if you let RB playing for a few minutes before closing it.

Revision history for this message
Sebastien Bacher (seb128) wrote :

you don't have a backtrace with your comment, but it looks like you are running rhythmbox from gdb instead of attaching the already running one with "gdb -p $(pidof rhythmbox). If you want to do it your way:
- gdb rhythmbox
(gdb) run
.... close it, it should keep running on the prompt, do Ctrl-C to stop it on gdb
(gdb) thread apply all bt

then you get a backtrace

Revision history for this message
Julien Olivier (julo) wrote :
Download full text (24.7 KiB)

OK, sorry about that.

This trace might help you, but it's missing the beginning. I'll try to get a more complete one if needed.

Reading symbols from /usr/lib/libgconf-2.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgconf-2.so.4
Reading symbols from /usr/lib/libgstbase-0.10.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgstbase-0.10.so.0
Reading symbols from /usr/lib/libgstreamer-0.10.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgstreamer-0.10.so.0
Reading symbols from /usr/lib/libmusicbrainz.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmusicbrainz.so.4
Reading symbols from /usr/lib/libexpat.so.1...
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libbonobo-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonobo-2.so.0
Reading symbols from /usr/lib/libbonobo-activation.so.4...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libbonobo-activation.so.4
Reading symbols from /usr/lib/libORBitCosNaming-2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libORBitCosNaming-2.so.0
Reading symbols from /usr/lib/libORBit-2.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libORBit-2.so.0
Reading symbols from /lib/libpopt.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpopt.so.0
Reading symbols from /usr/lib/libgthread-2.0.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgthread-2.0.so.0
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread -1225873184 (LWP 13411)]
[New Thread -1296041040 (LWP 15093)]
[New Thread -1354789968 (LWP 13465)]
[New Thread -1246594128 (LWP 13414)]
[New Thread -1238201424 (LWP 13413)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/libgpod.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgpod.so.0
Reading symbols from /usr/lib/libavahi-common.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libavahi-common.so.3
Reading symbols from /usr/lib/libavahi-client.so.3...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libavahi-client.so.3
Reading symbols from /usr/lib/libavahi-glib.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libavahi-glib.so.1
Reading symbols from /usr/lib/libsoup-2.2.so.8...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libsoup-2.2.so.8
Reading symbols from /usr/lib/libgnutls.so.12...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnutls.so.12
Reading symbols from /usr/lib/libxml2.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libnotify.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libnotify.so.1
Reading symbols from /usr/lib/libgtk-...

Revision history for this message
Gearry Judkins (gearry) wrote :

I am having a similar problem, but for me it happens every time I launch rhythmbox . I get the setup screen and it freezes whether or not I click anything. If I click the X it offers me a force quit, but I end up with a defunct process that I can not get rid of without rebooting. kill -9 does nothing. If I just let it sit to see if it ever responds I end up with a process that sits with D+ . I will likewise work on getting a good trace, but don't work with gdb very often, so could use any pointers.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you get a backtrace with gstreamer0.10-plugins-good-dbg libglib2.0-0-dbg libgstreamer0.10-0-dbg libgtk2.0-0-dbg rhythmbox-dbg installed?

Revision history for this message
Julien Olivier (julo) wrote :

Actually, I installed RB-0.9.5 a few days ago and I'm unable to reproduce this bug with this version. Should I close this bug, or should I downgrade and try to reproduce it and get a backtrace ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

If that's fixed with 0.9.5 it's good enough, no need to bother. I'm marking it as fixed, feel free to reopen if you get the issue again with that new version

Changed in rhythmbox:
status: Needs Info → Fix Released
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.