|
提示如下一大片的内存泄露信息,a CDynLinkLibrary object什么的。。
strcore.cpp是和CString实现相关的东西,所以内存泄露大概和字符串有关系,仔细检查后发现,原来是DLL的字符集和exe程序的字符集不一致,一个是Multibyte,另外一个Unicode的,调整一致以后发现没有内存泄露的提示了。
Detected memory leaks!
Dumping objects ->
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {742} normal block at 0x00000000024C80A0, 130 bytes long.
Data: < m Y i i > 18 6D BD 59 00 00 00 00 69 00 00 00 69 00 00 00
BoardSupport.cpp(85) : {463} client block at 0x000000000012BAB0, subtype c0, 128 bytes long.
a CDynLinkLibrary object at $000000000012BAB0, 128 bytes long
a CDynLinkLibrary object at $000000000012BAB0, 128 bytes long
{456} client block at 0x000000000012A5A0, subtype c0, 128 bytes long.
a CDynLinkLibrary object at $000000000012A5A0, 128 bytes long
a CDynLinkLibrary object at $000000000012A5A0, 128 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {450} normal block at 0x0000000000128C00, 30 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 05 00 00 00 05 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {449} normal block at 0x0000000000128B70, 30 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 05 00 00 00 05 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {448} normal block at 0x0000000000128AE0, 42 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 11 00 00 00 11 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {447} normal block at 0x0000000000128A50, 36 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0B 00 00 00 0B 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {446} normal block at 0x00000000001289C0, 32 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 07 00 00 00 07 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {445} normal block at 0x0000000000128930, 30 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 05 00 00 00 05 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {444} normal block at 0x00000000001288A0, 39 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0E 00 00 00 0E 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {442} normal block at 0x0000000000129B10, 40 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0F 00 00 00 0F 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {441} normal block at 0x0000000000129A80, 37 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0C 00 00 00 0C 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {440} normal block at 0x0000000000129A00, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {439} normal block at 0x0000000000129970, 30 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 05 00 00 00 05 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {438} normal block at 0x00000000001298E0, 41 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 10 00 00 00 10 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {437} normal block at 0x0000000000129860, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {436} normal block at 0x00000000001297E0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {435} normal block at 0x0000000000129760, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {434} normal block at 0x00000000001296E0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {433} normal block at 0x0000000000129660, 28 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 03 00 00 00 03 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {432} normal block at 0x00000000001295E0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {431} normal block at 0x0000000000129560, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {430} normal block at 0x00000000001294D0, 36 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0B 00 00 00 0B 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {429} normal block at 0x0000000000129450, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {428} normal block at 0x00000000001293C0, 38 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0D 00 00 00 0D 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {427} normal block at 0x0000000000129330, 35 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0A 00 00 00 0A 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {426} normal block at 0x00000000001292B0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {425} normal block at 0x0000000000129230, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {424} normal block at 0x00000000001291A0, 35 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0A 00 00 00 0A 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {423} normal block at 0x0000000000129120, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {422} normal block at 0x00000000001290A0, 28 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 03 00 00 00 03 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {421} normal block at 0x0000000000129020, 28 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 03 00 00 00 03 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {420} normal block at 0x0000000000128F90, 34 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 09 00 00 00 09 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {419} normal block at 0x0000000000128F10, 28 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 03 00 00 00 03 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {418} normal block at 0x0000000000128E90, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {417} normal block at 0x0000000000128E10, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {416} normal block at 0x0000000000128D90, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {415} normal block at 0x0000000000128D10, 28 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 03 00 00 00 03 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {414} normal block at 0x0000000000127160, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {413} normal block at 0x00000000001270E0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {412} normal block at 0x0000000000127060, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {411} normal block at 0x0000000000126FE0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {409} normal block at 0x0000000000128810, 30 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 05 00 00 00 05 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {408} normal block at 0x0000000000128770, 46 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 15 00 00 00 15 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {407} normal block at 0x00000000001286E0, 39 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0E 00 00 00 0E 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {406} normal block at 0x0000000000128650, 37 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0C 00 00 00 0C 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {405} normal block at 0x00000000001285C0, 30 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 05 00 00 00 05 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {404} normal block at 0x0000000000128530, 32 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 07 00 00 00 07 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {403} normal block at 0x00000000001284A0, 38 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0D 00 00 00 0D 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {402} normal block at 0x0000000000128410, 41 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 10 00 00 00 10 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {401} normal block at 0x0000000000127740, 46 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 15 00 00 00 15 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {400} normal block at 0x00000000001276C0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {399} normal block at 0x0000000000127630, 40 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0F 00 00 00 0F 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {398} normal block at 0x00000000001275B0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {84} normal block at 0x0000000000127400, 32 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 07 00 00 00 07 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {83} normal block at 0x0000000000127370, 30 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 05 00 00 00 05 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {82} normal block at 0x00000000001272E0, 38 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0D 00 00 00 0D 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {81} normal block at 0x0000000000127250, 33 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 08 00 00 00 08 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {80} normal block at 0x0000000000122600, 31 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 06 00 00 00 06 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {79} normal block at 0x0000000000122580, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {78} normal block at 0x0000000000122A30, 44 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 13 00 00 00 13 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {77} normal block at 0x00000000001229B0, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {75} normal block at 0x0000000000122920, 40 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 0F 00 00 00 0F 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {74} normal block at 0x0000000000122890, 30 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 05 00 00 00 05 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {73} normal block at 0x0000000000122810, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {72} normal block at 0x0000000000122780, 43 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 12 00 00 00 12 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {71} normal block at 0x00000000001226F0, 33 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 08 00 00 00 08 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {70} normal block at 0x0000000000126F60, 27 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 02 00 00 00 02 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {69} normal block at 0x0000000000126ED0, 34 bytes long.
Data: < m Y > 18 6D BD 59 00 00 00 00 09 00 00 00 09 00 00 00
Object dump complete.
BOARDSUPPORT.DLL Terminating!
程序“[5976] Ink.exe: 本机”已退出,返回值为 0 (0x0)。
|
|