[Libtorrent-devel] Backtrace when finishing a torrent
Diego 'Flameeyes' Pettenò
flameeyes at gentoo.org
Fri Dec 16 17:47:40 UTC 2005
I know I shouldn't report this as I'm using GCC 4.x, but while I'm trying to
trace it by myself, maybe it can be useful to others if they're suffering
from similar problems.
Since last release (0.8.0, 0.3.0), or maybe because of some patch added to gcc
in between the previous and this release, rtorrent on my system aborts while
finishing and cleaning up a torrent.
I've rebuilt all of libtorrent/retorrent and sigc++ with -g3 and this is the
output of bt full on the core file:
#0 0x00002c9d5b75324a in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00002c9d5b7545b0 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00002c9d5b350f50 in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/libstdc++.so.6
No symbol table info available.
#3 0x00002c9d5b34ef86 in __cxxabiv1::__terminate ()
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/libstdc++.so.6
No symbol table info available.
#4 0x00002c9d5b34efb3 in std::terminate ()
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/libstdc++.so.6
No symbol table info available.
#5 0x00002c9d5b34f09a in __cxa_throw ()
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/libstdc++.so.6
No symbol table info available.
#6 0x00002c9d5a8fdb10 in torrent::PeerConnectionSeed::finish_bitfield
(this=<value optimized out>) at peer_connection_seed.cc:425
No locals.
#7 0x0000000000573230 in ?? ()
No symbol table info available.
#8 0x00002c9d5a8fde55 in torrent::PeerConnectionSeed::event_read
(this=0x5f6e70) at peer_connection_seed.cc:246
No locals.
#9 0x00002c9d5a8cbf03 in torrent::PollEPoll::perform (this=0x573230) at
poll_epoll.cc:129
itr = (epoll_event *) 0x573410
last = (epoll_event *) 0x57341c
#10 0x000000000042b0dc in core::PollManagerEPoll::poll (this=0x577430,
timeout={m_time = 532912, static m_cache = 1134754368467086})
at poll_manager_epoll.cc:112
No locals.
#11 0x000000000040fe54 in main (argc=2, argv=0x792992f40588) at main.cc:245
e = <value optimized out>
optionHandler = {<std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>,OptionHandlerBase*,std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >
>,std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, OptionHandlerBase*> > >> =
{_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
OptionHandlerBase*> > >> =
{<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
OptionHandlerBase*> > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<> = {<No data fields>}, <No data fields>}, _M_header = {
_M_color = std::_S_red, _M_parent = 0x5725e0, _M_left = 0x5727c0,
_M_right = 0x5731f0}, _M_node_count = 22}}}, <No data fields>}
uiControl = {m_shutdownReceived = false, m_ui = 0x571b50, m_core =
0x571bb0, m_display = 0x572310, m_input = 0x572330, m_inputStdin = 0x572350,
m_taskShutdown = {m_iterator = {_M_node = 0x567aa0}, m_slot =
{<sigc::slot0<void>> = {<sigc::slot_base> = {<> = {<No data fields>}, rep_ =
0x572440,
blocked_ = false}, <No data fields>}, <No data fields>}}}
#12 0x00002c9d5b74066c in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#13 0x000000000040b9ca in _start ()
No symbol table info available.
I'm not even sure if this is all of it, because I haven't built without
optimizations, but I'm using -Os so it shouldn't be inlining things....
--
Diego "Flameeyes" Pettenò - http://dev.gentoo.org/~flameeyes/
Gentoo/ALT lead, Gentoo/FreeBSD, Video, AMD64, Sound, PAM, KDE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://rakshasa.no/pipermail/libtorrent-devel/attachments/20051216/0eefe388/attachment.bin
More information about the Libtorrent-devel
mailing list