Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2009 20:04:59 GMT
From:      Michael Soulier <msoulier@digitaltorque.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/141406: Net::BitTorrent::File fails to parse .torrent file
Message-ID:  <200912122004.nBCK4x6c029410@www.freebsd.org>
Resent-Message-ID: <200912122010.nBCKA2rp048672@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         141406
>Category:       ports
>Synopsis:       Net::BitTorrent::File fails to parse .torrent file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 12 20:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Michael Soulier
>Release:        6.3
>Organization:
>Environment:
FreeBSD kanga.digitaltorque.ca 6.3-RELEASE-p4 FreeBSD 6.3-RELEASE-p4 #0: Mon Sep 22 02:44:08 EDT 2008     root@kanga.digitaltorque.ca:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Trying to load a directory full of .torrent files, I get this:

Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.9/Convert/Bencode.pm line 127.
Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.9/Convert/Bencode.pm line 138.
Use of uninitialized value in string eq at /usr/local/lib/perl5/site_perl/5.8.9/Convert/Bencode.pm line 148.
Use of uninitialized value in pattern match (m//) at /usr/local/lib/perl5/site_perl/5.8.9/Convert/Bencode.pm line 157.
Can't coerce array into hash at /usr/local/lib/perl5/site_perl/5.8.9/Net/BitTorrent/File.pm line 278.

Looks like a bug in the library, possibly tickled by something odd in the .torrent file, I'm not sure. 
>How-To-Repeat:
Load a .torrent file that causes the issue. Unfortunately I'm not sure what's unique about my .torrent files. 
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912122004.nBCK4x6c029410>