On Wed, Oct 17, 2007 at 01:20:00AM -0700, dean gaudet wrote:
> Package: libtorrent10
> Version: 0.11.8-1
>
> between 0.11.7 and 0.11.8-1 i started getting regular crashes starting
> with:
>
> ** glibc detected *** /usr/bin/rtorrent: double free or corruption
> (!prev): 0x000000000b0952b0 ***
>
> this is on amd64.
I get the same problem, also on amd64, not sure if it's related to being
64 bit or not.
** glibc detected *** rtorrent: double free or corruption (out):
0x0000000000d3fa50 ***
> i looked at the known issues page and it requires -fno-strict-aliasing,
> but that's not set in the debian/rules.
Note that that's crashes when starting, not after some time.
I also see the problem with compiled with -O0.
Here is a backtrace compiled with -O0:
#0 0x00002b368f9d6635 in raise () from /lib/libc.so.6
#1 0x00002b368f9d8090 in abort () from /lib/libc.so.6
#2 0x00002b368fa0f49b in ?? () from /lib/libc.so.6
#3 0x00002b368fa1699a in ?? () from /lib/libc.so.6
#4 0x00002b368fa1a58c in free () from /lib/libc.so.6
#5 0x00002b368e084bc5 in
__gnu_cxx::new_allocator<torrent::ChunkPart>::deallocate (this=0xae63c0,
__p=0xd3fa50) at /usr/include/c++/4.2/ext/new_allocator.h:97
#6 0x00002b368e084bf7 in std::_Vector_base<torrent::ChunkPart,
std::allocator<torrent::ChunkPart> >::_M_deallocate (this=0xae63c0,
__p=0xd3fa50, __n=1)
at /usr/include/c++/4.2/bits/stl_vector.h:134
#7 0x00002b368e084d85 in ~_Vector_base (this=0xae63c0)
at /usr/include/c++/4.2/bits/stl_vector.h:120
#8 0x00002b368e084ddb in ~vector (this=0xae63c0)
at /usr/include/c++/4.2/bits/stl_vector.h:268
#9 0x00002b368e084fc6 in ~Chunk (this=0xae63c0) at chunk.h:63
#10 0x00002b368e09a6ff in torrent::ChunkList::clear_chunk (this=0xa574f0,
node=0x2b3691e4d0b0) at chunk_list.cc:206
#11 0x00002b368e096668 in torrent::ChunkList::release (this=0xa574f0,
handle=0xbabbd0) at chunk_list.cc:192
#12 0x00002b368e0d2968 in torrent::PeerConnectionBase::up_chunk_release (
this=0xbab8c0) at peer_connection_base.cc:711
#13 0x00002b368e0d485a in torrent::PeerConnectionBase::load_up_chunk (
this=0xbab8c0) at peer_connection_base.cc:277
#14 0x00002b368e0daf3f in torrent::PeerConnectionSeed::event_write (
this=0xbab8c0) at peer_connection_seed.cc:329
#15 0x00002b368e069f16 in torrent::PollEPoll::perform (this=0x7001b0)
at poll_epoll.cc:138
#16 0x0000000000477055 in ?? ()
#17 0x0000000000432b06 in ?? ()
#18 0x00002b368f9c2b44 in __libc_start_main () from /lib/libc.so.6
#19 0x000000000040db99 in ?? ()
#20 0x00007fff1dec7438 in ?? ()
#21 0x0000000000000000 in ?? ()
Kurt
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]