[Mono-bugs] [Bug 471379] [REGRESSION] mono-2.4 preview 1: mcs: unbounded memory consumption growth when compiling cli_uno_bridge.dll from Gentoo openoffice-3.0.1

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Apr 4 18:53:33 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=471379

User vargaz at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=471379#c5


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com
          Component|misc                        |C#
            Product|Mono: Runtime               |Mono: Compilers




--- Comment #5 from Zoltan Varga <vargaz at gmail.com>  2009-04-04 16:53:24 MDT ---
This is caused by a stack overflow inside mcs. Testcase:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
using System;
using System.Threading;
using System.Runtime.InteropServices;

public unsafe struct TypeDescriptionReference
{
    public TypeDescription *               pType;
}

[ StructLayout(LayoutKind.Sequential) ]
public unsafe struct TypeDescription
{
    public TypeDescription *               pSelf;
    public TypeDescriptionReference *      pWeakRef;
}

class Program
{
    static void Main(string[] args) {
    }
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

-- 
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.


More information about the mono-bugs mailing list