[Mono-bugs] [Bug 79666][Nor] Changed - can't use arrays of enums as cattr parameters

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Oct 24 19:19:11 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 marek.safar at seznam.cz.

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

--- shadow/79666	2006-10-15 07:27:29.000000000 -0400
+++ shadow/79666.tmp.15864	2006-10-24 19:19:11.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79666
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: vargaz at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -66,6 +66,61 @@
 			|| foo.Types [1] != typeof (Type)
 			)
 			throw new ApplicationException ();
 	}
 }
 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+------- Additional Comments From marek.safar at seznam.cz  2006-10-24 19:19 -------
+Fixed mcs/gmcs part.
+
+Now I am getting runtime SIGSEGV when execute the output assembly.
+Same happens when execute same code compiled by csc.
+
+$ mono test-454.exe
+
+=================================================================
+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.
+=================================================================
+
+Stacktrace:
+
+  at (wrapper managed-to-native)
+System.MonoCustomAttrs.GetCustomAttributesInter
+nal (System.Reflection.ICustomAttributeProvider,System.Type,bool)
+<0x00004>
+  at (wrapper managed-to-native)
+System.MonoCustomAttrs.GetCustomAttributesInter
+nal (System.Reflection.ICustomAttributeProvider,System.Type,bool)
+<0xffffffff>
+  at System.MonoCustomAttrs.GetCustomAttributesBase
+(System.Reflection.ICustomAt
+tributeProvider,System.Type) <0x00025>
+  at System.MonoCustomAttrs.GetCustomAttributes
+(System.Reflection.ICustomAttrib
+uteProvider,bool) <0x00029>
+  at System.MonoType.GetCustomAttributes (bool) <0x0000f>
+  at Test.Main () <0x00016>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,i
+ntptr,intptr) <0xffffffff>
+
+This application has requested the Runtime to terminate it in an
+unusual way.
+Please contact the application's support team for more information.
+
+
+GDB backtrace
+
+(gdb) bt
+#0  0x68f46e1a in create_custom_attr (image=0x5c8278, method=0x0,
+    data=0xd907d0 "\001", len=303) at reflection.c:7002
+#1  0x68f46f7f in mono_custom_attrs_construct (cinfo=0xb9edc0)
+    at reflection.c:7158
+#2  0x68f4712a in mono_reflection_get_custom_attrs_by_type (obj=0xb6aeb0,
+    attr_klass=0x0) at reflection.c:7531
+#3  0x00f92042 in ?? ()
+#4  0x00b6aeb0 in ?? ()
+#5  0x00000000 in ?? ()
+


More information about the mono-bugs mailing list