[Mono-bugs] [Bug 81469][Wis] New - Incompatibilty between Windows .net and Mono Linux

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Apr 27 06:28:04 EDT 2007


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 mercier.eric at gmail.com.

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

--- shadow/81469	2007-04-27 06:28:04.000000000 -0400
+++ shadow/81469.tmp.4209	2007-04-27 06:28:04.000000000 -0400
@@ -0,0 +1,111 @@
+Bug#: 81469
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: mercier.eric at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incompatibilty between Windows .net and Mono Linux
+
+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.


More information about the mono-bugs mailing list