I have a repeatable crash now whenever I startup rtorrent.  I suspect
it has to do with a UTF8 series of characters within a torrent I
recently added, but I can't be sure.  Can someone assist in
troubleshooting where this error might be cropping up and help fix
what appears to be an issue inside of libtorrent ? (see below)

rtorrent version 0.8.9, compiled from ports.

Crash results analyzed with gdb :
----
New Thread 2b458980 (LWP 100130)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 28901140 (LWP 100126)]
0x28362c63 in torrent::PollKQueue::perform () from
/usr/local/lib/libtorrent.so.14
(gdb) bt
#0  0x28362c63 in torrent::PollKQueue::perform () from
/usr/local/lib/libtorrent.so.14
#1  0x08117e3b in std::vector<std::string, std::allocator<std::string>
>::insert ()
#2  0x0805998c in ?? ()
#3  0x08054017 in ?? ()
#4  0x00000004 in ?? ()
#5  0xbfbfe79c in ?? ()
#6  0xbfbfe7b0 in ?? ()
#7  0xbfbfe780 in ?? ()
#8  0xbfbfe798 in ?? ()
#9  0x00000000 in ?? ()
#10 0xbfbfe794 in ?? ()
#11 0x08053f85 in ?? ()
#12 0x28177f40 in dlclose () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)
(gdb)

----

Configuration file :
https://pastee.org/48n79

Additional library information :

=screen=(theorem@routerbox ~) ldd /usr/local/lib/libtorrent.so.14
/usr/local/lib/libtorrent.so.14:
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x283f9000)
        libsigc-2.0.so.0 => /usr/local/lib/libsigc-2.0.so.0 (0x281aa000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28554000)
        libm.so.5 => /lib/libm.so.5 (0x281af000)
        libc.so.7 => /lib/libc.so.7 (0x28090000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x281c9000)

=screen=(theorem@routerbox ~) ll /usr/local/lib/libtorrent.so.14
-rwxr-xr-x  1 root  wheel  1224195 Jan 15 14:50 /usr/local/lib/libtorrent.so.14

=screen=(theorem@routerbox ~) file /usr/local/lib/libtorrent.so.14
/usr/local/lib/libtorrent.so.14: ELF 32-bit LSB shared object, Intel
80386, version 1 (FreeBSD), dynamically linked, not stripped

=screen=(theorem@routerbox ~) ldd `which rtorrent`
/usr/local/bin/rtorrent:
        libncursesw.so.8 => /lib/libncursesw.so.8 (0x281b6000)
        libcurl.so.6 => /usr/local/lib/libcurl.so.6 (0x28204000)
        libssh2.so.1 => /usr/local/lib/libssh2.so.1 (0x2825a000)
        libldap-2.4.so.7 => /usr/local/lib/libldap-2.4.so.7 (0x2827c000)
        liblber-2.4.so.7 => /usr/local/lib/liblber-2.4.so.7 (0x282b7000)
        libssl.so.6 => /usr/lib/libssl.so.6 (0x282c3000)
        libz.so.5 => /lib/libz.so.5 (0x2830b000)
        libtorrent.so.14 => /usr/local/lib/libtorrent.so.14 (0x2831d000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0x28416000)
        libsigc-2.0.so.0 => /usr/local/lib/libsigc-2.0.so.0 (0x28571000)
        libxmlrpc_server.so.3 => /usr/local/lib/libxmlrpc_server.so.3
(0x28576000)
        libxmlrpc.so.3 => /usr/local/lib/libxmlrpc.so.3 (0x2857c000)
        libxmlrpc_util.so.3 => /usr/local/lib/libxmlrpc_util.so.3 (0x2858e000)
        libxmlrpc_xmlparse.so.3 =>
/usr/local/lib/libxmlrpc_xmlparse.so.3 (0x28592000)
        libxmlrpc_xmltok.so.3 => /usr/local/lib/libxmlrpc_xmltok.so.3
(0x2859c000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x285b0000)
        libm.so.5 => /lib/libm.so.5 (0x286ad000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x286c7000)
        libthr.so.3 => /lib/libthr.so.3 (0x286d2000)
        libc.so.7 => /lib/libc.so.7 (0x286e7000)

=screen=(theorem@routerbox ~) uname -na
FreeBSD routerbox 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #2: Sun Nov 28
02:55:24 EST 2010     theorem@routerbox:/usr/obj/usr/src/sys/HOMENET05
 i386


Further details can be provided upon request.

Thanks,
T
_______________________________________________
Libtorrent-devel mailing list
Libtorrent-devel@rakshasa.no
http://rakshasa.no/mailman/listinfo/libtorrent-devel

Reply via email to