https://bugzilla.novell.com/show_bug.cgi?id=463323
User [email protected] added comment https://bugzilla.novell.com/show_bug.cgi?id=463323#c16 --- Comment #16 from Jan Oravec <[email protected]> 2009-02-14 10:01:39 MST --- Not sure if this is the test case triggering the bug we are looking for, but it is heavily related and can cause similar crashes. Crashes even with both runtime invoke caches completely removed from Mono: using System; using System.Linq.Expressions; class M { public static void Main () { Expression<Func<int>> f1 = () => 47; Expression<Func<int, int, int>> f2 = (a, b) => a + b; while (true) { Console.Write ("x"); f1.Compile ().DynamicInvoke (null); f2.Compile ().DynamicInvoke (2, 3); } } } $ ./x.exe xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Unhandled Exception: System.Reflection.TargetParameterCountException: Number of parameter does not match expected count. at System.Reflection.Binder.ConvertArgs (System.Reflection.Binder binder, System.Object[] args, System.Reflection.ParameterInfo[] pinfo, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] at M.Main () [0x00000] -- 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
