GlPortal

Welcome to the GlPortal issue tracker. New to the project? Try our simple tasks.

  • Status New
  • Percent Complete
    0%
  • Task Type Task
  • Category Backend / Core
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Medium
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: GlPortal
Opened by Geert Custers - 03.10.2016
Last edited by Henry Hirsch - 03.10.2016

FS#169 - Fix Memory Leaks

 

  1. ==28378== Memcheck, a memory error detector

  2. ==28378== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.

  3. ==28378== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info

  4. ==28378== Command: ./glportal --datadir /home/geert/glPortal/data

  5. ==28378==

  6. ==28378== Syscall param writev(vector[...]) points to uninitialised byte(s)

  7. ==28378==    at 0x82EEB7D: ??? (in /usr/lib/libc-2.24.so)

  8. ==28378==    by 0x9635BAC: ??? (in /usr/lib/libxcb.so.1.1.0)

  9. ==28378==    by 0x9635FAC: ??? (in /usr/lib/libxcb.so.1.1.0)

  10. ==28378==    by 0x963602C: xcb_writev (in /usr/lib/libxcb.so.1.1.0)

  11. ==28378==    by 0x881F18D: _XSend (in /usr/lib/libX11.so.6.3.0)

  12. ==28378==    by 0x881F681: _XReply (in /usr/lib/libX11.so.6.3.0)

  13. ==28378==    by 0x880A406: XInternAtom (in /usr/lib/libX11.so.6.3.0)

  14. ==28378==    by 0x5DA375F: SetWindowBordered (SDL_x11window.c:320)

  15. ==28378==    by 0x5DA375F: X11_CreateWindow (SDL_x11window.c:491)

  16. ==28378==    by 0x5D90C08: SDL_CreateWindow_REAL (SDL_video.c:1403)

  17. ==28378==    by 0x5D90879: ShouldUseTextureFramebuffer (SDL_video.c:206)

  18. ==28378==    by 0x5D90879: SDL_VideoInit_REAL (SDL_video.c:525)

  19. ==28378==    by 0x5CCBB66: SDL_InitSubSystem_REAL (SDL.c:173)

  20. ==28378==    by 0x5CCBB66: SDL_Init_REAL (SDL.c:244)

  21. ==28378==    by 0x449954: radix::Window::create(char const*) (Window.cpp:59)

  22. ==28378==  Address 0x9d09c73 is 35 bytes inside a block of size 16,384 alloc'd

  23. ==28378==    at 0x4C2CA40: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  24. ==28378==    by 0x880F4E1: XOpenDisplay (in /usr/lib/libX11.so.6.3.0)

  25. ==28378==    by 0x5DA1E34: X11_CreateDevice (SDL_x11video.c:186)

  26. ==28378==    by 0x5D90830: SDL_VideoInit_REAL (SDL_video.c:486)

  27. ==28378==    by 0x5CCBB66: SDL_InitSubSystem_REAL (SDL.c:173)

  28. ==28378==    by 0x5CCBB66: SDL_Init_REAL (SDL.c:244)

  29. ==28378==    by 0x449954: radix::Window::create(char const*) (Window.cpp:59)

  30. ==28378==    by 0x43B018: glPortal::Game::Game() (Game.cpp:24)

  31. ==28378==    by 0x4302E8: main (Main.cpp:18)

  32. ==28378==

  33. ==28378== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)

  34. ==28378==    at 0x6006E50: sendmsg (in /usr/lib/libpthread-2.24.so)

  35. ==28378==    by 0x1012E5E6: ??? (in /usr/lib/libGLX_nvidia.so.370.28)

  36. ==28378==    by 0x1012A448: ??? (in /usr/lib/libGLX_nvidia.so.370.28)

  37. ==28378==    by 0x100C2B0D: ??? (in /usr/lib/libGLX_nvidia.so.370.28)

  38. ==28378==    by 0x115C8165: ??? (in /usr/lib/libnvidia-glcore.so.370.28)

  39. ==28378==    by 0x115C0903: ??? (in /usr/lib/libnvidia-glcore.so.370.28)

  40. ==28378==    by 0x115C2562: ??? (in /usr/lib/libnvidia-glcore.so.370.28)

  41. ==28378==    by 0x115C2D37: ??? (in /usr/lib/libnvidia-glcore.so.370.28)

  42. ==28378==    by 0x101178D9: ??? (in /usr/lib/libGLX_nvidia.so.370.28)

  43. ==28378==    by 0x115BEEC7: ??? (in /usr/lib/libnvidia-glcore.so.370.28)

  44. ==28378==    by 0x115BFB08: ??? (in /usr/lib/libnvidia-glcore.so.370.28)

  45. ==28378==    by 0x100C2DB5: ??? (in /usr/lib/libGLX_nvidia.so.370.28)

  46. ==28378==  Address 0xffeffed3c is on thread 1's stack

  47. ==28378==

  48. V          Window  OpenGL 3.2

  49. D  GlGwenRenderer  LoadTexture /home/geert/glPortal/data/gui/DefaultSkin.png, id 1

  50. ==28378== Conditional jump or move depends on uninitialised value(s)

  51. ==28378==    at 0x483249: SetScale (Canvas.cpp:98)

  52. ==28378==    by 0x483249: Gwen::Controls::Canvas::Canvas(Gwen::Skin::Base*) (Canvas.cpp:25)

  53. ==28378==    by 0x44B36A: make_unique<Gwen::Controls::Canvas, Gwen::Skin::TexturedBase*> (unique_ptr.h:787)

  54. ==28378==    by 0x44B36A: radix::Window::create(char const*) (Window.cpp:130)

  55. ==28378==    by 0x43B018: glPortal::Game::Game() (Game.cpp:24)

  56. ==28378==    by 0x4302E8: main (Main.cpp:18)

  57. ==28378==

  58. ==28378== Conditional jump or move depends on uninitialised value(s)

  59. ==28378==    at 0x48324B: SetScale (Canvas.cpp:98)

  60. ==28378==    by 0x48324B: Gwen::Controls::Canvas::Canvas(Gwen::Skin::Base*) (Canvas.cpp:25)

  61. ==28378==    by 0x44B36A: make_unique<Gwen::Controls::Canvas, Gwen::Skin::TexturedBase*> (unique_ptr.h:787)

  62. ==28378==    by 0x44B36A: radix::Window::create(char const*) (Window.cpp:130)

  63. ==28378==    by 0x43B018: glPortal::Game::Game() (Game.cpp:24)

  64. ==28378==    by 0x4302E8: main (Main.cpp:18)

  65. ==28378==

  66. D  GlGwenRenderer  Initialize

  67. D  GlGwenRenderer  LoadTexture /home/geert/glPortal/data/gui/DebugFont.png, id 2

  68. I    SoundManager  SDL Audio system initialized

  69. V    SoundManager  fully initialized

  70. D  MaterialLoader  concrete/wall00: load concrete/wall00.png

  71. D  MaterialLoader  concrete/wall00: load concrete/wall00xn.jpg

  72. D  MaterialLoader  concrete/wall00: load concrete/wall00xs.jpg

  73. D  MaterialLoader  metal/tiles00x3: load metal/tiles00x3.jpg

  74. D  MaterialLoader  metal/tiles00x3: load metal/tiles00x3n.jpg

  75. D  MaterialLoader  metal/tiles00x3: load metal/tiles00x3s.jpg

  76. D  MaterialLoader  door/door: load door/door00.png

  77. D  MaterialLoader  models/light-fixture: load models/light-fixture.jpg

  78. D  MaterialLoader  door/door: load door/door00.png

  79. I    XmlMapLoader  Map /home/geert/glPortal/data/maps/n1.xml loaded

  80. D    ShaderLoader  /home/geert/glPortal/data/shaders/diffuse.vert: vertex shader compiled

  81. D    ShaderLoader  /home/geert/glPortal/data/shaders/diffuse.frag: fragment shader compiled

  82. D    ShaderLoader  /home/geert/glPortal/data/shaders/diffuse.frag: program linked

  83. D    ShaderLoader  /home/geert/glPortal/data/shaders/diffuse.frag: progam validated

  84. D    ShaderLoader  /home/geert/glPortal/data/shaders/diffuse.vert: vertex shader compiled

  85. D    ShaderLoader  /home/geert/glPortal/data/shaders/metal.frag: fragment shader compiled

  86. D    ShaderLoader  /home/geert/glPortal/data/shaders/metal.frag: program linked

  87. D    ShaderLoader  /home/geert/glPortal/data/shaders/metal.frag: progam validated

  88. ==28378== Conditional jump or move depends on uninitialised value(s)

  89. ==28378==    at 0x4347D3: glPortal::GameRenderer::renderScene(radix::RenderContext&) (GameRenderer.cpp:75)

  90. ==28378==    by 0x434BE4: glPortal::GameRenderer::render(double, radix::Camera const&) (GameRenderer.cpp:71)

  91. ==28378==    by 0x43A2E3: glPortal::Game::render() (Game.cpp:77)

  92. ==28378==    by 0x430308: main (Main.cpp:22)

  93. ==28378==

  94. D    ShaderLoader  /home/geert/glPortal/data/shaders/diffuse.vert: vertex shader compiled

  95. D    ShaderLoader  /home/geert/glPortal/data/shaders/whitefill.frag: fragment shader compiled

  96. D    ShaderLoader  /home/geert/glPortal/data/shaders/whitefill.frag: program linked

  97. D    ShaderLoader  /home/geert/glPortal/data/shaders/whitefill.frag: progam validated

  98. D    ShaderLoader  /home/geert/glPortal/data/shaders/diffuse.vert: vertex shader compiled

  99. D    ShaderLoader  /home/geert/glPortal/data/shaders/unshaded.frag: fragment shader compiled

  100. D    ShaderLoader  /home/geert/glPortal/data/shaders/unshaded.frag: program linked

  101. D    ShaderLoader  /home/geert/glPortal/data/shaders/unshaded.frag: progam validated

  102. D    ShaderLoader  /home/geert/glPortal/data/shaders/diffuse.vert: vertex shader compiled

  103. D    ShaderLoader  /home/geert/glPortal/data/shaders/text.frag: fragment shader compiled

  104. D    ShaderLoader  /home/geert/glPortal/data/shaders/text.frag: program linked

  105. D    ShaderLoader  /home/geert/glPortal/data/shaders/text.frag: progam validated

  106. ==28378== Invalid read of size 8

  107. ==28378==    at 0x471918: operator() (PhysicsSystem.cpp:51)

  108. ==28378==    by 0x471918: std::_Function_handler<void (radix::Event const&), radix::PhysicsSystem::PhysicsSystem(radix::World&)::{lambda(radix::Event const&)#2}>::_M_invoke(std::_Any_data const&, radix::Event const&) (functional:1740)

  109. ==28378==    by 0x45DF30: operator() (functional:2136)

  110. ==28378==    by 0x45DF30: radix::EventDispatcher::dispatch(radix::Event const&) (EventDispatcher.cpp:14)

  111. ==28378==    by 0x475641: radix::Entity::clearComponents() (Entity.cpp:30)

  112. ==28378==    by 0x45A062: ~Entity (Entity.hpp:92)

  113. ==28378==    by 0x45A062: destroy<radix::Entity> (new_allocator.h:124)

  114. ==28378==    by 0x45A062: destroy<radix::Entity> (alloc_traits.h:467)

  115. ==28378==    by 0x45A062: std::__cxx11::_List_base<radix::Entity, std::allocator<radix::Entity> >::_M_clear() (list.tcc:76)

  116. ==28378==    by 0x457F26: ~_List_base (stl_list.h:442)

  117. ==28378==    by 0x457F26: ~list (stl_list.h:503)

  118. ==28378==    by 0x457F26: ~EntityManager (EntityManager.hpp:16)

  119. ==28378==    by 0x457F26: radix::World::~World() (World.cpp:105)

  120. ==28378==    by 0x43A285: ~BaseGame (BaseGame.hpp:15)

  121. ==28378==    by 0x43A285: glPortal::Game::~Game() (Game.hpp:16)

  122. ==28378==    by 0x43032A: main (Main.cpp:18)

  123. ==28378==  Address 0x12d7e118 is 104 bytes inside a block of size 120 free'd

  124. ==28378==    at 0x4C2C20A: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  125. ==28378==    by 0x457DD9: operator() (unique_ptr.h:76)

  126. ==28378==    by 0x457DD9: ~unique_ptr (unique_ptr.h:236)

  127. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System> > (stl_construct.h:93)

  128. ==28378==    by 0x457DD9: __destroy<std::unique_ptr<radix::System>*> (stl_construct.h:103)

  129. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System>*> (stl_construct.h:126)

  130. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System>*, std::unique_ptr<radix::System> > (stl_construct.h:151)

  131. ==28378==    by 0x457DD9: ~vector (stl_vector.h:426)

  132. ==28378==    by 0x457DD9: radix::World::~World() (World.cpp:105)

  133. ==28378==    by 0x43A285: ~BaseGame (BaseGame.hpp:15)

  134. ==28378==    by 0x43A285: glPortal::Game::~Game() (Game.hpp:16)

  135. ==28378==    by 0x43032A: main (Main.cpp:18)

  136. ==28378==  Block was alloc'd at

  137. ==28378==    at 0x4C2B1EC: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  138. ==28378==    by 0x43A79B: addSystem<radix::PhysicsSystem> (World.hpp:201)

  139. ==28378==    by 0x43A79B: glPortal::Game::init() (Game.cpp:49)

  140. ==28378==    by 0x43B025: glPortal::Game::Game() (Game.cpp:28)

  141. ==28378==    by 0x4302E8: main (Main.cpp:18)

  142. ==28378==

  143. ==28378== Invalid read of size 8

  144. ==28378==    at 0x47192D: operator() (PhysicsSystem.cpp:52)

  145. ==28378==    by 0x47192D: std::_Function_handler<void (radix::Event const&), radix::PhysicsSystem::PhysicsSystem(radix::World&)::{lambda(radix::Event const&)#2}>::_M_invoke(std::_Any_data const&, radix::Event const&) (functional:1740)

  146. ==28378==    by 0x45DF30: operator() (functional:2136)

  147. ==28378==    by 0x45DF30: radix::EventDispatcher::dispatch(radix::Event const&) (EventDispatcher.cpp:14)

  148. ==28378==    by 0x475641: radix::Entity::clearComponents() (Entity.cpp:30)

  149. ==28378==    by 0x45A062: ~Entity (Entity.hpp:92)

  150. ==28378==    by 0x45A062: destroy<radix::Entity> (new_allocator.h:124)

  151. ==28378==    by 0x45A062: destroy<radix::Entity> (alloc_traits.h:467)

  152. ==28378==    by 0x45A062: std::__cxx11::_List_base<radix::Entity, std::allocator<radix::Entity> >::_M_clear() (list.tcc:76)

  153. ==28378==    by 0x457F26: ~_List_base (stl_list.h:442)

  154. ==28378==    by 0x457F26: ~list (stl_list.h:503)

  155. ==28378==    by 0x457F26: ~EntityManager (EntityManager.hpp:16)

  156. ==28378==    by 0x457F26: radix::World::~World() (World.cpp:105)

  157. ==28378==    by 0x43A285: ~BaseGame (BaseGame.hpp:15)

  158. ==28378==    by 0x43A285: glPortal::Game::~Game() (Game.hpp:16)

  159. ==28378==    by 0x43032A: main (Main.cpp:18)

  160. ==28378==  Address 0x12d7e118 is 104 bytes inside a block of size 120 free'd

  161. ==28378==    at 0x4C2C20A: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  162. ==28378==    by 0x457DD9: operator() (unique_ptr.h:76)

  163. ==28378==    by 0x457DD9: ~unique_ptr (unique_ptr.h:236)

  164. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System> > (stl_construct.h:93)

  165. ==28378==    by 0x457DD9: __destroy<std::unique_ptr<radix::System>*> (stl_construct.h:103)

  166. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System>*> (stl_construct.h:126)

  167. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System>*, std::unique_ptr<radix::System> > (stl_construct.h:151)

  168. ==28378==    by 0x457DD9: ~vector (stl_vector.h:426)

  169. ==28378==    by 0x457DD9: radix::World::~World() (World.cpp:105)

  170. ==28378==    by 0x43A285: ~BaseGame (BaseGame.hpp:15)

  171. ==28378==    by 0x43A285: glPortal::Game::~Game() (Game.hpp:16)

  172. ==28378==    by 0x43032A: main (Main.cpp:18)

  173. ==28378==  Block was alloc'd at

  174. ==28378==    at 0x4C2B1EC: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  175. ==28378==    by 0x43A79B: addSystem<radix::PhysicsSystem> (World.hpp:201)

  176. ==28378==    by 0x43A79B: glPortal::Game::init() (Game.cpp:49)

  177. ==28378==    by 0x43B025: glPortal::Game::Game() (Game.cpp:28)

  178. ==28378==    by 0x4302E8: main (Main.cpp:18)

  179. ==28378==

  180. ==28378== Invalid read of size 8

  181. ==28378==    at 0x47194B: operator() (PhysicsSystem.cpp:48)

  182. ==28378==    by 0x47194B: std::_Function_handler<void (radix::Event const&), radix::PhysicsSystem::PhysicsSystem(radix::World&)::{lambda(radix::Event const&)#2}>::_M_invoke(std::_Any_data const&, radix::Event const&) (functional:1740)

  183. ==28378==    by 0x45DF30: operator() (functional:2136)

  184. ==28378==    by 0x45DF30: radix::EventDispatcher::dispatch(radix::Event const&) (EventDispatcher.cpp:14)

  185. ==28378==    by 0x475641: radix::Entity::clearComponents() (Entity.cpp:30)

  186. ==28378==    by 0x45A062: ~Entity (Entity.hpp:92)

  187. ==28378==    by 0x45A062: destroy<radix::Entity> (new_allocator.h:124)

  188. ==28378==    by 0x45A062: destroy<radix::Entity> (alloc_traits.h:467)

  189. ==28378==    by 0x45A062: std::__cxx11::_List_base<radix::Entity, std::allocator<radix::Entity> >::_M_clear() (list.tcc:76)

  190. ==28378==    by 0x457F26: ~_List_base (stl_list.h:442)

  191. ==28378==    by 0x457F26: ~list (stl_list.h:503)

  192. ==28378==    by 0x457F26: ~EntityManager (EntityManager.hpp:16)

  193. ==28378==    by 0x457F26: radix::World::~World() (World.cpp:105)

  194. ==28378==    by 0x43A285: ~BaseGame (BaseGame.hpp:15)

  195. ==28378==    by 0x43A285: glPortal::Game::~Game() (Game.hpp:16)

  196. ==28378==    by 0x43032A: main (Main.cpp:18)

  197. ==28378==  Address 0x12d7e118 is 104 bytes inside a block of size 120 free'd

  198. ==28378==    at 0x4C2C20A: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  199. ==28378==    by 0x457DD9: operator() (unique_ptr.h:76)

  200. ==28378==    by 0x457DD9: ~unique_ptr (unique_ptr.h:236)

  201. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System> > (stl_construct.h:93)

  202. ==28378==    by 0x457DD9: __destroy<std::unique_ptr<radix::System>*> (stl_construct.h:103)

  203. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System>*> (stl_construct.h:126)

  204. ==28378==    by 0x457DD9: _Destroy<std::unique_ptr<radix::System>*, std::unique_ptr<radix::System> > (stl_construct.h:151)

  205. ==28378==    by 0x457DD9: ~vector (stl_vector.h:426)

  206. ==28378==    by 0x457DD9: radix::World::~World() (World.cpp:105)

  207. ==28378==    by 0x43A285: ~BaseGame (BaseGame.hpp:15)

  208. ==28378==    by 0x43A285: glPortal::Game::~Game() (Game.hpp:16)

  209. ==28378==    by 0x43032A: main (Main.cpp:18)

  210. ==28378==  Block was alloc'd at

  211. ==28378==    at 0x4C2B1EC: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  212. ==28378==    by 0x43A79B: addSystem<radix::PhysicsSystem> (World.hpp:201)

  213. ==28378==    by 0x43A79B: glPortal::Game::init() (Game.cpp:49)

  214. ==28378==    by 0x43B025: glPortal::Game::Game() (Game.cpp:28)

  215. ==28378==    by 0x4302E8: main (Main.cpp:18)

  216. ==28378==

  217. ==28378==

  218. ==28378== HEAP SUMMARY:

  219. ==28378==     in use at exit: 3,997,445 bytes in 696 blocks

  220. ==28378==   total heap usage: 27,612,142 allocs, 27,611,446 frees, 1,471,886,430 bytes allocated

  221. ==28378==

  222. ==28378== 16 bytes in 1 blocks are definitely lost in loss record 18 of 236

  223. ==28378==    at 0x4C2B1EC: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  224. ==28378==    by 0x472281: radix::PhysicsSystem::PhysicsSystem(radix::World&) (PhysicsSystem.cpp:24)

  225. ==28378==    by 0x43A7A9: addSystem<radix::PhysicsSystem> (World.hpp:201)

  226. ==28378==    by 0x43A7A9: glPortal::Game::init() (Game.cpp:49)

  227. ==28378==    by 0x43B025: glPortal::Game::Game() (Game.cpp:28)

  228. ==28378==    by 0x4302E8: main (Main.cpp:18)

  229. ==28378==

  230. ==28378== 64 bytes in 1 blocks are definitely lost in loss record 159 of 236

  231. ==28378==    at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  232. ==28378==    by 0x100ECE5F: glXChooseFBConfig (in /usr/lib/libGLX_nvidia.so.370.28)

  233. ==28378==    by 0x85AF470: glXChooseFBConfig (in /usr/lib/libGLX.so.0.0.0)

  234. ==28378==    by 0x5DA1462: X11_GL_CreateContext (SDL_x11opengl.c:642)

  235. ==28378==    by 0x5D8FBBF: SDL_GL_CreateContext_REAL (SDL_video.c:3145)

  236. ==28378==    by 0x449A92: radix::Window::create(char const*) (Window.cpp:108)

  237. ==28378==    by 0x43B018: glPortal::Game::Game() (Game.cpp:24)

  238. ==28378==    by 0x4302E8: main (Main.cpp:18)

  239. ==28378==

  240. ==28378== 5,166 (479 direct, 4,687 indirect) bytes in 1 blocks are definitely lost in loss record 226 of 236

  241. ==28378==    at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  242. ==28378==    by 0x6C67542: ??? (in /usr/lib/libLinearMath.so.2.83)

  243. ==28378==    by 0x472224: operator new (btDiscreteDynamicsWorld.h:99)

  244. ==28378==    by 0x472224: radix::PhysicsSystem::PhysicsSystem(radix::World&) (PhysicsSystem.cpp:21)

  245. ==28378==    by 0x43A7A9: addSystem<radix::PhysicsSystem> (World.hpp:201)

  246. ==28378==    by 0x43A7A9: glPortal::Game::init() (Game.cpp:49)

  247. ==28378==    by 0x43B025: glPortal::Game::Game() (Game.cpp:28)

  248. ==28378==    by 0x4302E8: main (Main.cpp:18)

  249. ==28378==

  250. ==28378== 37,024 (8 direct, 37,016 indirect) bytes in 1 blocks are definitely lost in loss record 233 of 236

  251. ==28378==    at 0x4C2B1EC: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  252. ==28378==    by 0x44B387: make_unique<radix::GWENInput> (unique_ptr.h:787)

  253. ==28378==    by 0x44B387: radix::Window::create(char const*) (Window.cpp:131)

  254. ==28378==    by 0x43B018: glPortal::Game::Game() (Game.cpp:24)

  255. ==28378==    by 0x4302E8: main (Main.cpp:18)

  256. ==28378==

  257. ==28378== 3,845,708 (55 direct, 3,845,653 indirect) bytes in 1 blocks are definitely lost in loss record 236 of 236

  258. ==28378==    at 0x4C2AB8D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)

  259. ==28378==    by 0x6C67542: ??? (in /usr/lib/libLinearMath.so.2.83)

  260. ==28378==    by 0x69D0B2A: btDefaultCollisionConfiguration::btDefaultCollisionConfiguration(btDefaultCollisionConstructionInfo const&) (in /usr/lib/libBulletCollision.so.2.83)

  261. ==28378==    by 0x4721CB: radix::PhysicsSystem::PhysicsSystem(radix::World&) (PhysicsSystem.cpp:18)

  262. ==28378==    by 0x43A7A9: addSystem<radix::PhysicsSystem> (World.hpp:201)

  263. ==28378==    by 0x43A7A9: glPortal::Game::init() (Game.cpp:49)

  264. ==28378==    by 0x43B025: glPortal::Game::Game() (Game.cpp:28)

  265. ==28378==    by 0x4302E8: main (Main.cpp:18)

  266. ==28378==

  267. ==28378== LEAK SUMMARY:

  268. ==28378==    definitely lost: 622 bytes in 5 blocks

  269. ==28378==    indirectly lost: 3,887,356 bytes in 53 blocks

  270. ==28378==      possibly lost: 0 bytes in 0 blocks

  271. ==28378==    still reachable: 109,467 bytes in 638 blocks

  272. ==28378==         suppressed: 0 bytes in 0 blocks

  273. ==28378== Reachable blocks (those to which a pointer was found) are not shown.

  274. ==28378== To see them, rerun with: --leak-check=full --show-leak-kinds=all

  275. ==28378==

  276. ==28378== For counts of detected and suppressed errors, rerun with: -v

  277. ==28378== Use --track-origins=yes to see where uninitialised values come from

  278. ==28378== ERROR SUMMARY: 75134 errors from 13 contexts (suppressed: 0 from 0)

Admin
Henry Hirsch commented on 06.10.2016 18:16

Isn't the way we pass cameras to the renderContext inside sub renderers asking for trouble (pointers that get never deleted)?

Date User Effort (H:M)

Loading...

Available keyboard shortcuts

Task List

Task Details

Add/Edit Task

TODO:complete the list
for accesskey usage different shortcuts on Windows, Mac, Linux .., currently shown for Firefox