[Mono-bugs] [Bug 442027] Loop causes unmanaged crash instead of StackOverFlow managed exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu May 21 12:08:19 EDT 2009


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

User aaragoneses at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=442027#c7


Andrés G. Aragoneses <aaragoneses at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #7 from Andrés G. Aragoneses <aaragoneses at novell.com>  2009-05-21 10:08:16 MDT ---
Found a simple repro, which BTW doesn't expose the bug anymore, so marking
FIXED.

The repro:

public class Program : Atk.Object
{

  protected override Atk.StateSet OnRefStateSet ()
  {
    return OnRefStateSet ();
  }

  static int Main ()
  {
    GLib.GType.Init ();

    return new Program ().RefStateSet().IsEmpty ? 0 : 1;
  }
}

(Note: this is not just a simple StackOverflowException repro, as it has the
special characteristic of generating it in a managed callback that gets called
from an unmanaged function.)

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