[Mono-bugs] [Bug 696207] Crazy static object graph crashes gmcs

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 26 00:45:39 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=696207

https://bugzilla.novell.com/show_bug.cgi?id=696207#c1


--- Comment #1 from Aaron Bockover <aaron.bockover+novell at gmail.com> 2011-05-26 04:45:38 UTC ---
Created an attachment (id=431478)
 --> (http://bugzilla.novell.com/attachment.cgi?id=431478)
The crazy graph test case

using System;

public static class CrazyGraphCrash
{
    public static void Main ()
    {
        var graph = new object [] {
            "elem1",
            new [] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
            "elem2",
            new [] {
                new object [] {
                    new [] { true, false },
                    new [] { "one", "two", "three", "four" },
                    new [] { Math.E, Math.PI },
                    new [] { Int64.MaxValue, Int64.MinValue },
                    new [] { Int32.MaxValue, Int32.MinValue }
                },
                new object [] {
                    new [] {
                        null,
                        null,
                        null,
                        null
                    },
                    null,
                    null,
                    new object [] {
                        null,
                        null,
                        new [] {
                            null,
                            new [] {
                                null,
                                null
                            },
                            null
                        },
                        new [] {
                            null,
                            null
                        },
                        "wazzuuuup!!!!lahhhh"
                    },
                    null,
                    false,
                    true,
                    99,
                    "problems"
                }
            }
        };
    }
}

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list