[Mono-dev] DotNet Remoting : Failed to read past end of stream

Hubert FONGARNAND informatique.internet at fiducial.fr
Fri Sep 30 02:36:39 EDT 2005


Le jeudi 29 septembre 2005 à 17:27 +0200, Hubert FONGARNAND a écrit :

> Le jeudi 29 septembre 2005 à 17:12 +0200, Yngve Zackrisson a écrit : 
> 
> > Hi Hubert
> > 
> > Maybe there is to many special characters in the string. 
> > Try a string without special characters. 
> > If the special characters are needed add a @ before the string 
> > i.e. @"CODE des types de notes à afficher ex NOTTECH_EXPE, on gère *
> > exemple NOTETECH* on prend tous les codes commençant par NOTENAT"
> > 
> 
> It's the same thing...
> nothing changes
> 
> I've filled a bug report :
> http://bugzilla.ximian.com/show_bug.cgi?id=76276


I've seen that this bug causes many problems (out of memory error, mono
crash) when transmitting this string encapsulated in a very complex
object (collections)


> 
> 
> > Hope this helps 
> > 
> > 
> > Yngve Zackrisson.
> > 
> > On Thu, 2005-09-29 at 16:56, Hubert FONGARNAND wrote:
> > > Hello
> > > 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)
> > > 
> > > Thanks
> > > I will fill a bug report
> > > _______________________________________________
> > > Ce message et les ventuels documents joints peuvent contenir des
> > > informations confidentielles.
> > > Au cas o il ne vous serait pas destin, nous vous remercions de bien
> > > vouloir le supprimer et en aviser immdiatement l'expditeur. Toute
> > > utilisation de ce message non conforme sa destination, toute diffusion
> > > ou publication, totale ou partielle et quel qu'en soit le moyen est
> > > formellement interdite.
> > > Les communications sur internet n'tant pas scurises, l'intgrit de ce
> > > message n'est pas assure et la socit mettrice ne peut tre tenue pour
> > > responsable de son contenu. 
> > > 
> > > ______________________________________________________________________
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> _______________________________________________
> Ce message et les ventuels documents joints peuvent contenir des
> informations confidentielles.
> Au cas oe il ne vous serait pas destin, nous vous remercions de bien
> vouloir le supprimer et en aviser imm>diatement l'expditeur. Toute
> utilisation de ce message non conforme n sa destination, toute
> diffusion ou publication, totale ou partielle et quel qu'en soit le
> moyen est formellement interdite.
> Les communications sur internet n'tant pas s0curises, l'intsgrit de ce
> message n'est pas assurte et la socitt mettrice ne peut Ftre tenue
> pour responsable de son contenu. 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050930/b0e6c0dc/attachment.html 


More information about the Mono-devel-list mailing list