IIS crashes and reboots without discarding the mini dump

I have a complicated script that I'm trying to debug ... On a web forms page, when I click the submit button, the web server makes an error and restarts the w3svc process.

I do not see any stack trace in the event log. The only entry in the Windows application log:

Invalid application name: w3wp.exe, version: 7.5.7600.16385, timestamp: 0x4a5bd0eb

Invalid module name: KERNELBASE.dll, version: 6.1.7600.16385, timestamp: 0x4a5bdfe0

Exception Code: 0xe053534f

There is no mini dump created for me to attach windbg to ...

Any ideas on debugging my problem?

+1
source share
3 answers

I suspect you are calling a loop call like

public string sMyText { get {return sMyText;} set {sMyText = value;} } 

and you call sMyText

or something like

 protected override void OnLoad(EventArgs e) { base.OnInit(e); } 

or something like

 Server.Transfer("TheSamePage.aspx"); 

In this case, the accident does not cause a mini-drive. Can you start the process explorer and see if your pool is in standby before failure?

+1
source

To create a memory dump for an emergency application, you can use DebugDiag or adplus. Any of them will control the process and generate a dump file if a failure occurs. DebugDiag can also analyze dump files and generate a problem report (similar to the "! Analysis -v" command in WinDbg.)

DebugDiag can be downloaded here .

You should find adplus installed using debugging tools for Windows, which is the same installer that contains WinDbg.

+1
source

I would use something like Procdump to get a memory dump when the process exits and looks for the exception and call stack.

-t Enter a dump when the process ends.

FYI ... what you see in EventViewer, Watson buckets , which indicates which application and module have an unhandled exception. From your log, it looks like kernelBase .

0
source

Source: https://habr.com/ru/post/1386236/


All Articles