Bugzilla – Bug 324148
Incompatibilty between Windows .net and Mono Linux
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by mercier.eric@gmail.com 2007-04-27 06:28:04 MST ---- I have and application which use a lot the remoting. Between 2 Windows .net, this application works fine. If the mono Linux machine calls a remote object from the windows .net machine, it works fine too. But if the windows .net machine calls an object from the mono Linux machine, the mono linux machine throws this to the windows machine: Server stack trace: at <0x00000> <unknown method> at (wrapper managed-to-native) System.Type:internal_from_name (string,bool,bool) at System.Type.GetType (System.String typeName, Boolean throwOnError) [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadType (System.IO.BinaryReader reader, TypeTag code) [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadata ( System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo) [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInstance (System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean hasTypeInfo, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject (BinaryElement element, System.IO.BinaryReader reader, System.Int64& objectId, System.Object& value, System.Runtime.Serialization.SerializationInfo& info) [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject (System.IO.BinaryReader reader) [0x00000] at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result, System.Runtime.Remoting.Messaging.Header []& headers) [0x00000] at System.Runtime.Serialization.Formatters.Binary.MessageFormatter.ReadMethodCall (System.IO.BinaryReader reader, Boolean hasHeaders, System.Runtime.Remoting.Messaging.HeaderHandler headerHandler, System.Runtime.Serialization.Formatters.Binary.BinaryFormatter formatter) [0x00000] at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage (IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, System.IO.Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, System.IO.Stream& responseStream) [0x00000] Exception rethrown at [0]: à System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) à System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) à Declic.ISearchEngine.add_SearchStopped(RemoteEvent value) à Declic.Premium.RemoteAgent.set_RemoteSearchEngine(ISearchEngine value) dans C:\Documents and Settings\luka\Mes documents\Visual Studio 2005\Projects\Déclic V4\Declic.root\Declic\Declic.Premium\Distributed\RemoteAgent.cs:ligne 27 à Declic.Premium.RemoteAgent..ctor(ISearchEngine remSearchEngine) dans C:\Documents and Settings\luka\Mes documents\Visual Studio 2005\Projects\Déclic V4\Declic.root\Declic\Declic.Premium\Distributed\RemoteAgent.cs:ligne 17 à Declic.Premium.RemoteAgentPool..ctor(IEnumerable`1 iSearchEngines) dans C:\Documents and Settings\luka\Mes documents\Visual Studio 2005\Projects\Déclic V4\Declic.root\Declic\Declic.Premium\RemoteAgentPool.cs:ligne 28 à Declic.Premium.RemoteAgentPool..ctor(ISearchEngine[] iSearchEngines) dans C:\Documents and Settings\luka\Mes documents\Visual Studio 2005\Projects\Déclic V4\Declic.root\Declic\Declic.Premium\RemoteAgentPool.cs:ligne 11 à Declic.SmallTest.MainForm.Run() dans C:\Documents and Settings\luka\Mes documents\Visual Studio 2005\Projects\Déclic V4\Declic.root\Declic\SmallTest\Form1.cs:ligne 1975 à Declic.SmallTest.MainForm.DeclicSingleThreadedRun (Object f) dans C:\Documents and Settings\luka\Mes documents\Visual Studio 2005\Projects\Déclic V4\Declic.root\Declic\SmallTest\Form1.cs:ligne 1816 à System.Threading.ThreadHelper.ThreadStart_Context(Object state) à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) à System.Threading.ThreadHelper.ThreadStart(Object obj) I will test this case between a mono windows et and a mono linux machine. ---- Additional Comments From robertj@gmx.net 2007-04-27 07:51:42 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO80761 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"