vayerx / shadowgrounds

Shadowgrounds and Shadowgrounds Survivor games
Other
53 stars 18 forks source link

survivor: crash #4

Open vayerx opened 12 years ago

vayerx commented 12 years ago

survivor chrashes on mission shutdown (ogui list)

vayerx commented 12 years ago
Invalid free() / delete / delete[] / realloc()
   at 0x4C28D4E: operator delete(void*) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0xAC6795: og_delete_button(orvgui_but*) (orvgui2.cpp:1566)
   by 0xAAB151: OguiButton::~OguiButton() (OguiButton.cpp:52)
   by 0xAC2F80: void boost::lambda::detail::destructor_helper<true>::exec<OguiButton>(OguiButton*) (construct.hpp:112)
   by 0xAC2EA2: void boost::lambda::destructor::operator()<OguiButton*>(OguiButton*&) const (construct.hpp:126)
   by 0xAC2CA7: boost::lambda::destructor std::for_each<...>(...) (stl_algo.h:4379)
   by 0xAC1F54: OguiWindow::~OguiWindow() (OguiWindow.cpp:122)
   by 0xA1857D: ui::WeaponWindow::~WeaponWindow() (WeaponWindow.cpp:286)
   by 0xA186CB: ui::WeaponWindow::~WeaponWindow() (WeaponWindow.cpp:293)
   by 0x90EA03: ui::CombatWindow::~CombatWindow() (CombatWindow.cpp:504)
   by 0x90EE33: ui::CombatWindow::~CombatWindow() (CombatWindow.cpp:547)
   by 0x82977B: game::GameUI::closeCombatWindow(int) (GameUI.cpp:1955)
 Address 0x2002e4b0 is 0 bytes inside a block of size 368 free'd
   at 0x4C28D4E: operator delete(void*) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
   by 0xAC6795: og_delete_button(orvgui_but*) (orvgui2.cpp:1566)
   by 0xAAB151: OguiButton::~OguiButton() (OguiButton.cpp:52)
   by 0xAC2F80: void boost::lambda::detail::destructor_helper<true>::exec<OguiButton>(OguiButton*) (construct.hpp:112)
   by 0xAC2EA2: void boost::lambda::destructor::operator()<OguiButton*>(OguiButton*&) const (construct.hpp:126)
   by 0xAC2CA7: boost::lambda::destructor std::for_each<...>(...) (stl_algo.h:4379)
   by 0xAC1F54: OguiWindow::~OguiWindow() (OguiWindow.cpp:122)
   by 0xA1857D: ui::WeaponWindow::~WeaponWindow() (WeaponWindow.cpp:286)
   by 0xA186CB: ui::WeaponWindow::~WeaponWindow() (WeaponWindow.cpp:293)
   by 0x90EA03: ui::CombatWindow::~CombatWindow() (CombatWindow.cpp:504)
   by 0x90EE33: ui::CombatWindow::~CombatWindow() (CombatWindow.cpp:547)
   by 0x82977B: game::GameUI::closeCombatWindow(int) (GameUI.cpp:1955)
vayerx commented 12 years ago
Conditional jump or move depends on uninitialised value(s)
  at 0x9A9F3C: ui::ScoreWindow::ScoreWindowImpl::setPlayer(int, int) (ScoreWindow.cpp:561)
  by 0x9A6680: ui::ScoreWindow::ScoreWindowImpl::ScoreWindowImpl(Ogui*, game::Game*, int) (ScoreWindow.cpp:83)
  by 0x9A5C5B: ui::ScoreWindow::ScoreWindow(Ogui*, game::Game*, int) (ScoreWindow.cpp:681)
  by 0x8279FC: game::GameUI::openScoreWindow(int) (GameUI.cpp:1324)
  by 0xA4C37D: game::DevScripting::process(util::ScriptProcess*, int, floatint, char const*, CheckedIntValue*, game::GameScriptData*, game::Game*, bool*) (DevScripting.cpp:359)
  by 0x8C7608: game::GameScripting::process(util::ScriptProcess*, int, floatint, char const*, CheckedIntValue*) (GameScripting.cpp:221)
  by 0xBE8FDD: util::Script::run(util::ScriptProcess*, bool) (Script.cpp:1644)
  by 0x8C7ACB: game::GameScripting::runScriptProcess(util::ScriptProcess*, bool) (GameScripting.cpp:342)
  by 0x891B9B: game::UnitLevelAI::runUnitAI() (UnitLevelAI.cpp:132)
  by 0x800EC2: game::Game::run() (Game.cpp:1015)
  by 0x7EA264: main (survivor.cpp:1570)
