[Mono-bugs] [Bug 81600][Nor] New - F# Compiler randomly hangs on compilation

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 11 14:08:13 EDT 2007

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 bernd.knochenhauer at t-online.de.


--- shadow/81600	2007-05-11 14:08:13.000000000 -0400
+++ shadow/81600.tmp.3315	2007-05-11 14:08:13.000000000 -0400
@@ -0,0 +1,167 @@
+Bug#: 81600
+Product: Mono: Runtime
+Version: 1.2
+OS Details: Debian 4.0 / Etch
+Status: NEW   
+Priority: Normal
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: Bernd.Knochenhauer at t-online.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: F# Compiler randomly hangs on compilation
+- F# compiler randomly hangs on compilation of source code
+- sometimes the compile goes through, sometimes it hangs 
+  (racing condition ?)
+General Info: 
+- Debian 4.0 / Etch, Single CPU, Custom 2.6.15 Kernel, Pentium 4
+- Mono from http://pkg-mono.alioth.debian.org/
+- same results with Mono from Etch 
+mono -V output:
+Mono JIT compiler version, (C) 2002-2006 Novell, Inc and
+Contributors. www.mono-project.com
+        TLS:           __thread
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV:       normal
+        Architecture:  x86
+        Disabled:      none
+Steps to reproduce the problem:
+1. Download and install FSharp- from
+Unzip & run "install-mono.sh"
+2. Create a tiny source file, ie. hello.fs
+let text = "Hello World!\n";;
+3. run the F# compiler: fsc.exe hello.fs -o hello.exe
+Actual Results:
+- many times the F# compiler hangs
+- running mono -v bin/fsc.exe hello.fs -o hello.exe yields:
+(last ~30 lines or so)
+Method new_manager at 3941:.ctor () emitted at 0xb64f9fd8 to 0xb64f9fe6 (code
+length 14) [fsc.exe]
+Method new_manager at 3941_1:.ctor () emitted at 0xb64f9fe8 to 0xb64f9ffe
+(code length 22) [fsc.exe]
+Method Microsoft.Research.AbstractIL.IL:new_idx_intern_table
+(Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2) emitted
+at 0xb64fa010 to 0xb64fa0a6 (code length 150) [fsc.exe]
+Method new_idx_intern_table at 3901:.ctor
+emitted at 0xb64fa0b8 to 0xb64fa0e3 (code length 43) [fsc.exe]
+Method new_manager at 3944:.ctor () emitted at 0xb64fa0e8 to 0xb64fa0f6 (code
+length 14) [fsc.exe]
+Method new_manager at 3945:.ctor () emitted at 0xb64fa0f8 to 0xb64fa106 (code
+length 14) [fsc.exe]
+Method new_manager at 3946:.ctor () emitted at 0xb64fa108 to 0xb64fa116 (code
+length 14) [fsc.exe]
+Method new_manager at 3947:.ctor () emitted at 0xb64fa118 to 0xb64fa126 (code
+length 14) [fsc.exe]
+Method new_manager at 3948:.ctor () emitted at 0xb64fa128 to 0xb64fa136 (code
+length 14) [fsc.exe]
+Method new_manager at 3948_1:.ctor () emitted at 0xb64fa138 to 0xb64fa14e
+(code length 22) [fsc.exe]
+Method Microsoft.Research.AbstractIL.IL:new_tagger
+(Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2) emitted
+at 0xb64fa160 to 0xb64fa1c7 (code length 103) [fsc.exe]
+Method new_tagger at 3893:.ctor
+emitted at 0xb64fa1d8 to 0xb64fa1fd (code length 37) [fsc.exe]
+Method new_manager at 3949:.ctor () emitted at 0xb64fa200 to 0xb64fa20e (code
+length 14) [fsc.exe]
+Method new_manager at 3950:.ctor () emitted at 0xb64fa210 to 0xb64fa21e (code
+length 14) [fsc.exe]
+Method TermManager:.ctor
+emitted at 0xb64fa220 to 0xb64fa281 (code length 97) [fsc.exe]
+Method System.Diagnostics.Process:Finalize () emitted at 0xb6419430 to
+0xb641945d (code length 45) [fsc.exe]
+Expected Results:
+- compile should complete, sometimes it does
+How often does this happen? 
+- from 10 times trying, the compiler hungs itsself approx. 8 oder 9 times
+Additional information:
+ii  libmono-accessibility1.0-cil                  Mono
+Accessibility library
+ii  libmono-accessibility2.0-cil                  Mono
+Accessibility library
+ii  libmono-cairo1.0-cil                     Mono
+Cairo library
+ii  libmono-cairo2.0-cil                     Mono
+Cairo library
+ii  libmono-corlib1.0-cil                    Mono
+core library (1.0)
+ii  libmono-corlib2.0-cil                    Mono
+core library (2.0)
+ii  libmono-data-tds1.0-cil                  Mono
+Data library
+ii  libmono-data-tds2.0-cil                  Mono
+Data Library
+ii  libmono-peapi1.0-cil                     Mono
+PEAPI library
+ii  libmono-relaxng1.0-cil                   Mono
+Relaxng library
+ii  libmono-security1.0-cil                  Mono
+Security library
+ii  libmono-security2.0-cil                  Mono
+Security library
+ii  libmono-sharpzip0.84-cil                  Mono
+SharpZipLib library
+ii  libmono-sharpzip2.84-cil                  Mono
+SharpZipLib library
+ii  libmono-system-data1.0-cil                  Mono
+System.Data library
+ii  libmono-system-data2.0-cil                  Mono
+System.Data Library
+ii  libmono-system-runtime1.0-cil                  Mono
+System.Runtime library
+ii  libmono-system-runtime2.0-cil                  Mono
+System.Runtime Library
+ii  libmono-system-web1.0-cil                  Mono
+System.Web library
+ii  libmono-system-web2.0-cil                  Mono
+System.Web Library
+ii  libmono-system1.0-cil                    Mono
+System libraries (1.0)
+ii  libmono-system2.0-cil                    Mono
+System libraries (2.0)
+ii  libmono-winforms1.0-cil                  Mono
+System.Windows.Forms library
+ii  libmono-winforms2.0-cil                  Mono
+System.Windows.Forms library
+ii  libmono0                                
+libraries for the Mono JIT
+ii  libmono1.0-cil                           Mono
+libraries (1.0)
+ii  libmono2.0-cil                           Mono
+libraries (2.0)
+ii  mono                                     Mono
+CLI (.NET) runtime
+ii  mono-common                              common
+files for Mono
+ii  mono-gac                                 Mono
+GAC tool
+ii  mono-jit                                 fast
+CLI JIT/AOT compiler for Mono
+ii  mono-mcs                                 Mono
+C# compiler

More information about the mono-bugs mailing list