Tool to find memory leaks

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3042
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Tool to find memory leaks

Post by ONEEYEMAN » Wed Sep 26, 2018 4:56 am

catalin,
I just tried to build the static version of the minimal, copy over the vld_x86.dll and dbghelp.dll, but got the same crash.

Can you reproduce this (maybe not necesary on the same environment)?

Thank you.

catalin
Moderator
Moderator
Posts: 1492
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: Tool to find memory leaks

Post by catalin » Wed Sep 26, 2018 9:11 pm

VS 2017, VLD v2.5.1, minimal sample built as {static debug x64, DLL debug x86, DLL debug x64}, they all worked without issue and correctly reported intentionally created mem leaks, with the stack trace that created them. wxW master branch was a couple of days old at most.

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3042
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Tool to find memory leaks

Post by ONEEYEMAN » Wed Sep 26, 2018 10:14 pm

Hi,
This is really weird.
Are you trying it on the Windows 8.1 or 10?
Also, where did you put the vld.h line?

Thank you.

P.S.: Also I have MSVC 15.7.5.

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3042
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Tool to find memory leaks

Post by ONEEYEMAN » Sat Sep 29, 2018 5:17 am

catalin et al,
I think I found where is my memory leak.

Thank you.

Post Reply