[Mono-bugs] [Bug 581950] New: Using checked int64 op codes results in runtime crash

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 22 15:36:12 EST 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=581950#c0


           Summary: Using checked int64 op codes results in runtime crash
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: aChrisSmith at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner
           Blocker: No


Description of Problem:
Using checked int64 op codes yeild Mono runtime crash.

Steps to reproduce the problem:
1. Download and install the latest F# CTP at:
http://www.microsoft.com/downloads/details.aspx?FamilyID=ba52e650-4e77-4b0b-b987-9f9ecd3bab3b&displaylang=en

2. Run "mono fsi.exe"
3. Enter text: "Checked.int64 0L;;"

Actual Results:
Crash. Error message pops up from Mono Command Prompt reading:
** ERROR **: Opcode 'long_conv_to_ovf_i8' missing from machine description
file. Aborting...

Expected Results:
It to work, and print result:
val it : int64 = 0L

How often does this happen? 
Every time.

Additional Information:
The easiest way to repro this is to use the F# Interactive window (FSI.exe),
however this also repros on compiled F# code too. Meaning that this isn't
isolated to just Reflection.Emit. Here is a console sesson reproing the bug.

---------------------------


C:\Program Files (x86)\FSharp-1.9.9.9\bin>type test.fs
let x = Checked.int64 0L

printfn "%A" x
C:\Program Files (x86)\FSharp-1.9.9.9\bin>mono fsc.exe test.fs
Microsoft (R) F# 2.0 Compiler build 1.9.9.9
Copyright (c) Microsoft Corporation. All Rights Reserved.

C:\Program Files (x86)\FSharp-1.9.9.9\bin>mono test.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\Program Files (x86)\FSharp-1.9.9.9\bin>test.exe
0L

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