Joined: 25 Jul 2013
|Posted: Thu Jul 25, 2013 3:42 pm Post subject: WebDev.WebDev40.exe crashes when taking a snapshot
|I'm trying to hunt down a memory leak in an ASP MVC web site. If I profile by selecting 'ASP/NET Web Application (web development server)' then I get a popup that "WebDev.WebServer40.exe has stopped working" when I try to take a snapshot (crashing the webdev server process).
Here are the 2 related event log entries:
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 5E3F436C
Faulting application name: WebDev.WebServer40.exe, version: 10.0.40219.1, time stamp: 0x4d5f345a
Faulting module name: diasymreader.dll, version: 8.0.50727.5420, time stamp: 0x4ca2cdf7
Exception code: 0xc0000005
Fault offset: 0x0005436c
Faulting process id: 0x2c4c
Faulting application start time: 0x01ce8944522a4ed0
Faulting application path: C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v2.0.50727\diasymreader.dll
Report Id: baecf310-f537-11e2-a36b-2016d8972ce0
I've also tried starting the website via Visual Studio then manually attaching to the process. However, when I try to take a snapshot I then get the following exception in Visual Studio:
FatalExecutionEngineError was detected
Message: The runtime has encountered a fatal error. The address of the error was at 0x6f120e96, on thread 0x33e4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.