[Mono-dev] Mono Runtime error using Remoting on Maemo

Danilo Freire xharada at gmail.com
Wed Apr 25 10:02:35 EDT 2007


hi,

I'm attaching the sample app (server and client, just the .cs files).
When you say bugreport, there is a formal way to make it?

First you run the server app (on N800), it will wait for a request from the
client just fine. When the client make the request, that bug appears.

The same bug appears, when I'm running the server on a desktop and the
client on a N800. But now, the bug appears on the Client, and not on the
Server. Also, the bug appears after the client sends the request. Then, I
think that the problem is in the BinaryFormatter in Maemo. Specifically when
it receives a message from the network, but that is just a guess.

thanks
[]s

On 4/25/07, Everaldo Canuto <everaldo at simios.org> wrote:
>
> Hi,
>
> Looks like an bug, can you please fill a bugreport with a sample App
> then I can take a look at it later.
>
> Everaldo.
>
> On 4/25/07, Danilo Freire <xharada at gmail.com> wrote:
> > Hi,
> >
> > I'm trying to use a simple helloworld Runtime.Remoting application
> (Client
> > and Server) at a N800 device (Both applications run without problem in a
> > desktop ), and the following problem appears at the server when the
> client
> > tries to connect with it:
> >
> > Server Stack:
> >
> > >
> > > Nokia-N800-10:~/MonoStuff# mono RemotingServer.exe
> > > Press the enter key to exit...
> > > mono[8035]: GLIB ERROR ** default - file inssel.c: line 3502
> > (mono_burg_emit): should not be reached
> > > aborting...
> > > Stacktrace:
> > >
> > >   at
> >
> System.Runtime.Serialization.Formatters.Binary.MessageFormatter.ReadMethodCall
> > (System.IO.BinaryReader,bool,
> System.Runtime.Remoting.Messaging.HeaderHandler,
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter)
> > <0xffffffff>
> > >   at
> >
> System.Runtime.Serialization.Formatters.Binary.MessageFormatter.ReadMethodCall
> > (System.IO.BinaryReader,bool,
> System.Runtime.Remoting.Messaging.HeaderHandler,
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter)
> > <0x00218>
> > >
> > > Native stacktrace:
> > >
> > >         mono [0x100688]
> > >         /usr/lib/libglib- 2.0.so.0(g_logv+0x268) [0x4115b42d]
> > >
> > >
> > =================================================================
> > > Got a SIGABRT while executing native code. This usually indicates
> > > a fatal error in the mono runtime or one of the native libraries
> > > used by your application.
> > >
> > =================================================================
> > >
> >
> > and at the Client application:
> >
> > >
> > > Nokia-N800-10:~/MonoStuff# mono MaemoClient.exe
> > >
> > > Unhandled Exception:
> > System.Runtime.Remoting.RemotingException: Tcp transport
> > error.
> > >
> > > Server stack trace:
> > >   at
> > System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.ReceiveMessageStatus
> > (System.IO.Stream networkStream, System.Byte[] buffer) [0x00000]
> > >   at
> >
> System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage
> > (IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream
> > requestStream, ITransportHeaders& responseHeaders, System.IO.Stream&
> > responseStream) [0x00000]
> > >   at
> >
> System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage
> > (IMessage msg) [0x00000]
> > >
> > > Exception rethrown at [0]:
> > >  ---> System.Runtime.Remoting.RemotingException :
> > Connection closed
> > >   at
> > System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.StreamRead
> > (System.IO.Stream networkStream, System.Byte[] buffer, Int32 count)
> > [0x00000]
> > >   at
> > System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.ReceiveMessageStatus
> > (System.IO.Stream networkStream, System.Byte[] buffer) [0x00000] --- End
> of
> > inner exception stack trace ---
> > >
> > >   at
> > System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.ReceiveMessageStatus
> > (System.IO.Stream networkStream, System.Byte[] buffer) [0x00000]
> > >   at
> >
> System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage
> > (IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream
> > requestStream, ITransportHeaders& responseHeaders, System.IO.Stream&
> > responseStream) [0x00000]
> > >   at
> >
> System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage
> > (IMessage msg) [0x00000]
> > >
> >
> > The problem appears exactly when the server receives the request form
> the
> > client.
> >
> > Is that a known bug? It appears to be a problem at Mono runtime of
> maemo.
> > Any tip will be helpful.
> >
> > thanks anticipate
> > []s
> >
> > --
> > Danilo Freire
> >
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
>



-- 
Danilo Freire de Souza Santos
Laboratório de Sistemas Embarcados e Computação Pervasiva
Centro de Engenharia Elétrica e Informática - CEEI
Universidade Federal de Campina Grande - UFCG
e-mails: danilo at dee.ufcg.edu.br
            danfss at yahoo.com.br
webpage: http://www.dee.ufcg.edu.br/~danilo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070425/b7e46044/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ServerSample.tar.gz
Type: application/x-gzip
Size: 1190 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070425/b7e46044/attachment.gz 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SampleClient.tar.gz
Type: application/x-gzip
Size: 1231 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070425/b7e46044/attachment-0001.gz 


More information about the Mono-devel-list mailing list