[Mono-bugs] [Bug 60165][Nor] New - Intermittent crash when ASPX downloads other pages

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 14 Jun 2004 16:32:20 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by andrewarnott@byu.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=60165

--- shadow/60165	2004-06-14 16:32:20.000000000 -0400
+++ shadow/60165.tmp.31845	2004-06-14 16:32:20.000000000 -0400
@@ -0,0 +1,87 @@
+Bug#: 60165
+Product: Mono: Class Libraries
+Version: unspecified
+OS: SUSE 9.0
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: AndrewArnott@byu.edu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Intermittent crash when ASPX downloads other pages
+
+Description of Problem:
+One web page has code that loads up an XmlDocument from an HTTP source. 
+Mono intermittently crashes.  It seems to be after a period of inactivity
+(between 10-20 minutes)
+
+Steps to reproduce the problem:
+1. I'm afraid I don't have a simplified case to reproduce the problem.  I'm
+hoping that the included stack trace below is all you need.  If a
+simplified case is required, I may be able to provide it.  Just add to this
+bug.
+2. 
+3. 
+
+Actual Results:
+
+Server error in '/' application
+Description: Error processing request.
+
+Error Message: HTTP 500.
+
+Stack Trace:
+
+System.ArgumentNullException: Argument cannot be null.
+Parameter name: asyncResult
+in <0x00045> System.Net.HttpWebRequest:EndGetResponse (System.IAsyncResult)
+in <0x00066> System.Net.HttpWebRequest:GetResponse ()
+in <0x00032> System.Net.WebClient:DownloadData (string)
+in <0x0005d> (wrapper remoting-invoke-with-check)
+System.Net.WebClient:DownloadData (string)
+in <0x001b8> System.Xml.XmlUrlResolver:GetEntity
+(System.Uri,string,System.Type)
+in <0x00116> System.Xml.XmlTextReader:.ctor (string,System.Xml.XmlNameTable)
+in <0x00037> System.Xml.XmlTextReader:.ctor (string)
+in <0x000f3> School.Utils:loadValidXml (string,bool,System.Web.UI.Page)
+in <0x000a4> School.Theme.Page:SiteInParentSiteMapXml (System.Xml.XmlNode)
+in <0x000e0> School.Theme.BreadcrumbBar:BreadcrumbBar_Init
+(object,System.EventArgs)
+in <0x0006a> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x00075> System.Web.UI.Control:OnInit (System.EventArgs)
+in <0x00289> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
+in <0x00198> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
+in <0x00198> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
+in <0x00198> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
+in <0x000e9> System.Web.UI.Control:AddedControl (System.Web.UI.Control,int)
+in <0x000ad> System.Web.UI.ControlCollection:Add (System.Web.UI.Control)
+in <0x007e9> School.Theme.Page:ApplyTemplate ()
+in <0x00027> School.Theme.Page:Page_Init (object,System.EventArgs)
+in <0x0006a> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x00075> System.Web.UI.Control:OnInit (System.EventArgs)
+in <0x00289> System.Web.UI.Control:InitRecursive (System.Web.UI.Control)
+in <0x00063> System.Web.UI.Page:InternalProcessRequest ()
+in <0x0008d> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
+in <0x002e8> ExecuteHandlerState:Execute ()
+in <0x00084> StateMachine:ExecuteState
+(System.Web.HttpApplication/IStateHandler,bool&)
+
+
+
+Expected Results:
+A loaded XML file --> a loaded web page
+
+How often does this happen? 
+After 10 minutes or so of inactivity.
+
+Additional Information:
+It looks like an asynchronous call to GetResponse in incorrectly
+terminating, based on the stack trace.