[Mono-bugs] [Bug 82834][Wis] New - Mono Runtime tcp error using Remoting

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 13 06:29:26 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 andreas.dalsgaard at gmail.com.

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

--- shadow/82834	2007-09-13 06:29:26.000000000 -0400
+++ shadow/82834.tmp.12495	2007-09-13 06:29:26.000000000 -0400
@@ -0,0 +1,268 @@
+Bug#: 82834
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: andreas.dalsgaard at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono Runtime tcp error using Remoting
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Run RemotingTmp
+2. Run Remoting and enter a string
+
+Actual Results:
+Client:
+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] 
+
+
+
+Server:
+Stacktrace:
+
+  at (wrapper managed-to-native)
+System.Runtime.Remoting.RemotingServices.InternalExecute
+(System.Reflection.MethodBase,object,object[],object[]&) <0x00004>
+  at (wrapper managed-to-native)
+System.Runtime.Remoting.RemotingServices.InternalExecute
+(System.Reflection.MethodBase,object,object[],object[]&) <0xffffffff>
+  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage
+(System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMessage)
+<0x0018c>
+  at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage
+(System.Runtime.Remoting.Messaging.IMessage) <0x00097>
+  at
+System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage
+(System.Runtime.Remoting.Messaging.IMessage) <0x0005b>
+  at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage
+(System.Runtime.Remoting.Messaging.IMessage) <0x00022>
+  at System.Runtime.Remoting.SingletonIdentity.SyncObjectProcessMessage
+(System.Runtime.Remoting.Messaging.IMessage) <0x00046>
+  at
+System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage
+(System.Runtime.Remoting.Messaging.IMessage) <0x00132>
+  at
+System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage
+(System.Runtime.Remoting.Messaging.IMessage) <0x000d3>
+  at System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage
+(System.Runtime.Remoting.Messaging.IMessage) <0x00032>
+  at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage
+(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessage&)
+<0x0001e>
+  at System.Runtime.Remoting.Channels.ServerDispatchSink.ProcessMessage
+(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&)
+<0x00022>
+  at
+System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage
+(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&)
+<0x0034d>
+  at
+System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.InternalProcessMessage
+(System.Runtime.Remoting.Channels.Tcp.ClientConnection,System.IO.Stream)
+<0x001b0>
+  at System.Runtime.Remoting.Channels.Tcp.ClientConnection.ProcessMessages
+() <0x000d3>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void ()
+<0xffffffff>
+  at System.Runtime.Remoting.Channels.RemotingThreadPool.PoolThread ()
+<0x00166>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void ()
+<0xffffffff>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        mono [0x818f7de]
+        mono [0x8171be4]
+        [0xffffe440]
+        [0xb6f8f910]
+        [0xb6f8f4c5]
+        [0xb6e7eb50]
+        [0xb6e7ea24]
+        [0xb6e7e65b]
+        [0xb6e7aeb7]
+        [0xb6e7ae0b]
+        [0xb6e7a5dc]
+        [0xb6e7a153]
+        [0xb6e79fef]
+        [0xb6e79fb3]
+        [0xb6e75c4e]
+        [0xb6e73701]
+        [0xb6e7222c]
+        [0xb6f85be0]
+        [0xb6e71ddf]
+        [0xb6f85be0]
+        [0xb6fd2bb1]
+        mono [0x8171aaf]
+        mono(mono_runtime_invoke+0x27) [0x80b038f]
+        mono(mono_runtime_delegate_invoke+0x62) [0x80b0617]
+        mono [0x80e4f6e]
+        mono [0x812c50d]
+        mono [0x8145972]
+        /lib/tls/i686/cmov/libpthread.so.0 [0xb7e2431b]
+        /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7d8657e]
+
+Debug info from gdb:
+
+(no debugging symbols found)
+Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+[Thread debugging using libthread_db enabled]
+[New Thread -1211410720 (LWP 12644)]
+[New Thread -1228936304 (LWP 12657)]
+[New Thread -1227883632 (LWP 12656)]
+[New Thread -1225262192 (LWP 12649)]
+[New Thread -1220916336 (LWP 12646)]
+[New Thread -1215161456 (LWP 12645)]
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+0xffffe410 in __kernel_vsyscall ()
+  6 Thread -1215161456 (LWP 12645)  0xffffe410 in __kernel_vsyscall ()
+  5 Thread -1220916336 (LWP 12646)  0xffffe410 in __kernel_vsyscall ()
+  4 Thread -1225262192 (LWP 12649)  0xffffe410 in __kernel_vsyscall ()
+  3 Thread -1227883632 (LWP 12656)  0xffffe410 in __kernel_vsyscall ()
+  2 Thread -1228936304 (LWP 12657)  0xffffe410 in __kernel_vsyscall ()
+  1 Thread -1211410720 (LWP 12644)  0xffffe410 in __kernel_vsyscall ()
+
+Thread 6 (Thread -1215161456 (LWP 12645)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e2b986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0811700b in ?? ()
+#3  0xb792139c in ?? ()
+#4  0x00000000 in ?? ()
+
+Thread 5 (Thread -1220916336 (LWP 12646)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e285c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0811c14a in ?? ()
+#3  0xb788e1dc in ?? ()
+#4  0xb788e1c4 in ?? ()
+#5  0xb73a4178 in ?? ()
+#6  0x00000000 in ?? ()
+
+Thread 4 (Thread -1225262192 (LWP 12649)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e2b3a8 in accept () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0812a47b in ?? ()
+#3  0x0000000a in ?? ()
+#4  0x00000000 in ?? ()
+
+Thread 3 (Thread -1227883632 (LWP 12656)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7d7f3d1 in select () from /lib/tls/i686/cmov/libc.so.6
+#2  0xb7e934a0 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
+#3  0xb7e9386c in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
+#4  0x0818f8bc in ?? ()
+#5  0xb6cfe594 in ?? ()
+#6  0xb6cfe57c in ?? ()
+#7  0xb6cfe578 in ?? ()
+#8  0xb6cfe574 in ?? ()
+#9  0x00000000 in ?? ()
+
+Thread 2 (Thread -1228936304 (LWP 12657)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e2884c in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0811c1c7 in ?? ()
+#3  0xb788e680 in ?? ()
+#4  0xb788e668 in ?? ()
+#5  0xb6bfe050 in ?? ()
+#6  0x081196a9 in ?? ()
+#7  0x0811b001 in ?? ()
+#8  0x00000006 in ?? ()
+#9  0x46e907bf in ?? ()
+#10 0x3731a380 in ?? ()
+#11 0x0000040f in ?? ()
+#12 0x08229a48 in ?? ()
+#13 0xb6bfe090 in ?? ()
+#14 0x0811c457 in ?? ()
+#15 0xb788e680 in ?? ()
+#16 0xb788e668 in ?? ()
+#17 0xb6bfe100 in ?? ()
+#18 0x00000001 in ?? ()
+#19 0x00000000 in ?? ()
+
+Thread 1 (Thread -1211410720 (LWP 12644)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7e2b18b in ?? () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0811e3f3 in ?? ()
+#3  0x00000000 in ?? ()
+#0  0xffffe410 in __kernel_vsyscall ()
+
+
+=================================================================
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries 
+used by your application.
+=================================================================
+
+Aborted (core dumped)
+
+Expected Results:
+The function on the server should return the string
+
+How often does this happen? 
+Everytime
+
+Additional Information:
+Ubuntu Feisty 7.04, mono C# 2.0 1.2.3.1-1ubuntu1


More information about the mono-bugs mailing list