petebu
petebu

Reputation: 1837

F# crashes on Mono 2.10

After reading some reports about the inadequacies of the Mono 2.6 garbage collector, I decided to give Mono 2.10 a go. I found that the 2.10 runtime crashes with the following simple F# program:

let rec f x acc =
  if x = 0 then acc
  else f (x - 1) (acc + 1)

f 10 0

Equivalent looping C# code runs just fine as does an F# hello world program. The F# code also works ok with Mono 2.6 and .Net. Can anyone else reproduce this? Is it a bug or is it just my installation?

Here are the various runtimes I've tried and results I got.

The F# compiler used was from the November 2010 CTP.

Upvotes: 21

Views: 727

Answers (1)

petebu
petebu

Reputation: 1837

I've reported this problem as bug #693905 at https://bugzilla.novell.com/show_bug.cgi?id=693905.

Upvotes: 3

Related Questions