bugmldonkey, a multi-networks file-sharing client - Bugs: bug #27781, Reassigned to another tracker...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27781: Reassigned to another tracker [was: BT: Fix torrent parsing when announce-list is empty]

Submitter:  Hose Bag <user>
Submitted:  Thu 22 Oct 2009 03:13:00 PM UTC
Votes: 40
 
Category:  Bittorrent-Plugin Severity:  4 - Important
Item Group:  Program malfunction Status:  Ready For Test
Assigned to:  None Open/Closed:  Closed
Release:  2.9.5 Release: 
Operating System:  Linux Binaries Origin:  Debian package
CPU type:  None

Fri 23 Oct 2009 05:24:28 AM UTC, comment #3: 

THIS ITEM WAS REASSIGNED TO PATCH #6961


Please, do not post any new comments to this item.

spiralvoice <spiralvoice>
Group administrator
Fri 23 Oct 2009 04:45:41 AM UTC, comment #2: 

Your patch works fine, too.

Hose Bag <user>
Thu 22 Oct 2009 08:13:45 PM UTC, comment #1: 

Please try the attached patch instead.

It uses Ocaml exception handling in case
of an error and saves the handling of the
if-then code in your patch.

(file #18929)

spiralvoice <spiralvoice>
Group administrator
Thu 22 Oct 2009 03:13:00 PM UTC, original submission:  

THIS ITEM WAS REASSIGNED TO PATCH #6961
Some torrent files are discarded by mldonkey with this message in log:
[BT] Error Failure("hd") in scan_new_torrents_directory for file.torrent, moved to torrents/old ...
3.0.0-3 from squeeze is also affected.

I tried to fix this, and it turns out that some internal list is empty
when program tries to get it's first element.
This patch checks list length before using it. Works fine for me.

Sample torrent:
http://www.mininova.org/tor/3070173

Hose Bag <user>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by spiralvoice (Updated the item)
  • -email is unavailable- added by user
  •  

    There are 40 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-10-23 spiralvoice Reassign Itemmldonkey, a multi-networks file-sharing client, bug #27781 mldonkey, a multi-networks file-sharing client, patch #6961
    2009-10-23 spiralvoice Summary\'Error Failure(&quot;hd&quot;), moved to torrents/old\' for some torrent files BT: Fix torrent parsing when announce-list is empty
    2009-10-22 spiralvoice StatusNone Ready For Test
        Attached File- Added bt_announce.diff, #18929
        Severity3 - Normal 4 - Important
    2009-10-22 user Carbon-Copy- Added user
    2009-10-22 user Attached File- Added check_next_urls.diff, #18924
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code