[Mono-bugs] [Bug 68669][Maj] New - MarshalByRef remoting busted?

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 21 Oct 2004 22:31:44 -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 james@ximian.com.

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

--- shadow/68669	2004-10-21 22:31:44.000000000 -0400
+++ shadow/68669.tmp.4358	2004-10-21 22:31:44.000000000 -0400
@@ -0,0 +1,71 @@
+Bug#: 68669
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: System
+AssignedTo: lluis@ximian.com                            
+ReportedBy: james@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MarshalByRef remoting busted?
+
+MarshalByRef objects are not remotable with HEAD mono, it seems.  I have a
+small test case, and I get the following exception when trying to get a
+remote object using Activator.GetObject()
+
+Unhandled Exception: System.Runtime.Remoting.RemotingException: Cannot
+create channel sink to connect to URL
+2ab06056_1356_47ce_8d5c_768a8f4de312/551260321_2.rem. An appropriate
+channel has probably not been registered.
+ 
+Server stack trace:
+in <0x0007a>
+System.Runtime.Remoting.RemotingServices:GetClientChannelSinkChain
+(string,object,string&)
+in <0x00097>
+System.Runtime.Remoting.RemotingServices:GetOrCreateClientIdentity
+(System.Runtime.Remoting.ObjRef,System.Type,object&)
+in <0x0001c> System.Runtime.Remoting.RemotingServices:GetRemoteObject
+(System.Runtime.Remoting.ObjRef,System.Type)
+in <0x00068>
+System.Runtime.Remoting.RemotingServices:GetProxyForRemoteObject
+(System.Runtime.Remoting.ObjRef,System.Type)
+in <0x000e6> System.Runtime.Remoting.RemotingServices:Unmarshal
+(System.Runtime.Remoting.ObjRef,bool)
+in <0x0000d> System.Runtime.Remoting.RemotingServices:Unmarshal
+(System.Runtime.Remoting.ObjRef)
+in <0x0001c> System.Runtime.Remoting.ObjRef:GetRealObject
+(System.Runtime.Serialization.StreamingContext)
+in <0x004ad> System.Runtime.Serialization.ObjectRecord:LoadData
+(System.Runtime.Serialization.ObjectManager,System.Runtime.Serialization.ISurrogateSelector,System.Runtime.Serialization.StreamingContext)
+in <0x00112> System.Runtime.Serialization.ObjectManager:DoFixups ()
+in <0x00044>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject
+(System.IO.BinaryReader)
+in <0x000b0>
+System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph
+(System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Header[]&)
+in <0x00310>
+System.Runtime.Serialization.Formatters.Binary.MessageFormatter:ReadMethodResponse
+(System.IO.BinaryReader,bool,System.Runtime.Remoting.Messaging.HeaderHandler,System.Runtime.Remoting.Messaging.IMethodCallMessage,System.Runtime.Serialization.Formatters.Binary.BinaryFormatter)
+in <0x000dd>
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:DeserializeMethodResponse
+(System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler,System.Runtime.Remoting.Messaging.IMethodCallMessage)
+in <0x003fa>
+System.Runtime.Remoting.Channels.BinaryClientFormatterSink:SyncProcessMessage
+(System.Runtime.Remoting.Messaging.IMessage)
+ 
+ 
+Exception rethrown at [0]:
+ 
+in <0xc66949dc> (wrapper remoting-invoke) Foo:GetStuff ()
+in <0x00004> (wrapper remoting-invoke) Foo:GetStuff ()
+in <0x0002c> (wrapper remoting-invoke-with-check) Foo:GetStuff ()
+in <0x00114> Client:Main (string[])