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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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"); + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
