[Mono-bugs] [Bug 78462][Maj] New - SIGSEGV during attribute compilation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 19 17:45:02 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=78462

--- shadow/78462	2006-05-19 17:45:01.000000000 -0400
+++ shadow/78462.tmp.30476	2006-05-19 17:45:01.000000000 -0400
@@ -0,0 +1,102 @@
+Bug#: 78462
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SIGSEGV during attribute compilation
+
+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. compile following code to separate assembly
+
+using System;
+
+[AttributeUsage (AttributeTargets.Parameter)]
+public sealed class TestAttribute : Attribute
+{
+	public TestAttribute (object value)
+	{
+	}
+}
+
+
+2. use reference to previous code to compile this code
+
+using System;
+	
+class Test {
+	void f ([Test (new int[0])] int[] x)
+	{
+	}
+	
+	static void Main () {}
+}
+
+
+Actual Results:
+
+
+=================================================================
+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:
+
+in (wrapper managed-to-native)
+System.Reflection.Emit.CustomAttributeBuilder:GetBlob
+(System.Reflection.Assembly,System.Reflection.ConstructorInfo,object[],System.Reflection.PropertyInfo[],object[],System.Reflection.FieldInfo[],object[])
+<0x4>
+in (wrapper managed-to-native)
+System.Reflection.Emit.CustomAttributeBuilder:GetBlob
+(System.Reflection.Assembly,System.Reflection.ConstructorInfo,object[],System.Reflection.PropertyInfo[],object[],System.Reflection.FieldInfo[],object[])
+<0xfffff6d9>
+in System.Reflection.Emit.CustomAttributeBuilder:Initialize
+(System.Reflection.ConstructorInfo,object[],System.Reflection.PropertyInfo[],object[],System.Reflection.FieldInfo[],object[])
+<0x599>
+in System.Reflection.Emit.CustomAttributeBuilder:.ctor
+(System.Reflection.ConstructorInfo,object[]) <0x62>
+in Mono.CSharp.Attribute:Resolve () <0x245>
+in Mono.CSharp.Attribute:Emit
+(System.Collections.Specialized.ListDictionary) <0x66>
+in Mono.CSharp.Attributes:Emit () <0xe1>
+in Mono.CSharp.Parameter:ApplyAttributes
+(System.Reflection.Emit.MethodBuilder,System.Reflection.Emit.ConstructorBuilder,int)
+<0xb2>
+in Mono.CSharp.Parameters:ApplyAttributes (System.Reflection.MethodBase) <0x86>
+in Mono.CSharp.MethodData:Emit (Mono.CSharp.DeclSpace) <0x99>
+in Mono.CSharp.Method:Emit () <0x14>
+in Mono.CSharp.TypeContainer:EmitType () <0x229>
+in Mono.CSharp.RootContext:EmitCode () <0x21b>
+in Mono.CSharp.Driver:MainDriver (string[]) <0xa58>
+in Mono.CSharp.Driver:Main (string[]) <0x42>
+in (wrapper runtime-invoke) System.Object:runtime_invoke_int_string[]
+(object,intptr,intptr,intptr) <0x6dde8446>
+
+This application has requested the Runtime to terminate it in an unusual way.
+Please contact the application's support team for more information.
+
+Expected Results:
+
+Successful compilation.
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list