Hello,
I am running FreeBSD 10.0-RELEASE. I am running into a segmentation fault with rtorrent-devel-0.9.3_2.
The segmentation fault happens when trying to load torrents. To reproduce, press <backspace> and press <tab>twice once.
At the recommendation from a friend, I built rtorrent with debugging symbols and put it through gdb. (this is my first use of gdb)
The segmentation fault happens at gthr-default.h line 199 which is a gcc46 file.
Is this something I can fix by changing rtorrent's source and recompiling?
Thanks,
Manas
I am running FreeBSD 10.0-RELEASE. I am running into a segmentation fault with rtorrent-devel-0.9.3_2.
The segmentation fault happens when trying to load torrents. To reproduce, press <backspace> and press <tab>
At the recommendation from a friend, I built rtorrent with debugging symbols and put it through gdb. (this is my first use of gdb)
The segmentation fault happens at gthr-default.h line 199 which is a gcc46 file.
Code:
#0 0x00000000004bb272 in display::WindowStringList::set_range (this=0x0, first={_M_node = 0x80beff8e0}, last={_M_node = 0x805d3c7e8}) at gthr-default.h:199
#1 0x00000000004bb8d8 in ui::ElementStringList::set_range_dirent<__gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > > > (this=0x805d3c780, first={_M_current = 0x8083c7368}, last={_M_current = 0x8083c7368}) at download_list.cc:76
#2 0x00000000004befbe in sigc::bound_mem_functor2<void, ui::ElementStringList, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > >, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > > >::operator() (
this=0x80bf1dc78, _A_a1=@0x7fffffffd400, _A_a2=@0x7fffffffd408) at download_list.cc:76
#3 0x00000000004bea4f in sigc::adaptor_functor<sigc::bound_mem_functor2<void, ui::ElementStringList, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > >, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > > > >::operator()<__gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > > const&, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > > const&> (this=0x80bf1dc70, _A_arg1=@0x7fffffffd400,
_A_arg2=@0x7fffffffd408) at download_list.cc:76
#4 0x00000000004be20c in sigc::internal::slot_call2<sigc::bound_mem_functor2<void, ui::ElementStringList, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > >, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > > >, void, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > >, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > > >::call_it (rep=0x80bf1dc40, a_1=@0x7fffffffd400, a_2=@0x7fffffffd408)
at download_list.cc:76
#5 0x0000000000527a55 in sigc::internal::signal_emit2<void, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > >, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > >, sigc::nil>::emit (impl=0x80befdac0,
_A_a1=@0x7fffffffd400, _A_a2=@0x7fffffffd408) at path_input.cc:58
#6 0x00000000005276bb in sigc::signal2<void, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > >, __gnu_cxx::__normal_iterator<utils::directory_entry*, std::vector<utils::directory_entry, std::allocator<utils::directory_entry> > >, sigc::nil>::emit (this=0x80c559dc0,
_A_a1=@0x7fffffffd400, _A_a2=@0x7fffffffd408) at path_input.cc:58
#7 0x0000000000526e16 in input::PathInput::receive_do_complete (this=0x80c559d40) at path_input.cc:58
#8 0x0000000000526b2a in input::PathInput::pressed (this=0x80c559d40, key=9) at path_input.cc:58
#9 0x0000000000525e8d in input::Manager::pressed (this=0x805c830c0, key=9) at manager.cc:59
#10 0x000000000046db31 in sigc::bound_mem_functor1<void, input::Manager, int>::operator() (this=0x805c174f8, _A_a1=@0x7fffffffd5ec) at typeinfo:127
#11 0x000000000046d755 in sigc::adaptor_functor<sigc::bound_mem_functor1<void, input::Manager, int> >::operator()<int const&> (this=0x805c174f0, _A_arg1=@0x7fffffffd5ec)
at typeinfo:127
#12 0x000000000046cff6 in sigc::internal::slot_call1<sigc::bound_mem_functor1<void, input::Manager, int>, void, int>::call_it (rep=0x805c174c0, a_1=@0x7fffffffd5ec) at typeinfo:127
#13 0x0000000000525c7b in sigc::slot1<void, int>::operator() (this=0x805c830f0, _A_a1=@0x7fffffffd5ec) at slot_base.h:273
#14 0x0000000000525bdf in input::InputEvent::event_read (this=0x805c830e0) at slot_base.h:273
#15 0x0000000803045bdf in torrent::PollKQueue::perform () from /usr/local/lib/libtorrent.so.17
#16 0x0000000000000000 in ?? ()
Is this something I can fix by changing rtorrent's source and recompiling?
Thanks,
Manas