[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 142777] Ktorrent crashes immediately (after full disk error)
From:       Joris Guisson <joris.guisson () gmail ! com>
Date:       2007-03-11 16:38:47
Message-ID: 20070311163847.2499.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=142777         
joris.guisson gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From joris.guisson gmail com  2007-03-11 17:38 -------
SVN commit 641522 by guisson:

Fixed crash when current_chunks file is corrupt.

BUG: 142777



 M  +1 -1      downloader.cpp  


--- trunk/extragear/network/ktorrent/libktorrent/torrent/downloader.cpp #641521:641522
 @ -539,7 +539,6  @
 			if (!c->isExcluded() && !c->isExcludedForDownloading() && cman.prepareChunk(c))
 			{
 				ChunkDownload* cd = new ChunkDownload(c);
-				current_chunks.insert(hdr.index,cd);
 				bool ret = false;
 				try
 				{
 @ -556,6 +555,7  @
 				}
 				else
 				{
+					current_chunks.insert(hdr.index,cd);
 					downloaded += cd->bytesDownloaded();
 			
 					if (tmon)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic