Thank you!
I have to bring that thread up again as I am still struggeling with 1 memory leak
that I can’t fix. It is simply above my knowledge!
My plugin seems to leak when it gets loaded by the host and Visual Leak Detector
comes up with that output:
Visual Leak Detector Version 2.2.3 installed.
JUCE v2.0.25
The thread 'VC Realtime Thread' (0x974) has exited with code 0 (0x0).
The thread 'VC Mididevice Thread' (0xc8c) has exited with code 0 (0x0).
The thread 'Undo Core' (0xce4) has exited with code 0 (0x0).
WARNING: Visual Leak Detector detected memory leaks!
---------- Block 4 at 0x16BE1AD8: 580 bytes ----------
Call Stack:
HINT: The following call stack may be incomplete. Setting "StackWalkMethod"
in the vld.ini file to "safe" instead of "fast" may result in a more
complete stack trace.
f:\dd\vctools\crt_bld\self_x86\crt\src\mbctype.c (590): VCommanderVST.dll!_setmbcp + 0x16 bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\mbctype.c (852): VCommanderVST.dll!__initmbctable + 0x7 bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\stdargv.c (103): VCommanderVST.dll!_setargv
f:\dd\vctools\crt_bld\self_x86\crt\src\dllcrt0.c (132): VCommanderVST.dll!_CRT_INIT + 0x5 bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\dllcrt0.c (324): VCommanderVST.dll!__DllMainCRTStartup + 0x11 bytes
f:\dd\vctools\crt_bld\self_x86\crt\src\dllcrt0.c (293): VCommanderVST.dll!_DllMainCRTStartup + 0x11 bytes
0x774F9950 (File and line number not available): ntdll.dll!RtlQueryEnvironmentVariable + 0x241 bytes
0x774FD8C9 (File and line number not available): ntdll.dll!LdrResSearchResource + 0xB4D bytes
0x774FD78C (File and line number not available): ntdll.dll!LdrResSearchResource + 0xA10 bytes
0x774FC4D5 (File and line number not available): ntdll.dll!LdrLoadDll + 0x7B bytes
0x76AD2288 (File and line number not available): KERNELBASE.dll!LoadLibraryExW + 0x1F1 bytes
0x74F5490C (File and line number not available): kernel32.dll!LoadLibraryW + 0x11 bytes
0x094FFD5E (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0x128BE bytes
0x094FFF5D (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0x12ABD bytes
0x094F22A1 (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0x4E01 bytes
0x094F81E3 (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0xAD43 bytes
0x094FC9C2 (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0xF522 bytes
0x094F5844 (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0x83A4 bytes
0x094F6549 (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0x90A9 bytes
0x094F6D38 (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0x9898 bytes
0x094F7046 (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0x9BA6 bytes
0x094F72C5 (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0x9E25 bytes
0x094F78FC (File and line number not available): VSTPlugManager.dll!GetPluginFactory + 0xA45C bytes
0x011D0A90 (File and line number not available): Cubase6.exe!(Function name unavailable)
Data:
00 00 00 00 00 00 00 00 F0 89 69 63 4E 02 00 00 ........ ..icN...
20 02 00 00 02 00 00 00 04 00 00 00 FD FD FD FD ........ ........
01 00 00 00 E4 04 00 00 00 00 00 00 00 00 00 00 ........ ........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 10 ........ ........
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ........ ........
10 10 10 10 10 10 10 10 00 00 00 00 00 00 20 20 ........ ........
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ........ ........
20 20 20 20 20 20 20 20 00 00 00 00 00 00 00 00 ........ ........
20 00 00 00 00 00 00 10 00 10 00 10 00 00 00 00 ........ ........
00 00 00 00 00 00 00 20 00 20 00 20 10 00 00 00 ........ ........
00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 ........ ........
00 00 20 00 00 00 00 20 00 00 00 00 00 10 10 10 ........ ........
Visual Leak Detector detected 1 memory leak in heap 0x16BE0000
Can anybody give me a hint where to look at?
I am on juce 2.0.2.5 and Win7 64 pro
Thanks in advance,
Joerg
