Memory Leaks

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Riktovitch
Posts: 15
Joined: Tue Mar 05, 2013 12:36 am

Memory Leaks

Post by Riktovitch »

Hey, I've been having trouble debugging a program of mine because the debug output is being flooded with memory leaks that appear to be coming from Irrlicht:

Code: Select all

Detected memory leaks!
Dumping objects ->
{173} normal block at 0x00F05468, 1 bytes long.
 Data: < > 00 
{172} normal block at 0x00F05428, 1 bytes long.
 Data: < > 00 
{171} normal block at 0x00F053E8, 1 bytes long.
 Data: < > 00 
{170} normal block at 0x00F053A8, 1 bytes long.
 Data: < > 00 
{169} normal block at 0x00F05368, 1 bytes long.
 Data: < > 00 
{168} normal block at 0x00F05328, 1 bytes long.
 Data: < > 00 
{167} normal block at 0x00F052E8, 1 bytes long.
 Data: < > 00 
{166} normal block at 0x00F052A8, 1 bytes long.
 Data: < > 00 
{165} normal block at 0x00F05268, 1 bytes long.
 Data: < > 00 
{164} normal block at 0x00F05228, 1 bytes long.
 Data: < > 00 
{163} normal block at 0x00F051E8, 1 bytes long.
 Data: < > 00 
{162} normal block at 0x00F051A0, 7 bytes long.
 Data: <COMMON > 43 4F 4D 4D 4F 4E 00 
{161} normal block at 0x00F05150, 15 bytes long.
 Data: <profile_COMMON > 70 72 6F 66 69 6C 65 5F 43 4F 4D 4D 4F 4E 00 
{160} normal block at 0x00F05100, 17 bytes long.
 Data: <falloff_exponent> 66 61 6C 6C 6F 66 66 5F 65 78 70 6F 6E 65 6E 74 
{159} normal block at 0x00F050B0, 14 bytes long.
 Data: <falloff_angle > 66 61 6C 6C 6F 66 66 5F 61 6E 67 6C 65 00 
{158} normal block at 0x00F05058, 22 bytes long.
 Data: <quadratic_attenu> 71 75 61 64 72 61 74 69 63 5F 61 74 74 65 6E 75 
{157} normal block at 0x00F05008, 19 bytes long.
 Data: <linear_attenuati> 6C 69 6E 65 61 72 5F 61 74 74 65 6E 75 61 74 69 
{156} normal block at 0x00F04FA8, 21 bytes long.
 Data: <constant_attenua> 63 6F 6E 73 74 61 6E 74 5F 61 74 74 65 6E 75 61 
{155} normal block at 0x00F04F58, 13 bytes long.
 Data: <double_sided > 64 6F 75 62 6C 65 5F 73 69 64 65 64 00 
{154} normal block at 0x00F04F10, 8 bytes long.
 Data: <texture > 74 65 78 74 75 72 65 00 
{153} normal block at 0x00F04EC8, 10 bytes long.
 Data: <mipfilter > 6D 69 70 66 69 6C 74 65 72 00 
{152} normal block at 0x00F04E80, 10 bytes long.
 Data: <magfilter > 6D 61 67 66 69 6C 74 65 72 00 
{151} normal block at 0x00F04E38, 10 bytes long.
 Data: <minfilter > 6D 69 6E 66 69 6C 74 65 72 00 
{150} normal block at 0x00F04DF0, 7 bytes long.
 Data: <wrap_t > 77 72 61 70 5F 74 00 
{149} normal block at 0x00F04DA8, 7 bytes long.
 Data: <wrap_s > 77 72 61 70 5F 73 00 
{148} normal block at 0x00F04D60, 5 bytes long.
 Data: <data > 64 61 74 61 00 
{147} normal block at 0x00F04D18, 10 bytes long.
 Data: <init_from > 69 6E 69 74 5F 66 72 6F 6D 00 
{146} normal block at 0x00F04CD0, 6 bytes long.
 Data: <param > 70 61 72 61 6D 00 
{145} normal block at 0x00F04C88, 9 bytes long.
 Data: <newparam > 6E 65 77 70 61 72 61 6D 00 
{144} normal block at 0x00F04C40, 7 bytes long.
 Data: <float3 > 66 6C 6F 61 74 33 00 
{143} normal block at 0x00F04BF8, 7 bytes long.
 Data: <float2 > 66 6C 6F 61 74 32 00 
{142} normal block at 0x00F04BB0, 6 bytes long.
 Data: <float > 66 6C 6F 61 74 00 
{141} normal block at 0x00F04B68, 6 bytes long.
 Data: <color > 63 6F 6C 6F 72 00 
{140} normal block at 0x00F04B20, 10 bytes long.
 Data: <technique > 74 65 63 68 6E 69 71 75 65 00 
{139} normal block at 0x00F04AD8, 6 bytes long.
 Data: <extra > 65 78 74 72 61 00 
{138} normal block at 0x00F04A88, 14 bytes long.
 Data: <bind_material > 62 69 6E 64 5F 6D 61 74 65 72 69 61 6C 00 
{137} normal block at 0x00F04A38, 14 bytes long.
 Data: <instance_node > 69 6E 73 74 61 6E 63 65 5F 6E 6F 64 65 00 
{136} normal block at 0x00F049E8, 15 bytes long.
 Data: <instance_light > 69 6E 73 74 61 6E 63 65 5F 6C 69 67 68 74 00 
{135} normal block at 0x00F04998, 18 bytes long.
 Data: <instance_materia> 69 6E 73 74 61 6E 63 65 5F 6D 61 74 65 72 69 61 
{134} normal block at 0x00F04948, 16 bytes long.
 Data: <instance_effect > 69 6E 73 74 61 6E 63 65 5F 65 66 66 65 63 74 00 
{133} normal block at 0x00F048F0, 22 bytes long.
 Data: <instance_visual_> 69 6E 73 74 61 6E 63 65 5F 76 69 73 75 61 6C 5F 
{132} normal block at 0x00F048A0, 18 bytes long.
 Data: <instance_geometr> 69 6E 73 74 61 6E 63 65 5F 67 65 6F 6D 65 74 72 
{131} normal block at 0x00F04858, 9 bytes long.
 Data: <instance > 69 6E 73 74 61 6E 63 65 00 
{130} normal block at 0x00F03D38, 4 bytes long.
 Data: <max > 6D 61 78 00 
{129} normal block at 0x00F03CF8, 4 bytes long.
 Data: <min > 6D 69 6E 00 
{128} normal block at 0x00F03CB0, 12 bytes long.
 Data: <boundingbox > 62 6F 75 6E 64 69 6E 67 62 6F 78 00 
{127} normal block at 0x00F03C68, 5 bytes long.
 Data: <skew > 73 6B 65 77 00 
{125} normal block at 0x00F045D0, 10 bytes long.
 Data: <translate > 74 72 61 6E 73 6C 61 74 65 00 
{124} normal block at 0x00F04588, 6 bytes long.
 Data: <scale > 73 63 61 6C 65 00 
{123} normal block at 0x00F04540, 7 bytes long.
 Data: <rotate > 72 6F 74 61 74 65 00 
{122} normal block at 0x00F044F8, 12 bytes long.
 Data: <perspective > 70 65 72 73 70 65 63 74 69 76 65 00 
{121} normal block at 0x00F044B0, 7 bytes long.
 Data: <matrix > 6D 61 74 72 69 78 00 
{120} normal block at 0x00F04468, 7 bytes long.
 Data: <lookat > 6C 6F 6F 6B 61 74 00 
{119} normal block at 0x00F04420, 5 bytes long.
 Data: <node > 6E 6F 64 65 00 
{118} normal block at 0x00F043D8, 8 bytes long.
 Data: <up_axis > 75 70 5F 61 78 69 73 00 
{117} normal block at 0x00F04390, 7 bytes long.
 Data: <vcount > 76 63 6F 75 6E 74 00 
{116} normal block at 0x00F04350, 2 bytes long.
 Data: <p > 70 00 
{115} normal block at 0x00F04308, 9 bytes long.
 Data: <polygons > 70 6F 6C 79 67 6F 6E 73 00 
{114} normal block at 0x00F042C0, 10 bytes long.
 Data: <triangles > 74 72 69 61 6E 67 6C 65 73 00 
{113} normal block at 0x00F04278, 9 bytes long.
 Data: <polylist > 70 6F 6C 79 6C 69 73 74 00 
{112} normal block at 0x00F04230, 6 bytes long.
 Data: <input > 69 6E 70 75 74 00 
{111} normal block at 0x00F041E8, 9 bytes long.
 Data: <vertices > 76 65 72 74 69 63 65 73 00 
{110} normal block at 0x00F041A0, 9 bytes long.
 Data: <accessor > 61 63 63 65 73 73 6F 72 00 
{109} normal block at 0x00F04150, 17 bytes long.
 Data: <technique_common> 74 65 63 68 6E 69 71 75 65 5F 63 6F 6D 6D 6F 6E 
{108} normal block at 0x00F04108, 10 bytes long.
 Data: <int_array > 69 6E 74 5F 61 72 72 61 79 00 
{107} normal block at 0x00F040C0, 12 bytes long.
 Data: <float_array > 66 6C 6F 61 74 5F 61 72 72 61 79 00 
{106} normal block at 0x00F04078, 6 bytes long.
 Data: <array > 61 72 72 61 79 00 
{105} normal block at 0x00F04030, 7 bytes long.
 Data: <source > 73 6F 75 72 63 65 00 
{104} normal block at 0x00F03FE8, 5 bytes long.
 Data: <mesh > 6D 65 73 68 00 
{103} normal block at 0x00F03FA0, 8 bytes long.
 Data: <ambient > 61 6D 62 69 65 6E 74 00 
{102} normal block at 0x00F03F58, 5 bytes long.
 Data: <spot > 73 70 6F 74 00 
{101} normal block at 0x00F03F10, 12 bytes long.
 Data: <directional > 64 69 72 65 63 74 69 6F 6E 61 6C 00 
{100} normal block at 0x00F03EC8, 6 bytes long.
 Data: <point > 70 6F 69 6E 74 00 
{99} normal block at 0x00F03E80, 7 bytes long.
 Data: <effect > 65 66 66 65 63 74 00 
{98} normal block at 0x00F03E38, 8 bytes long.
 Data: <texture > 74 65 78 74 75 72 65 00 
{97} normal block at 0x00F03DF0, 6 bytes long.
 Data: <image > 69 6D 61 67 65 00 
{96} normal block at 0x00F03DA8, 9 bytes long.
 Data: <geometry > 67 65 6F 6D 65 74 72 79 00 
{95} normal block at 0x00F020B0, 9 bytes long.
 Data: <material > 6D 61 74 65 72 69 61 6C 00 
{94} normal block at 0x00F02068, 7 bytes long.
 Data: <camera > 63 61 6D 65 72 61 00 
{92} normal block at 0x00F03C20, 6 bytes long.
 Data: <light > 6C 69 67 68 74 00 
{91} normal block at 0x00F03BD0, 13 bytes long.
 Data: <visual_scene > 76 69 73 75 61 6C 5F 73 63 65 6E 65 00 
{90} normal block at 0x00F03B88, 6 bytes long.
 Data: <scene > 73 63 65 6E 65 00 
{89} normal block at 0x00F03B40, 6 bytes long.
 Data: <asset > 61 73 73 65 74 00 
{88} normal block at 0x00F03AF0, 16 bytes long.
 Data: <library_effects > 6C 69 62 72 61 72 79 5F 65 66 66 65 63 74 73 00 
{87} normal block at 0x00F03AA0, 15 bytes long.
 Data: <library_lights > 6C 69 62 72 61 72 79 5F 6C 69 67 68 74 73 00 
{86} normal block at 0x00F03A50, 16 bytes long.
 Data: <library_cameras > 6C 69 62 72 61 72 79 5F 63 61 6D 65 72 61 73 00 
{85} normal block at 0x00F039F8, 22 bytes long.
 Data: <library_visual_s> 6C 69 62 72 61 72 79 5F 76 69 73 75 61 6C 5F 73 
{84} normal block at 0x00F039A8, 15 bytes long.
 Data: <library_images > 6C 69 62 72 61 72 79 5F 69 6D 61 67 65 73 00 
{83} normal block at 0x00F03958, 18 bytes long.
 Data: <library_material> 6C 69 62 72 61 72 79 5F 6D 61 74 65 72 69 61 6C 
{82} normal block at 0x00F03908, 19 bytes long.
 Data: <library_geometri> 6C 69 62 72 61 72 79 5F 67 65 6F 6D 65 74 72 69 
{81} normal block at 0x00F038B8, 14 bytes long.
 Data: <library_nodes > 6C 69 62 72 61 72 79 5F 6E 6F 64 65 73 00 
{80} normal block at 0x00F03870, 8 bytes long.
 Data: <library > 6C 69 62 72 61 72 79 00 
{79} normal block at 0x00F03828, 8 bytes long.
 Data: <COLLADA > 43 4F 4C 4C 41 44 41 00 
{78} normal block at 0x00F037E8, 1 bytes long.
 Data: < > 00 
{77} normal block at 0x00F037A8, 1 bytes long.
 Data: < > 00 
{76} normal block at 0x00F03768, 1 bytes long.
 Data: < > 00 
{75} normal block at 0x00F03728, 1 bytes long.
 Data: < > 00 
{74} normal block at 0x00F036E8, 1 bytes long.
 Data: < > 00 
{73} normal block at 0x00F03698, 13 bytes long.
 Data: <#DefaultFont > 23 44 65 66 61 75 6C 74 46 6F 6E 74 00 
{72} normal block at 0x00F03658, 1 bytes long.
 Data: < > 00 
{71} normal block at 0x00F03618, 1 bytes long.
 Data: < > 00 
{70} normal block at 0x00F035D8, 2 bytes long.
 Data: <. > 2E 00 
{69} normal block at 0x00F02A88, 1 bytes long.
 Data: < > 00 
{68} normal block at 0x00F02A48, 1 bytes long.
 Data: < > 00 
