[Mono-bugs] [Bug 82466][Nor] New - FieldInfo.GetCustomAttributes processes custom attributes for other fields

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 17 08:34:22 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=82466

--- shadow/82466	2007-08-17 08:34:22.000000000 -0400
+++ shadow/82466.tmp.19470	2007-08-17 08:34:22.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 82466
+Product: Mono: Runtime
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: FieldInfo.GetCustomAttributes processes custom attributes for other fields
+
+Due to bug #82465, FieldInfo.GetCustomAttributes results in a SIGSEGV when 
+the field is of type object and a custom marshaller is applied to it.
+
+However, when FieldInfo.GetCustomAttributes is requested for 
+another "normal" field, then that same SIGSEGV is still reported. For some 
+reason, the custom attributes of all fields are processed (but not 
+returned) by the runtime instead of only those for a specific FieldInfo.
+
+To reproduce, compile the attached source code using gmcs and run it.
+
+To get the described result, bug #82465 should not yet be fixed.


More information about the mono-bugs mailing list