==8846== Memcheck, a memory error detector ==8846== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==8846== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright info ==8846== Command: src/glob2 -m ==8846== ==8846== Conditional jump or move depends on uninitialised value(s) ==8846== at 0x5710DB7: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x571166E: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x571208A: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x56E64BF: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x56E68E8: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x72D69A: GAGGUI::Screen::execute(GAGCore::DrawableSurface*, int) (GUIBase.cpp:451) ==8846== by 0x54D42C: MainMenuScreen::menu() (MainMenuScreen.cpp:84) ==8846== by 0x523347: Glob2::run(int, char**) (Glob2.cpp:274) ==8846== by 0x523B71: main (Glob2.cpp:433) ==8846== ==8846== Conditional jump or move depends on uninitialised value(s) ==8846== at 0x5710DE6: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x571166E: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x571208A: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x56E64BF: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x56E68E8: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.11.2) ==8846== by 0x72D69A: GAGGUI::Screen::execute(GAGCore::DrawableSurface*, int) (GUIBase.cpp:451) ==8846== by 0x54D42C: MainMenuScreen::menu() (MainMenuScreen.cpp:84) ==8846== by 0x523347: Glob2::run(int, char**) (Glob2.cpp:274) ==8846== by 0x523B71: main (Glob2.cpp:433) ==8846== ==8846== Conditional jump or move depends on uninitialised value(s) ==8846== at 0x684DD5: Unit::init(int, int, unsigned short, int, Team*, int) (Unit.cpp:93) ==8846== by 0x684A2B: Unit::Unit(GAGCore::InputStream*, Team*, int) (Unit.cpp:39) ==8846== by 0x674F47: Team::load(GAGCore::InputStream*, BuildingsTypes*, int) (Team.cpp:147) ==8846== by 0x673D02: Team::Team(GAGCore::InputStream*, Game*, int) (Team.cpp:59) ==8846== by 0x4CD839: Game::load(GAGCore::InputStream*) (Game.cpp:922) ==8846== by 0x4FC700: GameGUI::load(GAGCore::InputStream*, bool) (GameGUI.cpp:4631) ==8846== by 0x4BE9DA: Engine::loadReplay(std::string const&) (Engine.cpp:873) ==8846== by 0x4BADE2: Engine::initLoadGame() (Engine.cpp:176) ==8846== by 0x523772: Glob2::run(int, char**) (Glob2.cpp:327) ==8846== by 0x523B71: main (Glob2.cpp:433) ==8846== ==8846== Conditional jump or move depends on uninitialised value(s) ==8846== at 0x684E40: Unit::init(int, int, unsigned short, int, Team*, int) (Unit.cpp:109) ==8846== by 0x684A2B: Unit::Unit(GAGCore::InputStream*, Team*, int) (Unit.cpp:39) ==8846== by 0x674F47: Team::load(GAGCore::InputStream*, BuildingsTypes*, int) (Team.cpp:147) ==8846== by 0x673D02: Team::Team(GAGCore::InputStream*, Game*, int) (Team.cpp:59) ==8846== by 0x4CD839: Game::load(GAGCore::InputStream*) (Game.cpp:922) ==8846== by 0x4FC700: GameGUI::load(GAGCore::InputStream*, bool) (GameGUI.cpp:4631) ==8846== by 0x4BE9DA: Engine::loadReplay(std::string const&) (Engine.cpp:873) ==8846== by 0x4BADE2: Engine::initLoadGame() (Engine.cpp:176) ==8846== by 0x523772: Glob2::run(int, char**) (Glob2.cpp:327) ==8846== by 0x523B71: main (Glob2.cpp:433) ==8846== ==8846== Conditional jump or move depends on uninitialised value(s) ==8846== at 0x684E92: Unit::init(int, int, unsigned short, int, Team*, int) (Unit.cpp:117) ==8846== by 0x684A2B: Unit::Unit(GAGCore::InputStream*, Team*, int) (Unit.cpp:39) ==8846== by 0x674F47: Team::load(GAGCore::InputStream*, BuildingsTypes*, int) (Team.cpp:147) ==8846== by 0x673D02: Team::Team(GAGCore::InputStream*, Game*, int) (Team.cpp:59) ==8846== by 0x4CD839: Game::load(GAGCore::InputStream*) (Game.cpp:922) ==8846== by 0x4FC700: GameGUI::load(GAGCore::InputStream*, bool) (GameGUI.cpp:4631) ==8846== by 0x4BE9DA: Engine::loadReplay(std::string const&) (Engine.cpp:873) ==8846== by 0x4BADE2: Engine::initLoadGame() (Engine.cpp:176) ==8846== by 0x523772: Glob2::run(int, char**) (Glob2.cpp:327) ==8846== by 0x523B71: main (Glob2.cpp:433) ==8846== music dir found: original selecting music dir original ==8846== Conditional jump or move depends on uninitialised value(s) ==8846== at 0x4BC723: Engine::run() (Engine.cpp:448) ==8846== by 0x523790: Glob2::run(int, char**) (Glob2.cpp:329) ==8846== by 0x523B71: main (Glob2.cpp:433) ==8846== ==8846== Conditional jump or move depends on uninitialised value(s) ==8846== at 0x6BCB2AE: fread (iofread.c:41) ==8846== by 0x720573: GAGCore::FileStreamBackend::read(void*, unsigned long) (StreamBackend.h:68) ==8846== by 0x71C786: GAGCore::BinaryInputStream::read(void*, unsigned long, char const*) (BinaryStream.h:85) ==8846== by 0x603C80: NetSendOrder::decodeData(GAGCore::InputStream*) (NetMessage.cpp:288) ==8846== by 0x4BC58D: Engine::run() (Engine.cpp:453) ==8846== by 0x523790: Glob2::run(int, char**) (Glob2.cpp:329) ==8846== by 0x523B71: main (Glob2.cpp:433) ==8846== ==8846== Conditional jump or move depends on uninitialised value(s) ==8846== at 0x63915C: Order::getOrder(unsigned char const*, int, unsigned int) (Order.cpp:35) ==8846== by 0x603CBC: NetSendOrder::decodeData(GAGCore::InputStream*) (NetMessage.cpp:291) ==8846== by 0x4BC58D: Engine::run() (Engine.cpp:453) ==8846== by 0x523790: Glob2::run(int, char**) (Glob2.cpp:329) ==8846== by 0x523B71: main (Glob2.cpp:433) ==8846== glob2: /usr/include/boost/shared_ptr.hpp:419: T* boost::shared_ptr< >::operator->() const [with T = Order]: Assertion `px != 0' failed. ==8846== ==8846== HEAP SUMMARY: ==8846== in use at exit: 25,603,809 bytes in 42,687 blocks ==8846== total heap usage: 334,509 allocs, 291,822 frees, 162,088,737 bytes allocated ==8846== ==8846== LEAK SUMMARY: ==8846== definitely lost: 19,952 bytes in 30 blocks ==8846== indirectly lost: 67,759 bytes in 1,987 blocks ==8846== possibly lost: 1,015,739 bytes in 18,297 blocks ==8846== still reachable: 24,500,359 bytes in 22,373 blocks ==8846== suppressed: 0 bytes in 0 blocks ==8846== Rerun with --leak-check=full to see details of leaked memory ==8846== ==8846== For counts of detected and suppressed errors, rerun with: -v ==8846== Use --track-origins=yes to see where uninitialised values come from ==8846== ERROR SUMMARY: 108 errors from 8 contexts (suppressed: 184 from 5) Killed