[Mono-bugs] [Bug 497271] New: Erroneous control flow when using static fields

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 22 09:34:04 EDT 2009


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


           Summary: Erroneous control flow when using static fields
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: gabriele.svelto at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=287460)
 --> (http://bugzilla.novell.com/attachment.cgi?id=287460)
assembly source

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.20)
Gecko/20081217 Firefox/2.0.0.20

The attached example exits with 0 when run under mono-1.9.1 but exits with 3
when run under mono-2.4. Removing the stsfld/ldsfld couple in lines 22-23 makes
the problem disappear on mono-2.4 (and still works with 1.9.1).

Reproducible: Always

Steps to Reproduce:
1. ilasm bug.s
2. mono-1.9.1 bug.exe
3. echo $? (prints 0)
4. mono-2.4 bug.exe
5. echo $? (prints 3)

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