https://bugzilla.novell.com/show_bug.cgi?id=665981
https://bugzilla.novell.com/show_bug.cgi?id=665981#c0 Summary: LoadWithPartialName now causes a crash Classification: Mono Product: Mono: Class Libraries Version: 2.10.x Platform: x86 OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: CORLIB AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 Using the 2.10 preview, the LoadWithPartialName method crashes (the sample code has been stolen from bug 645189, which I suspect may be related in some way). Reproducible: Always Steps to Reproduce: 1. Compile and run the following C# code: using System; using System.Reflection; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Console.WriteLine(Assembly.LoadWithPartialName( "Microsoft.Build.Engine").GetName()); Console.WriteLine(Assembly.LoadWithPartialName( "Microsoft.VisualBasic").GetName()); } } } Actual Results: With Mono 2.10 preview: Microsoft.Build.Engine, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Stacktrace: at (wrapper managed-to-native) System.Reflection.Assembly.load_with_partial_name (string,System.Security.Policy.Evidence) <0xffffffff> at System.Reflection.Assembly.LoadWithPartialName (string,System.Security.Policy.Evidence,bool) <0x00021> at System.Reflection.Assembly.LoadWithPartialName (string,System.Security.Policy.Evidence) <0x00015> at System.Reflection.Assembly.LoadWithPartialName (string) <0x00012> at ConsoleApplication1.Program.Main (string[]) <0x0003d> at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff> 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: With the .NET Framework 3.5: Microsoft.Build.Engine, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
