==15912== Memcheck, a memory error detector ==15912== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==15912== Using Valgrind-3.5.0-Debian and LibVEX; rerun with -h for copyright info ==15912== Command: ./pyrogenesis_dbg ==15912== Parent PID: 3902 ==15912== ==15912== ==15912== HEAP SUMMARY: ==15912== in use at exit: 35,913 bytes in 198 blocks ==15912== total heap usage: 1,869 allocs, 1,671 frees, 139,800 bytes allocated ==15912== ==15912== LEAK SUMMARY: ==15912== definitely lost: 60 bytes in 1 blocks ==15912== indirectly lost: 240 bytes in 10 blocks ==15912== possibly lost: 4,279 bytes in 34 blocks ==15912== still reachable: 31,334 bytes in 153 blocks ==15912== suppressed: 0 bytes in 0 blocks ==15912== Rerun with --leak-check=full to see details of leaked memory ==15912== ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x8AB025C: ??? (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8AA8B57: snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8AA9245: _snd_pcm_dmix_open (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8A78923: ??? (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8A7902F: ??? (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8A79138: ??? (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8AB3A57: _snd_pcm_softvol_open (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8A78923: ??? (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8A7917E: ??? (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8A93287: _snd_pcm_plug_open (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8A78923: ??? (in /usr/lib/libasound.so.2.0.0) ==15912== by 0x8A7917E: ??? (in /usr/lib/libasound.so.2.0.0) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6EAEDB7: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x6EAF66E: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x6EB008A: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x6E844BF: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x6E848E8: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x5E9CEE: PumpEvents() (main.cpp:114) ==15912== by 0x5EA100: Frame() (main.cpp:255) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6EAEDE6: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x6EAF66E: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x6EB008A: ??? (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x6E844BF: SDL_PumpEvents (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x6E848E8: SDL_PollEvent (in /usr/lib/libSDL-1.2.so.0.11.2) ==15912== by 0x5E9CEE: PumpEvents() (main.cpp:114) ==15912== by 0x5EA100: Frame() (main.cpp:255) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E53F8: CLOSManager::Update() (LOSManager.cpp:144) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E5B7B: long const& std::max(long const&, long const&) (stl_algobase.h:214) ==15912== by 0x6E546A: CLOSManager::Update() (LOSManager.cpp:156) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E5B7B: long const& std::max(long const&, long const&) (stl_algobase.h:214) ==15912== by 0x6E549E: CLOSManager::Update() (LOSManager.cpp:157) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E5BA6: long const& std::min(long const&, long const&) (stl_algobase.h:191) ==15912== by 0x6E54DF: CLOSManager::Update() (LOSManager.cpp:158) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E5BA6: long const& std::min(long const&, long const&) (stl_algobase.h:191) ==15912== by 0x6E5523: CLOSManager::Update() (LOSManager.cpp:159) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E565C: CLOSManager::Update() (LOSManager.cpp:161) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E55B2: CLOSManager::Update() (LOSManager.cpp:165) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E563B: CLOSManager::Update() (LOSManager.cpp:163) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x6E55CC: CLOSManager::Update() (LOSManager.cpp:171) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x6E55F5: CLOSManager::Update() (LOSManager.cpp:171) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x6E5605: CLOSManager::Update() (LOSManager.cpp:171) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x6E561D: CLOSManager::Update() (LOSManager.cpp:171) ==15912== by 0x6E5263: CLOSManager::Initialize(ELOSSetting, bool) (LOSManager.cpp:106) ==15912== by 0x695D68: CSimulation::Initialize(CGameAttributes*) (Simulation.cpp:81) ==15912== by 0x6976FC: int MemFun1Thunk(void*, double) (LoaderThunks.h:89) ==15912== by 0x652BB3: LDR_ProgressiveLoad(double, wchar_t*, unsigned long, int*) (Loader.cpp:233) ==15912== by 0x5E9DD8: ProgressiveLoad() (main.cpp:153) ==15912== by 0x5EA0AE: Frame() (main.cpp:250) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x89A9B9: ScaleColor(unsigned int, float) (MiniMap.cpp:62) ==15912== by 0x89CCC0: CMiniMap::RebuildTerrainTexture() (MiniMap.cpp:547) ==15912== by 0x89CA0B: CMiniMap::CreateTextures() (MiniMap.cpp:504) ==15912== by 0x89BA7E: CMiniMap::Draw() (MiniMap.cpp:278) ==15912== by 0x862A5C: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:321) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x86E179: CGUI::Draw() (CGUI.cpp:452) ==15912== by 0x8BE003: CGUIManager::Draw() (GUIManager.cpp:180) ==15912== by 0x683A23: Render() (GameSetup.cpp:336) ==15912== by 0x5EA540: Frame() (main.cpp:325) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x89A9F4: ScaleColor(unsigned int, float) (MiniMap.cpp:63) ==15912== by 0x89CCC0: CMiniMap::RebuildTerrainTexture() (MiniMap.cpp:547) ==15912== by 0x89CA0B: CMiniMap::CreateTextures() (MiniMap.cpp:504) ==15912== by 0x89BA7E: CMiniMap::Draw() (MiniMap.cpp:278) ==15912== by 0x862A5C: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:321) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x86E179: CGUI::Draw() (CGUI.cpp:452) ==15912== by 0x8BE003: CGUIManager::Draw() (GUIManager.cpp:180) ==15912== by 0x683A23: Render() (GameSetup.cpp:336) ==15912== by 0x5EA540: Frame() (main.cpp:325) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x89AA2F: ScaleColor(unsigned int, float) (MiniMap.cpp:64) ==15912== by 0x89CCC0: CMiniMap::RebuildTerrainTexture() (MiniMap.cpp:547) ==15912== by 0x89CA0B: CMiniMap::CreateTextures() (MiniMap.cpp:504) ==15912== by 0x89BA7E: CMiniMap::Draw() (MiniMap.cpp:278) ==15912== by 0x862A5C: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:321) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x862A9E: GUI::RecurseObject(int, IGUIObject*, void (IGUIObject::*)()) (GUIutil.h:327) ==15912== by 0x86E179: CGUI::Draw() (CGUI.cpp:452) ==15912== by 0x8BE003: CGUIManager::Draw() (GUIManager.cpp:180) ==15912== by 0x683A23: Render() (GameSetup.cpp:336) ==15912== by 0x5EA540: Frame() (main.cpp:325) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6B09D4: float const& std::min(float const&, float const&) (stl_algobase.h:191) ==15912== by 0x6AD2E6: regen(float, float, float, float) (Entity.cpp:1143) ==15912== by 0x6AD441: CEntity::CalculateRegen(float) (Entity.cpp:1159) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x69B4D8: int const& std::max(int const&, int const&) (stl_algobase.h:214) ==15912== by 0x69A18F: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:350) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x69B4D8: int const& std::max(int const&, int const&) (stl_algobase.h:214) ==15912== by 0x69A1BD: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:351) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6809F9: int const& std::min(int const&, int const&) (stl_algobase.h:191) ==15912== by 0x69A1F1: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:352) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6809F9: int const& std::min(int const&, int const&) (stl_algobase.h:191) ==15912== by 0x69A225: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:353) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x69A386: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:355) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x69A371: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:357) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x69B4F2: std::vector >::size() const (stl_vector.h:533) ==15912== by 0x69A352: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:360) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x69B4FD: std::vector >::size() const (stl_vector.h:533) ==15912== by 0x69A352: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:360) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x69B520: std::vector >::operator[](unsigned long) (stl_vector.h:611) ==15912== by 0x69A294: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:362) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x69A32A: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:366) ==15912== by 0x752758: CStanceUtils::ChooseTarget(float, float, float, CPlayer*) (Stance.cpp:175) ==15912== by 0x7526F7: CStanceUtils::ChooseTarget(CEntity*) (Stance.cpp:169) ==15912== by 0x751E43: CAggressStance::OnIdle() (Stance.cpp:33) ==15912== by 0x6AB0D8: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E53F8: CLOSManager::Update() (LOSManager.cpp:144) ==15912== by 0x69628D: CSimulation::Simulate() (Simulation.cpp:189) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E565C: CLOSManager::Update() (LOSManager.cpp:161) ==15912== by 0x69628D: CSimulation::Simulate() (Simulation.cpp:189) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E55B2: CLOSManager::Update() (LOSManager.cpp:165) ==15912== by 0x69628D: CSimulation::Simulate() (Simulation.cpp:189) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Conditional jump or move depends on uninitialised value(s) ==15912== at 0x6E563B: CLOSManager::Update() (LOSManager.cpp:163) ==15912== by 0x69628D: CSimulation::Simulate() (Simulation.cpp:189) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x6E55CC: CLOSManager::Update() (LOSManager.cpp:171) ==15912== by 0x69628D: CSimulation::Simulate() (Simulation.cpp:189) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x6E55F5: CLOSManager::Update() (LOSManager.cpp:171) ==15912== by 0x69628D: CSimulation::Simulate() (Simulation.cpp:189) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x6E5605: CLOSManager::Update() (LOSManager.cpp:171) ==15912== by 0x69628D: CSimulation::Simulate() (Simulation.cpp:189) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Use of uninitialised value of size 8 ==15912== at 0x6E561D: CLOSManager::Update() (LOSManager.cpp:171) ==15912== by 0x69628D: CSimulation::Simulate() (Simulation.cpp:189) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x69A2D2: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:364) ==15912== by 0x755CC9: CAura::Update(int) (Aura.cpp:45) ==15912== by 0x6AAE06: CEntity::Update(int) (Entity.cpp:452) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc0c8 is 1,032 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x69A2EC: CEntityManager::GetInRange(float, float, float, std::vector >&) (EntityManager.cpp:365) ==15912== by 0x755CC9: CAura::Update(int) (Aura.cpp:45) ==15912== by 0x6AAE06: CEntity::Update(int) (Entity.cpp:452) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc0d0 is 1,040 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 1 ==15912== at 0x755D94: CAura::Update(int) (Aura.cpp:55) ==15912== by 0x6AAE06: CEntity::Update(int) (Entity.cpp:452) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc00c is 844 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 2 ==15912== at 0x694A9C: HEntity::HEntity(HEntity const&) (EntityHandles.cpp:40) ==15912== by 0x755E7F: CAura::Update(int) (Aura.cpp:69) ==15912== by 0x6AAE06: CEntity::Update(int) (Entity.cpp:452) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc384 is 1,732 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 1 ==15912== at 0x6AACBE: CEntity::Update(int) (Entity.cpp:426) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc00c is 844 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6AACD8: CEntity::Update(int) (Entity.cpp:428) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc0c8 is 1,032 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid write of size 8 ==15912== at 0x6AACDF: CEntity::Update(int) (Entity.cpp:428) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc0d4 is 1,044 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x6AACE6: CEntity::Update(int) (Entity.cpp:428) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc0d0 is 1,040 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid write of size 4 ==15912== at 0x6AACEC: CEntity::Update(int) (Entity.cpp:428) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc0dc is 1,052 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6AACFA: CEntity::Update(int) (Entity.cpp:429) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc110 is 1,104 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid write of size 8 ==15912== at 0x6AAD01: CEntity::Update(int) (Entity.cpp:429) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc11c is 1,116 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x6AAD08: CEntity::Update(int) (Entity.cpp:429) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc118 is 1,112 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid write of size 4 ==15912== at 0x6AAD0E: CEntity::Update(int) (Entity.cpp:429) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc124 is 1,124 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x695825: CEntity::entf_get(int) const (Entity.h:143) ==15912== by 0x6AD38F: CEntity::CalculateRegen(float) (Entity.cpp:1156) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc008 is 840 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6AD3EB: CEntity::CalculateRegen(float) (Entity.cpp:1158) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc018 is 856 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x6AD3FB: CEntity::CalculateRegen(float) (Entity.cpp:1158) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bbfa8 is 744 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x6AD418: CEntity::CalculateRegen(float) (Entity.cpp:1159) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bbfa4 is 740 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x6AD424: CEntity::CalculateRegen(float) (Entity.cpp:1159) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc03c is 892 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x6AD430: CEntity::CalculateRegen(float) (Entity.cpp:1159) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc038 is 888 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid write of size 4 ==15912== at 0x6AD446: CEntity::CalculateRegen(float) (Entity.cpp:1159) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc038 is 888 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x6AD452: CEntity::CalculateRegen(float) (Entity.cpp:1162) ==15912== by 0x6AAD24: CEntity::Update(int) (Entity.cpp:431) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc034 is 884 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x695825: CEntity::entf_get(int) const (Entity.h:143) ==15912== by 0x6AAD35: CEntity::Update(int) (Entity.cpp:433) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc008 is 840 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x6AAD55: CEntity::Update(int) (Entity.cpp:436) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc010 is 848 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6AAD93: CEntity::Update(int) (Entity.cpp:443) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bbf78 is 696 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6EE320: std::vector >::end() const (stl_vector.h:453) ==15912== by 0x6ED3A3: std::vector >::empty() const (stl_vector.h:575) ==15912== by 0x6EBF79: CProductionQueue::Update(int) (ProductionQueue.cpp:100) ==15912== by 0x6AADA6: CEntity::Update(int) (Entity.cpp:443) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x195d7628 is 136 bytes inside a block of size 152 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6EBD7E: CProductionQueue::~CProductionQueue() (ProductionQueue.cpp:76) ==15912== by 0x6A9287: CEntity::~CEntity() (Entity.cpp:150) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6EE352: std::vector >::begin() const (stl_vector.h:435) ==15912== by 0x6ED3B3: std::vector >::empty() const (stl_vector.h:575) ==15912== by 0x6EBF79: CProductionQueue::Update(int) (ProductionQueue.cpp:100) ==15912== by 0x6AADA6: CEntity::Update(int) (Entity.cpp:443) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x195d7620 is 128 bytes inside a block of size 152 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6EBD7E: CProductionQueue::~CProductionQueue() (ProductionQueue.cpp:76) ==15912== by 0x6A9287: CEntity::~CEntity() (Entity.cpp:150) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A1DDC: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::begin() (hashtable:238) ==15912== by 0x6AADC9: CEntity::Update(int) (Entity.cpp:450) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc070 is 944 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A2034: std::tr1::__detail::_Hashtable_iterator, false, false>::_Hashtable_iterator(std::tr1::__detail::_Hash_node, false>**) (hashtable_policy.h:313) ==15912== by 0x6A1DEE: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::begin() (hashtable:238) ==15912== by 0x6AADC9: CEntity::Update(int) (Entity.cpp:450) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x1956b790 is 0 bytes inside a block of size 96 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6B4891: __gnu_cxx::new_allocator, false>*>::deallocate(std::tr1::__detail::_Hash_node, false>**, unsigned long) (new_allocator.h:95) ==15912== by 0x6B203B: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_M_deallocate_buckets(std::tr1::__detail::_Hash_node, false>**, unsigned long) (hashtable:567) ==15912== by 0x6AF6ED: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::~_Hashtable() (hashtable:725) ==15912== by 0x6AED81: std::tr1::__unordered_map, std::allocator >, false>::~__unordered_map() (unordered_map:48) ==15912== by 0x6AED9B: std::tr1::unordered_map, std::allocator > >::~unordered_map() (unordered_map:190) ==15912== by 0x6A9677: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A2086: std::tr1::__detail::_Hashtable_iterator_base, false>::_M_incr_bucket() (hashtable_policy.h:271) ==15912== by 0x6A1E03: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::begin() (hashtable:240) ==15912== by 0x6AADC9: CEntity::Update(int) (Entity.cpp:450) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x1956b798 is 8 bytes inside a block of size 96 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6B4891: __gnu_cxx::new_allocator, false>*>::deallocate(std::tr1::__detail::_Hash_node, false>**, unsigned long) (new_allocator.h:95) ==15912== by 0x6B203B: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_M_deallocate_buckets(std::tr1::__detail::_Hash_node, false>**, unsigned long) (hashtable:567) ==15912== by 0x6AF6ED: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::~_Hashtable() (hashtable:725) ==15912== by 0x6AED81: std::tr1::__unordered_map, std::allocator >, false>::~__unordered_map() (unordered_map:48) ==15912== by 0x6AED9B: std::tr1::unordered_map, std::allocator > >::~unordered_map() (unordered_map:190) ==15912== by 0x6A9677: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A209B: std::tr1::__detail::_Hashtable_iterator_base, false>::_M_incr_bucket() (hashtable_policy.h:273) ==15912== by 0x6A1E03: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::begin() (hashtable:240) ==15912== by 0x6AADC9: CEntity::Update(int) (Entity.cpp:450) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x1956b7e8 is 88 bytes inside a block of size 96 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6B4891: __gnu_cxx::new_allocator, false>*>::deallocate(std::tr1::__detail::_Hash_node, false>**, unsigned long) (new_allocator.h:95) ==15912== by 0x6B203B: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_M_deallocate_buckets(std::tr1::__detail::_Hash_node, false>**, unsigned long) (hashtable:567) ==15912== by 0x6AF6ED: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::~_Hashtable() (hashtable:725) ==15912== by 0x6AED81: std::tr1::__unordered_map, std::allocator >, false>::~__unordered_map() (unordered_map:48) ==15912== by 0x6AED9B: std::tr1::unordered_map, std::allocator > >::~unordered_map() (unordered_map:190) ==15912== by 0x6A9677: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A1E2E: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::end() (hashtable:255) ==15912== by 0x6AAE47: CEntity::Update(int) (Entity.cpp:450) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc070 is 944 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A1E36: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::end() (hashtable:255) ==15912== by 0x6AAE47: CEntity::Update(int) (Entity.cpp:450) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc078 is 952 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A2034: std::tr1::__detail::_Hashtable_iterator, false, false>::_Hashtable_iterator(std::tr1::__detail::_Hash_node, false>**) (hashtable_policy.h:313) ==15912== by 0x6A1E4F: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::end() (hashtable:255) ==15912== by 0x6AAE47: CEntity::Update(int) (Entity.cpp:450) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x1956b7e8 is 88 bytes inside a block of size 96 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6B4891: __gnu_cxx::new_allocator, false>*>::deallocate(std::tr1::__detail::_Hash_node, false>**, unsigned long) (new_allocator.h:95) ==15912== by 0x6B203B: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::_M_deallocate_buckets(std::tr1::__detail::_Hash_node, false>**, unsigned long) (hashtable:567) ==15912== by 0x6AF6ED: std::tr1::_Hashtable, std::allocator >, std::_Select1st >, std::equal_to, CStrW_hash_compare, std::tr1::__detail::_Mod_range_hashing, std::tr1::__detail::_Default_ranged_hash, std::tr1::__detail::_Prime_rehash_policy, false, false, true>::~_Hashtable() (hashtable:725) ==15912== by 0x6AED81: std::tr1::__unordered_map, std::allocator >, false>::~__unordered_map() (unordered_map:48) ==15912== by 0x6AED9B: std::tr1::unordered_map, std::allocator > >::~unordered_map() (unordered_map:190) ==15912== by 0x6A9677: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== ==15912== Invalid read of size 4 ==15912== at 0x695825: CEntity::entf_get(int) const (Entity.h:143) ==15912== by 0x6AB055: CEntity::UpdateOrders(int) (Entity.cpp:488) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc008 is 840 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A1F3B: bool std::operator==(std::_Deque_iterator const&, std::_Deque_iterator const&) (stl_deque.h:237) ==15912== by 0x6A1C3A: std::deque >::empty() const (stl_deque.h:1040) ==15912== by 0x6AB094: CEntity::UpdateOrders(int) (Entity.cpp:493) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc2b0 is 1,520 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6A1F42: bool std::operator==(std::_Deque_iterator const&, std::_Deque_iterator const&) (stl_deque.h:237) ==15912== by 0x6A1C3A: std::deque >::empty() const (stl_deque.h:1040) ==15912== by 0x6AB094: CEntity::UpdateOrders(int) (Entity.cpp:493) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bc290 is 1,488 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6AB0B5: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bbf80 is 704 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6AB0BC: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x18275790 is 0 bytes inside a block of size 16 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6AEBCD: CHoldStance::~CHoldStance() (Stance.h:61) ==15912== by 0x6A92BC: CEntity::~CEntity() (Entity.cpp:152) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== Invalid read of size 8 ==15912== at 0x6AB0CD: CEntity::UpdateOrders(int) (Entity.cpp:497) ==15912== by 0x6AAE9D: CEntity::Update(int) (Entity.cpp:457) ==15912== by 0x69A703: CEntityManager::UpdateAll(int) (EntityManager.cpp:450) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== Address 0x186bbf80 is 704 bytes inside a block of size 1,744 free'd ==15912== at 0x4C24A7A: operator delete(void*) (vg_replace_malloc.c:346) ==15912== by 0x6A983F: CEntity::~CEntity() (Entity.cpp:168) ==15912== by 0x69A639: CEntityManager::UpdateAll(int) (EntityManager.cpp:429) ==15912== by 0x6961DC: CSimulation::Simulate() (Simulation.cpp:181) ==15912== by 0x695E8C: CSimulation::Update(double) (Simulation.cpp:108) ==15912== by 0x654E7A: CGame::Update(double, bool) (Game.cpp:229) ==15912== by 0x5EA220: Frame() (main.cpp:274) ==15912== by 0x5EA6F7: RunGameOrAtlas(int, char const**) (main.cpp:400) ==15912== by 0x5EA780: main (main.cpp:413) ==15912== ==15912== ==15912== HEAP SUMMARY: ==15912== in use at exit: 122,500,238 bytes in 258,967 blocks ==15912== total heap usage: 2,777,577 allocs, 2,518,610 frees, 2,626,367,145 bytes allocated ==15912== ==15912== LEAK SUMMARY: ==15912== definitely lost: 50,940 bytes in 435 blocks ==15912== indirectly lost: 11,520 bytes in 42 blocks ==15912== possibly lost: 46,097,106 bytes in 229,851 blocks ==15912== still reachable: 76,340,672 bytes in 28,639 blocks ==15912== suppressed: 0 bytes in 0 blocks ==15912== Rerun with --leak-check=full to see details of leaked memory ==15912==