ports/75869: ctorrent crashes w/ signal 11 w/ torrent file of a complete download

parv at pair.com parv at pair.com
Thu Jan 6 00:40:25 UTC 2005


>Number:         75869
>Category:       ports
>Synopsis:       ctorrent crashes w/ signal 11 w/ torrent file of a complete download
>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:   Thu Jan 06 00:40:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 5.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD holestein.holy.cow 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #10: Mon Jan 3 03:38:36 EST 2005 root at holestein.holy.cow:/misc/src-5.3/sys/BOVINE i386

Bash 3 in xterm, running ctorrent as normal user.

>Description:

I downloaded the FreeSBIE 1.1 torrent metainfo file from ...

  http://torrent.freesbie.org/FreeSBIE-1.1-i386.torrent


... ctorrent then downloaded the folder; no problems so far.

Later running ctorrent w/ the same torrent metainfo file, it crashes
resulting in 3.9 MB core dump w/ segmentation fault; backtrace is
below ...

  warning: exec file is newer than core file.
  Core was generated by `ctorrent'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /lib/libmd.so.2...done.
  Loaded symbols for /lib/libmd.so.2
  Reading symbols from /usr/lib/libstdc++.so.4...done.
  Loaded symbols for /usr/lib/libstdc++.so.4
  Reading symbols from /lib/libm.so.3...done.
  Loaded symbols for /lib/libm.so.3
  Reading symbols from /lib/libc.so.5...done.
  Loaded symbols for /lib/libc.so.5
  Reading symbols from /libexec/ld-elf.so.1...done.
  Loaded symbols for /libexec/ld-elf.so.1
  #0  0x0804a645 in BitField::Random (this=0x951) at bitfield.cpp:196
  196           if( _isset(index) ) i--;
  (gdb) bt
  #0  0x0804a645 in BitField::Random (this=0x951) at bitfield.cpp:196
  #1  0x0804fcd8 in btPeer::RequestPiece (this=0x8072900) at peer.cpp:141
  #2  0x0805049e in btPeer::RequestCheck (this=0x8072900) at peer.cpp:348
  #3  0x0804fe6d in btPeer::MsgDeliver (this=0x8072900) at peer.cpp:177
  #4  0x08050819 in btPeer::RecvModule (this=0x8072900) at peer.cpp:446
  #5  0x08052663 in PeerList::AnyPeerReady (this=0x8057c20, rfdp=0xbfbfe520, wfdp=0xbfbfe4a0, nready=0xbfbfe48c)
      at peerlist.cpp:498
  #6  0x0804ef95 in Downloader () at downloader.cpp:49
  #7  0x0804e914 in main (argc=2, argv=0xbfbfe63c) at ctorrent.cpp:91


>How-To-Repeat:

Download the FreeSBIE torrent metainfo file mentioned above; download
FreeSBIE 1.1; return ctorrent.


>Fix:

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



More information about the freebsd-ports-bugs mailing list