[Mono-bugs] [Bug 55638][Blo] New - Error when reading XML file in Mono 0.30.2

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 15 Mar 2004 22:29:45 -0500 (EST)


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 ivazquez-devel@sympatico.ca.

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

--- shadow/55638	2004-03-15 22:29:45.000000000 -0500
+++ shadow/55638.tmp.8539	2004-03-15 22:29:45.000000000 -0500
@@ -0,0 +1,81 @@
+Bug#: 55638
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Fedora 1.0
+OS Details: Fedora Core 1.0, latest updates, mono-0.30.2, libicu26-2.6.1, icu-2.6.1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ivazquez-devel@sympatico.ca               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Error when reading XML file in Mono 0.30.2
+
+Description of Problem:
+When starting up RunUO beta 36 (http://www.runuo.com/) an exception is 
+thrown when reading the Regions.xml data file.
+
+Steps to reproduce the problem:
+1. Delete the Saves directory from a RunUO beta 36 distribution.
+2. Modify the Scripts/Misc/ServerList.cs file as follows:
+ a. Comment out the ServerList.EventSink_ServerList() method and replace 
+with the following:
+	IPAddress ip;
+	Resolve( Dns.GetHostName(), out ip );
+	e.AddServer( "Linux/Mono Test", new IPEndPoint( ip, 2593 ) );
+
+3. Start the Server.exe assembly in Mono 0.30.2.
+
+Actual Results:
+[root@linux RunUO-Beta-36]# mono Server.exe
+Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
+Scripts: Compiling VB.net scripts...no files found.
+Scripts: Verifying...done (1313 items, 364 mobiles)
+World: Loading...done (0 items, 0 mobiles) (0.0 seconds)
+This server has no accounts.
+Do you want to create an administrator account now? (y/n)
+y
+Username: ivazquez
+Password: <removed>
+Account created, continuing
+Regions: Loading...Error:
+System.ObjectDisposedException: The object was used after being disposed
+in <0x00076> System.IO.FileStream:Read (byte[],int,int)
+in <0x000c9> Mono.Xml.Native.XmlInputStream:Read (byte[],int,int)
+in <0x00065> System.IO.StreamReader:ReadBuffer ()
+in <0x00050> (wrapper remoting-invoke-with-check) 
+System.IO.StreamReader:ReadBuffer ()
+in <0x00065> System.IO.StreamReader:Read ()
+in <0x00086> System.Xml.XmlTextReader:PeekChar ()
+in <0x0009f> System.Xml.XmlTextReader:ReadContent ()
+in <0x001a7> System.Xml.XmlTextReader:Read ()
+in <0x015a6> Server.Region:Load ()
+in <0x00523> Server.Core:Main (string[])
+
+Expected Results:
+[root@linux RunUO-Beta-36]# mono Server.exe
+Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
+Scripts: Compiling VB.net scripts...no files found.
+Scripts: Verifying...done (1313 items, 364 mobiles)
+World: Loading...done (0 items, 0 mobiles) (0.0 seconds)
+This server has no accounts.
+Do you want to create an administrator account now? (y/n)
+y
+Username: ivazquez
+Password: <removed>
+Account created, continuing
+Regions: Loading...done
+Address: 127.0.0.1:2593
+Address: 192.168.0.2:2593
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+You can contact ryan@runuo.com if you require a copy of beta 36 and don't 
+want to register.