Bug 183699

Summary: Torrent never leaves the announcing state
Product: [Applications] ktorrent Reporter: Cláudio F. Gil <claudio.f.gil>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: ktorrent main log file

Description Cláudio F. Gil 2009-02-08 17:11:43 UTC
Version:           3.2beta1 (using 4.2.00 (KDE 4.2.0) "release 82.3", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.7-9-default

When ktorrent starts without and internet connection and the the connection is established afterwards all torrents stay in the "announcing" state and "next update" stays at "0:00". 

Stopping and starting the torrent does not solve the problem so I have to stop and start ktorrent itself after the connection is established. After this, even if the tracker is not available the announcement is retried from time to time (like 30min) as expected.
Comment 1 Joris Guisson 2009-02-09 19:12:16 UTC
Can you post your log file ? It can be found in ~/.kde/share/apps/ktorrent/log
Comment 2 Cláudio F. Gil 2009-02-09 22:38:40 UTC
Created attachment 31167 [details]
ktorrent main log file

The main log file during the time where ktorrent shows a torrent that never leaves the "announcing" state and the timer remains at "0:00". The torrent is being seeded.
Comment 3 Joris Guisson 2009-02-12 16:11:36 UTC
SVN commit 925142 by guisson:

Fix bug causing trackers to be retried continuously when hostname can not be resolved because the network isn't up yet.

BUG: 183697
BUG: 183699



 M  +1 -0      ChangeLog  
 M  +1 -1      libbtcore/torrent/peersourcemanager.cpp  
 M  +3 -0      libbtcore/tracker/udptracker.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=925142