Stack overflow when loading site

Code profiling for .NET developers.

Moderators: AndrewH, melvyn.harbour, james.billings, Laura Morley, dene.boulton

Stack overflow when loading site

Postby Clairan » Wed Feb 06, 2013 9:17 am

Hi,
I'm getting a stack overflow error on the w3wp process when loading a site. I am able to run a quite similar site, but not this particular one.

I've tried different setting with the same result.

In Windows Event Viewer I get the follwing:

Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8
Faulting module name: clr.dll, version: 4.0.30319.296, time stamp: 0x50484aa9
Exception code: 0xc00000fd
Fault offset: 0x00001b67
Faulting process id: 0x1f58
Faulting application start time: 0x01ce0441c4d39410
Faulting application path: C:\\Windows\\SysWOW64\\inetsrv\\w3wp.exe
Faulting module path: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\clr.dll
Report Id: 1c3af180-7035-11e2-8960-ac162d06764b

The Ants Profiler log shows the following:
06 Feb 2013 09:12:53.994 [1] INFO RedGate.Profiler.Session.ProfilerSession - Starting new profiling session
06 Feb 2013 09:12:53.998 [1] INFO RedGate.Profiler.Session.ProfilerSession - Initializing ASP.NET session, running on IIS
06 Feb 2013 09:12:54.001 [1] INFO RedGate.Profiler.Session.ProfilerSession - Initializing IIS 7/7.5 session
06 Feb 2013 09:12:54.053 [1] INFO RedGate.Profiler.Session.ProfilerSession - IIS: Profiling on unused port
06 Feb 2013 09:12:54.057 [1] INFO RedGate.Profiler.Session.ProfilerSession - IIS: Profiling application at http://gw.local/
06 Feb 2013 09:12:54.060 [1] INFO RedGate.Profiler.Session.ProfilerSession - IIS: Port is 8013
06 Feb 2013 09:12:54.065 [15] INFO RedGate.Profiler.Session.ProfilerSession - Launching session
06 Feb 2013 09:12:54.068 [15] INFO RedGate.Profiler.Session.ProfilerSession - Launch: Will request elevation
06 Feb 2013 09:12:54.072 [15] INFO RedGate.Profiler.Session.ProfilerSession - Options: IL timings turned off
06 Feb 2013 09:12:54.076 [15] INFO RedGate.Profiler.Session.ProfilerSession - Options: Sampling mode
06 Feb 2013 09:12:54.079 [15] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - ANTS is running under a 64-bit version of Windows. 32-bit binaries were found in C:\\Windows\\SysWOW64
06 Feb 2013 09:12:54.083 [15] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - InetSrv directory is C:\\Windows\\system32\\inetsrv
06 Feb 2013 09:12:54.087 [15] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - InetSrv WOW64 directory is C:\\Windows\\SysWOW64\\inetsrv
06 Feb 2013 09:12:54.091 [15] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - Trying to start the IIS profiler service
06 Feb 2013 09:12:54.094 [15] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - The IIS service appears to be registered; requesting that it start now
06 Feb 2013 09:12:56.696 [15] INFO RedGate.Profiler.Session.ProfilerSession - Launching the session front-end client
06 Feb 2013 09:12:56.858 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.862 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.866 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.870 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.874 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.878 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.882 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.886 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.890 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.894 [15] WARN RedGate.Profiler.Engine.Startup.IIS.IISUtilities - WaitForPort on address 127.0.0.1, port 8013
06 Feb 2013 09:12:56.969 [Profiler pipe monitor] INFO RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Process ID 0x1f58 'C:\\Windows\\SysWOW64\\inetsrv\\w3wp.exe' has connected.
06 Feb 2013 09:12:56.978 [Profiler pipe monitor] INFO RedGate.Profiler.Engine.Startup.Performance.PerformanceOptionsEncoder - Process settings are: recording source files in log, will allow inlining, method-level timings, sampling, thread affinity, including functions without source, ignoring 'trivial' function calls, simplifying excessively complicated call graphs, .ignoring derived ASP.NET source code, loading pdbs from , not profiling SQL calls, not profiling HTTP calls,
06 Feb 2013 09:12:56.982 [Profiler pipe monitor] INFO RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Suggesting that target write to C:\\Users\\claira\\AppData\\Local\\Red Gate\\ANTS Performance Profiler 7\\tmp1dc0_8cfd25c25577794_2
06 Feb 2013 09:12:56.989 [Profiler pipe monitor] INFO RedGate.Profiler.Engine.Logs.ILog - Log file was generated by ANTS version 7.4.0.80
06 Feb 2013 09:12:56.992 [Profiler pipe monitor] INFO RedGate.Profiler.Engine.Reports.Basic.Profile - Processed 74 bytes from the log.
06 Feb 2013 09:12:57.004 [Profiler pipe monitor] INFO RedGate.Profiler.Session.ProfilerSession - Profiler is connected
06 Feb 2013 09:12:57.007 [Profiler pipe monitor] INFO RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Connected and receiving data through C:\\Users\\claira\\AppData\\Local\\Red Gate\\ANTS Performance Profiler 7\\tmp1dc0_8cfd25c25577794_2.
06 Feb 2013 09:13:44.525 [Profiler pipe monitor] WARN RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Pipe has been closed; most likely the process being profiled has terminated.
06 Feb 2013 09:13:44.529 [Profiler pipe monitor] INFO RedGate.Profiler.Engine.Startup.Basic.Pipe - Recycling pipe
06 Feb 2013 09:13:44.555 [39] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - Process w3wp has finished.
06 Feb 2013 09:13:44.656 [23] WARN RedGate.Profiler.Engine.Startup.Counters.WindowsPerfCounter - Error while trying to read performance counter data
System.InvalidOperationException: Instance 'w3wp#5' does not exist in the specified Category.
at System.Diagnostics.CounterDefinitionSample.GetInstanceValue(String instanceName)
at System.Diagnostics.PerformanceCounter.NextSample()
at ???.???.NextSample()
06 Feb 2013 09:13:45.670 [22] WARN RedGate.Profiler.Engine.Startup.Counters.PerformanceCounterSource - Process 8024 is apparently not running: Process with an Id of 8024 is not running.
06 Feb 2013 09:13:45.674 [22] WARN RedGate.Profiler.Engine.Startup.Counters.PerformanceCounterSource - Process with an Id of 8024 is not running.
06 Feb 2013 09:13:45.680 [22] WARN RedGate.Profiler.Engine.Startup.Counters.PerformanceCounterSource - System.ArgumentException
06 Feb 2013 09:13:45.683 [22] WARN RedGate.Profiler.Engine.Startup.Counters.PerformanceCounterSource - at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
at ???.???.
Clairan
 
Posts: 1
Joined: Wed Feb 06, 2013 9:05 am

Postby james.billings » Thu Feb 07, 2013 11:48 am

Hi,

"Stack Overflow" messages have a couple of possible causes as detailed on this page

In short, first try selecting the option to simplify complex stack traces and if that doesn't help, reduce the level of detail from line level down to method level.
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.


Return to ANTS Performance Profiler 7

Who is online

Users browsing this forum: No registered users and 0 guests