Bug 320681 (MONO77930) - [OS X - MacIntel] Exception thrown running XSP tests
Summary: [OS X - MacIntel] Exception thrown running XSP tests
Status: RESOLVED FIXED
Alias: MONO77930
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: x86 Mac OS X 10.5
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Paolo Molaro
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: Sprint3
Depends on:
Blocks:
 
Reported: 2006-03-27 18:24 UTC by Calvin Gaisford
Modified: 2008-03-07 08:47 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:53:13 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".

Comment 1 Geoff Norton 2008-03-04 15:50:35 UTC
calvin,

  I can't replicate this on trunk, are you still seeing this?