Object dump complete. 
I'm wondering if anyone else is getting these. I'm using _CrtDumpMemoryLeaks() at the end of the program to get this info. My program is getting big and it's getting very hard to tell what is a leak of mine and what's coming from Irrlicht. The info above is generated just out of creating the device. If I actually run the length of my program the above turns into this:

Code: Select all

{3589} normal block at 0x04944FF0, 8 bytes long.
 Data: <density > 64 65 6E 73 69 74 79 00 
{3586} normal block at 0x04944FA8, 6 bytes long.
 Data: <decay > 64 65 63 61 79 00 
{3583} normal block at 0x04944E68, 120 bytes long.
 Data: < O           m  > A8 4F 94 04 06 00 00 00 06 00 00 00 F4 6D 8D 00 
{3581} normal block at 0x049700D0, 72 bytes long.
 Data: <                > D0 99 90 00 20 9A 90 00 E8 99 90 00 80 FF D1 00 
{3580} normal block at 0x0496FF70, 1 bytes long.
 Data: < > 00 
{3578} normal block at 0x04970088, 6 bytes long.
 Data: <world > 77 6F 72 6C 64 00 
{3575} normal block at 0x04970040, 5 bytes long.
 Data: <view > 76 69 65 77 00 
{3572} normal block at 0x0496FFF8, 11 bytes long.
 Data: <projection > 70 72 6F 6A 65 63 74 69 6F 6E 00 
{3569} normal block at 0x0496FEF8, 60 bytes long.
 Data: <             m  > F8 FF 96 04 0B 00 00 00 0B 00 00 00 F4 6D 8D 00 
{3567} normal block at 0x049410F8, 72 bytes long.
 Data: <                > D0 99 90 00 20 9A 90 00 E8 99 90 00 80 FF D1 00 
{3566} normal block at 0x049410B8, 1 bytes long.
 Data: < > 00 
{3564} normal block at 0x049675C8, 72 bytes long.
 Data: <                > D0 99 90 00 20 9A 90 00 E8 99 90 00 80 FF D1 00 
{3560} normal block at 0x04967530, 16 bytes long.
 Data: <          .     > 00 00 00 00 00 00 00 00 14 05 2E 00 A0 EF D1 00 
{3559} normal block at 0x04967FA8, 24 bytes long.
 Data: <P               > 50 7F 96 04 CD CD CD CD CD CD CD CD CD CD CD CD 
{3558} normal block at 0x04967F50, 28 bytes long.
 Data: <                > B8 04 95 00 D8 04 95 00 B8 13 D6 00 D0 F3 D1 00 
{3557} normal block at 0x04967EF8, 24 bytes long.
 Data: < <              > E8 3C D6 00 CD CD CD CD CD CD CD CD CD CD CD CD 
{3556} normal block at 0x04967EA8, 13 bytes long.
 Data: <quake3Shader > 71 75 61 6B 65 33 53 68 61 64 65 72 00 
{3554} normal block at 0x00D65090, 10 bytes long.
 Data: <cameraFPS > 63 61 6D 65 72 61 46 50 53 00 
{3552} normal block at 0x00D65158, 11 bytes long.
 Data: <cameraMaya > 63 61 6D 65 72 61 4D 61 79 61 00 
{3550} normal block at 0x00D64F00, 12 bytes long.
 Data: <volumeLight > 76 6F 6C 75 6D 65 4C 69 67 68 74 00 
{3548} normal block at 0x049475C0, 15 bytes long.
 Data: <particleSystem > 70 61 72 74 69 63 6C 65 53 79 73 74 65 6D 00 
{3546} normal block at 0x04947430, 13 bytes long.
 Data: <animatedMesh > 61 6E 69 6D 61 74 65 64 4D 65 73 68 00 
{3544} normal block at 0x04947110, 10 bytes long.
 Data: <billBoard > 62 69 6C 6C 42 6F 61 72 64 00 
{3542} normal block at 0x00D63E78, 7 bytes long.
 Data: <camera > 63 61 6D 65 72 61 00 
{3540} normal block at 0x049472A0, 20 bytes long.
 Data: <dummyTransformat> 64 75 6D 6D 79 54 72 61 6E 73 66 6F 72 6D 61 74 
{3539} normal block at 0x04967E60, 6 bytes long.
 Data: <empty > 65 6D 70 74 79 00 
{3538} normal block at 0x04967E18, 6 bytes long.
 Data: <light > 6C 69 67 68 74 00 
{3537} normal block at 0x04967DD0, 5 bytes long.
 Data: <mesh > 6D 65 73 68 00 
{3536} normal block at 0x04967D88, 8 bytes long.
 Data: <octTree > 6F 63 74 54 72 65 65 00 
{3535} normal block at 0x04967D40, 7 bytes long.
 Data: <octree > 6F 63 74 72 65 65 00 
{3534} normal block at 0x04967CF0, 13 bytes long.
 Data: <shadowVolume > 73 68 61 64 6F 77 56 6F 6C 75 6D 65 00 
{3533} normal block at 0x04967CA8, 8 bytes long.
 Data: <skyDome > 73 6B 79 44 6F 6D 65 00 
{3532} normal block at 0x04967C60, 7 bytes long.
 Data: <skyBox > 73 6B 79 42 6F 78 00 
{3531} normal block at 0x04967C18, 8 bytes long.
 Data: <terrain > 74 65 72 72 61 69 6E 00 
{3530} normal block at 0x04967BC8, 13 bytes long.
 Data: <waterSurface > 77 61 74 65 72 53 75 72 66 61 63 65 00 
{3529} normal block at 0x04967B80, 5 bytes long.
 Data: <text > 74 65 78 74 00 
{3528} normal block at 0x04967B38, 7 bytes long.
 Data: <sphere > 73 70 68 65 72 65 00 
{3527} normal block at 0x04967580, 5 bytes long.
 Data: <cube > 63 75 62 65 00 
{3526} normal block at 0x049678E0, 540 bytes long.
 Data: <cube u          > 63 75 62 65 80 75 96 04 05 00 00 00 05 00 00 00 
{3487} normal block at 0x00D63CE8, 48 bytes long.
 Data: <D   d    x      > 44 B1 94 00 64 B1 94 00 E0 78 96 04 1B 00 00 00 
{3486} normal block at 0x00D63B58, 24 bytes long.
 Data: < t              > EC 74 96 04 CD CD CD CD CD CD CD CD CD CD CD CD 
{3485} normal block at 0x049299D8, 18 bytes long.
 Data: <u s e r D a t a > 75 00 73 00 65 00 72 00 44 00 61 00 74 00 61 00 
{3484} normal block at 0x04929848, 20 bytes long.
 Data: <a n i m a t o r > 61 00 6E 00 69 00 6D 00 61 00 74 00 6F 00 72 00 
{3483} normal block at 0x049296B8, 20 bytes long.
 Data: <m a t e r i a l > 6D 00 61 00 74 00 65 00 72 00 69 00 61 00 6C 00 
{3482} normal block at 0x04929528, 22 bytes long.
 Data: <a t t r i b u t > 61 00 74 00 74 00 72 00 69 00 62 00 75 00 74 00 
{3481} normal block at 0x04927188, 10 bytes long.
 Data: <t y p e   > 74 00 79 00 70 00 65 00 00 00 
{3480} normal block at 0x04926FF8, 10 bytes long.
 Data: <n o d e   > 6E 00 6F 00 64 00 65 00 00 00 
{3479} normal block at 0x049307E8, 20 bytes long.
 Data: <i r r _ s c e n > 69 00 72 00 72 00 5F 00 73 00 63 00 65 00 6E 00 
{3478} normal block at 0x04967460, 148 bytes long.
 Data: <P               > 50 BB 93 00 B8 13 D6 00 20 F1 D1 00 E8 07 93 04 
{3477} normal block at 0x04967368, 184 bytes long.
 Data: <                > CC 8A 93 00 DC 8A 93 00 00 00 00 00 00 00 00 00 
{3476} normal block at 0x04933E50, 52 bytes long.
 Data: <py   y          > 70 79 93 00 80 79 93 00 B8 13 D6 00 20 F1 D1 00 
{3475} normal block at 0x049379F8, 28 bytes long.
 Data: <                > EC F5 92 00 FC F5 92 00 80 FF D1 00 00 00 00 00 
{3474} normal block at 0x04928990, 1 bytes long.
 Data: < > 00 
{3473} normal block at 0x049672A0, 136 bytes long.
 Data: <     !          > FC 20 93 00 0C 21 93 00 B8 13 D6 00 20 F1 D1 00 
{3472} normal block at 0x04939798, 1 bytes long.
 Data: < > 00 
{3471} normal block at 0x04928700, 1 bytes long.
 Data: < > 00 
{3470} normal block at 0x04934130, 1 bytes long.
 Data: < > 00 
{3469} normal block at 0x04934450, 1 bytes long.
 Data: < > 00 
{3468} normal block at 0x0492D408, 1 bytes long.
 Data: < > 00 
{3467} normal block at 0x0492D528, 1 bytes long.
 Data: < > 00 
{3466} normal block at 0x049670A0, 452 bytes long.
 Data: <d   t           > 64 00 93 00 74 00 93 00 B8 13 D6 00 20 F1 D1 00 
{3465} normal block at 0x00D61860, 1 bytes long.
 Data: < > 00 
{3464} normal block at 0x00D61D10, 1 bytes long.
 Data: < > 00 
{3463} normal block at 0x04966F48, 284 bytes long.
 Data: < W   W          > C4 57 93 00 D4 57 93 00 B8 13 D6 00 20 F1 D1 00 
{3462} normal block at 0x04966E78, 148 bytes long.
 Data: <                > CC DA 92 00 DC DA 92 00 20 F1 D1 00 B8 13 D6 00 
{3461} normal block at 0x00D61738, 108 bytes long.
 Data: < 5  HM  p4   3  > E8 35 D6 00 48 4D D6 00 70 34 D6 00 90 33 D6 00 
{3460} normal block at 0x00D61928, 28 bytes long.
 Data: <                > 9C D2 92 00 AC D2 92 00 B8 13 D6 00 20 F1 D1 00 
{3459} normal block at 0x00D619F0, 20 bytes long.
 Data: <            h   > F8 DE 92 00 08 DF 92 00 04 DF 92 00 68 DC 92 00 
{3458} normal block at 0x04966D08, 304 bytes long.
 Data: <H   X           > 48 A2 93 00 58 A2 93 00 B8 13 D6 00 20 F1 D1 00 
{3457} normal block at 0x00D61AB8, 24 bytes long.
 Data: <                > A0 80 93 00 B0 80 93 00 B8 13 D6 00 AC 80 93 00 
{3456} normal block at 0x00D61B80, 24 bytes long.
 Data: <<   L       H   > 3C ED 92 00 4C ED 92 00 B8 13 D6 00 48 ED 92 00 
{3455} normal block at 0x00D61C48, 1 bytes long.
 Data: < > 00 
{3454} normal block at 0x03909528, 1 bytes long.
 Data: < > 00 
{3453} normal block at 0x04966C20, 168 bytes long.
 Data: < q   q          > B0 71 93 00 C0 71 93 00 20 F1 D1 00 80 FF D1 00 
{3452} normal block at 0x00D63520, 28 bytes long.
 Data: <pb   b          > 70 62 93 00 80 62 93 00 B8 13 D6 00 20 F1 D1 00 
{3450} normal block at 0x00D61698, 100 bytes long.
 Data: <,@  <@          > 2C 40 93 00 3C 40 93 00 B8 13 D6 00 20 F1 D1 00 
{3449} normal block at 0x039094A0, 72 bytes long.
 Data: <`5  p5          > 60 35 93 00 70 35 93 00 CD CD CD CD CD CD CD CD 
{3448} normal block at 0x00D632C8, 28 bytes long.
 Data: < .   .          > 04 2E 93 00 14 2E 93 00 20 F1 D1 00 B8 13 D6 00 
{3447} normal block at 0x00D63390, 28 bytes long.
 Data: < '   '          > 08 27 93 00 18 27 93 00 B8 13 D6 00 20 F1 D1 00 
{3446} normal block at 0x00D63458, 32 bytes long.
 Data: <                > F0 B3 93 00 80 FF D1 00 E0 B3 93 00 00 00 00 00 
{3445} normal block at 0x00D64D48, 80 bytes long.
 Data: <                > 00 B0 93 00 10 B0 93 00 00 00 00 00 00 00 00 00 
{3443} normal block at 0x00D635E8, 20 bytes long.
 Data: <DR  TR  PR      > 44 52 8F 00 54 52 8F 00 50 52 8F 00 00 00 00 00 
{3442} normal block at 0x00D636B0, 12 bytes long.
 Data: <`R          > 60 52 8F 00 00 00 00 00 01 00 00 00 
{3441} normal block at 0x00D63778, 52 bytes long.
 Data: <                > 98 B7 94 00 C4 B7 94 00 B8 13 D6 00 80 FF D1 00 
{3440} normal block at 0x00D63840, 44 bytes long.
 Data: < Q  8R          > F4 51 8F 00 38 52 8F 00 00 00 00 00 00 00 00 00 
{3439} normal block at 0x04937338, 24 bytes long.
 Data: <"               > 22 00 00 00 DD 00 00 00 DD 00 00 00 FF 00 00 00 
{3438} normal block at 0x00D63908, 19 bytes long.
 Data: <DEBUG_Normal_Col> 44 45 42 55 47 5F 4E 6F 72 6D 61 6C 5F 43 6F 6C 
{3436} normal block at 0x00D674C8, 92 bytes long.
 Data: <         9      > D8 E9 8E 00 10 EB 8E 00 08 39 D6 00 13 00 00 00 
{3435} normal block at 0x049374C8, 24 bytes long.
 Data: < u   t          > 90 75 93 04 C8 74 D6 00 CD CD CD CD CD CD CD CD 
{3434} normal block at 0x04937400, 20 bytes long.
 Data: <DEBUG_Normal_Len> 44 45 42 55 47 5F 4E 6F 72 6D 61 6C 5F 4C 65 6E 
{3432} normal block at 0x04937590, 40 bytes long.
 Data: <         t      > BC E5 8E 00 CC E6 8E 00 00 74 93 04 14 00 00 00 
{3431} normal block at 0x04937658, 10 bytes long.
 Data: <t y p e   > 74 00 79 00 70 00 65 00 00 00 
{3430} normal block at 0x04937720, 10 bytes long.
 Data: <n o d e   > 6E 00 6F 00 64 00 65 00 00 00 
{3429} normal block at 0x04947A70, 20 bytes long.
 Data: <i r r _ s c e n > 69 00 72 00 72 00 5F 00 73 00 63 00 65 00 6E 00 
{3428} normal block at 0x0492D6F0, 1 bytes long.
 Data: < > 00 
{3427} normal block at 0x00D613B8, 672 bytes long.
 Data: < N  hQ   P  xQ  > C4 4E 8F 00 68 51 8F 00 9C 50 8F 00 78 51 8F 00 
{3426} normal block at 0x049479A8, 18 bytes long.
 Data: <M a x i m i z e > 4D 00 61 00 78 00 69 00 6D 00 69 00 7A 00 65 00 
{3425} normal block at 0x049478E0, 18 bytes long.
 Data: <M i n i m i z e > 4D 00 69 00 6E 00 69 00 6D 00 69 00 7A 00 65 00 
{3424} normal block at 0x049350D0, 16 bytes long.
 Data: <R e s t o r e   > 52 00 65 00 73 00 74 00 6F 00 72 00 65 00 00 00 
{3423} normal block at 0x03909728, 12 bytes long.
 Data: <C l o s e   > 43 00 6C 00 6F 00 73 00 65 00 00 00 
{3422} normal block at 0x049309D8, 6 bytes long.
 Data: <N o   > 4E 00 6F 00 00 00 
{3421} normal block at 0x04939980, 8 bytes long.
 Data: <Y e s   > 59 00 65 00 73 00 00 00 
{3420} normal block at 0x049377E8, 14 bytes long.
 Data: <C a n c e l   > 43 00 61 00 6E 00 63 00 65 00 6C 00 00 00 
{3419} normal block at 0x049378B0, 6 bytes long.
 Data: <O K   > 4F 00 4B 00 00 00 
{3410} normal block at 0x00D611A0, 472 bytes long.
 Data: < Q   Q  222e   e> 08 51 91 00 88 51 91 00 32 32 32 65 82 82 82 65 
{3407} normal block at 0x00D61088, 216 bytes long.
 Data: <`c           m  > 60 63 7F 05 1B 00 00 00 0D 00 00 00 F4 6D 8D 00 
{3398} normal block at 0x04947B38, 24 bytes long.
 Data: <                > F0 D5 92 04 CD CD CD CD CD CD CD CD CD CD CD CD 
{3397} normal block at 0x04947C00, 24 bytes long.
 Data: <    X<  X^  H7} > F0 D5 92 04 58 3C D0 00 58 5E 94 04 48 37 7D 05 
{3396} normal block at 0x04956BE0, 65536 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
{3395} normal block at 0x04947D90, 48 bytes long.
 Data: <,}   }   k      > 2C 7D 8E 00 9C 7D 8E 00 E0 6B 95 04 80 00 00 00 
{3394} normal block at 0x0492C948, 13 bytes long.
 Data: <#defaultfont > 23 64 65 66 61 75 6C 74 66 6F 6E 74 00 
{3392} normal block at 0x049288E8, 13 bytes long.
 Data: <#DefaultFont > 23 44 65 66 61 75 6C 74 46 6F 6E 74 00 
{3391} normal block at 0x0492D5F0, 108 bytes long.
 Data: <H+   +          > 48 2B 90 00 90 2B 90 00 E8 88 92 04 0D 00 00 00 
{3390} normal block at 0x04947E58, 24 bytes long.
 Data: <        h       > 00 00 00 00 00 00 00 00 68 A7 94 04 16 01 CD CD 
{3389} normal block at 0x0494A6A0, 48 bytes long.
 Data: <                > 00 00 00 00 F6 00 00 00 CD CD CD CD CD CD CD CD 
{3387} normal block at 0x0494A768, 24 bytes long.
 Data: <    X~          > F8 A8 94 04 58 7E 94 04 88 AA 94 04 15 01 CD CD 
{3386} normal block at 0x0494A830, 48 bytes long.
 Data: <                > 00 00 00 00 F5 00 00 00 CD CD CD CD CD CD CD CD 
{3384} normal block at 0x0494A8F8, 24 bytes long.
 Data: <        h       > 00 00 00 00 00 00 00 00 68 A7 94 04 14 01 CD CD 
{3383} normal block at 0x0494A9C0, 48 bytes long.
 Data: <                > 00 00 00 00 F4 00 00 00 CD CD CD CD CD CD CD CD 
{3381} normal block at 0x0494AA88, 24 bytes long.
 Data: <    h           > 18 AC 94 04 68 A7 94 04 A8 AD 94 04 13 01 CD CD 
{3380} normal block at 0x0494AB50, 48 bytes long.
 Data: <                > 00 00 00 00 F3 00 00 00 CD CD CD CD CD CD CD CD 
{3378} normal block at 0x0494AC18, 24 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 88 AA 94 04 12 01 CD CD 
{3377} normal block at 0x0494ACE0, 48 bytes long.
 Data: <                > 00 00 00 00 F2 00 00 00 CD CD CD CD CD CD CD CD 
{3375} normal block at 0x0494ADA8, 24 bytes long.
 Data: <8               > 38 AF 94 04 88 AA 94 04 D0 B0 94 04 11 01 CD CD 
{3374} normal block at 0x0494AE70, 48 bytes long.
 Data: <                > 00 00 00 00 F1 00 00 00 CD CD CD CD CD CD CD CD 
{3372} normal block at 0x0494AF38, 24 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 A8 AD 94 04 10 01 CD CD 
{3371} normal block at 0x0494B008, 48 bytes long.
 Data: <                > 00 00 00 00 F0 00 00 00 CD CD CD CD CD CD CD CD 
{3369} normal block at 0x0494B0D0, 24 bytes long.
 Data: <                > F0 B3 94 04 A8 AD 94 04 10 B7 94 04 0F 01 CD CD 
{3368} normal block at 0x0494B198, 48 bytes long.
 Data: <                > 00 00 00 00 EF 00 00 00 CD CD CD CD CD CD CD CD 
{3366} normal block at 0x0494B260, 24 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 F0 B3 94 04 0E 01 CD CD 
{3365} normal block at 0x0494B328, 48 bytes long.
 Data: <                > 00 00 00 00 EE 00 00 00 CD CD CD CD CD CD CD CD 
{3363} normal block at 0x0494B3F0, 24 bytes long.
 Data: <    `           > 80 B5 94 04 60 B2 94 04 D0 B0 94 04 0D 01 CD CD 
{3362} normal block at 0x0494B4B8, 48 bytes long.
 Data: <                > 00 00 00 00 ED 00 00 00 CD CD CD CD CD CD CD CD 
{3360} normal block at 0x0494B580, 24 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 F0 B3 94 04 0C 01 CD CD 
{3359} normal block at 0x0494B648, 48 bytes long.
 Data: <                > 00 00 00 00 EC 00 00 00 CD CD CD CD CD CD CD CD 
{3357} normal block at 0x0494B710, 24 bytes long.
 Data: <`               > 60 D6 94 04 D0 B0 94 04 80 D9 94 04 0B 01 CD CD 
{3356} normal block at 0x0494B7D8, 48 bytes long.
 Data: <                > 00 00 00 00 EB 00 00 00 CD CD CD CD CD CD CD CD 
{3354} normal block at 0x0494B8A0, 24 bytes long.
 Data: <        `       > 00 00 00 00 00 00 00 00 60 D6 94 04 0A 01 CD CD 
{3353} normal block at 0x0494B968, 48 bytes long.
 Data: <                > 00 00 00 00 EA 00 00 00 CD CD CD CD CD CD CD CD 
{3351} normal block at 0x0494D660, 24 bytes long.
 Data: <                > F0 D7 94 04 A0 B8 94 04 10 B7 94 04 09 01 CD CD 
{3350} normal block at 0x0494D728, 48 bytes long.
 Data: <                > 00 00 00 00 E9 00 00 00 CD CD CD CD CD CD CD CD 
{3348} normal block at 0x0494D7F0, 24 bytes long.
 Data: <        `       > 00 00 00 00 00 00 00 00 60 D6 94 04 08 01 CD CD 
{3347} normal block at 0x0494D8B8, 48 bytes long.
 Data: <                > 00 00 00 00 E8 00 00 00 CD CD CD CD CD CD CD CD 
{3345} normal block at 0x0494D980, 24 bytes long.
 Data: <@?      HF      > 40 3F D6 00 10 B7 94 04 48 46 D6 00 07 01 CD CD 
{3344} normal block at 0x0494DA48, 48 bytes long.
 Data: <                > 00 00 00 00 E7 00 00 00 CD CD CD CD CD CD CD CD 
{3342} normal block at 0x0494DB10, 24 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 A0 DC 94 04 06 01 CD CD 
{3341} normal block at 0x0494DBD8, 48 bytes long.
 Data: <                > 00 00 00 00 E6 00 00 00 CD CD CD CD CD CD CD CD 
{3339} normal block at 0x0494DCA0, 24 bytes long.
 Data: <0       @?      > 30 DE 94 04 10 DB 94 04 40 3F D6 00 05 01 CD CD 
{3338} normal block at 0x0494DD68, 48 bytes long.
 Data: <                > 00 00 00 00 E5 00 00 00 CD CD CD CD CD CD CD CD 
{3336} normal block at 0x0494DE30, 24 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 A0 DC 94 04 04 01 CD CD 
{3335} normal block at 0x0494DEF8, 48 bytes long.
 Data: <                > 00 00 00 00 E4 00 00 00 CD CD CD CD CD CD CD CD 
{3333} normal block at 0x00D63F40, 24 bytes long.
 Data: <`B              > 60 42 D6 00 A0 DC 94 04 80 D9 94 04 03 01 CD CD 
{3332} normal block at 0x00D64008, 48 bytes long.
 Data: <                > 00 00 00 00 E3 00 00 00 CD CD CD CD CD CD CD CD
