[Mono-bugs] [Bug 80339][Maj] New - SIGSEGV in certain scenarios with ModuleBuilder.DefineResource and ModuleBuilder.DefineResource
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Dec 21 21:17:05 EST 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 rolfkvinge at ya.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80339
--- shadow/80339 2006-12-21 21:17:05.000000000 -0500
+++ shadow/80339.tmp.19474 2006-12-21 21:17:05.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 80339
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: rolfkvinge at ya.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: SIGSEGV in certain scenarios with ModuleBuilder.DefineResource and ModuleBuilder.DefineResource
+
+The following code reproduces the SIGSEGV.
+
+
+using System;
+using System.Collections.Generic;
+using System.Reflection;
+using System.Reflection.Emit;
+using System.Text;
+
+
+class vbnc_bugs
+{
+ static void Main ()
+ {
+ AppDomain domain = AppDomain.CurrentDomain;
+ AssemblyName name = new AssemblyName ("test");
+ AssemblyBuilder assembly = domain.DefineDynamicAssembly (name,
+AssemblyBuilderAccess.Save);
+ ModuleBuilder module = assembly.DefineDynamicModule ("module",
+"module.dll");
+ module.DefineManifestResource ("Res1", new
+System.IO.MemoryStream (), ResourceAttributes.Public);
+ module.DefineResource ("Res2", "desc");
+ assembly.Save ("module.dll");
+
+ Console.WriteLine ("SUCCESS");
+ }
+}
More information about the mono-bugs
mailing list