#286 [dupe] Seg Fault - Dragging Ship Out Of Fleet

Latest Subversion
closed-fixed
nobody
Client (126)
5
2007-03-19
2007-03-01
Anonymous
No

When draging the last ship out of the "Home Fleet" to new fleet so that "home fleet" would be empty afterwards crashes FO

Error and gdb backrace is attached

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1230297360 (LWP 15362)]
0x08289652 in std::__find<__gnu_cxx::__normal_iterator<Fleet**, std::vector<Fleet*, std::allocator<Fleet*> > >, Fleet*> ()
(gdb) bt
#0 0x08289652 in std::__find<__gnu_cxx::__normal_iterator<Fleet**, std::vector<Fleet*, std::allocator<Fleet*> > >, Fleet*> ()
#1 0x08285f8f in FleetButton::FleetDeleted ()
#2 0x083c7853 in boost::function1<void, UniverseObject const*, std::allocator<void> >::operator()
()
#3 0x083c7a0a in boost::operator++<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<UniverseObject const*, boost::function<void ()(UniverseObject const*), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int> ()
#4 0x083c7e58 in boost::signal1<void, UniverseObject const*, boost::last_value<void>, int, std::less<int>, boost::function<void ()(UniverseObject const*), std::allocator<void> > >::operator() ()
#5 0x083ba3e5 in Universe::Delete ()
#6 0x081a9d40 in DeleteFleetOrder::ExecuteImpl ()
#7 0x081a7b02 in Order::Execute ()
#8 0x081abb67 in OrderSet::IssueOrder ()
#9 0x08295787 in FleetWnd::DeleteFleet ()
#10 0x0829fff3 in boost::function1<void, Fleet*, std::allocator<void> >::operator() ()
#11 0x082a01aa in boost::operator++<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound1<void>::caller<Fleet*, boost::function<void ()(Fleet*), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int> ()
#12 0x082a05f8 in boost::signal1<void, Fleet*, boost::last_value<void>, int, std::less<int>, boost::function<void ()(Fleet*), std::allocator<void> > >::operator() ()
#13 0x08294eb3 in FleetDetailPanel::SetFleet ()
#14 0x082967cb in FleetDetailPanel::Refresh ()
#15 0x080874ec in boost::function0<void, std::allocator<void> >::operator() ()
#16 0x08087691 in boost::operator++<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound0<void>::caller<boost::function<void ()(), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int> ()
#17 0x08087ad8 in boost::signal0<void, boost::last_value<void>, int, std::less<int>, boost::function<void ()(), std::allocator<void> > >::operator() ()
#18 0x0811710e in Fleet::RemoveShip ()
#19 0x08117f37 in Fleet::AddShip ()
#20 0x081a9498 in NewFleetOrder::ExecuteImpl ()
#21 0x081a7b02 in Order::Execute ()
#22 0x081abb67 in OrderSet::IssueOrder ()
#23 0x08293091 in FleetWnd::CreateNewFleetFromDrops ()
#24 0x082a2d9a in boost::function2<void, Ship*, std::vector<int, std::allocator<int> > const&, std::allocator<void> >::operator() ()
#25 0x082a2f51 in boost::operator++<boost::signals::detail::slot_call_iterator<boost::signals::detail::call_bound2<void>::caller<Ship*, std::vector<int, std::allocator<int> > const&, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >, boost::signals::detail::named_slot_map_iterator>, boost::signals::detail::unusable, boost::single_pass_traversal_tag, boost::signals::detail::unusable const&, int> ()
#26 0x082a33a1 in boost::signal2<void, Ship*, std::vector<int, std::allocator<int> > const&, boost::last_value<void>, int, std::less<int>, boost::function<void ()(Ship*, std::vector<int, std::allocator<int> > const&), std::allocator<void> > >::operator() ()
#27 0x0828ea20 in FleetDataPanel::AcceptDrops ()
#28 0xb7cc2e4d in GG::GUI::HandleGGEvent () from /opt/freeorion/lib/libGiGi.so
#29 0xb7fa0ec5 in SDLGUI::HandleSystemEvents () from /opt/freeorion/lib/libGiGiSDL.so
#30 0xb7ca7ea8 in GG::EventPump::operator() () from /opt/freeorion/lib/libGiGi.so
---Type <return> to continue, or q <return> to quit---
#31 0xb7fa12e4 in SDLGUI::Run () from /opt/freeorion/lib/libGiGiSDL.so
#32 0xb7cbda51 in GG::GUI::operator() () from /opt/freeorion/lib/libGiGi.so
#33 0xb7fa10ad in SDLGUI::operator() () from /opt/freeorion/lib/libGiGiSDL.so
#34 0x082150c0 in main ()

Discussion

  • Geoff Topping

    Geoff Topping - 2007-03-03

    Logged In: YES
    user_id=913462
    Originator: NO

    I'm unable to reproduce this on WinXP, so I suspect it is another variation of the Boost-related signals bug. I'm not certain though, so will leave this open.

     
  • Geoff Topping

    Geoff Topping - 2007-03-11
    • summary: Draging last ship out of a fleet crashes FO --> [dupe] Seg Fault - Dragging Ship Out Of Fleet
    • status: open --> open-duplicate
     
  • Geoff Topping

    Geoff Topping - 2007-03-19

    Logged In: YES
    user_id=913462
    Originator: NO

    Should be fixed in SVN.

     
  • Geoff Topping

    Geoff Topping - 2007-03-19
    • status: open-duplicate --> closed-fixed
     
  • Nobody/Anonymous

    Index.. Outstanding :)

     

Log in to post a comment.