From: wardy1975 on
Hi all,

Looking for some help with debugging a production issue I'm having with
..NET runtime crashes and W3SVC warnings/recycles.

I've been debugging this issue for quite some time and have posted
about the issue before, but the servers have recently been patched up
and we are still having issues, though they are no longer the same.

We are running a Windows 2003 SP1 server, using CMS 2000, IIS 6.0, and
Crystal Reports 10 talking to a SQL Server 2000 db. I have installed
debug diag on the server and have been monitoring the server, but no
dump files are getting generated, as the .NET crashes and W3SVC
warnings appear to be occurring from first chance exceptions at this
point, where before second chance exceptions were occurring.

The .NET crash message in the application log is:

"The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
be found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: .NET Runtime version 1.1.4322.2300-
Setup Error: Failed to load resources from resource file
Please check your Setup."

The W3SVC warning that accompanies this error in the system log is
event id 1011:

"A process serving application pool 'blah' suffered a fatal
communication error with the World Wide Web Publishing Service. The
process id was '8504'. The data field contains the error number.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp."


Is there any way for me to get debug diag to pick up what is causing
these issues? If I look at the file generated that contains the first
chance exceptions, I see a tremendous number of them (which as I
understand could be due to regular exception handling in code, which we
are having a lot of at the moment), so it is extremely difficult how to
determine which first chance exception I should choose to add as an
exception rule in my debug diag rule. I have included the end of the
first chance file below to see if anyone has any ideas where I could
start:

[16/08/2006 15:45:09] First chance exception - 0xe0434f4d caused by
thread with system id 7320
[16/08/2006 15:45:09] First chance exception - 0xe0434f4d caused by
thread with system id 7320
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7320.
Exit code - 0x00000000
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 8488.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6184.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 8200.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6488.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 4596.
Exit code - 0x800703e9
Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 3396.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5932.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6628.
Exit code - 0x800703e9
Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5252.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7360.
Exit code - 0x800703e9
Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2556.
Exit code - 0x800703e9
Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6872.
Exit code - 0x800703e9
Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2380.
Exit code - 0x800703e9
Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5896.
Exit code - 0x800703e9
Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2660.
Exit code - 0x800703e9
Script Error
Error Code - 0x80004005
Error Source [Unavailable]
Error Description [Could not obtain System ID for this thread]
Line 97, Column 2

