[Libtorrent-devel] Rtorrent 0.8.3 crash after short time

Josef Drexler josef at ttdpatch.net
Tue Oct 14 11:58:41 UTC 2008


On Oct 14, 2008, at 11:27 AM, markus reichelt wrote:
> * Marcin Miroslaw <marcin at mejor.pl> wrote:
>> I've got problem with rtorrent, in a couple of minutes after  
>> start, it
>> crashed with segfault:
>> Caught Segmentation fault, dumping stack:
>> 0 rtorrent [0x8083e9f]
>> 1 rtorrent [0x808869c]
>> 2 [0xffffe400]
>> 3 /usr/lib/libtorrent.so.11(_ZN7torrent9PollEPoll7performEv+0x61)
>> [0xb7eb4a01]
>> 4 rtorrent [0x80c560c]
>> 5 rtorrent [0x80848e5]
>> 6 /lib/libc.so.6(__libc_start_main+0xe5) [0xb797e635]
>> 7 rtorrent(_ZNSt8ios_base4InitD1Ev+0x7d) [0x8053e71]
>
> It happend to me too, with just a single small multi-file torrent:

[...]

I've made a patch to handle epoll/kqueue differently, to fix one  
specific crash in torrent::poll*Poll::perform, which may also fix  
this if it's the same problem (specifically, libcurl/c-ares saying  
they would close a socket but then not actually closing it and  
rtorrent receiving poll events on a socket it has discarded).

http://ovh.ttdpatch.net/~jdrexler/rt/experimental/poll-by-fd.diff

-- 
Josef Drexler
josef at ttdpatch.net





More information about the Libtorrent-devel mailing list