lh_mouse <lh_mo...@126.com> schrieb am 15:06 Freitag, 17.Januar 2014:
> No std::exception_ptr invoked, still there seems to be memory leaks.
> Run make_test.cmd and you will get a.exe. Then run a.exe.
> I got the following results:

I've tried now your example and came to the same(?) result.
These were the leaks I detected:

calloc(12)
   0x0040D743: c:/gcc/src/mingw-w64/mingw-w64-crt/crt/tlsthrd.c:47
   0x0040E9EC: c:\gcc\build32\gcc\i686-w64-mingw32\libgcc/./gthr-default.h:596
   0x0040E9EC: c:/gcc/src/gcc-4.8.2/libgcc/emutls.c:87
   0x0040EC25: c:\gcc\build32\gcc\i686-w64-mingw32\libgcc/./gthr-default.h:563
   0x0040EC25: c:/gcc/src/gcc-4.8.2/libgcc/emutls.c:144
   0x004106AE: C:\qiewer-git\dwarfstack\examples\leak-detector\inc\tl.exe
   0x7C80B728: C:\WINDOWS\system32\kernel32.dll

malloc(12)
   0x00410DCC: c:/gcc/src/gcc-4.8.2/libgcc/emutls.c:102
   0x004106AE: C:\qiewer-git\dwarfstack\examples\leak-detector\inc\tl.exe
   0x0040140D: c:/gcc/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:352
   0x7C817076: C:\WINDOWS\system32\kernel32.dll

calloc(136)
   0x0040EB35: c:/gcc/src/gcc-4.8.2/libgcc/emutls.c:159
   0x004106AE: C:\qiewer-git\dwarfstack\examples\leak-detector\inc\tl.exe
   0x0040140D: c:/gcc/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:352
   0x7C817076: C:\WINDOWS\system32\kernel32.dll


Regards
Domani Hannes


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to