[Mono-bugs] [Bug 77810][Cri] New - Loading a page in XSP compiled on mono for osx86 fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Mar 17 01:45:41 EST 2006

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 seanhig at geminibay.com.


--- shadow/77810	2006-03-17 01:45:41.000000000 -0500
+++ shadow/77810.tmp.23666	2006-03-17 01:45:41.000000000 -0500
@@ -0,0 +1,85 @@
+Bug#: 77810
+Product: Mono: Runtime
+Version: 1.0
+OS: other
+OS Details: Mac OSX on Intel (Macbook Pro)
+Status: NEW   
+Priority: Critical
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: seanhig at geminibay.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Loading a page in XSP compiled on mono for osx86 fails
+Description of Problem:
+I downloaded the latest source of xsp (1.13) and compiled it using the mono test package for 
+osx86 (on my new macbook).  It compiled and started, but when first attempting to load any 
+page the following exception is thrown:
+Steps to reproduce the problem:
+1. install the test package for osx86 and compile the current xsp sources
+2. cd to the test subfolder and start xsp 
+3. browse to the url, and the exception will appear
+Actual Results:
+Listening on port: 8080 (non-secure)
+Listening on address:
+Root directory: /Users/seanhig/xsp-1.1.13/test
+Hit Return to stop the server.
+System.TypeInitializationException: An exception was thrown by the type initializer for 
+System.Runtime.Remoting.RemotingServices ---> System.ArgumentException: Reading would 
+overrun buffer
+in <0x00297> System.IO.FileStream:Read (System.Byte[] dest, Int32 dest_offset, Int32 count)
+in <0x00040> System.IO.StreamReader:ReadBuffer ()
+in <0x00070> System.IO.StreamReader:Read (System.Char[] dest_buffer, Int32 index, Int32 
+in <0x00098> System.IO.StreamReader:ReadToEnd ()
+in <0x000fc> System.Security.Cryptography.CryptoConfig:LoadConfig (System.String filename, 
+System.Collections.Hashtable algorithms, System.Collections.Hashtable oid)
+in <0x00656> System.Security.Cryptography.CryptoConfig:Initialize ()
+in <0x0004b> System.Security.Cryptography.CryptoConfig:CreateFromName (System.String 
+name, System.Object[] args)
+in <0x00012> System.Security.Cryptography.CryptoConfig:CreateFromName (System.String 
+in <0x00011> System.Security.Cryptography.RandomNumberGenerator:Create (System.String 
+in <0x00012> System.Security.Cryptography.RandomNumberGenerator:Create ()
+in <0x00068> System.Guid:NewGuid ()
+in <0x00105> System.Runtime.Remoting.RemotingServices:.cctor ()--- End of inner exception 
+stack trace ---
+in <0x00000> <unknown method>
+in <0x000b4> System.AppDomain:CreateDomain (System.String friendlyName, 
+System.Security.Policy.Evidence securityInfo, System.AppDomainSetup info)
+in <0x003c7> System.Web.Hosting.ApplicationHost:CreateApplicationHost (System.Type 
+hostType, System.String virtualDir, System.String physicalDir)
+in <0x0008d> Mono.WebServer.VPathToHost:CreateHost (Mono.WebServer.ApplicationServer 
+server, IWebSource webSource)
+in <0x000f8> Mono.WebServer.ApplicationServer:GetApplicationForPath (System.String vhost, 
+Int32 port, System.String path, Boolean defaultToRoot)
+in (wrapper remoting-invoke-with-check) 
+Mono.WebServer.ApplicationServer:GetApplicationForPath (string,int,string,bool)
+in <0x00176> Mono.WebServer.XSPWorker:InnerRun (System.Object state)
+in <0x00025> Mono.WebServer.XSPWorker:Run (System.Object state)
+Unhandled Exception: System.InvalidCastException: Cannot cast from source type to destination 
+in <0x000c0> Mono.WebServer.ApplicationServer:RunServer ()
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
+Expected Results:
+-> Something better then a puke :)
+How often does this happen? 
+-> Any time you go to use it.
+Additional Information:

More information about the mono-bugs mailing list