Listen Music Player: excessive CPU usage while downloading podcasts

Bug #385192 reported by Don Cristóbal
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Listen
Confirmed
Undecided
Unassigned

Bug Description

While other podcast clients don't use much CPU power, listen constantly eats 80-90% of my cpu (1.7 GHz). This seems a bug to me, and it slows down the system quite much. 2 processes (Xorg and /usr/lib/listen) are sharing the 80-90% around half and half.

By the way, maybe there's a link to another problem: While downloading, I cannot add new podcast feeds. The little popup appears fine, but after I click OK, nothing seems to happen - until the active feed is done, then the new ones are processed. I'll file a separate bug report.

System: Xubuntu Jaunty, up to date as of June 9th, 2009.

listen:
  Installed: 0.5-6ubuntu1
  Candidate: 0.5-6ubuntu1
  Version table:
 *** 0.5-6ubuntu1 0
        500 http://ch.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
loziniak (loziniak) wrote :

Same here. Xubuntu Jaunty, Listen 0.5-6ubuntu1. My CPU was utilized so heavily that I couldn't change window focus, and typing in console (Alt-F1) was 1 character per second, with no possibility to log in (timeout after 60 seconds).

Revision history for this message
Mehdi Abaakouk (sileht) wrote :

Problem doesn't exist in listen 0.6

Changed in listen:
status: New → Won't Fix
Revision history for this message
pepcza (josef-vajskebr) wrote :

I have the same problem with new Listen on Karmic.
Installed: 0.6.2-1ubuntu3 (karmic)

Revision history for this message
chr (christian-andrae) wrote :

I can confirm the problem with listen (0.6.2-1ubuntu3), CPU usage 95 - 105%
System: Intel Centrino Duo 1.83 GHz, 1.5 GB RAM, ubuntu 9.10

Revision history for this message
philippe leconte (leconte-philippe) wrote :

Same system (karmic upgraded from Jaunty), same package, same issue here.
Python 2.6.4

(Thanks for this great player I use for long !)

Revision history for this message
st4ck (anacleto44) wrote :

I've solved the problem with Listen 2.6.3 in Ubuntu 9.10.
If you remove /usr/lib/listen/source/wikipedia.py* listen doesn't eat cpu! (Wikipedia not necessary for me!)

PS: I'm searching the problem in the wikipedia.py...and if i can, i will correct the bug!

Revision history for this message
pepcza (josef-vajskebr) wrote :

it really helps. thanx a lot!

Revision history for this message
philippe leconte (leconte-philippe) wrote :

Remove this file did not solve the problem for me. I also tried to remove and reinstall the package listen, and remove the config file .listen, no change
I Forgot to mention that the abnormal CPU usage appears just when I play a song, without doing anything else.

Revision history for this message
st4ck (anacleto44) wrote :

Sorry i've missed that you NEED to disable CROSSFADE (under preferences). And if you have the same problem, disable plugins one by one. Bye ;)

Revision history for this message
philippe leconte (leconte-philippe) wrote :

No change with Crossfade and ALL the plugins disabled (first CPU still at 100% and second around 25%) :-(
I'am wondering if the issue is not pulseaudio...

I've some knowledge in python and pygtk programming, if a developper can tell me what other tests I can do, do not hesitate.
(and for my curiosity, where is the class Player?)

Revision history for this message
philippe leconte (leconte-philippe) wrote :

Here is the output when listen is launched from the console (without the depreciation warnings)

Revision history for this message
ture71@gmail.com (ture71) wrote :

same issue with kermic (also with plugins disabled) .....when I play song cpu 50 - 60 %

Revision history for this message
Knysliux001 (knysliux001) wrote :

It is definitely not solved.

When started with library of ~7K songs Listen uses 100% CPU for a while and when finished drops to normal until I try to play anything. First several seconds playing CPU usage is normal and then no matter what, playing or not, window open or not, all plugins and crossfading disabled or not, listen uses all CPU it can get.
My guess is some internal feature that can't be disabled in preferences gathering some info about current playing track misbehaves.

I strongly suspect cover downloader listen/cover_manager.py or related file because of the last messages Listen sends to stdout before hogging cpu [attached file]

How could I further investigate this bug and provide more useful information?

Behaviour observed in version 0.6.2 and standard Karmic Ubuntu installation.

This bug must be reopened.

Revision history for this message
Knysliux001 (knysliux001) wrote :

And about the name, I think it has nothing to do with downloading podcasts.

Revision history for this message
Knysliux001 (knysliux001) wrote :

OK, I'm experiencing this bug https://bugs.launchpad.net/listen/+bug/442556

Revision history for this message
Toni Filgueras (toni-fiz) wrote :

Same problem as #13

Still getting ~100% CPU usage un 0.6.2 as in 0.6.3

Could it be pulse related issue?
(I had some problems with banshee and exaile because of pulse)

Revision history for this message
Don Cristóbal (doncristobal) wrote :

Toni, Knysliux & Co., maybe you should consider filing separate bug reports. The bug that I originally described really seems to be fixed: my CPU usage is normal while downloading podcasts (listen is now 0.6.2-1ubuntu3, on Karmic).

Revision history for this message
Canol Gökel (canol) wrote :

I have the same problem. Ubuntu 9.10, Listen 0.6.2. Disabling cross-fade didn't help. Then I deleted wikipedia.py and wikipedia.pyc which solved the problem.

Revision history for this message
Cuppa-Chino (hamcatcher) wrote :

Using listen 0.6.3 I also had to delete / rename the wikipedia.py and wikipedia.pyc

Revision history for this message
Rachel K (rachel-kronick) wrote :

Using Ubuntu 8.04 and Listen 0.5. Renamed wikipedia.py and wikipedia.pyc, and disabled loading of those modules, but Listen still uses c. 90% CPU and continually eats RAM while downloading podcasts.

Is there a way to download single episodes of podcasts, rather than all episodes at once? This might solve the problem.

Benjamin Danon (sphax3d)
Changed in listen:
status: Won't Fix → Confirmed
Revision history for this message
Benjamin Danon (sphax3d) wrote :

I'm sorry, my problem with the CPU usage is not related to podcasts downloading. I will open a new report.

Revision history for this message
Stig Berggren (stigjb) wrote :

I think this also applies to internet radio. That is, I guess it is the same bug. It does use a lot of CPU.

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.