Bug#347429: rtorrent: Change in priority for a file results in crash

2006-01-10 Thread Per Andersson
Package: rtorrent
Version: 0.4.1-1
Severity: normal

Trying to change the priority on a single file
for a torrent results in rtorrent crashing and
giving this error message:

Caught exception from libtorrent:
ChunkSelector::find_range(...) received an
invalid range.

This did not happen in the previous version
(0.3.4-1?) of rtorrent.


Per Andersson



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=en_US, LC_CTYPE=en_US
(charmap=ISO-8859-1)

Versions of packages rtorrent depends on:
ii  libc6 2.3.5-11   GNU
C Library: Shared libraries an
ii  libcomerr21.38+1.39-WIP-2005.12.31-1
common error description library
ii  libcurl3  7.15.1-1  
Multi-protocol file transfer libra
ii  libgcc1   1:4.0.2-6  GCC
support library
ii  libidn11  0.5.18-1   GNU
libidn library, implementation
ii  libkrb53  1.4.3-5MIT
Kerberos runtime libraries
ii  libncurses5   5.5-1 
Shared libraries for terminal hand
ii  libsigc++-2.0 2.0.16-2  
type-safe Signal Framework for C++
ii  libssl0.9.8   0.9.8a-5   SSL
shared libraries
ii  libstdc++64.0.2-6The
GNU Standard C++ Library v3
ii  libtorrent6   0.8.1-1a
C++ BitTorrent library
ii  zlib1g1:1.2.3-9 
compression library - runtime

rtorrent recommends no packages.

-- no debconf information




Bug#347429: rtorrent: Change in priority for a file results in crash

2006-01-10 Thread Qingning Huo
[Add Jaris (the upstream author) to CC]

On Tue, Jan 10, 2006 at 05:40:02PM +0100, Per Andersson wrote:
 Package: rtorrent
 Version: 0.4.1-1
 Severity: normal
 
 Trying to change the priority on a single file
 for a torrent results in rtorrent crashing and
 giving this error message:
 
 Caught exception from libtorrent:
 ChunkSelector::find_range(...) received an
 invalid range.
 
 This did not happen in the previous version
 (0.3.4-1?) of rtorrent.
 
 
 Per Andersson
 

Hi,

Thanks for the bug report.

I have tried what you described, but failed to crash rtorrent (0.4.1-1).
Would you be able to get a core dump file and maybe a gdb backtrace?
That would help the developers to find the problem.

Jaris, how do you think this problem?

Regards,
Qingning



signature.asc
Description: Digital signature


Bug#347429: rtorrent: Change in priority for a file results in crash

2006-01-10 Thread Jari Petter Sundell

On Tue, 10 Jan 2006, Qingning Huo wrote:


[Add Jaris (the upstream author) to CC]

On Tue, Jan 10, 2006 at 05:40:02PM +0100, Per Andersson wrote:

Package: rtorrent
Version: 0.4.1-1
Severity: normal

Trying to change the priority on a single file
for a torrent results in rtorrent crashing and
giving this error message:

Caught exception from libtorrent:
ChunkSelector::find_range(...) received an
invalid range.

This did not happen in the previous version
(0.3.4-1?) of rtorrent.


Per Andersson



Hi,

Thanks for the bug report.

I have tried what you described, but failed to crash rtorrent (0.4.1-1).
Would you be able to get a core dump file and maybe a gdb backtrace?
That would help the developers to find the problem.

Jaris, how do you think this problem?

Regards,
Qingning


I belive this bug was fixed right after the 0.4.1 release by the patch 
below. It would crash when changing priorities on a torrent that was 
closed (never started).


http://rakshasa.no/downloads/chunk_selector_empty.diff

Rakshasa

Wheat on black, lightly sprinkled with subdued colors; the color of code.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347429: rtorrent: Change in priority for a file results in crash

2006-01-10 Thread Qingning Huo
On Tue, Jan 10, 2006 at 09:51:10PM +0100, Jari Petter Sundell wrote:
 On Tue, 10 Jan 2006, Qingning Huo wrote:
 
 [Add Jaris (the upstream author) to CC]
 
 On Tue, Jan 10, 2006 at 05:40:02PM +0100, Per Andersson wrote:
 Package: rtorrent
 Version: 0.4.1-1
 Severity: normal
 
 Trying to change the priority on a single file
 for a torrent results in rtorrent crashing and
 giving this error message:
 
 Caught exception from libtorrent:
 ChunkSelector::find_range(...) received an
 invalid range.
 
 This did not happen in the previous version
 (0.3.4-1?) of rtorrent.
 
 
 Per Andersson
 
 
 Hi,
 
 Thanks for the bug report.
 
 I have tried what you described, but failed to crash rtorrent (0.4.1-1).
 Would you be able to get a core dump file and maybe a gdb backtrace?
 That would help the developers to find the problem.
 
 Jaris, how do you think this problem?
 
 Regards,
 Qingning
 
 I belive this bug was fixed right after the 0.4.1 release by the patch 
 below. It would crash when changing priorities on a torrent that was 
 closed (never started).
 
 http://rakshasa.no/downloads/chunk_selector_empty.diff
 
 Rakshasa
 
 Wheat on black, lightly sprinkled with subdued colors; the color of code.
 

Thanks.  I will close this bug in my next Debian upload (for libtorrent
0.8.2 and rtorrent 0.4.2).

Regards,
Qingning



signature.asc
Description: Digital signature


Bug#347429: rtorrent: Change in priority for a file results in crash

2006-01-10 Thread Qingning Huo
reassign 347429 libtorrent 0.8.1-1
tag 347429 + pending
thanks

On Tue, Jan 10, 2006 at 05:40:02PM +0100, Per Andersson wrote:
 Package: rtorrent
 Version: 0.4.1-1
 Severity: normal
 
 Trying to change the priority on a single file
 for a torrent results in rtorrent crashing and
 giving this error message:
 
 Caught exception from libtorrent:
 ChunkSelector::find_range(...) received an
 invalid range.
 
 This did not happen in the previous version
 (0.3.4-1?) of rtorrent.
 
 
 Per Andersson
 

Will be closed in 0.8.2-1.

Regards,
Qingning



signature.asc
Description: Digital signature