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

ktorrent shutting down after ipfilter update

Tags: None
(comma "," separated)
agforsyth
Registered Member
Posts
133
Karma
0
Two or three times recently, everything was normal, and then ktorrent just decided to shut itself down. This time, it appears to have happened immediately after the ipfilter plugin read the new block list. It's definitely possible that the other times this happened it was caused by the same thing. I have the auto update set to two days. I've not modified the ip filter plugin or anything having to do with ktorrent shutting down.
Code: Select all
Thu Aug 14 00:01:39 2008: Loaded 249574 lines
Thu Aug 14 00:01:39 2008: Loading finished, starting conversion...
Thu Aug 14 00:01:40 2008: Loading Anti-P2P filter...
Thu Aug 14 00:01:40 2008: AntiP2P header loaded.
Thu Aug 14 00:01:40 2008: Scheduling ipfilter auto update on Sat Aug 16 00:00:00 2008
Thu Aug 14 00:01:41 2008: Doing tracker request to url :
Thu Aug 14 00:01:41 2008: Saving 0 chunk downloads
Thu Aug 14 00:01:41 2008: Saving list of peers to /home/adam/.kde/share/apps/ktorrent/tor12/peer_list
Thu Aug 14 00:01:42 2008: Doing tracker request to url :
Thu Aug 14 00:01:42 2008: Saving 0 chunk downloads
Thu Aug 14 00:01:42 2008: Saving list of peers to /home/adam/.kde/share/apps/ktorrent/tor4/peer_list
Thu Aug 14 00:01:42 2008: Doing tracker request to url :
Thu Aug 14 00:01:42 2008: Saving 0 chunk downloads
Thu Aug 14 00:01:42 2008: Saving list of peers to /home/adam/.kde/share/apps/ktorrent/tor9/peer_list
Thu Aug 14 00:01:42 2008: Doing tracker request to url :
Thu Aug 14 00:01:42 2008: Saving 0 chunk downloads
Thu Aug 14 00:01:42 2008: Saving list of peers to /home/adam/.kde/share/apps/ktorrent/tor16/peer_list
Thu Aug 14 00:01:42 2008: Doing tracker request to url :
Thu Aug 14 00:01:42 2008: Saving 1 chunk downloads
Thu Aug 14 00:01:42 2008: Saving list of peers to /home/adam/.kde/share/apps/ktorrent/tor1/peer_list
Thu Aug 14 00:01:43 2008: Doing tracker request to url :
Thu Aug 14 00:01:43 2008: Saving 2 chunk downloads
Thu Aug 14 00:01:44 2008: Saving list of peers to /home/adam/.kde/share/apps/ktorrent/tor21/peer_list
Thu Aug 14 00:01:44 2008: Stopping socketmonitor threads
Thu Aug 14 00:01:48 2008: SynchronousWait
Thu Aug 14 00:02:00 2008: MediaPlayer: stopped
Thu Aug 14 00:02:00 2008: Anti-P2P filter unloaded.
George
Moderator
Posts
5421
Karma
1

Fri Aug 15, 2008 11:20 am
What revision have you got running ? If it is lower then 845911, then you should upgrade.

This looks similar to a weird exit with the scanfolder plugin, when KT was in the systray and a new torrent got loaded silently by the plugin.
agforsyth
Registered Member
Posts
133
Karma
0

Fri Aug 15, 2008 11:27 am
Definitely later than r845998
George
Moderator
Posts
5421
Karma
1

Fri Aug 15, 2008 11:45 am
Ok then it isn't that problem.

Was KT minimized to system tray ?
agforsyth
Registered Member
Posts
133
Karma
0

Fri Aug 15, 2008 4:50 pm
George wrote:Ok then it isn't that problem.

Was KT minimized to system tray ?

Yep.
George
Moderator
Posts
5421
Karma
1

Sat Aug 16, 2008 5:03 pm
I have tried reproducing it, but I can't.

Can you recompile everything with the latest SVN code, just to be sure ?
agforsyth
Registered Member
Posts
133
Karma
0

Sun Aug 17, 2008 8:09 am
The log from yesterday:
Code: Select all
Fri Aug 15 18:53:37 2008: Scheduling ipfilter auto update on Sat Aug 16 00:00:00 2008
Sat Aug 16 00:00:05 2008: Doing ipfilter auto update !
Sat Aug 16 00:00:05 2008: Anti-P2P filter unloaded.
Sat Aug 16 00:00:08 2008: Loading Anti-P2P filter...
Sat Aug 16 00:00:08 2008: AntiP2P header loaded.
Sat Aug 16 00:00:08 2008: Doing ipfilter auto update !
Sat Aug 16 00:00:08 2008: Anti-P2P filter unloaded.
Sat Aug 16 00:00:09 2008: Loading Anti-P2P filter...
Sat Aug 16 00:00:09 2008: AntiP2P header loaded.
Sat Aug 16 00:00:09 2008: Doing ipfilter auto update !
Sat Aug 16 00:00:09 2008: Anti-P2P filter unloaded.
Sat Aug 16 00:00:10 2008: Loading Anti-P2P filter...
Sat Aug 16 00:00:10 2008: AntiP2P header loaded.
Sat Aug 16 00:00:10 2008: Doing ipfilter auto update !
Sat Aug 16 00:00:10 2008: Anti-P2P filter unloaded.
Sat Aug 16 00:00:11 2008: Loading Anti-P2P filter...
Sat Aug 16 00:00:11 2008: AntiP2P header loaded.
It repeated those four lines every second for five minutes, then this:
Code: Select all
Sat Aug 16 00:05:02 2008: Doing ipfilter auto update !
Sat Aug 16 00:05:02 2008: Anti-P2P filter unloaded.
Sat Aug 16 00:05:03 2008: Loading Anti-P2P filter...
Sat Aug 16 00:05:03 2008: AntiP2P header loaded.
Sat Aug 16 00:05:03 2008: Doing ipfilter auto update !
Sat Aug 16 00:05:03 2008: Anti-P2P filter unloaded.
Sat Aug 16 00:06:06 2008: Loaded 249574 lines
Sat Aug 16 00:06:06 2008: Loading finished, starting conversion...
Sat Aug 16 00:06:06 2008: Loading Anti-P2P filter...
Sat Aug 16 00:06:06 2008: AntiP2P header loaded.
Sat Aug 16 00:06:06 2008: Scheduling ipfilter auto update on Mon Aug 18 00:00:00 2008

Ktorrent did not close itself, but should it be generating 1200 log messages and take five minutes to work?
George
Moderator
Posts
5421
Karma
1

Sun Aug 17, 2008 11:01 am
You are right, there is a small bug in there.
George
Moderator
Posts
5421
Karma
1

Sun Aug 17, 2008 11:14 am
Try it now


Bookmarks



Who is online

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