[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7604.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 4104.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5764.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5412.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 4488.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 4008.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6796.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 10012.
Exit code - 0x800703e9
[16/08/2006 15:45:09] Thread exited. Exiting thread system id - 9548.
Exit code -
From: Pat [MSFT} on
You will need to attach IISState or another debugger to the process and get
a log:

iisstate -p <Pid> -sc -d <enter>

Pat
<wardy1975(a)gmail.com> wrote in message
news:1155740847.197786.196460(a)p79g2000cwp.googlegroups.com...
> Hi all,
>
> Looking for some help with debugging a production issue I'm having with
> .NET runtime crashes and W3SVC warnings/recycles.
>
> I've been debugging this issue for quite some time and have posted
> about the issue before, but the servers have recently been patched up
> and we are still having issues, though they are no longer the same.
>
> We are running a Windows 2003 SP1 server, using CMS 2000, IIS 6.0, and
> Crystal Reports 10 talking to a SQL Server 2000 db. I have installed
> debug diag on the server and have been monitoring the server, but no
> dump files are getting generated, as the .NET crashes and W3SVC
> warnings appear to be occurring from first chance exceptions at this
> point, where before second chance exceptions were occurring.
>
> The .NET crash message in the application log is:
>
> "The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
> be found. The local computer may not have the necessary registry
> information or message DLL files to display messages from a remote
> computer. You may be able to use the /AUXSOURCE= flag to retrieve this
> description; see Help and Support for details. The following
> information is part of the event: .NET Runtime version 1.1.4322.2300-
> Setup Error: Failed to load resources from resource file
> Please check your Setup."
>
> The W3SVC warning that accompanies this error in the system log is
> event id 1011:
>
> "A process serving application pool 'blah' suffered a fatal
> communication error with the World Wide Web Publishing Service. The
> process id was '8504'. The data field contains the error number.
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp."
>
>
> Is there any way for me to get debug diag to pick up what is causing
> these issues? If I look at the file generated that contains the first
> chance exceptions, I see a tremendous number of them (which as I
> understand could be due to regular exception handling in code, which we
> are having a lot of at the moment), so it is extremely difficult how to
> determine which first chance exception I should choose to add as an
> exception rule in my debug diag rule. I have included the end of the
> first chance file below to see if anyone has any ideas where I could
> start:
>
> [16/08/2006 15:45:09] First chance exception - 0xe0434f4d caused by
> thread with system id 7320
> [16/08/2006 15:45:09] First chance exception - 0xe0434f4d caused by
> thread with system id 7320
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7320.
> Exit code - 0x00000000
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 8488.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6184.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 8200.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6488.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 4596.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 3396.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5932.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6628.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5252.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7360.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2556.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6872.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2380.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5896.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2660.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7604.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 4104.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5764.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exite
From: Pat [MSFT} on
You will need to attach IISState or another debugger to the process and get
a log:

iisstate -p <Pid> -sc -d <enter>

Pat
<wardy1975(a)gmail.com> wrote in message
news:1155740847.197786.196460(a)p79g2000cwp.googlegroups.com...
> Hi all,
>
> Looking for some help with debugging a production issue I'm having with
> .NET runtime crashes and W3SVC warnings/recycles.
>
> I've been debugging this issue for quite some time and have posted
> about the issue before, but the servers have recently been patched up
> and we are still having issues, though they are no longer the same.
>
> We are running a Windows 2003 SP1 server, using CMS 2000, IIS 6.0, and
> Crystal Reports 10 talking to a SQL Server 2000 db. I have installed
> debug diag on the server and have been monitoring the server, but no
> dump files are getting generated, as the .NET crashes and W3SVC
> warnings appear to be occurring from first chance exceptions at this
> point, where before second chance exceptions were occurring.
>
> The .NET crash message in the application log is:
>
> "The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
> be found. The local computer may not have the necessary registry
> information or message DLL files to display messages from a remote
> computer. You may be able to use the /AUXSOURCE= flag to retrieve this
> description; see Help and Support for details. The following
> information is part of the event: .NET Runtime version 1.1.4322.2300-
> Setup Error: Failed to load resources from resource file
> Please check your Setup."
>
> The W3SVC warning that accompanies this error in the system log is
> event id 1011:
>
> "A process serving application pool 'blah' suffered a fatal
> communication error with the World Wide Web Publishing Service. The
> process id was '8504'. The data field contains the error number.
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp."
>
>
> Is there any way for me to get debug diag to pick up what is causing
> these issues? If I look at the file generated that contains the first
> chance exceptions, I see a tremendous number of them (which as I
> understand could be due to regular exception handling in code, which we
> are having a lot of at the moment), so it is extremely difficult how to
> determine which first chance exception I should choose to add as an
> exception rule in my debug diag rule. I have included the end of the
> first chance file below to see if anyone has any ideas where I could
> start:
>
> [16/08/2006 15:45:09] First chance exception - 0xe0434f4d caused by
> thread with system id 7320
> [16/08/2006 15:45:09] First chance exception - 0xe0434f4d caused by
> thread with system id 7320
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7320.
> Exit code - 0x00000000
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 8488.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6184.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 8200.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6488.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 4596.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 3396.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5932.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6628.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5252.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7360.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2556.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 6872.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2380.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5896.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 2660.
> Exit code - 0x800703e9
> Script Error
> Error Code - 0x80004005
> Error Source [Unavailable]
> Error Description [Could not obtain System ID for this thread]
> Line 97, Column 2
>
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 7604.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 4104.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exited. Exiting thread system id - 5764.
> Exit code - 0x800703e9
> [16/08/2006 15:45:09] Thread exite
From: wardy1975 on
Hi Pat,

Thanks for the info....I have since installed IISState on my local PC
(want to play around with it before installing on a production
server...:)) and I have run the tool, however I need some help in
understanding what I am seeing....

Firstly, what exactly does a soft crash represent? Is this the same as
a "first chance" exception? The reason I ask is that IISState is
indicating in the log (see below) that IIS has crashed, but I do not
get any errors generated to my custom event log (our application
publishes all errors to it's own log) or in the Application or System
logs to indicate any kind of error has occurred. If I am only
interested in crashes that result in errors such as "faulting
application pool" or "service stopped unexpectedly", should I be
running the tool with the "-hc" command?

Secondly, when I am reading the log file and interpreting the dump file
(which I am using WinDBG to do, though after running the
"!.\clr10\sos.clrstack" command it essentially is the same as the log
file output from IISState), I don't know how to read what I am seeing -
should I read from the bottom up or top down?

Also, it seems like every single page I hit is causing IISState to
generate a dump file, so I'm not sure if I have it configured
properly....is a thread abort exception from .NET considered a "soft
crash" (because the framework throws these errors at random when using
redirects so we would want to ignore). Any thoughts?

