Bugzilla – Bug 502575
Tail call problems with F#
Last modified: 2010-11-16 22:08:53 UTC
Created attachment 291204 [details] 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
Its a dup. *** This bug has been marked as a duplicate of bug 476785 ***