[Mono-bugs] [Bug 79150][Nor] New - Runtime crashes on GetTypeCode for System.TypedReference

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 22 22:49:05 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 alp at atoker.com.

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

--- shadow/79150	2006-08-22 22:49:05.000000000 -0400
+++ shadow/79150.tmp.6641	2006-08-22 22:49:05.000000000 -0400
@@ -0,0 +1,73 @@
+Bug#: 79150
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: alp at atoker.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Runtime crashes on GetTypeCode for System.TypedReference
+
+This test case highlights a runtime crasher:
+
+using System;
+
+public class TypedReferenceTypeCodeTest
+{
+	public static void Main ()
+	{
+		Console.WriteLine (Type.GetTypeCode (typeof (System.TypedReference)));
+	}
+}
+
+Here is the stack trace:
+
+alp at star:~/tmp$ mono --debug main.exe
+
+** ERROR **: type 0x16 not handled in GetTypeCode()
+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.Type.GetTypeCodeInternal
+(System.Type) <0x00004>
+  at (wrapper managed-to-native) System.Type.GetTypeCodeInternal
+(System.Type) <0xffffffff>
+  at System.Type.GetTypeCode (System.Type) [0x0002c] in
+/home/alp/Projects/mono-svn/mcs/class/corlib/System/Type.cs:480
+  at TypedReferenceTypeCodeTest.Main () <0x00010>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        mono(mono_handle_native_sigsegv+0xde) [0x8155c42]
+        [0xffffe440]
+        /lib/tls/i686/cmov/libc.so.6(abort+0xe9) [0xb7da92b9]
+        /usr/lib/libglib-2.0.so.0(g_logv+0x483) [0xb7f24006]
+        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7f2403a]
+        mono [0x80db573]
+        [0xb7b4c306]
+        [0xb7b4ba3d]
+        [0xb7b4b9a9]
+        [0xb7b4b7be]
+        mono(mono_runtime_exec_main+0x5c) [0x80d6455]
+        mono(mono_runtime_run_main+0x175) [0x80d967e]
+        mono(mono_main+0x1059) [0x805d4cb]
+        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd2) [0xb7d93ea2]
+        mono [0x805bf31]
+Aborted


More information about the mono-bugs mailing list