The log file generated is as follows (if the output from the !analyze
-v command in WinDBG would help, I can also provide that):

Opened log file 'C:\iisstate\output\IISState-5528.log'

***********************
Starting new log output
IISState version 3.3.1

Thu Aug 17 09:51:32 2006

OS = Windows XP
Executable: aspnet_wp.exe
PID = 5528

Note: Thread times are formatted as HH:MM:SS.ms

***********************


IIS has crashed...
Beginning Analysis
DLL (!FunctionName) that failed:




Thread ID: 1
System Thread ID: 13c8
Kernel Time: 0:0:1.125
User Time: 0:0:3.906
Thread Type: Managed Thread. Possible ASP.Net page or other .Net worker
succeeded
Loaded Son of Strike data table version 5 from
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll"
Thread 1
ESP EIP
00a0f130 06aa380d [DEFAULT] [hasThis] Void
gBiz.Framework.MatchMergeResolver.InitProduct()
at [+0x42d] [+0x25d]
PARAM: this: 0x01705628 (gBiz.Framework.MatchMergeResolver)
00a0f180 06aa31b9 [DEFAULT] [hasThis] String
gBiz.Framework.MatchMergeResolver.SearchProduct(Class
gBiz.Framework.Tag)
at [+0x61] [+0x1e]
PARAM: this: 0x01705628 (gBiz.Framework.MatchMergeResolver)
PARAM: int16 tag: 24135572
00a0f1c8 06aa18bb [DEFAULT] [hasThis] String
gBiz.Framework.MatchMergeResolver.Merge(Class gBiz.Framework.Tag)
at [+0x1fb] [+0xd5]
PARAM: this: 0x01705628 (gBiz.Framework.MatchMergeResolver)
PARAM: int16 tag: 24135572
00a0f2dc 06aa1686 [DEFAULT] [hasThis] String
gBiz.Framework.TagResolve.MatchMerge(Class gBiz.Framework.Tag)
at [+0xae] [+0xac]
PARAM: this: 0x0160a7f4 (gBiz.Framework.TagResolve)
PARAM: int16 tag: 24135572
00a0f308 09530d51 [DEFAULT] [hasThis] String
gBiz.Framework.TagResolve.Resolve(String,String)
at [+0x361] [+0x197]
PARAM: this: 0x0160a7f4 (gBiz.Framework.TagResolve)
PARAM: class System.String tag: 0x01702fec (System.String)
PARAM: int16 language: 24129052
00a0f4c4 08f640b7 [DEFAULT] [hasThis] String
gBiz.Framework.TagResolve.TagResolve(String,String,String,I4,I4,String,String,String,String,Class
System.Array)
at [+0x407] [+0x266]
PARAM: this: 0x0160a7f4 (gBiz.Framework.TagResolve)
PARAM: class System.String tagText: 0x01262994 (System.String)
PARAM: class System.String lang: 0x01702e1c (System.String)
PARAM: int32 productID: 16847348
PARAM: int32 txnItemID: -1
PARAM: class System.String txnID: 0xffffffff
PARAM: class System.String shopperID: 0x0147e0f4 (System.String)
PARAM: class System.String basketItemID: 0x01016390 (System.String)
PARAM: class System.String xmlFormData: 0x010111f4 (System.String)
PARAM: class System.Array xmlCDParms: 0x010111f4
PARAM: unsigned int8 gBizSession: 0x1702e34
00a0f5e8 08f63616 [DEFAULT] [hasThis] String
gBizStore.Classes.Page.Translate(String,String)
at [+0x126] [+0x68]
C:\gBizDevelopment\gBizRoot4.3\gBizSites\gBizPortalCMS\Classes\gBizStore.Classes.Page.cs:411
PARAM: this: 0x0160a708 (ASP.tplgBizProduct_aspx)
PARAM: class System.String tag: 0x01262994 (System.String)
PARAM: int16 lang: 21510864
00a0f65c 08f634d1 [DEFAULT] [hasThis] String
gBizStore.Classes.Page.Translate(String)
at [+0x21] [+0x0]
C:\gBizDevelopment\gBizRoot4.3\gBizSites\gBizPortalCMS\Classes\gBizStore.Classes.Page.cs:392
PARAM: this: 0x0160a708 (ASP.tplgBizProduct_aspx)
PARAM: int32 tag: 19278228
00a0f67c 0953056f [DEFAULT] [hasThis] Void
gBizStore.Controls.Display.ucFooter.Page_Load(Object,Class
System.EventArgs)
at [+0x517] [+0x1ec]
C:\gBizDevelopment\gBizRoot4.3\gBizSites\gBizPortalCMS\Controls\Display\ucFooter.ascx.cs:77
PARAM: this: 0x016533c0 (ASP.ucFooter_ascx)
PARAM: class System.EventArgs sender: 0x016533c0
PARAM: unsigned int8 e: 0x10bbd18
00a0f7f8 0703896b [DEFAULT] [hasThis] Void
System.Web.UI.Control.OnLoad(Class System.EventArgs)
at [+0x53] [+0x29]
PARAM: this: 0x016533c0 (ASP.ucFooter_ascx)
PARAM: int16 e: 17546520
00a0f818 07038899 [DEFAULT] [hasThis] Void
System.Web.UI.Control.LoadRecursive()
at [+0x39] [+0x14]
PARAM: this: 0x016533c0 (ASP.ucFooter_ascx)
00a0f83c 070388de [DEFAULT] [hasThis] Void
System.Web.UI.Control.LoadRecursive()
at [+0x7e] [+0x4e]
PARAM: this: 0x01652a04 (System.Web.UI.WebControls.Panel)
00a0f860 070388de [DEFAULT] [hasThis] Void
System.Web.UI.Control.LoadRecursive()
at [+0x7e] [+0x4e]
PARAM: this: 0x01636be0 (System.Web.UI.WebControls.Panel)
00a0f884 070388de [DEFAULT] [hasThis] Void
System.Web.UI.Control.LoadRecursive()
at [+0x7e] [+0x4e]
PARAM: this: 0x01611d18 (System.Web.UI.WebControls.Panel)
00a0f8a8 070388de [DEFAULT] [hasThis] Void
System.Web.UI.Control.LoadRecursive()
at [+0x7e] [+0x4e]
PARAM: this: 0x0160ae94 (System.Web.UI.HtmlControls.HtmlForm)
00a0f8cc 070388de [DEFAULT] [hasThis] Void
System.Web.UI.Control.LoadRecursive()
at [+0x7e] [+0x4e]
PARAM: this: 0x0160a708 (ASP.tplgBi
From: Pat [MSFT} on
1) A "soft crash" is a 1st chance exception of a specific type - Access
Violation (c0000005). Other 1st chance exceptions (e.g. Try/Catch blocks)
are ignored.

