Comments
10 comments
-
Quickest thing to try first: run _explicitly_ as administrator (right click on the ANTSGUI.exe). This kills 50% of bugs.
-
On my side there's only a RedGate.Profiler.UI.exe. Ran that as Admin.
Unfortunately resulting in the same errors. -
Try the same but withholding the ASP.NET account details
-
Same results.
-
OK, thanks. Can you send to us (support@red-gate.com)
- Windows application event log (shows pertinent .Net errors)
- ANTS log (Help->Open log folder) -
It's probably the same error - w3wp crashes because of heap corruption and then the website is unsurprisingly not available (10061 is a socket error which usually means a requested service is not answering the connection attempt).
We would probably need a full memory dump to work out what was happening at the time of the heap corruption and I guess, try to prevent it. -
I sent the files to the provided address.
How do I create such a memory dump?
A colleague of mine has the same problem. We can browse our application. Browse the .svc. But when a call goes out to one of the Workflow based services.... BOOM!
We have profiled these services in the past... so it's interesting why this suddenly is happening. -
You can get a memory dump using adplus:
ftp://support.red-gate.com/utilities/autodumper.zip
Extract all files
Open a command prompt and cd to the extracted files folder
cscript adplus.vbs -crash -pn w3wp.exe
Should make a huge .dmp file in a subfolder of adplus
If you can actually get this to work, we can set up a private FTP to upload the dump to.
Sometimes the cause of this is a corrupt PDB and sometimes assemblies that use app protection or obfucscation can cause it.
I'd wager you can profile fine on "least detailed" mode, because all of the things that try to analyze the assembly so it can get line-level timings will not be executed. -
Adplus ends with the following line:
Starting to attach the debugger to each process Attaching to 1788 - W3WP.EXE
No dumps are created...ADPlus Version: 6.03.002 ADPlus Version Date: 02/21/2006 OS Version: 6.1 OS Build: 7601 DateTimeStamp: Date_04-20-2012__Time_11-09-2828 ADPlus was run on: MSDEV68 Debuggers Installation Directory: C:\PD\Command\autodumper Command line arguments used were: -crash -p 1788 Script engine Version: 5.8.16385 Selected debugger: cdb.exe Output Directory: C:\PD\Command\autodumper\Crash_Mode__Date_04-20-2012__Time_11-09-2828 g_Debug_Log = True g_CheckFreeSpace = True ------ Current Actions for Exceptions ---- AccessViolation [av] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog InvalidHandle [ch] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog IllegalInstruction [ii] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog IntegerDivide [dz] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog FloatingDivide [c000008e] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog IntegerOverflow [iov] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog InvalidLockSequence [lsq] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog StackOverflow [sov] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog CPlusPlusEH [eh] return: GN GN 1st chance: Log;Time;Stack 2nd chance: Log;Time;Stack;FullDump;EventLog UnknownException [*] return: GN GN 1st chance: Log;Time;Stack 2nd chance: Log;Time;Stack;FullDump;EventLog NET_CLR [clr] return: GN GN 1st chance: VOID 2nd chance: Log;Time;Stack;FullDump;EventLog CONTRL_C_OR_Debug_Break [bpe] return: Q GN 1st chance: Log;Time;EventLog;Stacks;LoadedModules;MatchingSymbols;MiniDump 2nd chance: Wake_Debugger [wkd] return: Q GN 1st chance: Log;Time;EventLog;Stacks;LoadedModules;MatchingSymbols;MiniDump 2nd chance: DLL_Load [ld] return: GN GN 1st chance: Log 2nd chance: Log DLL_UnLoad [ud] return: GN GN 1st chance: Log 2nd chance: Log Process_Shut_Down [epr] return: VOID VOID 1st chance: Log;Time;EventLog;Stacks;FullDump 2nd chance: Application_hang [aph] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog Ctl_C_Console_app [cce] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog Data_misaligned [dm] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog Guard_page_violation [gp] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog In_page_IO_error [ip] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog Invalid_system_call [isc] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog Stack_buffer_overflow [sbo] return: GN GN 1st chance: Log;Time;Stack;MiniDump 2nd chance: Log;Time;Stack;FullDump;EventLog Starting to attach the debugger to each process Attaching to 1788 - W3WP.EXE
The least detailed profile does seem to create a more stable situation, but eventually, after a few minutes, the process randomly dies as well. -
Sorry but I don't think we will be able to troubleshoot this any further. I guess the .NET Framework is having some sort of issue?
Add comment
Please sign in to leave a comment.
First error
Second error
When profiling is off, everything works perfectly.
Info
Windows 7, x64, 4GB Windows Firewall turned off IIS Anonymous Authentication and App Pools run under NetworkService ANTS Performance Profiler 6.2, 6.3 Method-level timings; only methods with source Do not record SQL and file I/OI performance; Don't profile child processes Original port; Manually specified ASP.NET account