[Mono-bugs] [Bug 652186] New: StackOverFlowException not detect with recursive property

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 8 17:04:37 EST 2010



           Summary: StackOverFlowException not detect with recursive
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.8.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: stshaw at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

when a recursive property is called by a constructor property initializer mono
crashes without throwing a StackOverflowException.  Here is some code that
causes the crash.

using System;

namespace MyObject
    class Program
        static void Main (string[] args)
            MyObject t = new MyObject { X = 1.0};

    class MyObject
        public double X {
            get { return X;}
            set { X = value;}

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