leaks?

georgemarios

05-08-2006 16:11:58

hello everybody

I just started learnign ODN but I have a problem.....
At first I couldn't run the demos in debug mode (release mode was ok). I compiled Ogre from source and the demos now run in debug mode also (so I can use breakpoints etc for debugging). But everytime I run a demo, a file named OgreLeaks.log appears that sais there are memory leaks.

So I ask, since dotNet has garbage collection, how is it possible to have leaks? Is this a false alarm due to incombatibilty between Ogre and ODN? Has anyone noticed the same thing?

btw, here is what the OgreLeaks.log sais after running the grass demo:


----------------------------------------------------------------------------------------------------------------------------------
| Memory leak report for: 08/05/2006 17:33:01 |
----------------------------------------------------------------------------------------------------------------------------------


22 memory leaks found:

Alloc. Addr Size Addr Size BreakOn BreakOn
Number Reported Reported Actual Actual Unused Method Dealloc Realloc Allocated by
------ ---------- ---------- ---------- ---------- ---------- -------- ------- ------- ---------------------------------------------------
035070 0x09DA0608 0x000000FC 0x09DA05F8 0x0000011C 0x00000000 new N N eventhandler.h(269) Ogre::EventHandler::EventHandler
035083 0x09DA0750 0x00000014 0x09DA0740 0x00000034 0x00000000 new N N ??(0) ??
035084 0x09DA07B0 0x00000014 0x09DA07A0 0x00000034 0x00000000 new N N ??(0) ??
037477 0x09DA0908 0x00000020 0x09DA08F8 0x00000040 0x00000000 new N N ??(0) ??
035077 0x09DA0A40 0x0000000C 0x09DA0A30 0x0000002C 0x00000000 new N N ??(0) ??
035078 0x09DA0A98 0x0000000C 0x09DA0A88 0x0000002C 0x00000000 new N N ??(0) ??
035089 0x09DA80B8 0x00000014 0x09DA80A8 0x00000034 0x00000000 new N N ??(0) ??
035090 0x09DA8118 0x00000014 0x09DA8108 0x00000034 0x00000000 new N N ??(0) ??
035085 0x09DA8238 0x00000014 0x09DA8228 0x00000034 0x00000000 new N N ??(0) ??
035086 0x09DA8298 0x00000014 0x09DA8288 0x00000034 0x00000000 new N N ??(0) ??
035080 0x09DC9528 0x00000170 0x09DC9518 0x00000190 0x00000000 new N N ogrewin32platformdll.cpp(91) Ogre::createPlatformInputReader
035072 0x0DEB1008 0x00000014 0x0DEB0FF8 0x00000034 0x00000000 new N N ??(0) ??
035074 0x0DEB1F20 0x00000014 0x0DEB1F10 0x00000034 0x00000000 new N N ??(0) ??
037478 0x0DEEFC58 0x00000010 0x0DEEFC48 0x00000030 0x00000000 new N N ??(0) ??
035073 0x0E076920 0x00000014 0x0E076910 0x00000034 0x00000000 new N N ??(0) ??
035079 0x0EA65BA0 0x00000024 0x0EA65B90 0x00000044 0x00000000 new N N ogreeventprocessor.cpp(105) Ogre::EventProcessor::initialise
035081 0x0EA65C10 0x00000014 0x0EA65C00 0x00000034 0x00000000 new N N ??(0) ??
035071 0x0EA9DB58 0x00000014 0x0EA9DB48 0x00000034 0x00000000 new N N ??(0) ??
035082 0x0EA9DC08 0x000000B0 0x0EA9DBF8 0x000000D0 0x00000000 new N N ogreinput.cpp(54) Ogre::InputReader::useBufferedInput
035088 0x0EA9DDD8 0x00000014 0x0EA9DDC8 0x00000034 0x00000000 new N N ??(0) ??
035075 0x0EA9E610 0x00000014 0x0EA9E600 0x00000034 0x00000000 new N N ??(0) ??
035076 0x0EA9E670 0x00000014 0x0EA9E660 0x00000034 0x00000000 new N N ??(0) ??


I really want to use ODN but not before I am sure for its stability