[Mono-bugs] [Bug 342374] New: Mono fails to detect StackOverflow exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 16 14:13:18 EST 2007


           Summary: Mono fails to detect StackOverflow exception
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

1. Apply enclosed patch to /mcs/mcs
2. Try to compile any file with field initializer, or run compiler test suite

The critical line is this

+                       if (resolved != null)
+                               resolved.EmitStatement (ec);

because resolved is this, changing it to 

                        if (resolved != null) {
                                if (resolved == this)
                                        base.EmitStatement (ec);
                                        resolved.EmitStatement (ec);

fixes the problem

Configure bugmail: https://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