Bugzilla – Bug 320681
[OS X - MacIntel] Exception thrown running XSP tests
Last modified: 2008-03-07 08:47:26 UTC
---- Reported by cgaisford@novell.com 2006-03-27 11:24:24 MST ---- I pulled the latest mono and XSP from svn trunk and ran a make install. I changed into the xsp test directory and started up xsp then hit localhost:8080 from a browser and XSP dumps the following exception out to the screen... (by the way, this problem is the same problem that is holding iFolder up from having a client on Intel Mac) System.TypeInitializationException: An exception was thrown by the type initializer for System.Runtime.Remoting.RemotingServices ---> System.ArgumentException: Reading would overrun buffer in <0x0025b> 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 count) in <0x00098> System.IO.StreamReader:ReadToEnd () in <0x00116> 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 name) in <0x00011> System.Security.Cryptography.RandomNumberGenerator:Create (System.String rngName) 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 <0x00379> 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 <0x000fb> 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 type. in <0x000c0> Mono.WebServer.ApplicationServer:RunServer () in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () ---- Additional Comments From gonzalo@ximian.com 2006-03-27 17:56:31 MST ---- This works fine on x86 --> runtime Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>OS X on an Intel Mac</cf_op_sys_details> Unknown operating system other. Setting to default OS "Other".
calvin, I can't replicate this on trunk, are you still seeing this?