The original data was 177,000 characters so I couldn't post all of it.
I'm using the static library by the way, these leaks don't appear when using the DLL. Any input is appreciated, thanks. :)
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Memory Leaks

Post by CuteAlien »

We can't really help you without having the program to reproduce this. From the output it looks like you do probably load some collada file. But that's unlikely the reason. Maybe you don't close and drop the device at the end?

If you work with Irrlicht svn you can recompile it with the define _IRR_COMPILE_WITH_LEAK_HUNTER_ (it was not yet in Irrlicht 1.8). Then you can call irr::LeakHunter::getReferenceCountedObjects() after closing all devices and will get all Irrlicht objects which are still not released (and then you watch them in a debugger to figure out which you forgot to release).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Riktovitch
Posts: 15
Joined: Tue Mar 05, 2013 12:36 am

Re: Memory Leaks

Post by Riktovitch »

Hey, thanks for the reply. It's pretty odd to me because just this code:

Code: Select all

int main()
{
    irr::IrrlichtDevice *device = irr::createDevice();
 
    device->closeDevice();
    device->drop();
}
Produces these leaks:

Code: Select all

Detected memory leaks!
Dumping objects ->
{168} normal block at 0x005E4CA8, 1 bytes long.
 Data: < > 00 
{167} normal block at 0x005E4C68, 1 bytes long.
 Data: < > 00 
{166} normal block at 0x005E4C28, 1 bytes long.
 Data: < > 00 
{165} normal block at 0x005E4BE8, 1 bytes long.
 Data: < > 00 
{164} normal block at 0x005E4BA8, 1 bytes long.
 Data: < > 00 
{163} normal block at 0x005E4B68, 1 bytes long.
 Data: < > 00 
{162} normal block at 0x005E4B28, 1 bytes long.
 Data: < > 00 
{161} normal block at 0x005E4AE8, 1 bytes long.
 Data: < > 00 
{160} normal block at 0x005E4AA8, 1 bytes long.
 Data: < > 00 
{159} normal block at 0x005E4A68, 1 bytes long.
 Data: < > 00 
{158} normal block at 0x005E4A28, 1 bytes long.
 Data: < > 00 
{157} normal block at 0x005E49E0, 7 bytes long.
 Data: <COMMON > 43 4F 4D 4D 4F 4E 00 
{156} normal block at 0x005E4990, 15 bytes long.
 Data: <profile_COMMON > 70 72 6F 66 69 6C 65 5F 43 4F 4D 4D 4F 4E 00 
{155} normal block at 0x005E4940, 17 bytes long.
 Data: <falloff_exponent> 66 61 6C 6C 6F 66 66 5F 65 78 70 6F 6E 65 6E 74 
{154} normal block at 0x005E48F0, 14 bytes long.
 Data: <falloff_angle > 66 61 6C 6C 6F 66 66 5F 61 6E 67 6C 65 00 
{153} normal block at 0x005E4898, 22 bytes long.
 Data: <quadratic_attenu> 71 75 61 64 72 61 74 69 63 5F 61 74 74 65 6E 75 
{152} normal block at 0x005E4848, 19 bytes long.
 Data: <linear_attenuati> 6C 69 6E 65 61 72 5F 61 74 74 65 6E 75 61 74 69 
{151} normal block at 0x005E47F0, 21 bytes long.
 Data: <constant_attenua> 63 6F 6E 73 74 61 6E 74 5F 61 74 74 65 6E 75 61 
{150} normal block at 0x005E47A0, 13 bytes long.
 Data: <double_sided > 64 6F 75 62 6C 65 5F 73 69 64 65 64 00 
{149} normal block at 0x005E4758, 8 bytes long.
 Data: <texture > 74 65 78 74 75 72 65 00 
{148} normal block at 0x005E4710, 10 bytes long.
 Data: <mipfilter > 6D 69 70 66 69 6C 74 65 72 00 
{147} normal block at 0x005E46C8, 10 bytes long.
 Data: <magfilter > 6D 61 67 66 69 6C 74 65 72 00 
{146} normal block at 0x005E4680, 10 bytes long.
 Data: <minfilter > 6D 69 6E 66 69 6C 74 65 72 00 
{145} normal block at 0x005E4638, 7 bytes long.
 Data: <wrap_t > 77 72 61 70 5F 74 00 
{144} normal block at 0x005E45F0, 7 bytes long.
 Data: <wrap_s > 77 72 61 70 5F 73 00 
{143} normal block at 0x005E45A8, 5 bytes long.
 Data: <data > 64 61 74 61 00 
{142} normal block at 0x005E4560, 10 bytes long.
 Data: <init_from > 69 6E 69 74 5F 66 72 6F 6D 00 
{141} normal block at 0x005E4518, 6 bytes long.
 Data: <param > 70 61 72 61 6D 00 
{140} normal block at 0x005E44D0, 9 bytes long.
 Data: <newparam > 6E 65 77 70 61 72 61 6D 00 
{139} normal block at 0x005E4488, 7 bytes long.
 Data: <float3 > 66 6C 6F 61 74 33 00 
{138} normal block at 0x005E4440, 7 bytes long.
 Data: <float2 > 66 6C 6F 61 74 32 00 
{137} normal block at 0x005E43F8, 6 bytes long.
 Data: <float > 66 6C 6F 61 74 00 
{136} normal block at 0x005E43B0, 6 bytes long.
 Data: <color > 63 6F 6C 6F 72 00 
{135} normal block at 0x005E4368, 10 bytes long.
 Data: <technique > 74 65 63 68 6E 69 71 75 65 00 
{134} normal block at 0x005E4320, 6 bytes long.
 Data: <extra > 65 78 74 72 61 00 
{133} normal block at 0x005E42D0, 14 bytes long.
 Data: <bind_material > 62 69 6E 64 5F 6D 61 74 65 72 69 61 6C 00 
{132} normal block at 0x005E4280, 14 bytes long.
 Data: <instance_node > 69 6E 73 74 61 6E 63 65 5F 6E 6F 64 65 00 
{131} normal block at 0x005E4230, 15 bytes long.
 Data: <instance_light > 69 6E 73 74 61 6E 63 65 5F 6C 69 67 68 74 00 
{130} normal block at 0x005E41E0, 18 bytes long.
 Data: <instance_materia> 69 6E 73 74 61 6E 63 65 5F 6D 61 74 65 72 69 61 
{129} normal block at 0x005E4190, 16 bytes long.
 Data: <instance_effect > 69 6E 73 74 61 6E 63 65 5F 65 66 66 65 63 74 00 
{128} normal block at 0x005E4138, 22 bytes long.
 Data: <instance_visual_> 69 6E 73 74 61 6E 63 65 5F 76 69 73 75 61 6C 5F 
{127} normal block at 0x005E40E8, 18 bytes long.
 Data: <instance_geometr> 69 6E 73 74 61 6E 63 65 5F 67 65 6F 6D 65 74 72 
{126} normal block at 0x005E40A0, 9 bytes long.
 Data: <instance > 69 6E 73 74 61 6E 63 65 00 
{125} normal block at 0x005E3580, 4 bytes long.
 Data: <max > 6D 61 78 00 
{124} normal block at 0x005E3540, 4 bytes long.
 Data: <min > 6D 69 6E 00 
{123} normal block at 0x005E34F8, 12 bytes long.
 Data: <boundingbox > 62 6F 75 6E 64 69 6E 67 62 6F 78 00 
{122} normal block at 0x005E34B0, 5 bytes long.
 Data: <skew > 73 6B 65 77 00 
{120} normal block at 0x005E3E18, 10 bytes long.
 Data: <translate > 74 72 61 6E 73 6C 61 74 65 00 
{119} normal block at 0x005E3DD0, 6 bytes long.
 Data: <scale > 73 63 61 6C 65 00 
{118} normal block at 0x005E3D88, 7 bytes long.
 Data: <rotate > 72 6F 74 61 74 65 00 
{117} normal block at 0x005E3D40, 12 bytes long.
 Data: <perspective > 70 65 72 73 70 65 63 74 69 76 65 00 
{116} normal block at 0x005E3CF8, 7 bytes long.
 Data: <matrix > 6D 61 74 72 69 78 00 
{115} normal block at 0x005E3CB0, 7 bytes long.
 Data: <lookat > 6C 6F 6F 6B 61 74 00 
{114} normal block at 0x005E3C68, 5 bytes long.
 Data: <node > 6E 6F 64 65 00 
{113} normal block at 0x005E3C20, 8 bytes long.
 Data: <up_axis > 75 70 5F 61 78 69 73 00 
{112} normal block at 0x005E3BD8, 7 bytes long.
 Data: <vcount > 76 63 6F 75 6E 74 00 
{111} normal block at 0x005E3B98, 2 bytes long.
 Data: <p > 70 00 
{110} normal block at 0x005E3B50, 9 bytes long.
 Data: <polygons > 70 6F 6C 79 67 6F 6E 73 00 
{109} normal block at 0x005E3B08, 10 bytes long.
 Data: <triangles > 74 72 69 61 6E 67 6C 65 73 00 
{108} normal block at 0x005E3AC0, 9 bytes long.
 Data: <polylist > 70 6F 6C 79 6C 69 73 74 00 
{107} normal block at 0x005E3A78, 6 bytes long.
 Data: <input > 69 6E 70 75 74 00 
{106} normal block at 0x005E3A30, 9 bytes long.
 Data: <vertices > 76 65 72 74 69 63 65 73 00 
{105} normal block at 0x005E39E8, 9 bytes long.
 Data: <accessor > 61 63 63 65 73 73 6F 72 00 
{104} normal block at 0x005E3998, 17 bytes long.
 Data: <technique_common> 74 65 63 68 6E 69 71 75 65 5F 63 6F 6D 6D 6F 6E 
{103} normal block at 0x005E3950, 10 bytes long.
 Data: <int_array > 69 6E 74 5F 61 72 72 61 79 00 
{102} normal block at 0x005E3908, 12 bytes long.
 Data: <float_array > 66 6C 6F 61 74 5F 61 72 72 61 79 00 
{101} normal block at 0x005E38C0, 6 bytes long.
 Data: <array > 61 72 72 61 79 00 
{100} normal block at 0x005E3878, 7 bytes long.
 Data: <source > 73 6F 75 72 63 65 00 
{99} normal block at 0x005E3830, 5 bytes long.
 Data: <mesh > 6D 65 73 68 00 
{98} normal block at 0x005E37E8, 8 bytes long.
 Data: <ambient > 61 6D 62 69 65 6E 74 00 
{97} normal block at 0x005E37A0, 5 bytes long.
 Data: <spot > 73 70 6F 74 00 
{96} normal block at 0x005E3758, 12 bytes long.
 Data: <directional > 64 69 72 65 63 74 69 6F 6E 61 6C 00 
{95} normal block at 0x005E3710, 6 bytes long.
 Data: <point > 70 6F 69 6E 74 00 
{94} normal block at 0x005E36C8, 7 bytes long.
 Data: <effect > 65 66 66 65 63 74 00 
{93} normal block at 0x005E3680, 8 bytes long.
 Data: <texture > 74 65 78 74 75 72 65 00 
{92} normal block at 0x005E3638, 6 bytes long.
 Data: <image > 69 6D 61 67 65 00 
{91} normal block at 0x005E35F0, 9 bytes long.
 Data: <geometry > 67 65 6F 6D 65 74 72 79 00 
{90} normal block at 0x005E11F0, 9 bytes long.
 Data: <material > 6D 61 74 65 72 69 61 6C 00 
{89} normal block at 0x005E11A8, 7 bytes long.
 Data: <camera > 63 61 6D 65 72 61 00 
{87} normal block at 0x005E3468, 6 bytes long.
 Data: <light > 6C 69 67 68 74 00 
{86} normal block at 0x005E3418, 13 bytes long.
 Data: <visual_scene > 76 69 73 75 61 6C 5F 73 63 65 6E 65 00 
{85} normal block at 0x005E33D0, 6 bytes long.
 Data: <scene > 73 63 65 6E 65 00 
{84} normal block at 0x005E3388, 6 bytes long.
 Data: <asset > 61 73 73 65 74 00 
{83} normal block at 0x005E3338, 16 bytes long.
 Data: <library_effects > 6C 69 62 72 61 72 79 5F 65 66 66 65 63 74 73 00 
{82} normal block at 0x005E32E8, 15 bytes long.
 Data: <library_lights > 6C 69 62 72 61 72 79 5F 6C 69 67 68 74 73 00 
{81} normal block at 0x005E3298, 16 bytes long.
 Data: <library_cameras > 6C 69 62 72 61 72 79 5F 63 61 6D 65 72 61 73 00 
{80} normal block at 0x005E3240, 22 bytes long.
 Data: <library_visual_s> 6C 69 62 72 61 72 79 5F 76 69 73 75 61 6C 5F 73 
{79} normal block at 0x005E31F0, 15 bytes long.
 Data: <library_images > 6C 69 62 72 61 72 79 5F 69 6D 61 67 65 73 00 
{78} normal block at 0x005E31A0, 18 bytes long.
 Data: <library_material> 6C 69 62 72 61 72 79 5F 6D 61 74 65 72 69 61 6C 
{77} normal block at 0x005E3150, 19 bytes long.
 Data: <library_geometri> 6C 69 62 72 61 72 79 5F 67 65 6F 6D 65 74 72 69 
{76} normal block at 0x005E3100, 14 bytes long.
 Data: <library_nodes > 6C 69 62 72 61 72 79 5F 6E 6F 64 65 73 00 
{75} normal block at 0x005E30B8, 8 bytes long.
 Data: <library > 6C 69 62 72 61 72 79 00 
{74} normal block at 0x005E3070, 8 bytes long.
 Data: <COLLADA > 43 4F 4C 4C 41 44 41 00 
{73} normal block at 0x005E3030, 1 bytes long.
 Data: < > 00 
{72} normal block at 0x005E2FF0, 1 bytes long.
 Data: < > 00 
{71} normal block at 0x005E21F0, 1 bytes long.
 Data: < > 00 
{70} normal block at 0x005E21B0, 1 bytes long.
 Data: < > 00 
{69} normal block at 0x005E2170, 1 bytes long.
 Data: < > 00 
{68} normal block at 0x005E2120, 13 bytes long.
 Data: <#DefaultFont > 23 44 65 66 61 75 6C 74 46 6F 6E 74 00 
{67} normal block at 0x005E20E0, 1 bytes long.
 Data: < > 00 
{66} normal block at 0x005E20A0, 1 bytes long.
 Data: < > 00 
{65} normal block at 0x005E2060, 2 bytes long.
 Data: <. > 2E 00 
{64} normal block at 0x005E2020, 1 bytes long.
 Data: < > 00 
{63} normal block at 0x005E1FE0, 1 bytes long.
 Data: < > 00 
Object dump complete.
I'll definitely check it out with the leak hunter.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Memory Leaks

Post by CuteAlien »

That's indeed pretty strange - which Irrlicht version are you using?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Riktovitch
Posts: 15
Joined: Tue Mar 05, 2013 12:36 am

Re: Memory Leaks

Post by Riktovitch »

I'm using version 1.8.1 from the downloads page. I just tried out 1.9 and the leaks don't appear. I guess there was a change made somewhere that fixed this issue?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Memory Leaks

Post by CuteAlien »

None I know about.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Riktovitch
Posts: 15
Joined: Tue Mar 05, 2013 12:36 am

Re: Memory Leaks

Post by Riktovitch »

Okay, so I created a new project file and removed _CrtDumpMemoryLeaks() from the end of my program and placed _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF) at the beginning. I guess those were just false positives because they seem to be gone now.
Post Reply