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

Ktorrent just freezes

Tags: None
(comma "," separated)
George
Moderator
Posts
5421
Karma
1

Thu Sep 21, 2006 4:10 pm
We need to be able to reproduce this behavior otherwise fixing will be difficult.
Back2Cali
Registered Member
Posts
35
Karma
0

Thu Sep 21, 2006 4:33 pm
I know, but I don't know what to do if I even can't close KTorrent within gdb using ctrl+c.
I would let my system crash if I could get any output from gdb, but after Ktorrent freezes, gdb doesn't react on any command.

All I can say ist that it didn't freeze from the beginning after disabling the info widget plugin, so I guess there might be something wrong with this also...

If you know what I can du, just let me know, I'll do anything to support you guys, but I honestly don't know how to close ktorrent within gdb or at least get some information out of it....
Back2Cali
Registered Member
Posts
35
Karma
0

Tue Sep 26, 2006 10:41 am
After switching to another machine (Athlon 64) I also installed the 64 bit version of archlinux. And the exactly same things happened with Ktorrent.... So I guess there's something wrong in general with the Info Widget and within the main program, that causes all the crashes when downloading....
I'm going to give it a try from time to time in order to get some output from gdb. I will keep posting whenever I can get something before the system stops crashing.... :wink:
sirdilznik
Registered Member
Posts
3
Karma
0

Sat Oct 21, 2006 2:30 am
I can confirm that I get the same freeze (and have had it for a while). I am running Gentoo Linux x86_64 on an Athlon64 3200+. I'm currently running KTorrent under e17, but I don't think the error is WM/DE related as the same thing occured before when I was running xfce4.4.

Originally I thought that the error was due to ipv6 as that was also making Firefox freeze (not to mention sllllooooooowwwwwwwwwww....). I recompiled my kernel (2.6.18-no2) and changed all the ipv6 stuff from yes to module (In case I need ipv6 to install something in the future). The Firefox problem went away but the KTorrent one persisted. I then decided to recompile qt-3.3.6, kdelibs-3.5.5 (had 3.5.4 before), and ktorrent-2.0.3 with USE="-ipv6" (disables ipv6 support in the compiles), though I think only qt actually supported that flag. Anyway, the recompile did nothing to solve the freeze.

The problem doesn't seem to happen after any set period of time or under any specific conditions (as far as I can tell). Sometimes it will freeze up after only a couple of minutes, sometimes after several hours. Once frozen, it takes the entire system down with it. All I can do is Ctrl+Alt+F1 to get out of (frozen)X, then Ctrl+Alt+Delete to reboot.

I am now trying it with the infowidget plugin disabled. So far it seems to be running fine, but it's only been like 25 minutes. I will post again in several hours with success or failure.

In conclusion I'd like to say I really like KTorrent a lot. It's one of the few KDE apps that I can't live without (the others are K3b and KMediaFactory). I couldn't even imagine going back to Azureus (Java apps... *cringes* ) and no other Torrent client is nearly as robust or full featured as KTorrent.


Gentoo for the win!
sirdilznik
Registered Member
Posts
3
Karma
0

Sat Oct 21, 2006 2:42 am
Heh, I guess I didn't need to wait a couple of hours. My system froze up barely 5 minutes after I posted my initial message (guess I should be thankful I was able to finish typing before it froze up).

I'm going to try ktorrent-svn next to see if maybe the problem was resolved upstream.

Edit: ktorrent-svn (KTorrent 2.1dev) is up and running. Wow, this looks really nice. I'm glad they went back to the single screen rather than tabs for download and upload. Also the search in a side bar/pane is really sweet. running well so far (15 min.). Fingers crossed :wink:

Edit2: Still freezes


Gentoo for the win!
George
Moderator
Posts
5421
Karma
1

Sat Oct 21, 2006 10:59 am
Can you try running it with gdb ? We need to have some idea where it gets stuck.
sirdilznik
Registered Member
Posts
3
Karma
0

Mon Oct 23, 2006 3:26 pm
I solved the issue! It turns out that the problem was Adaptive File Readahead in the kernel config. I disabled that feature, then rebuilt the kernel and KTorrent has been running fine for 12 hours straight since.


Gentoo for the win!
George
Moderator
Posts
5421
Karma
1

Mon Oct 23, 2006 5:01 pm
sirdilznik wrote:I solved the issue! It turns out that the problem was Adaptive File Readahead in the kernel config. I disabled that feature, then rebuilt the kernel and KTorrent has been running fine for 12 hours straight since.


I better look into this feature, and see what effects it has.
Back2Cali
Registered Member
Posts
35
Karma
0

Mon Nov 13, 2006 9:00 am
Hi!

I'm running ktorrent-svn which I build last night. I thought the problem might be solved for me, but I was wrong. I started it and loaded one torrent file. Well first everything went smooth, but it crashed after I klicked on my newsticker to read some article. After firefox was started it only took about 2 seconds till ktorrent and the whole system freezed. All I could do was restarting using the console and CTRL+ALT+DEL.
So whatever the problem is, it seems that it's still there also in the current svn version....

I hope this might help...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar