Red Gate forums :: View topic - Other App crashes if I start the debug app with profiler 5
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler Previous Versions
ANTS Memory Profiler Previous Versions forum

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

Search in ANTS Memory Profiler Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
jim2009



Joined: 08 Oct 2009
Posts: 1
Location: boston

PostPosted: Thu Oct 08, 2009 7:59 pm    Post subject: Other App crashes if I start the debug app with profiler 5 Reply with quote

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
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Chris.Allen



Joined: 12 Mar 2009
Posts: 586

PostPosted: Mon Oct 12, 2009 9:54 am    Post subject: Reply with quote

Do you get much in the way of a stack trace?
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 586

PostPosted: Mon Oct 19, 2009 1:13 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group