All pastes #385490 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-07 21:53 UTC
rendered paste body
==1820== Conditional jump or move depends on uninitialised value(s)
==1820==    at 0x419E44F: torrent::choke_manager_allocate_slots(__gnu_cxx::__normal_iterator<std::pair<torrent::PeerConnectionBase*, unsigned>*, std::vector<std::pair<torrent::PeerConnectionBase*, unsigned>, std::allocator<std::pair<torrent::PeerConnectionBase*, unsigned> > > >, __gnu_cxx::__normal_iterator<std::pair<torrent::PeerConnectionBase*, unsigned>*, std::vector<std::pair<torrent::PeerConnectionBase*, unsigned>, std::allocator<std::pair<torrent::PeerConnectionBase*, unsigned> > > >, unsigned, unsigned*, std::pair<unsigned, __gnu_cxx::__normal_iterator<std::pair<torrent::PeerConnectionBase*, unsigned>*, std::vector<std::pair<torrent::PeerConnectionBase*, unsigned>, std::allocator<std::pair<torrent::PeerConnectionBase*, unsigned> > > > >*) (choke_manager.cc:269)
==1820==    by 0x419EB29: torrent::ChokeManager::unchoke_range(__gnu_cxx::__normal_iterator<std::pair<torrent::PeerConnectionBase*, unsigned>*, std::vector<std::pair<torrent::PeerConnectionBase*, unsigned>, std::allocator<std::pair<torrent::PeerConnectionBase*, unsigned> > > >, __gnu_cxx::__normal_iterator<std::pair<torrent::PeerConnectionBase*, unsigned>*, std::vector<std::pair<torrent::PeerConnectionBase*, unsigned>, std::allocator<std::pair<torrent::PeerConnectionBase*, unsigned> > > >, unsigned) (choke_manager.cc:366)
==1820==    by 0x419F32D: torrent::ChokeManager::cycle(unsigned) (choke_manager.cc:121)
==1820==    by 0x4154679: torrent::ResourceManager::balance_upload_unchoked(unsigned) (resource_manager.cc:194)
==1820==    by 0x41548F4: torrent::ResourceManager::receive_tick() (resource_manager.cc:156)
==1820==    by 0x4151692: torrent::Manager::receive_tick() (manager.cc:151)
==1820==    by 0x415321C: rak::mem_fn0_t<torrent::Manager, void>::operator()() (functional_fun.h:184)
==1820==    by 0x416A43B: torrent::perform() (functional_fun.h:94)
==1820==    by 0x80A6E1C: core::PollManagerEPoll::poll(rak::timer) (poll_manager_epoll.cc:111)
==1820==    by 0x8057F4D: main (main.cc:261)
==1820==
==1820==
==1820== 16 bytes in 1 blocks are definitely lost in loss record 4 of 25
==1820==    at 0x40219DC: operator new(unsigned) (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==1820==    by 0x41577CD: torrent::ConnectionManager::ConnectionManager() (connection_manager.cc:66)
==1820==    by 0x4152024: torrent::Manager::Manager() (manager.cc:81)
==1820==    by 0x416987A: torrent::initialize(torrent::Poll*) (torrent.cc:104)
==1820==    by 0x809ECE1: core::Manager::initialize_first() (manager.cc:228)
==1820==    by 0x8057C6A: main (main.cc:163)