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=81530 --- shadow/81530 2007-05-05 08:43:39.000000000 -0400 +++ shadow/81530.tmp.8768 2007-05-05 14:11:45.000000000 -0400 @@ -2,22 +2,21 @@ Product: Mono: Runtime Version: 1.2 OS: other OS Details: FreeBSD 6.2-RELEASE Status: NEW Resolution: -Severity: -Priority: Wishlist +Severity: Unknown +Priority: Normal Component: misc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: -Cc: -Summary: Loading a recently emitted type causes mono to core dump +Summary: [PATCH] S.R.Emit.TypeBuilder creates unverifiable classes that doesn't extend System.Objectt Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: Loading a recently emitted type causes mono to core dump @@ -34,6 +33,27 @@ How often does this happen? Everytime Additional Information: Works ok on the Microsoft runtime. + +------- Additional Comments From [EMAIL PROTECTED] 2007-05-05 14:11 ------- +[Subject changed] + +The runtime aborts because + +TypeBuilder lTypeBuilder = lModuleBuilder.DefineType("Dummy." + +lAssemblyName.Name, lAttributes, null); + +defines a class that doesn't extend any type. This leads to +a non-verifiable assembly. + +If the line is changed to + +TypeBuilder lTypeBuilder = lModuleBuilder.DefineType("Dummy." + +lAssemblyName.Name, lAttributes); + +the generated assembly is OK. + +MS.NET seems to catch null base types, as the attached patch does. + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
