[Mono-bugs] [Bug 78882][Maj] New - Crash when invoking remote method

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 17 10:11:02 EDT 2006


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 paussems at dti-be.com.

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

--- shadow/78882	2006-07-17 10:11:02.000000000 -0400
+++ shadow/78882.tmp.22562	2006-07-17 10:11:02.000000000 -0400
@@ -0,0 +1,169 @@
+Bug#: 78882
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: Debian unstable
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: paussems at dti-be.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Crash when invoking remote method
+
+Description of Problem:
+When a client tries to invoke a remote method using .NET remoting, the 
+client crashes. Running the same executable from Microsoft .NET works like 
+a charm.
+
+The signature of the method that should be called is
+public Domain OpenDomain(IMultilonClient multilon_client, string user, 
+string password)
+
+Actual Results:
+
+** ERROR **: file mini.c: line 3742 (mono_method_to_ir): assertion failed: 
+(!sig->has_type_parameters)
+aborting...
+
+=================================================================
+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.
+=================================================================
+
+Stacktrace:
+
+  at (wrapper managed-to-native) 
+System.Runtime.Remoting.Proxies.RealProxy.InternalGetTransparentProxy 
+(string) <0x00004>
+  at (wrapper managed-to-native) 
+System.Runtime.Remoting.Proxies.RealProxy.InternalGetTransparentProxy 
+(string) <0xffffffff>
+  at System.Runtime.Remoting.Proxies.RealProxy.GetTransparentProxy () 
+<0x0010a>
+  at System.Runtime.Remoting.RemotingServices.GetOrCreateClientIdentity 
+(System.Runtime.Remoting.ObjRef,System.Type,object&) <0x00212>
+  at System.Runtime.Remoting.RemotingServices.GetRemoteObject 
+(System.Runtime.Remoting.ObjRef,System.Type) <0x0001b>
+  at System.Runtime.Remoting.RemotingServices.GetProxyForRemoteObject 
+(System.Runtime.Remoting.ObjRef,System.Type) <0x00059>
+  at System.Runtime.Remoting.RemotingServices.Unmarshal 
+(System.Runtime.Remoting.ObjRef,bool) <0x0011e>
+  at System.Runtime.Remoting.RemotingServices.Unmarshal 
+(System.Runtime.Remoting.ObjRef) <0x0000c>
+  at System.Runtime.Remoting.ObjRef.GetRealObject 
+(System.Runtime.Serialization.StreamingContext) <0x00020>
+  at System.Runtime.Serialization.ObjectRecord.LoadData 
+(System.Runtime.Serialization.ObjectManager,System.Runtime.Serialization.ISurrogateSelector,System.Runtime.Serialization.StreamingContext) 
+<0x003a1>
+  at System.Runtime.Serialization.ObjectManager.DoFixups () <0x00121>
+  at 
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject 
+(System.IO.BinaryReader) <0x00042>
+  at 
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph 
+(System.IO.BinaryReader,bool,object&,System.Runtime.Remoting.Messaging.Header[]&) 
+<0x000a6>
+  at 
+System.Runtime.Serialization.Formatters.Binary.MessageFormatter.ReadMethodResponse 
+(System.IO.BinaryReader,bool,System.Runtime.Remoting.Messaging.HeaderHandler,System.Runtime.Remoting.Messaging.IMethodCallMessage,System.Runtime.Serialization.Formatters.Binary.BinaryFormatter) 
+<0x002a9>
+  at 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserializeMethodResponse 
+(System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler,System.Runtime.Remoting.Messaging.IMethodCallMessage) 
+<0x00085>
+  at 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.DeserializeMethodResponse 
+(System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler,System.Runtime.Remoting.Messaging.IMethodCallMessage) 
+<0x00013>
+  at 
+System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage 
+(System.Runtime.Remoting.Messaging.IMessage) <0x00347>
+  at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke 
+(System.Runtime.Remoting.Messaging.IMessage) <0x002dd>
+  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke 
+(System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) 
+<0x002e3>
+  at (wrapper runtime-invoke) 
+System.Object.runtime_invoke_object_RealProxy_IMessage_Exception&_object[]& 
+(object,intptr,intptr,intptr) <0xffffffff>
+  at (wrapper managed-to-native) 
+System.Object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) 
+<0x00004>
+  at (wrapper managed-to-native) 
+System.Object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) 
+<0xffffffff>
+  at (wrapper remoting-invoke) Multilon.MultilonService.OpenDomain 
+(Multilon.IMultilonClient,string,string) <0xffffffff>
+  at (wrapper remoting-invoke-with-check) 
+Multilon.MultilonService.OpenDomain 
+(Multilon.IMultilonClient,string,string) <0xffffffff>
+  at Multilon.MultilonClient.ConnectToMultilon (System.Net.IPEndPoint) 
+<0x00073>
+  at Client.Main () <0x002a5>
+  at MultilonTest.Program.Main (string[]) <0x0001f>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] 
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        /opt/mono-20060713/bin/mono(mono_handle_native_sigsegv+0xf5) 
+[0x815e015]
+        [0xffffe440]
+        /lib/tls/i686/cmov/libc.so.6(abort+0xeb) [0xa7dc2f9b]
+        /usr/lib/libglib-2.0.so.0(g_logv+0x454) [0xa7f56974]
+        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xa7f569a9]
+        /usr/lib/libglib-2.0.so.0(g_assert_warning+0x77) [0xa7f56a27]
+        /opt/mono-20060713/bin/mono [0x8132926]
+        /opt/mono-20060713/bin/mono [0x81474cb]
+        /opt/mono-20060713/bin/mono [0x8148e9f]
+        /opt/mono-20060713/bin/mono [0x812b654]
+        /opt/mono-20060713/bin/mono [0x80d88b8]
+        /opt/mono-20060713/bin/mono(mono_remote_class_vtable+0x78) 
+[0x80d8be8]
+        /opt/mono-20060713/bin/mono [0x80e70f6]
+        [0xa7b4fe01]
+        [0xa7b4fce3]
+        [0xa7b4d643]
+        [0xa7b4d314]
+        [0xa6c8226a]
+        [0xa6c8215f]
+        [0xa6c82025]
+        [0xa6c81ff9]
+        [0xa6c81882]
+        [0xa6c8127a]
+        [0xa6c7d3f3]
+        [0xa6c7d347]
+        [0xa70912aa]
+        [0xa7b5b93e]
+        [0xa7b5b70c]
+        [0xa7b52d68]
+        [0xa7b5239e]
+        [0xa7b51194]
+        [0xa7b509dd]
+        /opt/mono-20060713/bin/mono(mono_remoting_invoke+0x48) [0x80da4b8]
+        /opt/mono-20060713/bin/mono [0x80a3c44]
+        [0xa7b507f1]
+        [0xa7091fcc]
+        [0xa7091f34]
+        [0xa7b50594]
+        [0xa75ea756]
+        [0xa75e9b20]
+        [0xa75e9a73]
+        /opt/mono-20060713/bin/mono(mono_runtime_exec_main+0x60) 
+[0x80d9670]
+        /opt/mono-20060713/bin/mono(mono_runtime_run_main+0x171) 
+[0x80dcdc1]
+        /opt/mono-20060713/bin/mono(mono_main+0x102a) [0x805d3ba]
+        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0) [0xa7daceb0]
+        /opt/mono-20060713/bin/mono [0x805be11]
+Aborted
+
+Additional Information:
+Running mono from CVS checked out on 2006/07/13


More information about the mono-bugs mailing list