Uninitialised value was created by a heap allocation
  at 0x4C29A57: operator new(unsigned long) (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  by 0x9A5C42: ui::ScoreWindow::ScoreWindow(Ogui*, game::Game*, int) (ScoreWindow.cpp:681)
  by 0x8279FC: game::GameUI::openScoreWindow(int) (GameUI.cpp:1324)
  by 0xA4C37D: game::DevScripting::process(util::ScriptProcess*, int, floatint, char const*, CheckedIntValue*, game::GameScriptData*, game::Game*, bool*) (DevScripting.cpp:359)
  by 0x8C7608: game::GameScripting::process(util::ScriptProcess*, int, floatint, char const*, CheckedIntValue*) (GameScripting.cpp:221)
  by 0xBE8FDD: util::Script::run(util::ScriptProcess*, bool) (Script.cpp:1644)
  by 0x8C7ACB: game::GameScripting::runScriptProcess(util::ScriptProcess*, bool) (GameScripting.cpp:342)
  by 0x891B9B: game::UnitLevelAI::runUnitAI() (UnitLevelAI.cpp:132)
  by 0x800EC2: game::Game::run() (Game.cpp:1015)
  by 0x7EA264: main (survivor.cpp:1570)
vayerx commented 12 years ago
Invalid write of size 8
   at 0xAC7EA6: og_set_pic_button(orvgui_but*, IStorm3D_Material*, IStorm3D_Material*, IStorm3D_Material*, IStorm3D_Material*)
    (orvgui2.cpp:1983)
   by 0xAABE9B: OguiButton::ApplyImages() (OguiButton.cpp:331)
   by 0xAAC0DF: OguiButton::ResetData() (OguiButton.cpp:388)
   by 0xAA81D3: Ogui::ResetData() (Ogui.cpp:184)
   by 0x839078: game::GameUI::nextInterfaceGeneration() (GameUI.cpp:6222)
   by 0x7EAC49: main (survivor.cpp:1821)
 Address 0x2002dea8 is not stack'd, malloc'd or (recently) free'd

Invalid write of size 8
   at 0xAC807F: og_set_fonts_button(orvgui_but*, IStorm3D_Font*, TColor<float> const&, IStorm3D_Font*, TColor<float> const&, IStorm3D_Font*, TColor<float> const&, IStorm3D_Font*, TColor<float> const&)
    (orvgui2.cpp:2084)
   by 0xAAC041: OguiButton::ApplyFonts() (OguiButton.cpp:370)
   by 0xAAC0EB: OguiButton::ResetData() (OguiButton.cpp:389)
   by 0xAA81D3: Ogui::ResetData() (Ogui.cpp:184)
   by 0x839078: game::GameUI::nextInterfaceGeneration() (GameUI.cpp:6222)
   by 0x7EAC49: main (survivor.cpp:1821)
 Address 0x2002de48 is not stack'd, malloc'd or (recently) free'd

Invalid write of size 8
   at 0xAC808B: og_set_fonts_button(orvgui_but*, IStorm3D_Font*, TColor<float> const&, IStorm3D_Font*, TColor<float> const&, IStorm3D_Font*, TColor<float> const&, IStorm3D_Font*, TColor<float> const&)
    (orvgui2.cpp:2085)
   by 0xAAC041: OguiButton::ApplyFonts() (OguiButton.cpp:370)
   by 0xAAC0EB: OguiButton::ResetData() (OguiButton.cpp:389)
   by 0xAA81D3: Ogui::ResetData() (Ogui.cpp:184)
   by 0x839078: game::GameUI::nextInterfaceGeneration() (GameUI.cpp:6222)
   by 0x7EAC49: main (survivor.cpp:1821)
 Address 0x2002de60 is not stack'd, malloc'd or (recently) free'd

...

Invalid write of size 4
   at 0xAC8018: og_set_text_button(orvgui_but*, char const*, int, int, int, int) (orvgui2.cpp:2033)
   by 0xAABC0B: OguiButton::SetText(char const*) (OguiButton.cpp:265)
   by 0xAAC0B2: OguiButton::ApplyFonts() (OguiButton.cpp:380)
   by 0xAAC0EB: OguiButton::ResetData() (OguiButton.cpp:389)
   by 0xAA81D3: Ogui::ResetData() (Ogui.cpp:184)
   by 0x839078: game::GameUI::nextInterfaceGeneration() (GameUI.cpp:6222)
   by 0x7EAC49: main (survivor.cpp:1821)
 Address 0x2002de44 is not stack'd, malloc'd or (recently) free'd

Got signal 11 at (nil) from 0x4c2a846
build/survivor(_Z15igios_backtracev+0x1f)[0xaa6964]
build/survivor[0x7e79d0]
/lib64/libpthread.so.0(+0x103e0)[0x6ff23e0]
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so(_vgr20070ZU_libcZdsoZa_strlen+0x6)[0x4c2a846]
build/survivor(_ZN10OguiButton10ApplyFontsEv+0x1c7)[0xaac065]
build/survivor(_ZN10OguiButton9ResetDataEv+0x24)[0xaac0ec]
build/survivor(_ZN4Ogui9ResetDataEv+0xba)[0xaa81d4]
build/survivor(_ZN4game6GameUI23nextInterfaceGenerationEv+0x311)[0x839079]
build/survivor(main+0x3211)[0x7eac4a]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x95472ad]
build/survivor[0x7e6619]