[Mono-dev] Mono problem using Maemo

Danilo Freire xharada at gmail.com
Mon Apr 23 18:19:56 EDT 2007


Hi,

I trying to use a simple helloworld Runtime.Remoting application (Client and
Server) at a N800 device, and the following problem appears at the server
when the client tries to connect with it:

Both applications run without problem in a desktop.

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]
>


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070423/2a2a45e4/attachment.html 


More information about the Mono-devel-list mailing list