| Author |
Message |
jim2009
Joined: 08 Oct 2009 Posts: 1 Location: boston
|
Posted: Thu Oct 08, 2009 7:59 pm Post subject: Other App crashes if I start the debug app with profiler 5 |
|
|
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 |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 454
|
Posted: Mon Oct 12, 2009 9:54 am Post subject: |
|
|
| Do you get much in the way of a stack trace? |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 454
|
Posted: Mon Oct 19, 2009 1:13 pm Post subject: |
|
|
| 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 |
|
 |
|
|
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