[Mono-bugs] [Bug 76276][Wis] New - DotNet Remoting : Failed to read past end of stream

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 29 11:36:15 EDT 2005


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 informatique.internet at fiducial.fr.

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

--- shadow/76276	2005-09-29 11:36:15.000000000 -0400
+++ shadow/76276.tmp.14682	2005-09-29 11:36:15.000000000 -0400
@@ -0,0 +1,62 @@
+Bug#: 76276
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DotNet Remoting : Failed to read past end of stream 
+
+There's surely a bug with serializing and deserializing string in mono...
+
+I've done a little .NET remoting serveur :  with a single Hello Method :
+
+
+public string Echo(string text)
+{
+log.Info("Appel fonction Hello");
+return text; 
+} 
+
+If I call this method on the client with :
+
+ChannelServices.RegisterChannel(new TcpChannel()); 
+ConverterManager =
+(IConverterManager)Activator.GetObject(typeof(IConverterManager),"tcp://hublinux:4570/CConverterManager");
+Console.WriteLine(ConverterManager.Echo("CODE des types de notes à afficher
+ex NOTTECH_EXPE, on gère * exemple NOTETECH* on prend tous les codes
+commençant par NOTENAT"));
+}
+catch (Exception e)
+{
+Console.WriteLine("Impossible de se connecter: "+e.Message);
+return -1;
+}
+
+it crashs only with this string : CODE des types de notes à afficher ex
+NOTTECH_EXPE, on gère * exemple NOTETECH* on prend tous les codes
+commençant par NOTENAT
+i don't know why??????
+
+I Get: 
+
+Failed to read past end of stream.
+in [0x00188] (at
+/home/hubert/mono/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:219)
+System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke
+(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
+System.Exception exc, System.Object[] out_args)
+
+I get this error with :
+
+Mono (Client) and Mono (Server)
+Mono (Server) and Windows (Client)


More information about the mono-bugs mailing list