Bug#551896: mldonkey-server: can't download torrent files with no 'announce' field
Package: mldonkey-server
Version: 2.9.5-2+lenny1
Severity: normal
Tags: patch
There are many torrent files now that only contain 'announce-list', not
'announce' field (most created with new uTorrent versions).
Mldonkey handles multiple trackers nice, but
one internal assertion fails on such files, preventing
download.
3.0.0-3 from squeeze is also affected.
Here is a working patch for this, and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551766
has a couple of test torrents.
Upstream bug report:
https://savannah.nongnu.org/bugs/index.php?27769
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-openvz-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.koi8r, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash
Versions of packages mldonkey-server depends on:
ii adduser 3.110 add and remove users and groups
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii dpkg 1.14.25 Debian package management system
ii libbz2-1.0 1.0.5-1 high-quality block-sorting file co
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libfreetype6 2.3.7-2+lenny1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.3.2-1.1 GCC support library
ii libgd2-noxpm 2.0.36~rc1~dfsg-3 GD Graphics Library version 2 (wit
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.27-2+lenny2 PNG library - runtime
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
ii mime-support 3.44-1 MIME files 'mime.types' & 'mailcap
ii ucf 3.0016 Update Configuration File: preserv
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
mldonkey-server recommends no packages.
Versions of packages mldonkey-server suggests:
pn makejail <none> (no description available)
-- debconf-show failed
--- src/networks/bittorrent/bTTorrent.ml 2009-10-21 22:16:11.000000000 +0700
+++ src/networks/bittorrent/bTTorrent.ml.my 2009-10-21 22:16:20.000000000 +0700
@@ -285,7 +285,6 @@
| None -> Charset.safe_convert !file_encoding !file_name
| Some name -> name
in
- assert (!announce <> "");
assert (real_file_name <> "");
assert (!file_piece_size <> zero);
assert (!file_pieces <> "");
Reply to: