After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337595 - Banshee eats 100% CPU suddenly
Banshee eats 100% CPU suddenly
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: Playback
0.10.9
Other All
: Normal normal
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-07 08:43 UTC by François Tissandier
Modified: 2007-02-05 21:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description François Tissandier 2006-04-07 08:43:51 UTC
Please describe the problem:
After playing some songs, Banshee will suddenly eat 100% CPU in the middle of a
song, without any particular action from the user.

Steps to reproduce:
1. Open Banshee
2. Play some songs
3. Watch the CPU usage reaching 100% suddenly


Actual results:
100% CPU usage

Expected results:
Normal CPU usage

Does this happen every time?
Not every time, but quite often

Other information:
Comment 1 Ruben Vermeersch 2006-04-07 09:29:32 UTC
We need a little more information to nail this down:

Does this happen with specific songs?
What kind of audio output are you using?
Is something else happening/running on your system?
Comment 2 François Tissandier 2006-04-07 11:51:03 UTC
It doesn't happen with specific songs. Nothing I noticed for the moment. I will try to write down information each time it happens.

Output is typical, headset plugged on the front panel of my first computer, speakers on the second one. 

Typical applications are running at the same time: Firefox, Gaim, OpenOffice.

But I'm using Dapper (so unstable distro), with Xgl. 
I will add more information here once I have faced the problem a couple more times.
Comment 3 Ruben Vermeersch 2006-04-10 19:30:14 UTC
Moving to the Playback component.

Can't fix this if we don't know how to reproduce this though.
Comment 4 François Tissandier 2006-04-14 09:50:26 UTC
I can't find a reason why it's freezing at one moment. It's not always on the same song, but I can't have Banshee running for more than one hour no matter what I listen to. So I guess I can say that I can reproduce it easily, but only on my computer... I will keep on looking for a logical reason. 
Comment 5 André Klapper 2006-09-27 14:35:55 UTC
francois, is this still an issue?
Comment 6 shartrec 2006-10-20 23:57:56 UTC
I also get this behavior.  You can see the extract from top here.

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
10729 trevor    25   0  135m  38m  21m R  100  1.9   1:45.31 banshee            
10168 trevor    15   0 29156  19m 7700 S    2  0.9   0:17.56 skype              
 7988 root      15   0 78412  50m  13m S    2  2.5   1:51.00 X                  

Using Banshee 0.10.12 on Gentoo on Dell Inpsiron 6400 2Gig Ram Intel Core Duo 2400
(no fancy 3d desktop though)


This happens when I bring up the preferences dialog,  I don't need to do anything and the behaviour continues after the dialog is closed.

Comment 7 Aaron Bockover 2006-10-26 19:51:06 UTC
What versions are you using? We're at 0.11.2 now and a lot of performance work and stability has gone in since 0.10.9.
Comment 8 Aaron Bockover 2006-10-26 19:51:53 UTC
Oh, just saw 0.10.12 - please try 0.11.2. Also, what plugins do you have enabled, and how many songs are in your library?
Comment 9 shartrec 2006-10-28 05:28:54 UTC
0.10.12 is the latest available for gentoo that is not masked.  I tried installing the latest, 0.11.1, which is the very lates available for gentoo but masked.  unfortunately it failed to compile.

In the meantime,  I have 662 songs in my library (all mp3) and the following plugins; Autoscrobbler,  Metadata Searcher, Notification Area Icon and Multimedia keys (disabled)
Comment 10 shartrec 2006-10-28 06:39:07 UTC
I tried diabling all the plugins but cpu usage still went to 100% when I openned the preferences dialog.
Comment 11 shartrec 2006-10-30 08:15:11 UTC
I have just built and installed banshee 0.11.2 and the bug I originally saw of the preference dialog immediatly sending CPU to 100% seems fixed, but after only about 2 minutes of playing the CPU once again goes to 100% (on both cpus on my machine)
Comment 12 Stephan Haller 2006-12-14 18:42:24 UTC
Having the same problem. Suddenly banshee uses all my CPU for under 1 second but you'll hear the playback engine stopping shortly. It isn't song specific. Sometimes it happens, sometimes not. I tried changing the IOBackend without any success. Also removing all settings from gconf or removing all files at ~/.gnome2/Banshee didn't help. The only thing suprinsing me is that sometimes playing the same song twice the latter works smoothly, perfectly - without any hangs or stops.

Banshee 0.11.2 runnning on Gentoo with Kernel 2.6.18, Gnome 2.16.1, GStreamer Core 0.10.8
Comment 13 Stephan Haller 2006-12-16 10:56:07 UTC
I have turned off the plugin "Metadata searcher". Since this time I have no 100% CPU and no stops anymore.
Comment 14 Josiah Ritchie - flickerfly 2007-01-18 20:10:52 UTC
Component should be changed to metadata. 
I suppose if the component is metadata, the severity would be worthy of an increase.

Stephan, could you report if this still occurs with the SVN version? SVN includes some big changes to the metadata services stuff.
Comment 15 Stephan Haller 2007-02-03 12:59:15 UTC
Hi Josiah,

I cannot tell how well the SVN version works but Banshee 0.11.5 does it :) Good work. No hangs or jumps while playing songs anymore.
Comment 16 Josiah Ritchie - flickerfly 2007-02-05 21:07:02 UTC
Credit goes to abock. I believe he is responsible for the metadata changes.