[Mono-bugs] [Bug 80326][Nor] New - Microsoft F# compiler crashes under Mono/MacOS X

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Dec 20 07:22:01 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by hinsen at cnrs-orleans.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=80326

--- shadow/80326	2006-12-20 07:22:01.000000000 -0500
+++ shadow/80326.tmp.1590	2006-12-20 07:22:01.000000000 -0500
@@ -0,0 +1,81 @@
+Bug#: 80326
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: MacOS X 10.4.8, PPC (G4)
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: hinsen at cnrs-orleans.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Microsoft F# compiler crashes under Mono/MacOS X
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Download F# 1.1.13.8, unzip, and change to directory FSharp-1.1.13.8
+
+2. Execute the following commands:
+     gacutil -i bin/fslib.dll
+     gacutil -i bin/fslib10.dll
+     gacutil -i bin/mllib.dll
+     gacutil -i bin/mllib10.dll
+     gacutil -i bin/FSharp.Compiler.dll
+     gacutil -i bin/FSharp.Compiler10.dll
+
+3. Run "mono bin/fscp10.exe"
+
+
+Actual Results:
+
+A crash:
+
+Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type 
+initializer for <StartupCode>.Microsoft.FSharp.Compiler.Ast ---> 
+System.NullReferenceException: Object reference not set to an instance of an object
+  at Microsoft.FSharp.Collections.RawSetOps.height at 476 (Microsoft.FSharp.Collections.SetTree t) 
+[0x00000]
+  at Microsoft.FSharp.Collections.RawSetOps.mk at 503 (Microsoft.FSharp.Collections.SetTree l, 
+System.Object k, Microsoft.FSharp.Collections.SetTree r) [0x00000]
+  at Microsoft.FSharp.Collections.RawSetOps.add at 543 (IComparer cf, System.Object k, 
+Microsoft.FSharp.Collections.SetTree t) [0x00000]
+  at Microsoft.FSharp.Collections.Tagged.Set.Add (System.Object x) [0x00000]
+  at Microsoft.AbstractIL.Internal.Zset+addL at 19.Invoke (Microsoft.FSharp.Collections.Tagged.Set 
+a, System.Object x) [0x00000]
+  at Microsoft.AbstractIL.Internal.Zset+addL at 19.Invoke (System.Object , System.Object ) 
+[0x00000]
+  at Microsoft.FSharp.Core.FastFunc.InvokeFast2 (Microsoft.FSharp.Core.FastFunc f, 
+System.Object t, System.Object u) [0x00000]
+  at Microsoft.FSharp.Primitives.Basics+List.fold_left (Microsoft.FSharp.Core.FastFunc f, 
+System.Object acc, Microsoft.FSharp.Collections.List l) [0x00000]
+  at Microsoft.AbstractIL.Internal.Zset.addL (Microsoft.FSharp.Collections.List xs, 
+Microsoft.FSharp.Collections.Tagged.Set a) [0x00000]
+  at <StartupCode>.Microsoft.FSharp.Compiler.Ast..cctor () [0x00000] --- End of inner exception 
+stack trace ---
+
+  at <0x00000> <unknown method>
+  at <StartupCode>.Microsoft.FSharp.Compiler.CommandLineMain._main () [0x00000]
+  at <StartupCode>.Microsoft.FSharp.Compiler.CommandLineMain._main () [0x00000]
+
+
+
+Expected Results:
+
+No crash!
+
+How often does this happen? 
+
+Every time I try, on two different machines.
+
+Additional Information:
+
+I also reported this problem to the F# development team, as I cannot judge who is responsible. 
+Apparently the executable fscp10.exe works fine under .NET.


More information about the mono-bugs mailing list