[Mono-bugs] [Bug 481458] New: initblk opcode fails the second time when intrins are enabled

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 3 08:32:07 EST 2009


           Summary: initblk opcode fails the second time when intrins are
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.2.x
          Platform: i686
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: stephen at gennard.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=276707)
 --> (https://bugzilla.novell.com/attachment.cgi?id=276707)
The above gziped tar file contains the initblk.il and its dependant assemblies

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:
Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6

The initblk opcode fails on the second invocation against the same byte[]
if the value its initblk' to is zero.

If the intrins optomization are turned off it works as expected.

fyi - This also works on Microsoft CLR

Reproducible: Always

Steps to Reproduce:
1. ilasm initblk.il
2. mono initblk.exe

Actual Results:  
001 001 001
001 001 001

Expected Results:  
001 001 001
000 000 000

Which can achieved by using "mono --optimize=-intrins initblk.exe"

Turning off optomization is not a real option for us and using the verifiable 
alternative to initblk will be costly to the code our compiler is producing.

We would really appreciate a solution for this issue as we are at the early
stages of evaluating the feasibility of the mono environment for use with our
customers and I would have for "bugs" to a show stopper.

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