adongy / transmisson-remote-gui

Automatically exported from code.google.com/p/transmisson-remote-gui
GNU General Public License v2.0
0 stars 0 forks source link

Checking torrent's peer list causes high CPU usage #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Select some torrent
2. Choose "Peers" tab
3. Wait a little bit and see how CPU usage increases

What is the expected output? What do you see instead?
CPU usage should remain normal.

What version of the product are you using? On what operating system?
r233 from svn repository
Ubuntu 9.10 32bit

Please provide any additional information below.
Output in console:
http://pastebin.com/f325e3200
I think the main reason for CPU usage increase are these:
(transgui:5840): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell: 
assertion `path != NULL' failed
...as they appear after selecting Peers tab.

Original issue reported on code.google.com by Sandsh...@gmail.com on 10 Feb 2010 at 9:16

GoogleCodeExporter commented 9 years ago
How many peers do you have in the list?
How long do you wait until high CPU usage occurs?

Original comment by j...@cp-lab.com on 30 Apr 2010 at 11:08

GoogleCodeExporter commented 9 years ago
Doesn't matter how many peers. Happens with any torrent.
It's instant.

Original comment by Sandsh...@gmail.com on 30 Apr 2010 at 11:34

GoogleCodeExporter commented 9 years ago
Unfortunately I can't reproduce it on my Ubuntu 9.10 system. I also have the 
same
console messages, but they will not cause high CPU usage...

Any ideas? Does it happen every time for you?

Original comment by j...@cp-lab.com on 30 Apr 2010 at 11:46

GoogleCodeExporter commented 9 years ago
Well, actually I am using XFCE graphical environment and installed most of the 
packages I needed manually after command line system install.

Anyway, maybe gprof could help? If you could provide transgui version for 
testing, I 
could try running it.

Original comment by Sandsh...@gmail.com on 30 Apr 2010 at 12:00

GoogleCodeExporter commented 9 years ago
And yes, it happens every time.

Original comment by Sandsh...@gmail.com on 30 Apr 2010 at 12:02

GoogleCodeExporter commented 9 years ago

Original comment by j...@cp-lab.com on 30 Apr 2010 at 4:03