[Mono-bugs] [Bug 47686][Nor] New - CallContextRemotingData is not marked as Serializable

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 17 Aug 2003 11:13:26 -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 jlaban@wanadoo.fr.

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

--- shadow/47686	2003-08-17 11:13:26.000000000 -0400
+++ shadow/47686.tmp.26310	2003-08-17 11:13:26.000000000 -0400
@@ -0,0 +1,43 @@
+Bug#: 47686
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jlaban@wanadoo.Fr               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CallContextRemotingData is not marked as Serializable
+
+This class does not need to be serialized (MS.NET does not mark it as 
+serializable), but mono's remoting requires it to be so.
+
+This is a regression, as the following code works in mono 0.25 and does 
+not in current CVS.
+
+Here is the full stack for the exception :
+
+System.Runtime.Serialization.SerializationException: Type 
+System.Runtime.Remoting.Messaging.CallContextRemotingData is not marked as 
+Serializable and does not implement ISerializable.
+
+in <0x000ab> 00 System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke 
+(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messagin
+g.IMessage,System.Exception&,object[]&)
+in (unmanaged) 07 LinuxIGD.DaemonControl:.ctor (string)
+in <0x00004> 07 LinuxIGD.DaemonControl:.ctor (string)
+in (unmanaged) /usr/lib/libmono.so.0 [0x400579d0]
+in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke+0x27) [0x400a2e8f]
+in (unmanaged) /usr/lib/libmono.so.0(mono_runtime_invoke_array+0x1d4) 
+[0x400a3c51]
+in (unmanaged) /usr/lib/libmono.so.0 [0x400a9dfa]
+in <0x0009c> 00 System.Reflection.MonoCMethod:Invoke 
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object
+[],System.Globalization.CultureInfo)