Rhythmbox hang during launch

Bug #71208 reported by patrick_g
12
Affects Status Importance Assigned to Milestone
Rhythmbox
Fix Released
Undecided
Unassigned
rhythmbox (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: rhythmbox

There is something horribly broken in Rhythmbox (version 0.9.6 in edgy).
My computer is a laptop (Pentium M Dothan 1.86 GHz; 1 GB RAM; 80 GB 5400 rpm Hard drive)

When i try to launch Rhythmbox the first time it hang.
No response at all and it keep a lot of CPU power and memory (see screenshot : 52 MB of memory and 92% for the CPU).

http://static.flickr.com/108/293663045_60a12d6a66_o.png

When i try to close the Rhythmbox window there is no response so i kill the software (right clic on the taskbar and "close"). There is a pop up window saying (in french) "the window 'music player' did not respond" and i clic on the "force quit" button (see screenshot)

http://static.flickr.com/101/289211932_143fb1a9e2_o.png

Immediately afterwards i re-launch Rhythmbox and everything is ok ! (see screenshot : 31.8 MB and 0% CPU).

http://static.flickr.com/103/293663046_73e79be25f_o.png

So now when i want to listen my music i know whow to deal with this problem : 1) launch Rhythmbox 2) Kill Rhythmbox 3) Re-launch Rhythmbox.

Revision history for this message
Carlo Facci (cieffe) wrote :

Thanks for your bug report.
Could you please try to obtain a backtrace by following the instructions on http://wiki.ubuntu.com/DebuggingProgramCrash.
This will greatly aid us in tracking down your problem.
Thanks

Changed in rhythmbox:
status: Unconfirmed → Needs Info
Revision history for this message
patrick_g (patrick-guignot) wrote :

Hi Carlo,

I have tried to follow the instructions but my bug report is not about a crash. Rhythmbox just hang so it's difficult to capture a backtrace with infos (plus i'm a newbie so i'm not very apt to provide interresting informations).
Anyway hereunder is my gdb-rhythmbox file and i provide a video (animated GIF) with my actions.
You can look at this animated GIF and see Rhythmbox hang (it stop after 1317 tracks but there is more than 5000 tracks in my collection !)

Revision history for this message
patrick_g (patrick-guignot) wrote :
  • video Edit (1.5 MiB, application/octet-stream)

here the animated GIF

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

The problem is due to libgnomeui, duplicate from #35586

Changed in rhythmbox:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: Needs Info → Rejected
Revision history for this message
patrick_g (patrick-guignot) wrote :

What ?

Bug number #35586 is about opening/previewing multi-layered GIF image !!

