Link to home
Start Free TrialLog in
Avatar of thready
thready

asked on

umdh - need some help

Hi Experts,

I have the following stack that occurs in the delta file (the compare file) after 2 snapshots are compared.  It's showing a memory leak - but I don't know where.

I'm hoping someone can help me with some tricks on how to determine which of the 5 functions the leak could be coming from [Run, SetStatusCompleted, SetStatus, SendRequest or SendHttpRequest]

I've looked through the code in all these functions at everything I can think of and cannot pinpoint where this leak is coming from.

Can anyone give me some ideas / general tricks of the trade without looking at the code?  I can't show the code in these functions for business reasons.

Thank you,
Mike


+   16472 (  16472 -      0)      1 allocs      BackTrace16182460
+       1 (      1 -      0)      BackTrace16182460      allocations

      ntdll! ?? ::FNODOBFM::`string'+0001913B
      webio!WaCreateEndpointManager+0000003B
      webio!WapQueryGlobalConnectionManager+00000108
      webio!WapQueryConnectionManager+00000571
      webio!WaQueryEndpoints+0000016B
      webio!WapQueryHttpRequestEndpoints+00000149
      webio!WapStartGetEndpoints+0000004D
      webio!WapAsynchronousSendHttpRequest+00000323
      webio!WebSendHttpRequest+0000004A
      WINHTTP!WEBIO_SENDER::SendRequest+0000021D
      WINHTTP!WEBIO_REQUEST::SendRequest+00000389
      WINHTTP!HTTP_USER_REQUEST::_SysSendRequest+000005E2
      WINHTTP!HTTP_USER_REQUEST::_SendRequestWithDrainComplete+000002A9
      WINHTTP!HTTP_USER_REQUEST::SendRequest+000006A1
      WINHTTP!WinHttpSendRequest+000003C7
      OurProject!CWinHttpClient::SendHttpRequest+0000063E (e:\proj\src\proj\servers\ourserver\inc\winhttpclient.cpp, 167)
      OurProject!CWebRequest::SendRequest+000001E4 (e:\proj\src\proj\servers\ourserver\inc\webrequest.cpp, 427)
      OurProject!CWebRequest::SetStatus+00000220 (e:\proj\src\proj\servers\ourserver\inc\webrequest.cpp, 359)
      OurProject!OurTask::SetStatusCompleted+000001BF (e:\proj\src\proj\servers\ourserver\server\analyze\OurTask.cpp, 205)
      OurProject!OurTask::Run+0000022D (e:\proj\src\proj\servers\ourserver\server\analyze\OurTask.cpp, 105)
      OurProject!RunTask+00000070 (e:\proj\src\proj\servers\ourserver\server\task\itask.cpp, 98)
      kernel32!BaseThreadInitThunk+0000000D
      ntdll!RtlUserThreadStart+0000001D
ASKER CERTIFIED SOLUTION
Avatar of sarabande
sarabande
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of thready
thready

ASKER

It was actually in a pool- so it was created and kept around for re-use.

Thank you!
Mike