English 中文(简体)
No managed thread in dump created by orphaning IIS application pool of 64 bit ASP.NET
原标题:

I need to find reason for Event ID 2262, Deadlock Detected of our ASP.NET application (64bit). It happens 1-3 times per day on our development server.

I created mini dump with full memory by orphaning the Application Pool as is described here: http://support.microsoft.com/kb/828222

I opened the dump with windbg and tried to find some managed thread: ~*e !clrstack

I received for all threads: Unable to walk the managed stack. The current thread is likely not a managed thread. You can run !threads to get a list of managed threads in the process

The same result I get when I take dump from command line (executing the same command as orphaning is set up for).

Should I take or view dump in different way?

For make windbg working I execute following commands: .load c:WindowsMicrosoft.NETFramework64v2.0.50727mscorwks.dll .load c:WindowsMicrosoft.NETFramework64v2.0.50727mscordacwks.dll .load c:WindowsMicrosoft.NETFramework64v2.0.50727sos.dll .symfix "c:Program FilesDebugging Tools for Windows (x64)cache" .cordll -ve -u -l

And I have following dll in the dbg tools folder: mscordacwks_AMD64_X64_2.0.50727.3603.dll (taken from Framework64 directory).

I tried to explore all our logs and I didn t find any correlated data with deadlock failure time stamps. I reviewed and stressed the code committed into svn on the date of fist deadlock and several days before - no deadlock happened during the stress.

I bet on clr stack, thanks for any help, Jan

问题回答

Did you load SOS, so that managed code can be debugged? For .NET 4, the syntax is:

.loadby sos clr




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签