i'm using NuMega BoundsChecker and i got this memory (realloc, but never allocated) leak from the start...i use the ExampleApplication and as u can see only ran ogre code so far
what do u think?!
i'm trying to get a leak free program!
Leaks!?
-
- OGRE Expert User
- Posts: 1422
- Joined: Sat May 22, 2004 5:28 am
- Location: Bucharest
- x 8
those might be also problems...they are detected at the end of the ogre demo!
[img]
ftp://www.laserrollen.de/html/eu/OgreFo ... itled1.JPG
[/img]
[img]
ftp://www.laserrollen.de/html/eu/OgreFo ... itled2.JPG
[/img]
[img]
ftp://www.laserrollen.de/html/eu/OgreFo ... itled3.JPG
[/img]
[img]
ftp://www.laserrollen.de/html/eu/OgreFo ... itled1.JPG
[/img]
[img]
ftp://www.laserrollen.de/html/eu/OgreFo ... itled2.JPG
[/img]
[img]
ftp://www.laserrollen.de/html/eu/OgreFo ... itled3.JPG
[/img]
-
- OGRE Expert User
- Posts: 1422
- Joined: Sat May 22, 2004 5:28 am
- Location: Bucharest
- x 8
here are the correct addresses:
[img]
http://www.laserrollen.de/eu/OgreForum/untitled1.JPG
[/img]
[img]
http://www.laserrollen.de/eu/OgreForum/untitled2.JPG
[/img]
[img]
http://www.laserrollen.de/eu/OgreForum/untitled3.JPG
[/img]
[img]
http://www.laserrollen.de/eu/OgreForum/untitled1.JPG
[/img]
[img]
http://www.laserrollen.de/eu/OgreForum/untitled2.JPG
[/img]
[img]
http://www.laserrollen.de/eu/OgreForum/untitled3.JPG
[/img]
-
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
-
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
-
- OGRE Expert User
- Posts: 1422
- Joined: Sat May 22, 2004 5:28 am
- Location: Bucharest
- x 8
I'm not sure how reliable is it, but all errors it found for me (which i was making) were real (thou some of them very hidden)!
this is the result i obtain running the bspdemocollision!
the same (first five) errors apear on my demo, which is notting like bspdemo! the other ones are demo specific!
i hope it helps...the first above window contains details of the errors...the files and the reason for some...
[img]
http://www.laserrollen.de/eu/OgreForum/global.JPG
[/img]
this is the result i obtain running the bspdemocollision!
the same (first five) errors apear on my demo, which is notting like bspdemo! the other ones are demo specific!
i hope it helps...the first above window contains details of the errors...the files and the reason for some...
[img]
http://www.laserrollen.de/eu/OgreForum/global.JPG
[/img]
-
- OGRE Expert User
- Posts: 1422
- Joined: Sat May 22, 2004 5:28 am
- Location: Bucharest
- x 8
-
- OGRE Expert User
- Posts: 1422
- Joined: Sat May 22, 2004 5:28 am
- Location: Bucharest
- x 8
"A module attempted to free memory that was allocated by a different module. If a module is statically linked to the C runtime library and uses an RTL call (such as malloc) to allocate memory, then it is the module’s responsibility to free that memory. The memory cannot be freed from a different module."
this is the explanation for the first five errors...
this is the explanation for the first five errors...
-
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
The thing is, we deliberately don't statically link to the C runtime library, precisely because of this heap allocation nonsense. Therefore this error is a misnomer - perhaps it can't tell? We link dynamically to msvcrt*.dll.
It may have gotten confused because the old dependencies had some libs which were not compiled with quite the right runtime lib settings. 1.0.0's dependencies have been more carefully recompiled from source so that they are all using the dynamically linked, multithreaded CRT.
It may have gotten confused because the old dependencies had some libs which were not compiled with quite the right runtime lib settings. 1.0.0's dependencies have been more carefully recompiled from source so that they are all using the dynamically linked, multithreaded CRT.
-
- OGRE Expert User
- Posts: 1422
- Joined: Sat May 22, 2004 5:28 am
- Location: Bucharest
- x 8