http://bugzilla.novell.com/show_bug.cgi?id=621585
http://bugzilla.novell.com/show_bug.cgi?id=621585#c0 Summary: Crash with generics sharing Classification: Mono Product: Mono: Runtime Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: generics AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Test case: using System; using System.Collections.Generic; using System.Linq; public class Test { public static void Main () { var dic = new Dictionary<object, object>(); dic [new object () ] = new object (); foreach (var kvp in dic.OrderBy (pp => 1)) { Console.WriteLine (kvp.Key); } } } dmcs test.cs -r:System.Xml.Linq.dll && mono test.exe ends up crashing Note that running with MONO_GENERIC_SHARING=none also crashes, but differently. Though if I compile with smcs and run with the moonlight class libs I get the same crash with generics sharing enabled, but no crash without. We're running into this in quite a few tests we got from MS, so I'm setting severity to Major. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
