This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Ktorrent 2.2.5 crash

Tags: None
(comma "," separated)
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Ktorrent 2.2.5 crash

Sun Apr 13, 2008 7:32 pm
Hi! I'm using ktorrent 2.2.5 from opensuse packman repo and it crashes when log should rotate.
This also happens if I compile it from source, and I cannot reproduce it for sure, but here on this computer goes a lot torrent traffic per day and it happens from time to time (this was the fourth time this month).

In last log I can see such line: "log size is 10MB, rotating". After deleting logs it starts up fine. So it must be something wrong here.
George
Moderator
Posts
5421
Karma
1

Tue Apr 15, 2008 6:37 pm
Got a backtrace of the crash ?
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Tue Apr 15, 2008 6:59 pm
What backtrace?
George
Moderator
Posts
5421
Karma
1

Wed Apr 16, 2008 10:07 am
When a KDE app crashes, a dialog is shown, if you click on the right tab page of that dialog a backtrace will be generated.
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Wed Apr 16, 2008 3:12 pm
Aha, but mostly it doesn't crash when you start it up, it just sits unresponsive minimized in system tray, after that it shuts down. And log contains only what I've desribed in first post.
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Wed May 21, 2008 7:36 am
I caught it again!

Now using ktorrent 2.2.6 and it shuts down when a new download is completed. This only happens when I limit the number of maximum seeds, otherwise when set to 0 torrent will continue seeding, without shutting down.
I started a ktorrent configuration from scratch and this problem reappeared - probably it is a fault in queue manager.

It might help to reproduce the problem by loading lot of torrents, eg. ~20. I've setup a maximum seed limit to 6 normally (now to 0, otherwise it will shut down) and maximum downloads also to 6.

EDIT: stopping all torrents leads also to a shutdown (I'm watching log) when using maximum seeds limit (now changed to 5) :)
George
Moderator
Posts
5421
Karma
1

Thu May 22, 2008 12:42 pm
Interesting, I will see if I can reproduce this.
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Thu May 22, 2008 1:33 pm
Unfortunately it is kinda hard to reproduce - I cannot find a reliable way.
Now it is working again - after lot of torrents reached it's maximum share ration (3.0) I removed them from ktorrent and now it is working again with maximum seeds limit.
George
Moderator
Posts
5421
Karma
1

Thu May 22, 2008 2:04 pm
I think this is the same problem as this thread :

http://ktorrent.org/forum/viewtopic.php?p=13519#13519

I will backport the fix to the 2.2 branch, and release 2.2.7 next weekend.
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Thu May 22, 2008 2:08 pm
I think it is the same issue. Is this already fixed in svn for 2.2.x?
George
Moderator
Posts
5421
Karma
1

Thu May 22, 2008 2:16 pm
Not yet
George
Moderator
Posts
5421
Karma
1

Thu May 22, 2008 5:15 pm
OK, it is committed : revision 811224
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Thu May 22, 2008 6:11 pm
How to clone svn for 2.2.x?

EDIT:
from faq:
Code: Select all
svn co svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/network/ktorrent
cd ktorrent
svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin/
svn cat svn://anonsvn.kde.org/home/kde/branches/extragear/kde3/network/Makefile.cvs > Makefile.cvs


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]