http://bugzilla.novell.com/show_bug.cgi?id=559369
http://bugzilla.novell.com/show_bug.cgi?id=559369#c0 Summary: Unmanaged stack overflow for generic virtual calls Classification: Mono Product: Mono: Compilers Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: C# AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Description of Problem: Some cases of generic inheritance and virtual calls produce unmanaged stack overflows at creation time of these inherited objects. Steps to reproduce the problem: Run class Program { static void Main() { var x = new holderJ(); } class holderJ { public virtual TValue Value<TKey, TValue>() { return target.Value<TKey, TValue>(); } holderJ target = new actualHolderJ<int>(); class actualHolderJ<T> : holderJ { struct holder<TKey, TValue> { public static TValue Val; } public override TValue Value<TKey, TValue>() { return actualHolderJ<T>.holder<TKey, TValue>.Val; } } } } Actual Results: Unmanaged stack overflows Expected Results: no output, no error How often does this happen? every time -- Configure bugmail: http://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
