Windows Server 2008R2 IIS Appcrash - System.StackOverflowExc

本文关键字:System StackOverflowExc Appcrash IIS Server 2008R2 Windows | 更新日期: 2023-09-27 18:11:13

我们有一个asp.net MVC web应用程序托管在我们的客户的几个服务器上。最近只有其中的一个,appool大约每15分钟被回收一次。我检查了事件查看器,没有"警告"级别的日志,其中包含对任何偶然异常的一些帮助。我发现只有一些"信息"级别的日志与源"Windows错误报告",其中包含这样的内容:

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

:

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

你可以看到它是一个StackOverflowException!

以及一些"错误"级别的日志,源为"应用程序错误",内容如下:

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

我试着在C:'ProgramData'Microsoft'Windows'WER'ReportArchive'AppCrash_w3wp.exe.....读取文件

我如何找到这个错误的原因?是否有任何调试工具来读取这些文件,或者有可能在我的整个代码中放置一些日志结构,以获得有关问题部分的线索?

任何想法将不胜感激!

Windows Server 2008R2 IIS Appcrash - System.StackOverflowExc

我解决了这个问题。解决步骤:

首先我打开控制面板>动作中心>问题报告我看到了一系列问题。以及我的IIS崩溃问题。我输入了项目细节并保存为转储。我下载了Windbg,然后用它打开了这个转储。然后输入command !analyze -v