| Author |
Message |
Mdozier
Joined: 04 Sep 2011 Posts: 5
|
Posted: Sun Sep 04, 2011 11:30 pm Post subject: Profiler crashes when trying to profile anything |
|
|
I am developing on a Windows Server 2003 VM using VMWare. I purchased and installed the .NET Developers Bundle. I am not able to profile my ASP.NET application which is built with Visual Studio 2008. Every time I launch the profiler and select the options, the profiler UI will crash as it is trying to connect. I created a simple Windows application and tried to profile it. The same thing happened.
I have a separate Win Server 2008 VM with a project I am developing with Visual Studio 2010 and do not have any problems profiling it.
I also created a new Win Server 2003 VM just to make sure there wasn't anything on the original that would cause this problem and got the same crash. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Mon Sep 05, 2011 3:17 pm Post subject: |
|
|
Hello,
Can you please explain the nature of the "crash"? Is there an error report, and did you "send it to red gate" or is the app your profiling actually the thing that is "crashing"? If so, can you get a memory dump or stack trace from the faulting application?
Thanks! _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Mdozier
Joined: 04 Sep 2011 Posts: 5
|
Posted: Mon Sep 05, 2011 6:08 pm Post subject: |
|
|
| The profiler UI disappears with no error dialog. I have look in the event log and the red gate logs and can not find an error. The app that the profiler is going to profile launches with no error. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Tue Sep 06, 2011 9:21 am Post subject: |
|
|
Well, that isn't very helpful of us. Can you try attaching a debugger? You can use ftp://support.red-gate.com/utilities/redflagdebugger.zip and use RedFlag.exe. Use Actions->launch process to run RedGate.Profiler.ui.exe and any exceptions should appear in the "exceptions" window. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Mdozier
Joined: 04 Sep 2011 Posts: 5
|
Posted: Tue Sep 06, 2011 3:15 pm Post subject: |
|
|
I ran the debugger. The exceptions at the end are three System.ArguementException with message 'Invalid type owner for DynamicMethod'. I can upload the report xml if it will help.
I did noticed that the UI uses DevExpress controls version 10.1. We use DevExpress version 10.2. I doubt this is causing a problem, but thought I would mention it. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Tue Sep 06, 2011 6:08 pm Post subject: |
|
|
You can send the xml to support at red-gate.com if you want and I'll have a look. Some exceptions are perfectly normal such as the dynamic method one. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Mdozier
Joined: 04 Sep 2011 Posts: 5
|
Posted: Wed Sep 07, 2011 12:01 am Post subject: |
|
|
| I sent it earlier today. Not sure if you got it. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Wed Sep 07, 2011 10:51 am Post subject: |
|
|
Well, whatever is happening is not happening at the runtime-level. The only thing I can think of now is to get a memory dump.
ftp://support.red-gate.com/utilities/AutoDumper.zip
Extract all files to disk, open a command prompt and run
cscript adplus.vbs -crash -pn RedGate.Profiler.UI.exe
If profiler exits unexpectedly, there should be a full dump file created. We can have a look at this and see why the runtime stopped.
I can set up an FTP account for you to upload it to. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Mdozier
Joined: 04 Sep 2011 Posts: 5
|
Posted: Wed Sep 07, 2011 6:45 pm Post subject: |
|
|
| I have figured out that there is a conflict with the profiler and one of our products which is a windows service that exposes a COM layer. I used a different profiler to get the information that I needed so there the need for the ANTS profiler on this VM is not as great. I won't be able to send you the memory dump since it has information about our product in it. Not sure why the profiler is trying to load it, but will have to punt on this for now. Thanks for trying got help. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6341 Location: Red Gate Software
|
Posted: Fri Sep 09, 2011 3:03 pm Post subject: |
|
|
The only thing that comes to mind is that your COM component uses exactly the same GUID and ANTS Performance Profiler's COM component. Either that, or the runtime was configured to load your component instead of ANTS. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|