[Mono-bugs] [Bug 81384][Nor] New - Assertion in "reflection.c", line 1912 reached during compilation.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Apr 16 02:28:27 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 krzys at cs.cornell.edu.

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

--- shadow/81384	2007-04-16 02:28:27.000000000 -0400
+++ shadow/81384.tmp.17890	2007-04-16 02:28:27.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 81384
+Product: Mono: Compilers
+Version: 1.2
+OS: other
+OS Details: Vista 32-bit
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: krzys at cs.cornell.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Assertion in "reflection.c", line 1912 reached during compilation.
+
+Mono compiler crashes with assertion:
+
+** ERROR **: file reflection.c: line 1912 (property_encode_signature):
+assertion failed: (p - buf < size)
+aborting...
+
+The end of the debug output looks like this:
+
+ [csc] Stacktrace:
+      [csc]   at (wrapper managed-to-native) 
+System.Reflection.Emit.ModuleBuilder.build_metadata 
+(System.Reflection.Emit.ModuleBuilder) <0x00004>
+      [csc]   at (wrapper managed-to-native) 
+System.Reflection.Emit.ModuleBuilder.build_metadata 
+(System.Reflection.Emit.ModuleBuilder) <0xffffffff>
+      [csc]   at System.Reflection.Emit.ModuleBuilder.Save () <0x004de>
+      [csc]   at System.Reflection.Emit.AssemblyBuilder.Save 
+(string,System.Reflection.PortableExecutableKinds,System.Reflection.ImageF
+ileMachine) <0x004bb>
+      [csc]   at System.Reflection.Emit.AssemblyBuilder.Save (string) 
+<0x00014>
+      [csc]   at Mono.CSharp.CodeGen.Save (string) <0x00038>
+      [csc]   at Mono.CSharp.Driver.MainDriver (string[]) <0x00de5>
+      [csc]   at Mono.CSharp.Driver.Main (string[]) <0x00055>
+      [csc]   at (wrapper runtime-invoke) 
+System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr) 
+<0xffffffff>
+      [csc] This application has requested the Runtime to terminate it in 
+an unusual way.
+      [csc] Please contact the application's support team for more 
+information.
+
+I can send full debug output over email since this bug system apparently 
+doesn't support attachments. I can provide other logs or dumps, or run a 
+version of mono that generates more of debug output, if you provide one.
+
+I'm sorry, but I can't provide a compact test case to reproduce it. This 
+bug doesn't appear if compiling toy projects, and I can't share sources.


More information about the mono-bugs mailing list