[Libtorrent-devel] error when stop a torrent from rutorrent

Artifex Maximus artifexor at gmail.com
Fri Oct 15 11:23:23 UTC 2010


On Fri, Oct 15, 2010 at 7:59 AM, Jari Sundell
<sundell.software at gmail.com> wrote:
> On Fri, Oct 15, 2010 at 5:23 AM, Artifex Maximus <artifexor at gmail.com> wrote:
>> Same error but the log is shorter this time:
>
> Please send me information about the system, what polling type
> rtorrent selects and do a run under gdb where you 'break
> poll_manager.cc:106' and 'bt full'.

About the system. That is a FreeBSD 8.1 system, using system gcc which is:

"# gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]"

Using following packages:

autoconf-2.67       Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.11.1     GNU Standards-compliant Makefile generator (1.11)
automake-wrapper-20071109 Wrapper script for GNU automake
libsigc++-2.2.8     Callback Framework for C++
xmlrpc-c-devel-1.23.2 XML-RPC library for C and C++

Configuring libtorrent with the following line:

"CFLAGS='-pipe -Os -pthread -march=i686' \
CXXFLAGS='-pipe -Os -pthread -march=i686' \
LDFLAGS='-s -lpthread' \
./configure \
 --prefix=/usr/local \
 --enable-debug \
 --enable-extra-debug \
 --without-kqueue"

kqueue had an error (reported here or as a ticket) and I had to
disable. From configure output:

"checking for epoll support... no"

Configure for rtorrent:

"CFLAGS='-pipe -Os -pthread -march=i686' \
CXXFLAGS='-pipe -Os -pthread -march=i686' \
LDFLAGS='-s -lpthread' \
./configure \
 --prefix=/usr/local \
 --enable-debug \
 --enable-extra-debug \
 --disable-werror \
 --with-xmlrpc-c"

Do you need any other information about system?

Debug information later.

Bye,
a


More information about the Libtorrent-devel mailing list