Boost

Untitled

Dec 20th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 125.17 KB | None | 0 0
  1. ==2140== Invalid read of size 4
  2. ==2140== at 0x50CC5D3: Leviathan::LeviathanPhysicsOverlapFilter::needBroadphaseCollision(btBroadphaseProxy*, btBroadphaseProxy*) const (PhysicalWorld.cpp:26)
  3. ==2140== by 0x10179125: needsBroadphaseCollision (btOverlappingPairCache.h:120)
  4. ==2140== by 0x10179125: btHashedOverlappingPairCache::addOverlappingPair(btBroadphaseProxy*, btBroadphaseProxy*) (btOverlappingPairCache.h:134)
  5. ==2140== by 0x1016FD04: Process (btDbvtBroadphase.cpp:108)
  6. ==2140== by 0x1016FD04: collideTTpersistentStack (btDbvt.h:857)
  7. ==2140== by 0x1016FD04: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:366)
  8. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  9. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  10. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  11. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  12. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  13. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  14. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  15. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  16. ==2140== by 0x442DAF: main (main.cpp:219)
  17. ==2140== Address 0xa078aa9c is 28 bytes inside a block of size 111 free'd
  18. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  19. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  20. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  21. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  22. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  23. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  24. ==2140== by 0x6D33EEFF: ???
  25. ==2140== Block was alloc'd at
  26. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  27. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  28. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  29. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  30. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  31. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  32. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  33. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  34. ==2140== by 0x6D33EEFF: ???
  35. ==2140== by 0xA19FB2FF: ???
  36. ==2140==
  37. ==2140== Invalid read of size 4
  38. ==2140== at 0x50CC5DC: Leviathan::LeviathanPhysicsOverlapFilter::needBroadphaseCollision(btBroadphaseProxy*, btBroadphaseProxy*) const (PhysicalWorld.cpp:26)
  39. ==2140== by 0x10179125: needsBroadphaseCollision (btOverlappingPairCache.h:120)
  40. ==2140== by 0x10179125: btHashedOverlappingPairCache::addOverlappingPair(btBroadphaseProxy*, btBroadphaseProxy*) (btOverlappingPairCache.h:134)
  41. ==2140== by 0x1016FD04: Process (btDbvtBroadphase.cpp:108)
  42. ==2140== by 0x1016FD04: collideTTpersistentStack (btDbvt.h:857)
  43. ==2140== by 0x1016FD04: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:366)
  44. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  45. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  46. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  47. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  48. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  49. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  50. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  51. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  52. ==2140== by 0x442DAF: main (main.cpp:219)
  53. ==2140== Address 0xa078aa98 is 24 bytes inside a block of size 111 free'd
  54. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  55. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  56. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  57. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  58. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  59. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  60. ==2140== by 0x6D33EEFF: ???
  61. ==2140== Block was alloc'd at
  62. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  63. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  64. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  65. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  66. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  67. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  68. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  69. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  70. ==2140== by 0x6D33EEFF: ???
  71. ==2140== by 0xA19FB2FF: ???
  72. ==2140==
  73. ==2140== Invalid read of size 8
  74. ==2140== at 0x50CC5EB: Leviathan::LeviathanPhysicsOverlapFilter::needBroadphaseCollision(btBroadphaseProxy*, btBroadphaseProxy*) const (PhysicalWorld.cpp:35)
  75. ==2140== by 0x10179125: needsBroadphaseCollision (btOverlappingPairCache.h:120)
  76. ==2140== by 0x10179125: btHashedOverlappingPairCache::addOverlappingPair(btBroadphaseProxy*, btBroadphaseProxy*) (btOverlappingPairCache.h:134)
  77. ==2140== by 0x1016FD04: Process (btDbvtBroadphase.cpp:108)
  78. ==2140== by 0x1016FD04: collideTTpersistentStack (btDbvt.h:857)
  79. ==2140== by 0x1016FD04: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:366)
  80. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  81. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  82. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  83. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  84. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  85. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  86. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  87. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  88. ==2140== by 0x442DAF: main (main.cpp:219)
  89. ==2140== Address 0xa078aa90 is 16 bytes inside a block of size 111 free'd
  90. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  91. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  92. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  93. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  94. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  95. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  96. ==2140== by 0x6D33EEFF: ???
  97. ==2140== Block was alloc'd at
  98. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  99. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  100. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  101. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  102. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  103. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  104. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  105. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  106. ==2140== by 0x6D33EEFF: ???
  107. ==2140== by 0xA19FB2FF: ???
  108. ==2140==
  109. ==2140== Invalid read of size 8
  110. ==2140== at 0x50CC60B: Leviathan::LeviathanPhysicsOverlapFilter::needBroadphaseCollision(btBroadphaseProxy*, btBroadphaseProxy*) const (PhysicalWorld.cpp:42)
  111. ==2140== by 0x10179125: needsBroadphaseCollision (btOverlappingPairCache.h:120)
  112. ==2140== by 0x10179125: btHashedOverlappingPairCache::addOverlappingPair(btBroadphaseProxy*, btBroadphaseProxy*) (btOverlappingPairCache.h:134)
  113. ==2140== by 0x1016FD04: Process (btDbvtBroadphase.cpp:108)
  114. ==2140== by 0x1016FD04: collideTTpersistentStack (btDbvt.h:857)
  115. ==2140== by 0x1016FD04: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:366)
  116. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  117. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  118. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  119. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  120. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  121. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  122. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  123. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  124. ==2140== by 0x442DAF: main (main.cpp:219)
  125. ==2140== Address 0x568e97e8 is 296 bytes inside a block of size 759 free'd
  126. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  127. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  128. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  129. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  130. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  131. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  132. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  133. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  134. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  135. ==2140== by 0x6D33EEFF: ???
  136. ==2140== Block was alloc'd at
  137. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  138. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  139. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  140. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  141. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  142. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  143. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  144. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  145. ==2140== by 0x6D33EEFF: ???
  146. ==2140== by 0xA19FB2FF: ???
  147. ==2140==
  148. ==2140== Invalid read of size 4
  149. ==2140== at 0x10175DBA: btHashedOverlappingPairCache::internalAddPair(btBroadphaseProxy*, btBroadphaseProxy*) (btOverlappingPairCache.cpp:215)
  150. ==2140== by 0x1016FD04: Process (btDbvtBroadphase.cpp:108)
  151. ==2140== by 0x1016FD04: collideTTpersistentStack (btDbvt.h:857)
  152. ==2140== by 0x1016FD04: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:366)
  153. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  154. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  155. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  156. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  157. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  158. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  159. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  160. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  161. ==2140== by 0x442DAF: main (main.cpp:219)
  162. ==2140== Address 0xa078aaa0 is 32 bytes inside a block of size 111 free'd
  163. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  164. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  165. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  166. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  167. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  168. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  169. ==2140== by 0x6D33EEFF: ???
  170. ==2140== Block was alloc'd at
  171. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  172. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  173. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  174. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  175. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  176. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  177. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  178. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  179. ==2140== by 0x6D33EEFF: ???
  180. ==2140== by 0xA19FB2FF: ???
  181. ==2140==
  182. ==2140== Invalid read of size 4
  183. ==2140== at 0x10175ED6: btBroadphasePair (btBroadphaseProxy.h:209)
  184. ==2140== by 0x10175ED6: btHashedOverlappingPairCache::internalAddPair(btBroadphaseProxy*, btBroadphaseProxy*) (btOverlappingPairCache.cpp:257)
  185. ==2140== by 0x1016FD04: Process (btDbvtBroadphase.cpp:108)
  186. ==2140== by 0x1016FD04: collideTTpersistentStack (btDbvt.h:857)
  187. ==2140== by 0x1016FD04: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:366)
  188. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  189. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  190. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  191. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  192. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  193. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  194. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  195. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  196. ==2140== by 0x442DAF: main (main.cpp:219)
  197. ==2140== Address 0xa078aaa0 is 32 bytes inside a block of size 111 free'd
  198. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  199. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  200. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  201. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  202. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  203. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  204. ==2140== by 0x6D33EEFF: ???
  205. ==2140== Block was alloc'd at
  206. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  207. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  208. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  209. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  210. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  211. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  212. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  213. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  214. ==2140== by 0x6D33EEFF: ???
  215. ==2140== by 0xA19FB2FF: ???
  216. ==2140==
  217. ==2140== Invalid read of size 8
  218. ==2140== at 0x10171242: btDbvtBroadphase::collide(btDispatcher*) (btDbvtBroadphase.cpp:597)
  219. ==2140== by 0x101749C0: btDbvtBroadphase::calculateOverlappingPairs(btDispatcher*) (btDbvtBroadphase.cpp:416)
  220. ==2140== by 0x1019023A: btCollisionWorld::computeOverlappingPairs() (btCollisionWorld.cpp:213)
  221. ==2140== by 0x10190636: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:224)
  222. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  223. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  224. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  225. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  226. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  227. ==2140== by 0x442DAF: main (main.cpp:219)
  228. ==2140== Address 0xa078aac8 is 72 bytes inside a block of size 111 free'd
  229. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  230. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  231. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  232. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  233. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  234. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  235. ==2140== by 0x6D33EEFF: ???
  236. ==2140== Block was alloc'd at
  237. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  238. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  239. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  240. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  241. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  242. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  243. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  244. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  245. ==2140== by 0x6D33EEFF: ???
  246. ==2140== by 0xA19FB2FF: ???
  247. ==2140==
  248. ==2140== Invalid read of size 4
  249. ==2140== at 0x10171246: Intersect (btDbvt.h:551)
  250. ==2140== by 0x10171246: btDbvtBroadphase::collide(btDispatcher*) (btDbvtBroadphase.cpp:597)
  251. ==2140== by 0x101749C0: btDbvtBroadphase::calculateOverlappingPairs(btDispatcher*) (btDbvtBroadphase.cpp:416)
  252. ==2140== by 0x1019023A: btCollisionWorld::computeOverlappingPairs() (btCollisionWorld.cpp:213)
  253. ==2140== by 0x10190636: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:224)
  254. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  255. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  256. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  257. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  258. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  259. ==2140== by 0x442DAF: main (main.cpp:219)
  260. ==2140== Address 0xa09118d0 is 32 bytes inside a block of size 79 free'd
  261. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  262. ==2140== by 0x1016CB53: deletenode (btDbvt.cpp:73)
  263. ==2140== by 0x1016CB53: removeleaf(btDbvt*, btDbvtNode*) (btDbvt.cpp:191)
  264. ==2140== by 0x1016D991: btDbvt::update(btDbvtNode*, btDbvtAabbMm&) (btDbvt.cpp:545)
  265. ==2140== by 0x1016DB1E: btDbvt::update(btDbvtNode*, btDbvtAabbMm&, btVector3 const&, float) (btDbvt.cpp:566)
  266. ==2140== by 0x1016F6FD: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:337)
  267. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  268. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  269. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  270. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  271. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  272. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  273. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  274. ==2140== Block was alloc'd at
  275. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  276. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  277. ==2140== by 0x1016D773: createnode (btDbvt.cpp:99)
  278. ==2140== by 0x1016D773: createnode (btDbvt.cpp:112)
  279. ==2140== by 0x1016D773: btDbvt::insert(btDbvtAabbMm const&, void*) (btDbvt.cpp:519)
  280. ==2140== by 0x101700DA: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:184)
  281. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  282. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  283. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  284. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  285. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  286. ==2140== by 0x6D33EEFF: ???
  287. ==2140== by 0xA19FB2FF: ???
  288. ==2140==
  289. ==2140== Invalid read of size 4
  290. ==2140== at 0x10171255: Intersect (btDbvt.h:547)
  291. ==2140== by 0x10171255: btDbvtBroadphase::collide(btDispatcher*) (btDbvtBroadphase.cpp:597)
  292. ==2140== by 0x101749C0: btDbvtBroadphase::calculateOverlappingPairs(btDispatcher*) (btDbvtBroadphase.cpp:416)
  293. ==2140== by 0x1019023A: btCollisionWorld::computeOverlappingPairs() (btCollisionWorld.cpp:213)
  294. ==2140== by 0x10190636: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:224)
  295. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  296. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  297. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  298. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  299. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  300. ==2140== by 0x442DAF: main (main.cpp:219)
  301. ==2140== Address 0xa09118c0 is 16 bytes inside a block of size 79 free'd
  302. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  303. ==2140== by 0x1016CB53: deletenode (btDbvt.cpp:73)
  304. ==2140== by 0x1016CB53: removeleaf(btDbvt*, btDbvtNode*) (btDbvt.cpp:191)
  305. ==2140== by 0x1016D991: btDbvt::update(btDbvtNode*, btDbvtAabbMm&) (btDbvt.cpp:545)
  306. ==2140== by 0x1016DB1E: btDbvt::update(btDbvtNode*, btDbvtAabbMm&, btVector3 const&, float) (btDbvt.cpp:566)
  307. ==2140== by 0x1016F6FD: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:337)
  308. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  309. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  310. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  311. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  312. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  313. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  314. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  315. ==2140== Block was alloc'd at
  316. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  317. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  318. ==2140== by 0x1016D773: createnode (btDbvt.cpp:99)
  319. ==2140== by 0x1016D773: createnode (btDbvt.cpp:112)
  320. ==2140== by 0x1016D773: btDbvt::insert(btDbvtAabbMm const&, void*) (btDbvt.cpp:519)
  321. ==2140== by 0x101700DA: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:184)
  322. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  323. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  324. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  325. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  326. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  327. ==2140== by 0x6D33EEFF: ???
  328. ==2140== by 0xA19FB2FF: ???
  329. ==2140==
  330. ==2140== Invalid read of size 4
  331. ==2140== at 0x1017125A: Intersect (btDbvt.h:548)
  332. ==2140== by 0x1017125A: btDbvtBroadphase::collide(btDispatcher*) (btDbvtBroadphase.cpp:597)
  333. ==2140== by 0x101749C0: btDbvtBroadphase::calculateOverlappingPairs(btDispatcher*) (btDbvtBroadphase.cpp:416)
  334. ==2140== by 0x1019023A: btCollisionWorld::computeOverlappingPairs() (btCollisionWorld.cpp:213)
  335. ==2140== by 0x10190636: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:224)
  336. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  337. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  338. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  339. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  340. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  341. ==2140== by 0x442DAF: main (main.cpp:219)
  342. ==2140== Address 0xa09118d4 is 36 bytes inside a block of size 79 free'd
  343. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  344. ==2140== by 0x1016CB53: deletenode (btDbvt.cpp:73)
  345. ==2140== by 0x1016CB53: removeleaf(btDbvt*, btDbvtNode*) (btDbvt.cpp:191)
  346. ==2140== by 0x1016D991: btDbvt::update(btDbvtNode*, btDbvtAabbMm&) (btDbvt.cpp:545)
  347. ==2140== by 0x1016DB1E: btDbvt::update(btDbvtNode*, btDbvtAabbMm&, btVector3 const&, float) (btDbvt.cpp:566)
  348. ==2140== by 0x1016F6FD: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:337)
  349. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  350. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  351. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  352. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  353. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  354. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  355. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  356. ==2140== Block was alloc'd at
  357. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  358. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  359. ==2140== by 0x1016D773: createnode (btDbvt.cpp:99)
  360. ==2140== by 0x1016D773: createnode (btDbvt.cpp:112)
  361. ==2140== by 0x1016D773: btDbvt::insert(btDbvtAabbMm const&, void*) (btDbvt.cpp:519)
  362. ==2140== by 0x101700DA: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:184)
  363. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  364. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  365. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  366. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  367. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  368. ==2140== by 0x6D33EEFF: ???
  369. ==2140== by 0xA19FB2FF: ???
  370. ==2140==
  371. ==2140== Invalid read of size 4
  372. ==2140== at 0x1017126A: Intersect (btDbvt.h:549)
  373. ==2140== by 0x1017126A: btDbvtBroadphase::collide(btDispatcher*) (btDbvtBroadphase.cpp:597)
  374. ==2140== by 0x101749C0: btDbvtBroadphase::calculateOverlappingPairs(btDispatcher*) (btDbvtBroadphase.cpp:416)
  375. ==2140== by 0x1019023A: btCollisionWorld::computeOverlappingPairs() (btCollisionWorld.cpp:213)
  376. ==2140== by 0x10190636: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:224)
  377. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  378. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  379. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  380. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  381. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  382. ==2140== by 0x442DAF: main (main.cpp:219)
  383. ==2140== Address 0xa09118c4 is 20 bytes inside a block of size 79 free'd
  384. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  385. ==2140== by 0x1016CB53: deletenode (btDbvt.cpp:73)
  386. ==2140== by 0x1016CB53: removeleaf(btDbvt*, btDbvtNode*) (btDbvt.cpp:191)
  387. ==2140== by 0x1016D991: btDbvt::update(btDbvtNode*, btDbvtAabbMm&) (btDbvt.cpp:545)
  388. ==2140== by 0x1016DB1E: btDbvt::update(btDbvtNode*, btDbvtAabbMm&, btVector3 const&, float) (btDbvt.cpp:566)
  389. ==2140== by 0x1016F6FD: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:337)
  390. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  391. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  392. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  393. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  394. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  395. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  396. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  397. ==2140== Block was alloc'd at
  398. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  399. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  400. ==2140== by 0x1016D773: createnode (btDbvt.cpp:99)
  401. ==2140== by 0x1016D773: createnode (btDbvt.cpp:112)
  402. ==2140== by 0x1016D773: btDbvt::insert(btDbvtAabbMm const&, void*) (btDbvt.cpp:519)
  403. ==2140== by 0x101700DA: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:184)
  404. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  405. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  406. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  407. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  408. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  409. ==2140== by 0x6D33EEFF: ???
  410. ==2140== by 0xA19FB2FF: ???
  411. ==2140==
  412. ==2140== Invalid read of size 4
  413. ==2140== at 0x10171270: Intersect (btDbvt.h:550)
  414. ==2140== by 0x10171270: Intersect (btDbvt.h:534)
  415. ==2140== by 0x10171270: btDbvtBroadphase::collide(btDispatcher*) (btDbvtBroadphase.cpp:597)
  416. ==2140== by 0x101749C0: btDbvtBroadphase::calculateOverlappingPairs(btDispatcher*) (btDbvtBroadphase.cpp:416)
  417. ==2140== by 0x1019023A: btCollisionWorld::computeOverlappingPairs() (btCollisionWorld.cpp:213)
  418. ==2140== by 0x10190636: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:224)
  419. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  420. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  421. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  422. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  423. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  424. ==2140== by 0x442DAF: main (main.cpp:219)
  425. ==2140== Address 0xa09118d8 is 40 bytes inside a block of size 79 free'd
  426. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  427. ==2140== by 0x1016CB53: deletenode (btDbvt.cpp:73)
  428. ==2140== by 0x1016CB53: removeleaf(btDbvt*, btDbvtNode*) (btDbvt.cpp:191)
  429. ==2140== by 0x1016D991: btDbvt::update(btDbvtNode*, btDbvtAabbMm&) (btDbvt.cpp:545)
  430. ==2140== by 0x1016DB1E: btDbvt::update(btDbvtNode*, btDbvtAabbMm&, btVector3 const&, float) (btDbvt.cpp:566)
  431. ==2140== by 0x1016F6FD: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:337)
  432. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  433. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  434. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  435. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  436. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  437. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  438. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  439. ==2140== Block was alloc'd at
  440. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  441. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  442. ==2140== by 0x1016D773: createnode (btDbvt.cpp:99)
  443. ==2140== by 0x1016D773: createnode (btDbvt.cpp:112)
  444. ==2140== by 0x1016D773: btDbvt::insert(btDbvtAabbMm const&, void*) (btDbvt.cpp:519)
  445. ==2140== by 0x101700DA: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:184)
  446. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  447. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  448. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  449. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  450. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  451. ==2140== by 0x6D33EEFF: ???
  452. ==2140== by 0xA19FB2FF: ???
  453. ==2140==
  454. ==2140== Invalid read of size 4
  455. ==2140== at 0x10171280: Intersect (btDbvt.h:551)
  456. ==2140== by 0x10171280: Intersect (btDbvt.h:534)
  457. ==2140== by 0x10171280: btDbvtBroadphase::collide(btDispatcher*) (btDbvtBroadphase.cpp:597)
  458. ==2140== by 0x101749C0: btDbvtBroadphase::calculateOverlappingPairs(btDispatcher*) (btDbvtBroadphase.cpp:416)
  459. ==2140== by 0x1019023A: btCollisionWorld::computeOverlappingPairs() (btCollisionWorld.cpp:213)
  460. ==2140== by 0x10190636: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:224)
  461. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  462. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  463. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  464. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  465. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  466. ==2140== by 0x442DAF: main (main.cpp:219)
  467. ==2140== Address 0xa09118c8 is 24 bytes inside a block of size 79 free'd
  468. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  469. ==2140== by 0x1016CB53: deletenode (btDbvt.cpp:73)
  470. ==2140== by 0x1016CB53: removeleaf(btDbvt*, btDbvtNode*) (btDbvt.cpp:191)
  471. ==2140== by 0x1016D991: btDbvt::update(btDbvtNode*, btDbvtAabbMm&) (btDbvt.cpp:545)
  472. ==2140== by 0x1016DB1E: btDbvt::update(btDbvtNode*, btDbvtAabbMm&, btVector3 const&, float) (btDbvt.cpp:566)
  473. ==2140== by 0x1016F6FD: btDbvtBroadphase::setAabb(btBroadphaseProxy*, btVector3 const&, btVector3 const&, btDispatcher*) (btDbvtBroadphase.cpp:337)
  474. ==2140== by 0x10192BAB: btCollisionWorld::updateSingleAabb(btCollisionObject*) (btCollisionWorld.cpp:172)
  475. ==2140== by 0x10192DB5: btCollisionWorld::updateAabbs() (btCollisionWorld.cpp:204)
  476. ==2140== by 0x1019062D: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:222)
  477. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  478. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  479. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  480. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  481. ==2140== Block was alloc'd at
  482. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  483. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  484. ==2140== by 0x1016D773: createnode (btDbvt.cpp:99)
  485. ==2140== by 0x1016D773: createnode (btDbvt.cpp:112)
  486. ==2140== by 0x1016D773: btDbvt::insert(btDbvtAabbMm const&, void*) (btDbvt.cpp:519)
  487. ==2140== by 0x101700DA: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:184)
  488. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  489. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  490. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  491. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  492. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  493. ==2140== by 0x6D33EEFF: ???
  494. ==2140== by 0xA19FB2FF: ???
  495. ==2140==
  496. ==2140== Invalid read of size 8
  497. ==2140== at 0x1018A427: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:267)
  498. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  499. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  500. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  501. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  502. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  503. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  504. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  505. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  506. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  507. ==2140== by 0x442DAF: main (main.cpp:219)
  508. ==2140== Address 0xa078aa90 is 16 bytes inside a block of size 111 free'd
  509. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  510. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  511. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  512. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  513. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  514. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  515. ==2140== by 0x6D33EEFF: ???
  516. ==2140== Block was alloc'd at
  517. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  518. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  519. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  520. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  521. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  522. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  523. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  524. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  525. ==2140== by 0x6D33EEFF: ???
  526. ==2140== by 0xA19FB2FF: ???
  527. ==2140==
  528. ==2140== Invalid read of size 4
  529. ==2140== at 0x1018AA83: checkCollideWith (btCollisionObject.h:586)
  530. ==2140== by 0x1018AA83: btCollisionDispatcher::needsCollision(btCollisionObject const*, btCollisionObject const*) (btCollisionDispatcher.cpp:204)
  531. ==2140== by 0x1018A435: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:269)
  532. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  533. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  534. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  535. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  536. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  537. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  538. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  539. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  540. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  541. ==2140== by 0x442DAF: main (main.cpp:219)
  542. ==2140== Address 0x568e9804 is 324 bytes inside a block of size 759 free'd
  543. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  544. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  545. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  546. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  547. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  548. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  549. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  550. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  551. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  552. ==2140== by 0x6D33EEFF: ???
  553. ==2140== Block was alloc'd at
  554. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  555. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  556. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  557. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  558. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  559. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  560. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  561. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  562. ==2140== by 0x6D33EEFF: ???
  563. ==2140== by 0xA19FB2FF: ???
  564. ==2140==
  565. ==2140== Invalid read of size 8
  566. ==2140== at 0x1018A458: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:272)
  567. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  568. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  569. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  570. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  571. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  572. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  573. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  574. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  575. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  576. ==2140== by 0x442DAF: main (main.cpp:219)
  577. ==2140== Address 0x568e9798 is 216 bytes inside a block of size 759 free'd
  578. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  579. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  580. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  581. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  582. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  583. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  584. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  585. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  586. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  587. ==2140== by 0x6D33EEFF: ???
  588. ==2140== Block was alloc'd at
  589. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  590. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  591. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  592. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  593. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  594. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  595. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  596. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  597. ==2140== by 0x6D33EEFF: ???
  598. ==2140== by 0xA19FB2FF: ???
  599. ==2140==
  600. ==2140== Invalid read of size 4
  601. ==2140== at 0x1018A7E9: btCollisionDispatcher::findAlgorithm(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btPersistentManifold*, ebtDispatcherQueryType) (btCollisionDispatcher.cpp:157)
  602. ==2140== by 0x1018A52C: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:278)
  603. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  604. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  605. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  606. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  607. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  608. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  609. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  610. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  611. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  612. ==2140== by 0x442DAF: main (main.cpp:219)
  613. ==2140== Address 0xa19fe8a8 is 24 bytes inside a block of size 151 free'd
  614. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  615. ==2140== by 0x50CCB60: operator() (unique_ptr.h:81)
  616. ==2140== by 0x50CCB60: ~unique_ptr (unique_ptr.h:274)
  617. ==2140== by 0x50CCB60: ~PhysicsShape (PhysicsShape.h:17)
  618. ==2140== by 0x50CCB60: Leviathan::PhysicsShape::~PhysicsShape() (PhysicsShape.h:17)
  619. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  620. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  621. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  622. ==2140== by 0x6D33EEFF: ???
  623. ==2140== Block was alloc'd at
  624. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  625. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  626. ==2140== by 0x50C4617: operator new (btCompoundShape.h:71)
  627. ==2140== by 0x50C4617: make_unique<btCompoundShape> (unique_ptr.h:831)
  628. ==2140== by 0x50C4617: Leviathan::PhysicalWorld::CreateCompound() (PhysicalWorld.cpp:258)
  629. ==2140== by 0x5053160: Leviathan::PhysicalWorld::CreateCompoundWrapper() (PhysicalWorld.h:122)
  630. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  631. ==2140==
  632. ==2140== Invalid read of size 4
  633. ==2140== at 0x101A590A: btCompoundCompoundCollisionAlgorithm::btCompoundCompoundCollisionAlgorithm(btCollisionAlgorithmConstructionInfo const&, btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, bool) (btCompoundCompoundCollisionAlgorithm.cpp:49)
  634. ==2140== by 0x101B2187: btCompoundCompoundCollisionAlgorithm::CreateFunc::CreateCollisionAlgorithm(btCollisionAlgorithmConstructionInfo&, btCollisionObjectWrapper const*, btCollisionObjectWrapper const*) (btCompoundCompoundCollisionAlgorithm.h:72)
  635. ==2140== by 0x1018A83E: btCollisionDispatcher::findAlgorithm(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btPersistentManifold*, ebtDispatcherQueryType) (btCollisionDispatcher.cpp:163)
  636. ==2140== by 0x1018A52C: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:278)
  637. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  638. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  639. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  640. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  641. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  642. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  643. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  644. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  645. ==2140== Address 0xa19fe908 is 120 bytes inside a block of size 151 free'd
  646. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  647. ==2140== by 0x50CCB60: operator() (unique_ptr.h:81)
  648. ==2140== by 0x50CCB60: ~unique_ptr (unique_ptr.h:274)
  649. ==2140== by 0x50CCB60: ~PhysicsShape (PhysicsShape.h:17)
  650. ==2140== by 0x50CCB60: Leviathan::PhysicsShape::~PhysicsShape() (PhysicsShape.h:17)
  651. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  652. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  653. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  654. ==2140== by 0x6D33EEFF: ???
  655. ==2140== Block was alloc'd at
  656. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  657. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  658. ==2140== by 0x50C4617: operator new (btCompoundShape.h:71)
  659. ==2140== by 0x50C4617: make_unique<btCompoundShape> (unique_ptr.h:831)
  660. ==2140== by 0x50C4617: Leviathan::PhysicalWorld::CreateCompound() (PhysicalWorld.cpp:258)
  661. ==2140== by 0x5053160: Leviathan::PhysicalWorld::CreateCompoundWrapper() (PhysicalWorld.h:122)
  662. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  663. ==2140==
  664. ==2140== Invalid read of size 8
  665. ==2140== at 0x101A5A62: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:316)
  666. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  667. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  668. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  669. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  670. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  671. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  672. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  673. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  674. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  675. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  676. ==2140== by 0x442DAF: main (main.cpp:219)
  677. ==2140== Address 0xa19fe900 is 112 bytes inside a block of size 151 free'd
  678. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  679. ==2140== by 0x50CCB60: operator() (unique_ptr.h:81)
  680. ==2140== by 0x50CCB60: ~unique_ptr (unique_ptr.h:274)
  681. ==2140== by 0x50CCB60: ~PhysicsShape (PhysicsShape.h:17)
  682. ==2140== by 0x50CCB60: Leviathan::PhysicsShape::~PhysicsShape() (PhysicsShape.h:17)
  683. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  684. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  685. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  686. ==2140== by 0x6D33EEFF: ???
  687. ==2140== Block was alloc'd at
  688. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  689. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  690. ==2140== by 0x50C4617: operator new (btCompoundShape.h:71)
  691. ==2140== by 0x50C4617: make_unique<btCompoundShape> (unique_ptr.h:831)
  692. ==2140== by 0x50C4617: Leviathan::PhysicalWorld::CreateCompound() (PhysicalWorld.cpp:258)
  693. ==2140== by 0x5053160: Leviathan::PhysicalWorld::CreateCompoundWrapper() (PhysicalWorld.h:122)
  694. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  695. ==2140==
  696. ==2140== Invalid read of size 4
  697. ==2140== at 0x101A5AA1: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:323)
  698. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  699. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  700. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  701. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  702. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  703. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  704. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  705. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  706. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  707. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  708. ==2140== by 0x442DAF: main (main.cpp:219)
  709. ==2140== Address 0xa19fe908 is 120 bytes inside a block of size 151 free'd
  710. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  711. ==2140== by 0x50CCB60: operator() (unique_ptr.h:81)
  712. ==2140== by 0x50CCB60: ~unique_ptr (unique_ptr.h:274)
  713. ==2140== by 0x50CCB60: ~PhysicsShape (PhysicsShape.h:17)
  714. ==2140== by 0x50CCB60: Leviathan::PhysicsShape::~PhysicsShape() (PhysicsShape.h:17)
  715. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  716. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  717. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  718. ==2140== by 0x6D33EEFF: ???
  719. ==2140== Block was alloc'd at
  720. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  721. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  722. ==2140== by 0x50C4617: operator new (btCompoundShape.h:71)
  723. ==2140== by 0x50C4617: make_unique<btCompoundShape> (unique_ptr.h:831)
  724. ==2140== by 0x50C4617: Leviathan::PhysicalWorld::CreateCompound() (PhysicalWorld.cpp:258)
  725. ==2140== by 0x5053160: Leviathan::PhysicalWorld::CreateCompoundWrapper() (PhysicalWorld.h:122)
  726. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  727. ==2140==
  728. ==2140== Invalid read of size 4
  729. ==2140== at 0x101A5E7E: dot (btVector3.h:251)
  730. ==2140== by 0x101A5E7E: dot3 (btVector3.h:758)
  731. ==2140== by 0x101A5E7E: operator() (btTransform.h:96)
  732. ==2140== by 0x101A5E7E: operator* (btTransform.h:241)
  733. ==2140== by 0x101A5E7E: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  734. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  735. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  736. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  737. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  738. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  739. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  740. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  741. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  742. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  743. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  744. ==2140== by 0x442DAF: main (main.cpp:219)
  745. ==2140== Address 0x568e970c is 76 bytes inside a block of size 759 free'd
  746. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  747. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  748. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  749. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  750. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  751. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  752. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  753. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  754. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  755. ==2140== by 0x6D33EEFF: ???
  756. ==2140== Block was alloc'd at
  757. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  758. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  759. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  760. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  761. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  762. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  763. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  764. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  765. ==2140== by 0x6D33EEFF: ???
  766. ==2140== by 0xA19FB2FF: ???
  767. ==2140==
  768. ==2140== Invalid read of size 4
  769. ==2140== at 0x101A5E8D: dot (btVector3.h:252)
  770. ==2140== by 0x101A5E8D: dot3 (btVector3.h:758)
  771. ==2140== by 0x101A5E8D: operator() (btTransform.h:96)
  772. ==2140== by 0x101A5E8D: operator* (btTransform.h:241)
  773. ==2140== by 0x101A5E8D: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  774. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  775. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  776. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  777. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  778. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  779. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  780. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  781. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  782. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  783. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  784. ==2140== by 0x442DAF: main (main.cpp:219)
  785. ==2140== Address 0x568e9710 is 80 bytes inside a block of size 759 free'd
  786. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  787. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  788. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  789. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  790. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  791. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  792. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  793. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  794. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  795. ==2140== by 0x6D33EEFF: ???
  796. ==2140== Block was alloc'd at
  797. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  798. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  799. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  800. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  801. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  802. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  803. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  804. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  805. ==2140== by 0x6D33EEFF: ???
  806. ==2140== by 0xA19FB2FF: ???
  807. ==2140==
  808. ==2140== Invalid read of size 4
  809. ==2140== at 0x101A5E93: dot (btVector3.h:250)
  810. ==2140== by 0x101A5E93: dot3 (btVector3.h:758)
  811. ==2140== by 0x101A5E93: operator() (btTransform.h:96)
  812. ==2140== by 0x101A5E93: operator* (btTransform.h:241)
  813. ==2140== by 0x101A5E93: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  814. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  815. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  816. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  817. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  818. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  819. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  820. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  821. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  822. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  823. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  824. ==2140== by 0x442DAF: main (main.cpp:219)
  825. ==2140== Address 0x568e9708 is 72 bytes inside a block of size 759 free'd
  826. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  827. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  828. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  829. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  830. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  831. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  832. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  833. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  834. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  835. ==2140== by 0x6D33EEFF: ???
  836. ==2140== Block was alloc'd at
  837. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  838. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  839. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  840. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  841. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  842. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  843. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  844. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  845. ==2140== by 0x6D33EEFF: ???
  846. ==2140== by 0xA19FB2FF: ???
  847. ==2140==
  848. ==2140== Invalid read of size 4
  849. ==2140== at 0x101A5EA1: tdotx (btMatrix3x3.h:639)
  850. ==2140== by 0x101A5EA1: operator* (btMatrix3x3.h:1256)
  851. ==2140== by 0x101A5EA1: operator* (btTransform.h:240)
  852. ==2140== by 0x101A5EA1: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  853. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  854. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  855. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  856. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  857. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  858. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  859. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  860. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  861. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  862. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  863. ==2140== by 0x442DAF: main (main.cpp:219)
  864. ==2140== Address 0x568e96e8 is 40 bytes inside a block of size 759 free'd
  865. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  866. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  867. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  868. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  869. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  870. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  871. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  872. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  873. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  874. ==2140== by 0x6D33EEFF: ???
  875. ==2140== Block was alloc'd at
  876. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  877. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  878. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  879. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  880. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  881. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  882. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  883. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  884. ==2140== by 0x6D33EEFF: ???
  885. ==2140== by 0xA19FB2FF: ???
  886. ==2140==
  887. ==2140== Invalid read of size 4
  888. ==2140== at 0x101A5EA6: tdoty (btMatrix3x3.h:643)
  889. ==2140== by 0x101A5EA6: operator* (btMatrix3x3.h:1256)
  890. ==2140== by 0x101A5EA6: operator* (btTransform.h:240)
  891. ==2140== by 0x101A5EA6: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  892. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  893. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  894. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  895. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  896. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  897. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  898. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  899. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  900. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  901. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  902. ==2140== by 0x442DAF: main (main.cpp:219)
  903. ==2140== Address 0x568e96ec is 44 bytes inside a block of size 759 free'd
  904. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  905. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  906. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  907. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  908. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  909. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  910. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  911. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  912. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  913. ==2140== by 0x6D33EEFF: ???
  914. ==2140== Block was alloc'd at
  915. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  916. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  917. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  918. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  919. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  920. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  921. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  922. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  923. ==2140== by 0x6D33EEFF: ???
  924. ==2140== by 0xA19FB2FF: ???
  925. ==2140==
  926. ==2140== Invalid read of size 4
  927. ==2140== at 0x101A5EB5: tdotx (btMatrix3x3.h:639)
  928. ==2140== by 0x101A5EB5: operator* (btMatrix3x3.h:1256)
  929. ==2140== by 0x101A5EB5: operator* (btTransform.h:240)
  930. ==2140== by 0x101A5EB5: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  931. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  932. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  933. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  934. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  935. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  936. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  937. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  938. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  939. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  940. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  941. ==2140== by 0x442DAF: main (main.cpp:219)
  942. ==2140== Address 0x568e96d8 is 24 bytes inside a block of size 759 free'd
  943. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  944. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  945. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  946. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  947. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  948. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  949. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  950. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  951. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  952. ==2140== by 0x6D33EEFF: ???
  953. ==2140== Block was alloc'd at
  954. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  955. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  956. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  957. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  958. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  959. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  960. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  961. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  962. ==2140== by 0x6D33EEFF: ???
  963. ==2140== by 0xA19FB2FF: ???
  964. ==2140==
  965. ==2140== Invalid read of size 4
  966. ==2140== at 0x101A5EC7: tdotz (btMatrix3x3.h:647)
  967. ==2140== by 0x101A5EC7: operator* (btMatrix3x3.h:1256)
  968. ==2140== by 0x101A5EC7: operator* (btTransform.h:240)
  969. ==2140== by 0x101A5EC7: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  970. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  971. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  972. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  973. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  974. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  975. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  976. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  977. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  978. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  979. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  980. ==2140== by 0x442DAF: main (main.cpp:219)
  981. ==2140== Address 0x568e96f0 is 48 bytes inside a block of size 759 free'd
  982. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  983. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  984. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  985. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  986. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  987. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  988. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  989. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  990. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  991. ==2140== by 0x6D33EEFF: ???
  992. ==2140== Block was alloc'd at
  993. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  994. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  995. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  996. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  997. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  998. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  999. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1000. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1001. ==2140== by 0x6D33EEFF: ???
  1002. ==2140== by 0xA19FB2FF: ???
  1003. ==2140==
  1004. ==2140== Invalid read of size 4
  1005. ==2140== at 0x101A5ED6: tdotx (btMatrix3x3.h:639)
  1006. ==2140== by 0x101A5ED6: operator* (btMatrix3x3.h:1256)
  1007. ==2140== by 0x101A5ED6: operator* (btTransform.h:240)
  1008. ==2140== by 0x101A5ED6: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  1009. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  1010. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  1011. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  1012. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  1013. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  1014. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  1015. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1016. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1017. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1018. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1019. ==2140== by 0x442DAF: main (main.cpp:219)
  1020. ==2140== Address 0x568e96f8 is 56 bytes inside a block of size 759 free'd
  1021. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1022. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  1023. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  1024. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  1025. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  1026. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  1027. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  1028. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1029. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1030. ==2140== by 0x6D33EEFF: ???
  1031. ==2140== Block was alloc'd at
  1032. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1033. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1034. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  1035. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  1036. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  1037. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1038. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1039. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1040. ==2140== by 0x6D33EEFF: ???
  1041. ==2140== by 0xA19FB2FF: ???
  1042. ==2140==
  1043. ==2140== Invalid read of size 4
  1044. ==2140== at 0x101A5EEE: tdoty (btMatrix3x3.h:643)
  1045. ==2140== by 0x101A5EEE: operator* (btMatrix3x3.h:1256)
  1046. ==2140== by 0x101A5EEE: operator* (btTransform.h:240)
  1047. ==2140== by 0x101A5EEE: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  1048. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  1049. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  1050. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  1051. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  1052. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  1053. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  1054. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1055. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1056. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1057. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1058. ==2140== by 0x442DAF: main (main.cpp:219)
  1059. ==2140== Address 0x568e96dc is 28 bytes inside a block of size 759 free'd
  1060. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1061. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  1062. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  1063. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  1064. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  1065. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  1066. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  1067. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1068. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1069. ==2140== by 0x6D33EEFF: ???
  1070. ==2140== Block was alloc'd at
  1071. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1072. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1073. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  1074. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  1075. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  1076. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1077. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1078. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1079. ==2140== by 0x6D33EEFF: ???
  1080. ==2140== by 0xA19FB2FF: ???
  1081. ==2140==
  1082. ==2140== Invalid read of size 4
  1083. ==2140== at 0x101A5EF8: tdotz (btMatrix3x3.h:647)
  1084. ==2140== by 0x101A5EF8: operator* (btMatrix3x3.h:1256)
  1085. ==2140== by 0x101A5EF8: operator* (btTransform.h:240)
  1086. ==2140== by 0x101A5EF8: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  1087. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  1088. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  1089. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  1090. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  1091. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  1092. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  1093. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1094. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1095. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1096. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1097. ==2140== by 0x442DAF: main (main.cpp:219)
  1098. ==2140== Address 0x568e9700 is 64 bytes inside a block of size 759 free'd
  1099. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1100. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  1101. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  1102. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  1103. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  1104. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  1105. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  1106. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1107. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1108. ==2140== by 0x6D33EEFF: ???
  1109. ==2140== Block was alloc'd at
  1110. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1111. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1112. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  1113. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  1114. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  1115. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1116. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1117. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1118. ==2140== by 0x6D33EEFF: ???
  1119. ==2140== by 0xA19FB2FF: ???
  1120. ==2140==
  1121. ==2140== Invalid read of size 4
  1122. ==2140== at 0x101A5F06: tdoty (btMatrix3x3.h:643)
  1123. ==2140== by 0x101A5F06: operator* (btMatrix3x3.h:1256)
  1124. ==2140== by 0x101A5F06: operator* (btTransform.h:240)
  1125. ==2140== by 0x101A5F06: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  1126. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  1127. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  1128. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  1129. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  1130. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  1131. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  1132. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1133. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1134. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1135. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1136. ==2140== by 0x442DAF: main (main.cpp:219)
  1137. ==2140== Address 0x568e96fc is 60 bytes inside a block of size 759 free'd
  1138. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1139. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  1140. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  1141. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  1142. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  1143. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  1144. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  1145. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1146. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1147. ==2140== by 0x6D33EEFF: ???
  1148. ==2140== Block was alloc'd at
  1149. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1150. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1151. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  1152. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  1153. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  1154. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1155. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1156. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1157. ==2140== by 0x6D33EEFF: ???
  1158. ==2140== by 0xA19FB2FF: ???
  1159. ==2140==
  1160. ==2140== Invalid read of size 4
  1161. ==2140== at 0x101A5F1A: tdotz (btMatrix3x3.h:647)
  1162. ==2140== by 0x101A5F1A: operator* (btMatrix3x3.h:1256)
  1163. ==2140== by 0x101A5F1A: operator* (btTransform.h:240)
  1164. ==2140== by 0x101A5F1A: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:370)
  1165. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  1166. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  1167. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  1168. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  1169. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  1170. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  1171. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1172. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1173. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1174. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1175. ==2140== by 0x442DAF: main (main.cpp:219)
  1176. ==2140== Address 0x568e96e0 is 32 bytes inside a block of size 759 free'd
  1177. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1178. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  1179. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  1180. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  1181. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  1182. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  1183. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  1184. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1185. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1186. ==2140== by 0x6D33EEFF: ???
  1187. ==2140== Block was alloc'd at
  1188. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1189. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1190. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  1191. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  1192. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  1193. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1194. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1195. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1196. ==2140== by 0x6D33EEFF: ???
  1197. ==2140== by 0xA19FB2FF: ???
  1198. ==2140==
  1199. ==2140== Invalid read of size 8
  1200. ==2140== at 0x101A61A6: btCompoundCompoundCollisionAlgorithm::processCollision(btCollisionObjectWrapper const*, btCollisionObjectWrapper const*, btDispatcherInfo const&, btManifoldResult*) (btCompoundCompoundCollisionAlgorithm.cpp:371)
  1201. ==2140== by 0x1018A553: btCollisionDispatcher::defaultNearCallback(btBroadphasePair&, btCollisionDispatcher&, btDispatcherInfo const&) (btCollisionDispatcher.cpp:289)
  1202. ==2140== by 0x1018AD37: btCollisionPairCallback::processOverlap(btBroadphasePair&) (btCollisionDispatcher.cpp:242)
  1203. ==2140== by 0x1017558F: btHashedOverlappingPairCache::processAllOverlappingPairs(btOverlapCallback*, btDispatcher*) (btOverlappingPairCache.cpp:386)
  1204. ==2140== by 0x1018A34F: btCollisionDispatcher::dispatchAllCollisionPairs(btOverlappingPairCache*, btDispatcherInfo const&, btDispatcher*) (btCollisionDispatcher.cpp:255)
  1205. ==2140== by 0x1019068E: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:230)
  1206. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  1207. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1208. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1209. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1210. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1211. ==2140== by 0x442DAF: main (main.cpp:219)
  1212. ==2140== Address 0xa19fe980 is 16 bytes inside a block of size 87 free'd
  1213. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1214. ==2140== by 0x101CA0C8: btCompoundShape::~btCompoundShape() (btCompoundShape.cpp:47)
  1215. ==2140== by 0x101CA0F8: btCompoundShape::~btCompoundShape() (btCompoundShape.cpp:49)
  1216. ==2140== by 0x50CCB60: operator() (unique_ptr.h:81)
  1217. ==2140== by 0x50CCB60: ~unique_ptr (unique_ptr.h:274)
  1218. ==2140== by 0x50CCB60: ~PhysicsShape (PhysicsShape.h:17)
  1219. ==2140== by 0x50CCB60: Leviathan::PhysicsShape::~PhysicsShape() (PhysicsShape.h:17)
  1220. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  1221. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1222. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1223. ==2140== by 0x6D33EEFF: ???
  1224. ==2140== Block was alloc'd at
  1225. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1226. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1227. ==2140== by 0x101CD96E: btCompoundShape::btCompoundShape(bool, int) (btCompoundShape.cpp:33)
  1228. ==2140== by 0x50C4629: make_unique<btCompoundShape> (btCompoundShape.h:71)
  1229. ==2140== by 0x50C4629: Leviathan::PhysicalWorld::CreateCompound() (PhysicalWorld.cpp:258)
  1230. ==2140== by 0x5053160: Leviathan::PhysicalWorld::CreateCompoundWrapper() (PhysicalWorld.h:122)
  1231. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1232. ==2140==
  1233. ==2140== Invalid read of size 8
  1234. ==2140== at 0x101BA017: btSimulationIslandManager::findUnions(btDispatcher*, btCollisionWorld*) (btSimulationIslandManager.cpp:58)
  1235. ==2140== by 0xFCA7A00: btDiscreteDynamicsWorld::calculateSimulationIslands() (btDiscreteDynamicsWorld.cpp:745)
  1236. ==2140== by 0xFCAC80D: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:497)
  1237. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1238. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1239. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1240. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1241. ==2140== by 0x442DAF: main (main.cpp:219)
  1242. ==2140== Address 0xa078aa90 is 16 bytes inside a block of size 111 free'd
  1243. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1244. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  1245. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  1246. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  1247. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1248. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1249. ==2140== by 0x6D33EEFF: ???
  1250. ==2140== Block was alloc'd at
  1251. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1252. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1253. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  1254. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  1255. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  1256. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1257. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1258. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1259. ==2140== by 0x6D33EEFF: ???
  1260. ==2140== by 0xA19FB2FF: ???
  1261. ==2140==
  1262. ==2140== Invalid read of size 1
  1263. ==2140== at 0x101BA028: btSimulationIslandManager::findUnions(btDispatcher*, btCollisionWorld*) (btSimulationIslandManager.cpp:61)
  1264. ==2140== by 0xFCA7A00: btDiscreteDynamicsWorld::calculateSimulationIslands() (btDiscreteDynamicsWorld.cpp:745)
  1265. ==2140== by 0xFCAC80D: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:497)
  1266. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1267. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1268. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1269. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1270. ==2140== by 0x442DAF: main (main.cpp:219)
  1271. ==2140== Address 0x568e97b0 is 240 bytes inside a block of size 759 free'd
  1272. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1273. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  1274. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  1275. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  1276. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  1277. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  1278. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  1279. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1280. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1281. ==2140== by 0x6D33EEFF: ???
  1282. ==2140== Block was alloc'd at
  1283. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1284. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1285. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  1286. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  1287. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  1288. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1289. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1290. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1291. ==2140== by 0x6D33EEFF: ???
  1292. ==2140== by 0xA19FB2FF: ???
  1293. ==2140==
  1294. ==2140== Invalid read of size 4
  1295. ==2140== at 0x101BA05B: btSimulationIslandManager::findUnions(btDispatcher*, btCollisionWorld*) (btSimulationIslandManager.cpp:64)
  1296. ==2140== by 0xFCA7A00: btDiscreteDynamicsWorld::calculateSimulationIslands() (btDiscreteDynamicsWorld.cpp:745)
  1297. ==2140== by 0xFCAC80D: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:497)
  1298. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1299. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1300. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1301. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1302. ==2140== by 0x442DAF: main (main.cpp:219)
  1303. ==2140== Address 0x568e97b4 is 244 bytes inside a block of size 759 free'd
  1304. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1305. ==2140== by 0x50CD263: operator delete (btCollisionObject.h:129)
  1306. ==2140== by 0x50CD263: ~btRigidBody (btRigidBody.h:190)
  1307. ==2140== by 0x50CD263: operator() (unique_ptr.h:81)
  1308. ==2140== by 0x50CD263: reset (unique_ptr.h:382)
  1309. ==2140== by 0x50CD263: Leviathan::PhysicsBody::DetachResources() (PhysicsBody.cpp:46)
  1310. ==2140== by 0x50C5DA1: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:466)
  1311. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1312. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1313. ==2140== by 0x6D33EEFF: ???
  1314. ==2140== Block was alloc'd at
  1315. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1316. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1317. ==2140== by 0x50C5772: operator new (btCollisionObject.h:129)
  1318. ==2140== by 0x50C5772: make_unique<btRigidBody, btRigidBody::btRigidBodyConstructionInfo&> (unique_ptr.h:831)
  1319. ==2140== by 0x50C5772: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:317)
  1320. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1321. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1322. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1323. ==2140== by 0x6D33EEFF: ???
  1324. ==2140== by 0xA19FB2FF: ???
  1325. ==2140==
  1326. ==2140== Invalid read of size 4
  1327. ==2140== at 0x10175117: getHash (btOverlappingPairCache.h:220)
  1328. ==2140== by 0x10175117: btHashedOverlappingPairCache::removeOverlappingPair(btBroadphaseProxy*, btBroadphaseProxy*, btDispatcher*) (btOverlappingPairCache.cpp:341)
  1329. ==2140== by 0x101712A3: btDbvtBroadphase::collide(btDispatcher*) (btDbvtBroadphase.cpp:603)
  1330. ==2140== by 0x101749C0: btDbvtBroadphase::calculateOverlappingPairs(btDispatcher*) (btDbvtBroadphase.cpp:416)
  1331. ==2140== by 0x1019023A: btCollisionWorld::computeOverlappingPairs() (btCollisionWorld.cpp:213)
  1332. ==2140== by 0x10190636: btCollisionWorld::performDiscreteCollisionDetection() (btCollisionWorld.cpp:224)
  1333. ==2140== by 0xFCAC801: btDiscreteDynamicsWorld::internalSingleStepSimulation(float) (btDiscreteDynamicsWorld.cpp:495)
  1334. ==2140== by 0xFCADD34: btDiscreteDynamicsWorld::stepSimulation(float, int, float) (btDiscreteDynamicsWorld.cpp:455)
  1335. ==2140== by 0x4FED08F: Leviathan::GameWorld::Tick(int) (GameWorld.cpp:595)
  1336. ==2140== by 0x4FB854E: Leviathan::Engine::Tick() (Engine.cpp:884)
  1337. ==2140== by 0x509A9AF: Leviathan::LeviathanApplication::RunMessageLoop() (Application.cpp:137)
  1338. ==2140== by 0x442DAF: main (main.cpp:219)
  1339. ==2140== Address 0xa078aaa0 is 32 bytes inside a block of size 111 free'd
  1340. ==2140== at 0x4C3000C: free (vg_replace_malloc.c:530)
  1341. ==2140== by 0x1016E83C: btDbvtBroadphase::destroyProxy(btBroadphaseProxy*, btDispatcher*) (btDbvtBroadphase.cpp:207)
  1342. ==2140== by 0x1019071F: btCollisionWorld::removeCollisionObject(btCollisionObject*) (btCollisionWorld.cpp:252)
  1343. ==2140== by 0x50C5D86: Leviathan::PhysicalWorld::DestroyBody(Leviathan::PhysicsBody*) (PhysicalWorld.cpp:457)
  1344. ==2140== by 0x4FE7D7E: Leviathan::Physics::Release(Leviathan::PhysicalWorld*) (Components.cpp:112)
  1345. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1346. ==2140== by 0x6D33EEFF: ???
  1347. ==2140== Block was alloc'd at
  1348. ==2140== at 0x4C2EE0B: malloc (vg_replace_malloc.c:299)
  1349. ==2140== by 0xFA2C0A3: btAlignedAllocDefault(unsigned long, int) (btAlignedAllocator.cpp:70)
  1350. ==2140== by 0x1017004B: btDbvtBroadphase::createProxy(btVector3 const&, btVector3 const&, int, void*, int, int, btDispatcher*) (btDbvtBroadphase.cpp:175)
  1351. ==2140== by 0x1019044E: btCollisionWorld::addCollisionObject(btCollisionObject*, int, int) (btCollisionWorld.cpp:131)
  1352. ==2140== by 0x50C5892: Leviathan::PhysicalWorld::CreateBodyFromCollision(boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, Leviathan::PhysicsPositionProvider*, int) (PhysicalWorld.cpp:344)
  1353. ==2140== by 0x4FE7E63: Leviathan::Physics::CreatePhysicsBody(Leviathan::PhysicalWorld*, boost::intrusive_ptr<Leviathan::PhysicsShape> const&, float, int) (Components.cpp:134)
  1354. ==2140== by 0x5060621: Leviathan::Physics::CreatePhysicsBodyWrapper(Leviathan::PhysicalWorld*, Leviathan::PhysicsShape*, float, int) (Components.h:460)
  1355. ==2140== by 0x51EA283: X64_CallFunction(unsigned long const*, int, unsigned long (*)(), unsigned long&, bool) (as_callfunc_x64_gcc.cpp:162)
  1356. ==2140== by 0x6D33EEFF: ???
  1357. ==2140== by 0xA19FB2FF: ???
Advertisement
Add Comment
Please, Sign In to add comment