Hosein
Hosein

Reputation: 581

Windows Server 2008R2 IIS Appcrash - System.StackOverflowException

We have a asp.net MVC web application hosted on several servers of our customers. Recently on only one of them, apppool is recycled about every 15 minutes. I've checked the event viewer and there is no "Warning" level log that contains some help on any occasional exceptions. I found only some "Information" level logs with source "Windows Error Reporting" which contains contents like this:

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: w3wp.exe
P2: 7.5.7601.17514
P3: 4ce7a5f8
P4: mscorlib
P5: 4.0.30319.17929
P6: 4ffa561c
P7: 1098
P8: 0
P9: System.StackOverflowException
P10: 

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_w3wp.exe_a7ffe533c17adc1b839d5aa19f1af2e61b1d2_0704a515

Analysis symbol: 
Rechecking for solution: 0
Report Id: 7fc73fce-5389-11e5-9721-7824af3d6615
Report Status: 4

and this:

Fault bucket 3263327202, type 1
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: w3wp.exe
P2: 7.5.7601.17514
P3: 4ce7a5f8
P4: clr.dll
P5: 4.0.30319.17929
P6: 4ffa5753
P7: c00000fd
P8: 000010b9
P9: 
P10: 

Attached files:
C:\Windows\Temp\WERC4A6.tmp.appcompat.txt
C:\Windows\Temp\WERC523.tmp.WERInternalMetadata.xml
C:\Windows\Temp\WERC524.tmp.hdmp
C:\Windows\Temp\WERED7D.tmp.mdmp

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_w3wp.exe_868a5e613d491401176645f115078f3faa98e9_03a912c5

Analysis symbol: 
Rechecking for solution: 0
Report Id: 4c379387-5388-11e5-9721-7824af3d6615
Report Status: 0

as you can see it's a StackOverflowException!

and also some "Error" level log with source "Application Error" with this content:

Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8
Faulting module name: clr.dll, version: 4.0.30319.17929, time stamp: 0x4ffa5753
Exception code: 0xc00000fd
Fault offset: 0x00019fe9
Faulting process id: 0xcac
Faulting application start time: 0x01d0e79515891375
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Report Id: dc73f522-5388-11e5-9721-7824af3d6615

I've tried to read the files at C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_w3wp.exe....., but have no success in understanding the problem.

How may I find the cause of this errors? Is there any debugging tool to read those files or may it be possible to put some log structure in my entire code to gain a clue about the problematic part?

Any ideas will be much appreciated!

Upvotes: 4

Views: 1734

Answers (1)

majid AAp
majid AAp

Reputation: 36

I solved this problem. Solution Steps:

First I open ControlPanel> ActionCenter> Problem Reports I saw list of problems. and my IIS Crash problem. I entered item detail and save it is dumps. I downloaded Windbg then open this dump with it. and enter command !analyze -v

Upvotes: 2

Related Questions