This bug (#71208) is about a Rhythmbox freeze when i try to launch it.
I just send a multi-layered GIF as a mean to see my actions during the Rhythmbox launch (the freeze, the kill of Rhythmbox...etc etc).

I'ts a sort of video, a screen recording of my actions, but this GIF have nothing in common with the real bug : Rhythmbox freeze when i launch it !

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

And on what do you think that rhythmbox is freezing? On the pointed GIF

You can try to run that command:
- gdb --args gst-launch-0.10 -t filesrc location=/path/to/animated/gif ! decodebin ! fakesink

you will notice that it eats CPU too and doesn't print the information about the song. That comment is basically what rhythmbox is doing to get the title, artist, etc on a song. Now try on a normal song, you will see it works fine. Once you have noted it's eating CPU and not working fine you can do <Ctrl-C> on the gdb prompt and then type "thread apply all bt" and look on what's doing, it's using the gdk gif decoder

Does it make sense to you now? If you still disagree could you give some explanation of why?

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

ah, read the bug too fast, I though it was hanging due to the gif you attached. Could you run rhythmbox -d and note what's it doing when hanging? It's likely it's chocking on some file stored on your disk (like that gif file you attached to the bug)

Changed in rhythmbox:
status: Rejected → Needs Info
Revision history for this message
patrick_g (patrick-guignot) wrote :

Haaaa !! It's scary to run Rhythmbox with the -do option !
There is a lot of lines in my terminal.

Here you can see a screenshot of the terminal :

http://static.flickr.com/111/317243391_a94b41904b_o.png

And here you can see another screenshot of the terminal (2 minutes later) :

http://static.flickr.com/122/317243393_5867bc1e64_o.png

As you can see in the first screenshot the process is about the 450th track and in the second screenshot the process is about the 1500th track.
2 minutes for approximatively 1000 tracks !

I recall you that i have 5000 music tracks on my hard disc...does it mean i have to wait 10 minutes for the opening of Rhythmbox ?

Revision history for this message
patrick_g (patrick-guignot) wrote :

Sorry it's the -d option and not the -do option.

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

rhythmbox should run immediatly and keep updating the library in background. Are your files on a local partition? Does the "hang" go away if you wait for it to load everything?

Revision history for this message
patrick_g (patrick-guignot) wrote :

>> <i>Are your files on a local partition?</i>

Yes. My music files are on /home/patrick/mes_musiques on my laptop hard disc/

>> <i>Does the "hang" go away if you wait for it to load everything?</i>

Yes !!!
I launch Rhythmbox, i wait 9 minutes and 26 seconds and suddenly everything is ok !
I've tried to apt-get remove purge rhythmbox and to reinstall but there is no difference after this try.

This hang seems to be a problem only for me (local problem) so i think i will wait for the feisty release and reinstall my system.

Revision history for this message
patrick_g (patrick-guignot) wrote :

Grrr

correction : the path is /home/patrick/mes_musiques/

on my laptop hard disc

Revision history for this message
Oliver Sic (soliver) wrote :
Revision history for this message
Jeremy Teale (jteale) wrote :

Hello Oliver. Please explain how is this bug the same. patrick_g describes a hang while your backtrace describes a segmentation fault.

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

marking unconfirmed, probably an upstrem problem to forward by something getting the bug

Changed in rhythmbox:
importance: Medium → Low
status: Needs Info → Unconfirmed
Revision history for this message
jbond (julian-bond) wrote :

Very similar problem. Feisty with all updates applied as of 16 March 2007. The music collection is 11,000 MP3s, 80Gb on a Samba share on a Linksys Slug. Rhythmbox hangs during startup when the collection check reaches around either 2048 or 4096 songs. Kill it, Delete the XML files and it then starts fine. Run the scan and it completes. Close down and restart rhythmbox and it again hangs at around the same place. Under Edgy, Rhythmbox managed fine, scanning the same library and restarting fine after the library has been scanned.

On Edgy I had perhaps similar problems with Amarok refusing to fully scan the whole library. Under Feisty this seems to be cured but now Rhythmbox has caught the cold. I wonder if this is all related to libtag (or is it taglib).

Revision history for this message
Matt Brubeck (mbrubeck) wrote :

I can also reproduce this bug. I'm happy to help provide more info if necessary.

Revision history for this message
jbond (julian-bond) wrote :

Some additional info. Rhythmbox 0.9.8 up to date Feisty as of 24 Mar 07. 11,000 song lib on samba.

If I click in the artist part of the collection before rhythmbox starts scanning, it starts up correctly. If I leave "All" highlighted, it hangs. I have "Watch my library for new tracks" turned off but Rhythmbox is still accessing the samba share across the network during startup. It's almost as though it's the display of the albums under ALL in the right hand pane which is freezing the startup. Clicking on an artist limits this to a handful whereas ALL tries and fails to display

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Also this report is one that should be reproducable with the live environment of the Desktop CD of the development release - Gutsy Gibbon. It would help us greatly if you could test with it so we can work on getting it fixed in the actively developed release. You can find out more about the development release at [WWW] http://www.ubuntu.com/testing/ ; Thanks in advance.

Changed in rhythmbox:
status: New → Incomplete
Revision history for this message
patrick_g (patrick-guignot) wrote :

Hi Pedro,

When i test with Gutsy Tribe 4 everything is OK and there is no problem here on my laptop.
At least for me this bug is fixed.

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

thank you for the update, closing the bug

Changed in rhythmbox:
status: Incomplete → Fix Released
importance: Low → Medium
status: New → 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.