Our site has started to crash several times per day with the not so informative Event error "Faulting w3wp.exe" Installed Debug diagnostics to get the dumps from the crashes and opened the dumps in windbg. I can't say that I know how to use windbg to get hold of the problem but using the command !clrstack I get this result.
0272e37c 7d4e2366 [NDirectMethodFrameStandaloneCleanup: 0272e37c] System.Net.UnsafeNclNativeMethods+OSSOCK.getnameinfo(Byte, Int32, System.Text.StringBuilder, Int32, System.Text.StringBuilder, Int32, Int32)0272e3a0 7a944969 System.Net.Dns.TryGetNameInfo(System.Net.IPAddress, System.Net.Sockets.SocketError ByRef)0272e3b4 7a944fa5 System.Net.Dns.InternalGetHostByAddress(System.Net.IPAddress, Boolean, Boolean)0272e3ec 7aa9557c System.Net.Dns.GetHostEntry(System.String)0272e404 1fa185c7 EPiServer.Diagnostics.IPv4AddressConverter.ConvertFrom(System.Object)0272e430 1fa1832e log4net.Util.OptionConverter.ConvertStringTo(System.Type, System.String)0272e444 1fa18285 log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ConvertStringTo(System.Type, System.String)0272e458 1fa17748 log4net.Repository.Hierarchy.XmlHierarchyConfigurator.SetParameter(System.Xml.XmlElement, System.Object)0272e4b8 1fa14bc3 log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(System.Xml.XmlElement)0272e4f8 1fa148ad log4net.Repository.Hierarchy.XmlHierarchyConfigurator.FindAppenderByReference(System.Xml.XmlElement)0272e530 1fa140ca log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseChildrenOfLoggerElement(System.Xml.XmlElement, log4net.Repository.Hierarchy.Logger, Boolean)0272e56c 1fa1375d log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseLogger(System.Xml.XmlElement)0272e5a4 1fa1341d log4net.Repository.Hierarchy.XmlHierarchyConfigurator.Configure(System.Xml.XmlElement)0272e5e0 1fa130aa log4net.Repository.Hierarchy.Hierarchy.XmlRepositoryConfigure(System.Xml.XmlElement)0272e5f4 1fa13066 log4net.Repository.Hierarchy.Hierarchy.log4net.Repository.IXmlRepositoryConfigurator.Configure(System.Xml.XmlElement)0272e5f8 1fa13044 log4net.Config.XmlConfigurator.ConfigureFromXml(log4net.Repository.ILoggerRepository, System.Xml.XmlElement)0272e60c 1fa12f35 log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository, System.IO.Stream)0272e63c 1fa12d4f log4net.Config.XmlConfigurator.Configure(log4net.Repository.ILoggerRepository, System.IO.FileInfo)0272e674 1fa12b5e log4net.Config.XmlConfigurator.ConfigureAndWatch(log4net.Repository.ILoggerRepository, System.IO.FileInfo)0272e6a0 1fa12a7f log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(log4net.Repository.ILoggerRepository, System.IO.FileInfo)0272e6b0 1fa12a3f log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile(System.Reflection.Assembly, log4net.Repository.ILoggerRepository)0272e6ec 1fa12834 log4net.Config.XmlConfiguratorAttribute.Configure(System.Reflection.Assembly, log4net.Repository.ILoggerRepository)0272e724 1fa124aa log4net.Core.DefaultRepositorySelector.ConfigureRepository(System.Reflection.Assembly, log4net.Repository.ILoggerRepository)0272e76c 1fa10f4f log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly, System.Type, System.String, Boolean)0272e7bc 1fa10d5a log4net.Core.DefaultRepositorySelector.CreateRepository(System.Reflection.Assembly, System.Type)0272e7c4 1fa10d05 log4net.Core.DefaultRepositorySelector.GetRepository(System.Reflection.Assembly)0272e7d0 1fa10c6e log4net.Core.LoggerManager.GetLogger(System.Reflection.Assembly, System.String)0272e7e0 1fa101f1 log4net.LogManager.GetLogger(System.Reflection.Assembly, System.String)0272e7e8 1fa101d3 log4net.LogManager.GetLogger(System.Type)0272e7f8 1fa1009a EPiServer.Global..cctor()0272ea04 79e71b4c [GCFrame: 0272ea04] 0272efa4 79e71b4c [PrestubMethodFrame: 0272efa4] EPiServer.Global..ctor()0272efb4 1fa00076 ASP.global_asax..ctor()0272f1d8 79e71b4c [GCFrame: 0272f1d8] 0272f2a0 79e71b4c [GCFrame: 0272f2a0] 0272f2bc 79e71b4c [HelperMethodFrame_2OBJ: 0272f2bc] System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandle ByRef, Boolean ByRef)0272f438 792efff7 System.RuntimeType.CreateInstanceSlow(Boolean, Boolean)0272f468 792eff67 System.RuntimeType.CreateInstanceImpl(Boolean, Boolean, Boolean)0272f4a0 792f0164 System.Activator.CreateInstance(System.Type, Boolean)0272f4b0 79288b13 System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object, System.Globalization.CultureInfo, System.Object)0272f510 79280de0 System.Activator.CreateInstance(System.Type, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object, System.Globalization.CultureInfo, System.Object)0272f534 6608706e System.Web.HttpApplicationFactory.GetNormalApplicationInstance(System.Web.HttpContext)0272f570 6608627c System.Web.HttpApplicationFactory.GetApplicationInstance(System.Web.HttpContext)0272f580 66083dc2 System.Web.HttpRuntime.ProcessRequestInternal(System.Web.HttpWorkerRequest)0272f5b4 66083ac3 System.Web.HttpRuntime.ProcessRequestNoDemand(System.Web.HttpWorkerRequest)0272f5c4 66082c5c System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr, Int32)0272f7d8 79f68c4e [ContextTransitionFrame: 0272f7d8] 0272f80c 79f68c4e [GCFrame: 0272f80c] 0272f968 79f68c4e [ComMethodFrame: 0272f968]
Anyone has any idea what the error can be or tips on how I can dig deeper inte the problem?
The event message is this:
Event Type: ErrorEvent Source: .NET Runtime 2.0 Error ReportingEvent Category: NoneEvent ID: 1000Date: 2009-08-19Time: 06:41:48User: N/AComputer: ELM112Description:Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d6968e, faulting module kernel32.dll, version 5.2.3790.4062, stamp 4626467c, debug? 0, fault address 0x00022366.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.Data:0000: 41 00 70 00 70 00 6c 00 A.p.p.l.0008: 69 00 63 00 61 00 74 00 i.c.a.t.0010: 69 00 6f 00 6e 00 20 00 i.o.n. .0018: 46 00 61 00 69 00 6c 00 F.a.i.l.0020: 75 00 72 00 65 00 20 00 u.r.e. .0028: 20 00 77 00 33 00 77 00 .w.3.w.0030: 70 00 2e 00 65 00 78 00 p...e.x.0038: 65 00 20 00 36 00 2e 00 e. .6...0040: 30 00 2e 00 33 00 37 00 0...3.7.0048: 39 00 30 00 2e 00 33 00 9.0...3.0050: 39 00 35 00 39 00 20 00 9.5.9. .0058: 34 00 35 00 64 00 36 00 4.5.d.6.0060: 39 00 36 00 38 00 65 00 9.6.8.e.0068: 20 00 69 00 6e 00 20 00 .i.n. .0070: 6b 00 65 00 72 00 6e 00 k.e.r.n.0078: 65 00 6c 00 33 00 32 00 e.l.3.2.0080: 2e 00 64 00 6c 00 6c 00 ..d.l.l.0088: 20 00 35 00 2e 00 32 00 .5...2.0090: 2e 00 33 00 37 00 39 00 ..3.7.9.0098: 30 00 2e 00 34 00 30 00 0...4.0.00a0: 36 00 32 00 20 00 34 00 6.2. .4.00a8: 36 00 32 00 36 00 34 00 188.8.131.52.00b0: 36 00 37 00 63 00 20 00 6.7.c. .00b8: 66 00 44 00 65 00 62 00 f.D.e.b.00c0: 75 00 67 00 20 00 30 00 u.g. .0.00c8: 20 00 61 00 74 00 20 00 .a.t. .00d0: 6f 00 66 00 66 00 73 00 o.f.f.s.00d8: 65 00 74 00 20 00 30 00 e.t. .0.00e0: 30 00 30 00 32 00 32 00 0.0.2.2.00e8: 33 00 36 00 36 00 0d 00 3.6.6...00f0: 0a 00 ..
All help is greatly appreciated
we are experiencing similar problems on win2003 when upgrading to CMS 5 R2 SP1, just wondering wich versions etc you are using.
Have you managed to solve your problem?
Looks like our problem might have been caused by pages referencing themselfes, got this SQL from support and found one pages fetching data from itself, might be worth looking into if your problem havn't been resolved.
--- You can also run the follwoing query and see if you get any circular references.
CREATE TABLE #temp (fkPageID int, fkPageLinkID int) INSERT INTO #temp SELECT fkpageID, fkPageLinkID FROM dbo.tblPageLanguage T WHERE T.fkPageLinkID IS NOT NULL
SELECT T1.fkPageId, T1.fkPageLinkId FROM dbo.tblPageLanguage T1 INNER JOIN #temp T2 ON T1.fkPageID = t2.fkPageLinkId AND T1.fkPageLinkId = T2.fkPageID AND t1.fkPageLinkId IS NOT NULL
We have not solved this yet and the SQL-query returns no pages. The question is if this symptom can be achieved programmatically? We have most certainly narrowed the error down to our custom membership provider or virtual role. Since you solved the problem by finding circular references perhaps our error is that also just that it is made in code.
The only reference to a page though in our code is that in our virtual role we need a dynamic property so we use this code to read the current page:
int pageId = int.Parse(HttpContext.Current.Request.QueryString["id"]); PageData page = EPiServer.DataFactory.Instance.GetPage(new PageReference(pageId));
Could it be this that is causing the problem or what should I look for in our code to be able to tell if this problem can occur?
Seems that I have found the source of the error or so I hope atl east. There was a chain of events that caused a stack overflow in an entirely different part of the code than where I was searching. I thank Microsoft for the very helpful error messages... not
I had the same problem and got the message from the support that it's a bug in CMS5 SP2. I ran the script that Anders mentioned and got several pages with circular references. I deleted the references and the site worked like a charm...
Anyone know if there's a fix for this yet?
Hi, Yes, this bug has already been fixed in R2-SP2 release. Just upgrade to SP2 release. Bug # 20477.http://world.episerver.com/Support/Bug-List/
Hi, I think this bug still exist in episerver cms 6. I just upgraded a site from cms5 R2, and experienced a faulting w3wp.exe crashing the dw20.exe prosess and hengups. I ran the SQL in this post, removed the causing pages, and now the site runs fine:). Just good to know if you experience the same while upgrading:)
I have also heard about this in CMS 6. Not sure it is the same bug, but it relates to pages linking to themselves, or the parent page.
Having IIS crash is not a very common issue, and it is usually related to some sort of recursive method failing. If the site starts up fine, but then suddenly crashes, it might be that the "offending" page is not being loaded until some user or robot visits that page.
I have reproduced the issue in CMS-6 and have reported it as a new issue :Bug #57808
You could follow the status of this bug once it get triaged through: http://world.episerver.com/Support/Bug-List/
Thanks for your feedback.
Hi Shadid. I'm having the same problem.
It seems to stop when I'm on the Edit mode. I've tried to run your script but with my version, 6. The table tblPageLanguage does not have the same structure so I can't run the script to see what pages are doing this problem.
Was this problem solved? What can I do in this case?
Bug (#57835) was fixed and release in 6R2 and I assume you are running the 6R2 (6.1.379.0) version. Have you tried to logn on debug level to see if you find any traces? Do you see any clue in Event Viewer?
Yes, we have that version, 6R2.
I went to the Event Viewer but didn't found much. Just one error that occured much before this problem.
I'm using the sample Alloy Technologies.
It occurs after some 3-4 minutes after I land on the site.
More description about the problem:
This seems to come from the Episerver application and not from Alloy.
Thank you for your help,