[Mono-bugs] [Bug 82302][Nor] New - SIGSEGV remoting explicit interface implementation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 3 08:30: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 gert.driesen at pandora.be.

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

--- shadow/82302	2007-08-03 08:30:04.000000000 -0400
+++ shadow/82302.tmp.25682	2007-08-03 08:30:04.000000000 -0400
@@ -0,0 +1,234 @@
+Bug#: 82302
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SIGSEGV remoting explicit interface implementation
+
+While attempting to create a repro for bug #82240 (which did not contain 
+much info, nor a repro), I stumbled upon a issue when dealing with 
+explicit interface implementations.
+
+Running the attached repro results in the following error:
+
+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.IMethodCallMes
+sage) <0x0015e>
+  at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage 
+(System.Runtime.Remoting.Messaging.IMessage) <0x0009b>
+  at 
+System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMes
+sage (System.Runtime.Remoting.Messaging.IMessage) <0x0005d>
+  at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage 
+(System.Runtime.Remoting.Messaging.IMessage) <0x00024>
+  at 
+System.Runtime.Remoting.ClientActivatedIdentity.SyncObjectProcessMessage 
+(System.Runtime.Remoting.Messaging.IMessage) <0x0009e>
+  at 
+System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMe
+ssage (System.Runtime.Remoting.Messaging.IMessage) <0x0012f>
+  at 
+System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage 
+(System.Runtime.Remoting.Messaging.IMessage) <0x000ca>
+  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.Re
+moting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessage&) 
+<0x0001e>
+  at System.Runtime.Remoting.Channels.ServerDispatchSink.ProcessMessage 
+(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Re
+moting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeader
+s,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runti
+me.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) <0x00022>
+  at 
+System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage 
+(System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Re
+moting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeader
+s,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runti
+me.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) <0x00344>
+  at 
+System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.InternalProcess
+Message 
+(System.Runtime.Remoting.Channels.Tcp.ClientConnection,System.IO.Stream) 
+<0x00193>
+  at System.Runtime.Remoting.Channels.Tcp.ClientConnection.ProcessMessages 
+() <0x000c3>
+  at System.Runtime.Remoting.Channels.RemotingThreadPool.PoolThread () 
+<0x00160>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () 
+<0xffffffff>
+  at (wrapper runtime-invoke) 
+System.Security.Cryptography.RNGCryptoServiceProvider.runtime_invoke_void 
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+	mono [0x815e39e]
+	mono [0x807ceb0]
+	[0xffffe440]
+	[0xb6f167b8]
+	[0xb6f161f7]
+	[0xb6f15d44]
+	[0xb6f15c16]
+	[0xb6f15a95]
+	[0xb6f15707]
+	[0xb6f15600]
+	[0xb6f14ddb]
+	[0xb6f1494b]
+	[0xb6f147df]
+	[0xb6f147a3]
+	[0xb6f0e345]
+	[0xb71350fc]
+	[0xb7133c24]
+	[0xb7133831]
+	[0xb712d3d0]
+	[0xb7144941]
+	mono(mono_runtime_delegate_invoke+0x36) [0x80ec666]
+	mono [0x80eaa6e]
+	mono [0x810efc2]
+	mono [0x81210b5]
+	/lib/tls/i686/cmov/libpthread.so.0 [0xb7ea131b]
+	/lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7e0357e]
+
+Debug info from gdb:
+
+Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
+[Thread debugging using libthread_db enabled]
+[New Thread -1210898720 (LWP 13301)]
+[New Thread -1224594544 (LWP 13391)]
+[New Thread -1223525488 (LWP 13305)]
+[New Thread -1220142192 (LWP 13303)]
+[New Thread -1214264432 (LWP 13302)]
+0xffffe410 in __kernel_vsyscall ()
+  5 Thread -1214264432 (LWP 13302)  0xffffe410 in __kernel_vsyscall ()
+  4 Thread -1220142192 (LWP 13303)  0xffffe410 in __kernel_vsyscall ()
+  3 Thread -1223525488 (LWP 13305)  0xffffe410 in __kernel_vsyscall ()
+  2 Thread -1224594544 (LWP 13391)  0xffffe410 in __kernel_vsyscall ()
+  1 Thread -1210898720 (LWP 13301)  0xffffe410 in __kernel_vsyscall ()
+
+Thread 5 (Thread -1214264432 (LWP 13302)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ea8986 in ?? () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x0810da21 in collection_thread (unused=0x0) at collection.c:34
+#3  0xb7ea131b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#4  0xb7e0357e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 4 (Thread -1220142192 (LWP 13303)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ea55c6 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08100d2f in timedwait_signal_poll_cond (cond=0xb796b1dc, 
+    mutex=0xb796b1c4, timeout=0x0, alertable=0) at handles.c:1443
+#3  0x081037cf in _wapi_handle_timedwait_signal_handle (handle=0x404, 
+    timeout=0x0, alertable=0) at handles.c:1523
+#4  0x0810384c in _wapi_handle_wait_signal_handle (handle=0x404, 
+alertable=0)
+    at handles.c:1483
+#5  0x080fff6f in WaitForSingleObjectEx (handle=0x404, timeout=4294967295, 
+    alertable=0) at wait.c:200
+#6  0x080cc41a in finalizer_thread (unused=0x0) at gc.c:835
+#7  0x080eaa04 in start_wrapper (data=0x824d298) at threads.c:505
+#8  0x0810efc2 in thread_start_routine (args=0xb7818398) at threads.c:264
+#9  0x081210b5 in GC_start_routine (arg=0x22f40) at pthread_support.c:1362
+#10 0xb7ea131b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
+#11 0xb7e0357e in clone () from /lib/tls/i686/cmov/libc.so.6
+
+Thread 3 (Thread -1223525488 (LWP 13305)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ea83a8 in accept () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08104217 in _wapi_accept (fd=12, addr=0x0, addrlen=0x0) at 
+sockets.c:201
+#3  0x08177ebb in ves_icall_System_Net_Sockets_Socket_Accept_internal (
+    sock=12, error=0xb71271d0) at socket-io.c:779
+#4  0xb712d822 in ?? ()
+#5  0x0000000c in ?? ()
+#6  0xb71271d0 in ?? ()
+#7  0x0829ffd8 in ?? ()
+#8  0x0807ec51 in mono_magic_trampoline (regs=0xc, code=0xb71271d0 "", 
+    m=0xb7bfa03e, tramp=0xb71271a0 " Ù\004") at mini-trampolines.c:106
+#9  0xb712d626 in ?? ()
+#10 0x0000000c in ?? ()
+#11 0xb71271d0 in ?? ()
+#12 0xb7bfa03e in ?? ()
+#13 0xb71271a0 in ?? ()
+#14 0xb71334da in ?? ()
+#15 0x08246a2c in ?? ()
+#16 0x00000001 in ?? ()
+#17 0x0004d9a0 in ?? ()
+#18 0xb71271ac in ?? ()
+#19 0xb7488736 in ?? ()
+#20 0x0004d980 in ?? ()
+#21 0x0829ffd8 in ?? ()
+#22 0x000d6f90 in ?? ()
+#23 0x0004d9a0 in ?? ()
+#24 0xb7127200 in ?? ()
+#25 0x00000001 in ?? ()
+#26 0x0004d980 in ?? ()
+#27 0x0004d9a0 in ?? ()
+#28 0xb71271ac in ?? ()
+#29 0xb7488714 in ?? ()
+#30 0xb71271c0 in ?? ()
+#31 0xb74886c2 in ?? ()
+#32 0x0004d980 in ?? ()
+#33 0x0004d9a0 in ?? ()
+#34 0x000d6f90 in ?? ()
+#35 0xffffffff in ?? ()
+#36 0xffffffff in ?? ()
+#37 0x00000000 in ?? ()
+
+Thread 2 (Thread -1224594544 (LWP 13391)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7dfc3d1 in select () from /lib/tls/i686/cmov/libc.so.6
+#2  0xb7f104a0 in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
+#3  0xb7f1086c in g_spawn_command_line_sync () from /usr/lib/libglib-
+2.0.so.0
+#4  0x0815e439 in mono_handle_native_sigsegv (signal=11, ctx=0xb6f21d0c)
+    at mini-exceptions.c:1072
+#5  0x0807ceb0 in mono_arch_handle_altstack_exception (sigctx=0xb6f21d0c, 
+    fault_addr=0x0, stack_ovf=0) at exceptions-x86.c:844
+#6  <signal handler called>
+#7  0x081683ac in ves_icall_InternalExecute (method=0x0, this=0x4aff0, 
+    params=0xc8bd0, outArgs=0xb7021e60) at icall.c:2727
+#8  0xb6f167b8 in ?? ()
+#9  0x00000000 in ?? ()
+
+Thread 1 (Thread -1210898720 (LWP 13301)):
+#0  0xffffe410 in __kernel_vsyscall ()
+#1  0xb7ea818b in ?? () from /lib/tls/i686/cmov/libpthread.so.0
+#2  0x08109f0a in console_read (handle=0x0, buffer=0x89010, numbytes=1024, 
+    bytesread=0xbf877438, overlapped=0x0) at io.c:1069
+#3  0x0810b22d in ReadFile (handle=0x0, buffer=0x89010, numbytes=1024, 
+    bytesread=0xbf877438, overlapped=0x0) at io.c:2179
+#4  0x08178cc6 in ves_icall_System_IO_MonoIO_Read (handle=0x0, 
+dest=0x89000, 
+    dest_offset=0, count=561168, error=0xbf8774a8) at file-io.c:599
+#5  0xb748c30b in ?? ()
+#6  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.
+=================================================================


More information about the mono-bugs mailing list