1 | ==4979== Invalid read of size 4
|
---|
2 | ==4979== at 0x1E3F3C: operator() (DynamicSubscription.h:43)
|
---|
3 | ==4979== by 0x1E3F3C: _M_get_insert_unique_pos (stl_tree.h:1836)
|
---|
4 | ==4979== by 0x1E3F3C: std::pair<std::_Rb_tree_iterator<IComponent*>, bool> std::_Rb_tree<IComponent*, IComponent*, std::_Identity<IComponent*>, CDynamicSubscription::CompareIComponent, std::allocator<IComponent*> >::_M_insert_unique<IComponent* const&>(IComponent* const&) (stl_tree.h:1889)
|
---|
5 | ==4979== by 0x1E387F: insert (stl_set.h:483)
|
---|
6 | ==4979== by 0x1E387F: CDynamicSubscription::Remove(IComponent*) (DynamicSubscription.cpp:31)
|
---|
7 | ==4979== by 0x1D8442: CComponentManager::RemoveComponentDynamicSubscriptions(IComponent*) (ComponentManager.cpp:627)
|
---|
8 | ==4979== by 0x1D8BFD: CComponentManager::FlushDestroyedComponents() (ComponentManager.cpp:932)
|
---|
9 | ==4979== by 0x1A4175: CSimulation2Impl::UpdateComponents(CSimContext&, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<SimulationCommand, std::allocator<SimulationCommand> > const&) (Simulation2.cpp:566)
|
---|
10 | ==4979== by 0x1AC406: CSimulation2Impl::Update(int, std::vector<SimulationCommand, std::allocator<SimulationCommand> > const&) (Simulation2.cpp:377)
|
---|
11 | ==4979== by 0x1CAA9B: CTurnManager::Update(float, unsigned long) (TurnManager.cpp:163)
|
---|
12 | ==4979== by 0x313F8A: CGame::Update(double, bool) (Game.cpp:401)
|
---|
13 | ==4979== by 0x162077: Frame (main.cpp:336)
|
---|
14 | ==4979== by 0x162077: RunGameOrAtlas(int, char const**) (main.cpp:531)
|
---|
15 | ==4979== by 0x1537B6: main (main.cpp:571)
|
---|
16 | ==4979== Address 0x67be5418 is 8 bytes inside a block of size 88 free'd
|
---|
17 | ==4979== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
|
---|
18 | ==4979== by 0x1D8C69: CComponentManager::FlushDestroyedComponents() (ComponentManager.cpp:933)
|
---|
19 | ==4979== by 0x1A4175: CSimulation2Impl::UpdateComponents(CSimContext&, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<SimulationCommand, std::allocator<SimulationCommand> > const&) (Simulation2.cpp:566)
|
---|
20 | ==4979== by 0x1AC406: CSimulation2Impl::Update(int, std::vector<SimulationCommand, std::allocator<SimulationCommand> > const&) (Simulation2.cpp:377)
|
---|
21 | ==4979== by 0x1CAA9B: CTurnManager::Update(float, unsigned long) (TurnManager.cpp:163)
|
---|
22 | ==4979== by 0x313F8A: CGame::Update(double, bool) (Game.cpp:401)
|
---|
23 | ==4979== by 0x162077: Frame (main.cpp:336)
|
---|
24 | ==4979== by 0x162077: RunGameOrAtlas(int, char const**) (main.cpp:531)
|
---|
25 | ==4979== by 0x1537B6: main (main.cpp:571)
|
---|
26 | ==4979== Block was alloc'd at
|
---|
27 | ==4979== at 0x4C2C21F: operator new(unsigned long) (vg_replace_malloc.c:334)
|
---|
28 | ==4979== by 0x29C110: CCmpOverlayRenderer::Allocate(ScriptInterface&, JS::Handle<JS::Value>) (CCmpOverlayRenderer.cpp:40)
|
---|
29 | ==4979== by 0x1D4CAE: CComponentManager::ConstructComponent(CEntityHandle, int) (ComponentManager.cpp:778)
|
---|
30 | ==4979== by 0x1D516F: CComponentManager::AddComponent(CEntityHandle, int, CParamNode const&) (ComponentManager.cpp:705)
|
---|
31 | ==4979== by 0x1D52D3: CComponentManager::AddEntity(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned int) (ComponentManager.cpp:883)
|
---|
32 | ==4979== by 0x1E210B: Script_AddEntity (ComponentManager.cpp:474)
|
---|
33 | ==4979== by 0x1E210B: call<int(ScriptInterface::CxPrivate*, const std::__cxx11::basic_string<char>&), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (NativeWrapperDefns.h:75)
|
---|
34 | ==4979== by 0x1E210B: bool ScriptInterface::call<int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, &CComponentManager::Script_AddEntity>(JSContext*, unsigned int, JS::Value*) (NativeWrapperDefns.h:125)
|
---|
35 | ==4979== by 0x571D3A1: CallJSNative (jscntxtinlines.h:226)
|
---|
36 | ==4979== by 0x571D3A1: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (Interpreter.cpp:498)
|
---|
37 | ==4979== by 0x5711A7E: Interpret(JSContext*, js::RunState&) (Interpreter.cpp:2602)
|
---|
38 | ==4979== by 0x571D09C: js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:448)
|
---|
39 | ==4979== by 0x571D308: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (Interpreter.cpp:517)
|
---|
40 | ==4979== by 0x571DD8E: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>) (Interpreter.cpp:554)
|
---|
41 | ==4979== by 0x59A9EF7: js::jit::InvokeFunction(JSContext*, JS::Handle<JSObject*>, unsigned int, JS::Value*, JS::Value*) (VMFunctions.cpp:75)
|
---|
42 | ==4979==
|
---|
43 | ==4979== Invalid read of size 8
|
---|
44 | ==4979== at 0x1E4009: operator() (DynamicSubscription.h:48)
|
---|
45 | ==4979== by 0x1E4009: _M_get_insert_unique_pos (stl_tree.h:1836)
|
---|
46 | ==4979== by 0x1E4009: std::pair<std::_Rb_tree_iterator<IComponent*>, bool> std::_Rb_tree<IComponent*, IComponent*, std::_Identity<IComponent*>, CDynamicSubscription::CompareIComponent, std::allocator<IComponent*> >::_M_insert_unique<IComponent* const&>(IComponent* const&) (stl_tree.h:1889)
|
---|
47 | ==4979== by 0x1E387F: insert (stl_set.h:483)
|
---|
48 | ==4979== by 0x1E387F: CDynamicSubscription::Remove(IComponent*) (DynamicSubscription.cpp:31)
|
---|
49 | ==4979== by 0x1D8442: CComponentManager::RemoveComponentDynamicSubscriptions(IComponent*) (ComponentManager.cpp:627)
|
---|
50 | ==4979== by 0x1D8BFD: CComponentManager::FlushDestroyedComponents() (ComponentManager.cpp:932)
|
---|
51 | ==4979== by 0x1A4175: CSimulation2Impl::UpdateComponents(CSimContext&, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<SimulationCommand, std::allocator<SimulationCommand> > const&) (Simulation2.cpp:566)
|
---|
52 | ==4979== by 0x1AC406: CSimulation2Impl::Update(int, std::vector<SimulationCommand, std::allocator<SimulationCommand> > const&) (Simulation2.cpp:377)
|
---|
53 | ==4979== by 0x1CAA9B: CTurnManager::Update(float, unsigned long) (TurnManager.cpp:163)
|
---|
54 | ==4979== by 0x313F8A: CGame::Update(double, bool) (Game.cpp:401)
|
---|
55 | ==4979== by 0x162077: Frame (main.cpp:336)
|
---|
56 | ==4979== by 0x162077: RunGameOrAtlas(int, char const**) (main.cpp:531)
|
---|
57 | ==4979== by 0x1537B6: main (main.cpp:571)
|
---|
58 | ==4979== Address 0x67be5410 is 0 bytes inside a block of size 88 free'd
|
---|
59 | ==4979== at 0x4C2D2DB: operator delete(void*) (vg_replace_malloc.c:576)
|
---|
60 | ==4979== by 0x1D8C69: CComponentManager::FlushDestroyedComponents() (ComponentManager.cpp:933)
|
---|
61 | ==4979== by 0x1A4175: CSimulation2Impl::UpdateComponents(CSimContext&, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<SimulationCommand, std::allocator<SimulationCommand> > const&) (Simulation2.cpp:566)
|
---|
62 | ==4979== by 0x1AC406: CSimulation2Impl::Update(int, std::vector<SimulationCommand, std::allocator<SimulationCommand> > const&) (Simulation2.cpp:377)
|
---|
63 | ==4979== by 0x1CAA9B: CTurnManager::Update(float, unsigned long) (TurnManager.cpp:163)
|
---|
64 | ==4979== by 0x313F8A: CGame::Update(double, bool) (Game.cpp:401)
|
---|
65 | ==4979== by 0x162077: Frame (main.cpp:336)
|
---|
66 | ==4979== by 0x162077: RunGameOrAtlas(int, char const**) (main.cpp:531)
|
---|
67 | ==4979== by 0x1537B6: main (main.cpp:571)
|
---|
68 | ==4979== Block was alloc'd at
|
---|
69 | ==4979== at 0x4C2C21F: operator new(unsigned long) (vg_replace_malloc.c:334)
|
---|
70 | ==4979== by 0x29C110: CCmpOverlayRenderer::Allocate(ScriptInterface&, JS::Handle<JS::Value>) (CCmpOverlayRenderer.cpp:40)
|
---|
71 | ==4979== by 0x1D4CAE: CComponentManager::ConstructComponent(CEntityHandle, int) (ComponentManager.cpp:778)
|
---|
72 | ==4979== by 0x1D516F: CComponentManager::AddComponent(CEntityHandle, int, CParamNode const&) (ComponentManager.cpp:705)
|
---|
73 | ==4979== by 0x1D52D3: CComponentManager::AddEntity(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned int) (ComponentManager.cpp:883)
|
---|
74 | ==4979== by 0x1E210B: Script_AddEntity (ComponentManager.cpp:474)
|
---|
75 | ==4979== by 0x1E210B: call<int(ScriptInterface::CxPrivate*, const std::__cxx11::basic_string<char>&), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (NativeWrapperDefns.h:75)
|
---|
76 | ==4979== by 0x1E210B: bool ScriptInterface::call<int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, &CComponentManager::Script_AddEntity>(JSContext*, unsigned int, JS::Value*) (NativeWrapperDefns.h:125)
|
---|
77 | ==4979== by 0x571D3A1: CallJSNative (jscntxtinlines.h:226)
|
---|
78 | ==4979== by 0x571D3A1: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (Interpreter.cpp:498)
|
---|
79 | ==4979== by 0x5711A7E: Interpret(JSContext*, js::RunState&) (Interpreter.cpp:2602)
|
---|
80 | ==4979== by 0x571D09C: js::RunScript(JSContext*, js::RunState&) (Interpreter.cpp:448)
|
---|
81 | ==4979== by 0x571D308: js::Invoke(JSContext*, JS::CallArgs, js::MaybeConstruct) (Interpreter.cpp:517)
|
---|
82 | ==4979== by 0x571DD8E: js::Invoke(JSContext*, JS::Value const&, JS::Value const&, unsigned int, JS::Value const*, JS::MutableHandle<JS::Value>) (Interpreter.cpp:554)
|
---|
83 | ==4979== by 0x59A9EF7: js::jit::InvokeFunction(JSContext*, JS::Handle<JSObject*>, unsigned int, JS::Value*, JS::Value*) (VMFunctions.cpp:75)
|
---|
84 | ==4979==
|
---|