Other App crashes if I start the debug app with profiler 5

Memory profiling for .NET developers

Moderators: StephenC, Alex.Davies, AndrewH, melvyn.harbour

Other App crashes if I start the debug app with profiler 5

Postby jim2009 » Thu Oct 08, 2009 7:59 pm

This is my first time to use the tool. I have two applications: UI(managed code c#, which I am profiling with) and App.exe (unmanaged c++). They interact each other through managed c++ and WCF. I start App first and start UI through ANTS. When the applications start to run, my App.exe always crashes. inside App application, there are code like this: Start = (STARTFUNCTION)GetProcAddress(m_hCameraLibrary, "Start"); Through debug, I can see that the crash happened there.

Need help.

Thanks
Jim
jim2009
 
Posts: 1
Joined: Thu Oct 08, 2009 7:46 pm
Location: boston

Postby Chris.Allen » Mon Oct 12, 2009 9:54 am

Do you get much in the way of a stack trace?
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm

Postby Chris.Allen » Mon Oct 19, 2009 1:13 pm

Just a quick follow-up. If your find an application, which runs fine usually, crashes under profiling- check that you do not have a race condition (occuring near the crash). I have seen several apps crash under profiling but when threads were better synchronized, it worked well.
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to ANTS Memory Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests