[Mono-bugs] [Bug 502575] New: Tail call problems with F#

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 10 14:42:54 EDT 2009


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


           Summary: Tail call problems with F#
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: miguel at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=291204)
 --> (http://bugzilla.novell.com/attachment.cgi?id=291204)
The tail call test that is failing.

The following F# program tests a number of tail call features in the runtime
and is currently failing in Mono.

To reproduce:
1. Download the zip file for F# September 2008 Community Release from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=61ad6924-93ad-48dc-8c67-60f7e7803d3c&displaylang=en

2. Unzip fsharp.zip

3. cd FSharp-1.9.6.2

4. sh install-mono.sh

5. Compile the sample:
mono bin/fsc.exe TailCallsTest.cs

6. Run, it should complete.   Currently we terminate with a stack overflow:

simpleTail1: YES
simpleTail2: YES
mutualTail1IsOdd: YES
mutualTail1IsEven: YES
Stack overflow in unmanaged: IP: 0x7f8572a2ad8b, fault addr: 0x7fff7b6d4cd8
Stack overflow: IP: 0x58f926, fault addr: 0x7fff7b6c6398
At Unmanaged

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