2) A hard crash ("-hc") is a fatal exception (2nd chance exception). These
are preceded by 1st chance exceptions. The problem with just tracking the
2nd chance exceptions is that it is not unusual for "clean-up" code to run
between the 1st & 2nd making it very hard to determine the root cause. That
said, tracking just 1st chance can (as you point out) show a lot of "noise."
As a rule 1st chance exceptions that are AV's are generally bad news and
should be fixed - even when not fatal.

3) IISState uses the same debug engine & managed code debug extensions as
WinDBG - in fact it was written using the WinDBG SDK. WinDBG & CDB are
really just "skins" for the debug engine.

4) You read thread stacks from the bottom to the top. So the line on top is
the last code that executed.

From the thread below the issue was caused by:
gBiz.Framework.MatchMergeResolver.InitProduct()

Most likely unexpected or blank parameters (this is an educated guess - not
a result of reading the log).



Pat


<wardy1975(a)gmail.com> wrote in message
news:1155820228.366972.45670(a)m73g2000cwd.googlegroups.com...
> Hi Pat,
>
> Thanks for the info....I have since installed IISState on my local PC
> (want to play around with it before installing on a production
> server...:)) and I have run the tool, however I need some help in
> understanding what I am seeing....
>
> Firstly, what exactly does a soft crash represent? Is this the same as
> a "first chance" exception? The reason I ask is that IISState is
> indicating in the log (see below) that IIS has crashed, but I do not
> get any errors generated to my custom event log (our application
> publishes all errors to it's own log) or in the Application or System
> logs to indicate any kind of error has occurred. If I am only
> interested in crashes that result in errors such as "faulting
> application pool" or "service stopped unexpectedly", should I be
> running the tool with the "-hc" command?
>
> Secondly, when I am reading the log file and interpreting the dump file
> (which I am using WinDBG to do, though after running the
> "!.\clr10\sos.clrstack" command it essentially is the same as the log
> file output from IISState), I don't know how to read what I am seeing -
> should I read from the bottom up or top down?
>
> Also, it seems like every single page I hit is causing IISState to
> generate a dump file, so I'm not sure if I have it configured
> properly....is a thread abort exception from .NET considered a "soft
> crash" (because the framework throws these errors at random when using
> redirects so we would want to ignore). Any thoughts?
>
> The log file generated is as follows (if the output from the !analyze
> -v command in WinDBG would help, I can also provide that):
>
> Opened log file 'C:\iisstate\output\IISState-5528.log'
>
> ***********************
> Starting new log output
> IISState version 3.3.1
>
> Thu Aug 17 09:51:32 2006
>
> OS = Windows XP
> Executable: aspnet_wp.exe
> PID = 5528
>
> Note: Thread times are formatted as HH:MM:SS.ms
>
> ***********************
>
>
> IIS has crashed...
> Beginning Analysis
> DLL (!FunctionName) that failed:
>
>
>
>
> Thread ID: 1
> System Thread ID: 13c8
> Kernel Time: 0:0:1.125
> User Time: 0:0:3.906
> Thread Type: Managed Thread. Possible ASP.Net page or other .Net worker
> succeeded
> Loaded Son of Strike data table version 5 from
> "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorwks.dll"
> Thread 1
> ESP EIP
> 00a0f130 06aa380d [DEFAULT] [hasThis] Void
> gBiz.Framework.MatchMergeResolver.InitProduct()
> at [+0x42d] [+0x25d]
> PARAM: this: 0x01705628 (gBiz.Framework.MatchMergeResolver)
> 00a0f180 06aa31b9 [DEFAULT] [hasThis] String
> gBiz.Framework.MatchMergeResolver.SearchProduct(Class
> gBiz.Framework.Tag)
> at [+0x61] [+0x1e]
> PARAM: this: 0x01705628 (gBiz.Framework.MatchMergeResolver)
> PARAM: int16 tag: 24135572
> 00a0f1c8 06aa18bb [DEFAULT] [hasThis] String
> gBiz.Framework.MatchMergeResolver.Merge(Class gBiz.Framework.Tag)
> at [+0x1fb] [+0xd5]
> PARAM: this: 0x01705628 (gBiz.Framework.MatchMergeResolver)
> PARAM: int16 tag: 24135572
> 00a0f2dc 06aa1686 [DEFAULT] [hasThis] String
> gBiz.Framework.TagResolve.MatchMerge(Class gBiz.Framework.Tag)
> at [+0xae] [+0xac]
> PARAM: this: 0x0160a7f4 (gBiz.Framework.TagResolve)
> PARAM: int16 tag: 24135572
> 00a0f308 09530d51 [DEFAULT] [hasThis] String
> gBiz.Framework.TagResolve.Resolve(String,String)
> at [+0x361] [+0x197]
> PARAM: this: 0x0160a7f4 (gBiz.Framework.TagResolve)
> PARAM: class System.String tag: 0x01702fec (System.String)
> PARAM: int16 language: 24129052
> 00a0f4c4 08f640b7 [DEFAULT] [hasThis] String
> gBiz.Framework.TagResolve.TagResolve(String,String,String,I4,I4,String,String,String,String,Class
> System.Array)
> at [+0x407] [+0x266]
> PARAM: this: 0x0160a7f4 (gBiz.Framework.TagResolve)
> PARAM: class System.String tagText: 0x01262994 (System.String)
> PARAM: class System.String lang: 0x01702e1c (System.String)
> PARAM: int32 productID: 16847348
> PARAM: int32 txnItemID: -1
> PARAM: class System.String txnID: 0xffffffff
> PARAM: class System.String shopperID: 0x0147e0f4 (System.String)
> PARAM: class System.String basketItemID: 0x01016390 (System.String)
> PARAM: class System.String xmlFormData: 0x010111f4 (System.String)
> PARAM: class System.Array xmlCDParms: 0x010111f4
> PARAM: unsigned int8 gBizSession: 0x1702e34
> 00a0f5e8 08f63616 [DEFAULT] [hasThis] String
> gBizStore.Classes.Page.Translate(String,String)
> at [+0x126] [+0x68]
> C:\gBizDevelopment\gBizRoot4.3\gBizSites\gBizPortalCMS\Classes\gBizStore.Classes.Page.cs:411
> PARAM: this: 0x0160a708 (ASP.tplgBizProduct_aspx)
> PARAM: class System.String tag: 0x01262994 (System.String)
> PARAM: int16 lang: 21510864
> 00a0f65c 08f634d1 [DEFAULT] [hasThis] String
> gBizStore.Classes.Page.Translate(String)
> at [+0x21] [+0x0]
> C:\gBizDevelopment\gBizRoot4.3\gBizSites\gBizPortalCMS\Classes\gBizStore.Classes.Page.cs:392
> PARAM: this: 0x0160a708 (ASP.tplgBizProduct_aspx)
> PARAM: int32 tag: 19278228
> 00a0f67c 0953056f [DEFAULT] [hasThis] Void
> gBizStore.Controls.D