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

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

--- 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: 
+OS Details: Debian 4.0 / Etch
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: Bernd.Knochenhauer at t-online.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: F# Compiler randomly hangs on compilation
+
+Symptom:
+- 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 1.2.3.1-6~pre1 from http://pkg-mono.alioth.debian.org/
+- same results with Mono 1.2.2.1 from Etch 
+
+mono -V output:
+
+Mono JIT compiler version 1.2.3.1, (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-1.9.1.8 from
+
+http://research.microsoft.com/research/downloads/details/b46c7032-149c-4da3-a027-7768210a158d/details.aspx
+
+Unzip & run "install-mono.sh"
+
+2. Create a tiny source file, ie. hello.fs
+
+let text = "Hello World!\n";;
+print_string(text);
+
+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
+(Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.Ref1,Microsoft.FSharp.Collections.HashMultiMap2)
+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
+(Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.Ref1)
+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
+(Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2,Microsoft.FSharp.Core.FastFunc2)
+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     1.2.3.1-6~pre1                  Mono
+Accessibility library
+ii  libmono-accessibility2.0-cil     1.2.3.1-6~pre1                  Mono
+Accessibility library
+ii  libmono-cairo1.0-cil             1.2.3.1-6~pre1                  Mono
+Cairo library
+ii  libmono-cairo2.0-cil             1.2.3.1-6~pre1                  Mono
+Cairo library
+ii  libmono-corlib1.0-cil            1.2.3.1-6~pre1                  Mono
+core library (1.0)
+ii  libmono-corlib2.0-cil            1.2.3.1-6~pre1                  Mono
+core library (2.0)
+ii  libmono-data-tds1.0-cil          1.2.3.1-6~pre1                  Mono
+Data library
+ii  libmono-data-tds2.0-cil          1.2.3.1-6~pre1                  Mono
+Data Library
+ii  libmono-peapi1.0-cil             1.2.3.1-6~pre1                  Mono
+PEAPI library
+ii  libmono-relaxng1.0-cil           1.2.3.1-6~pre1                  Mono
+Relaxng library
+ii  libmono-security1.0-cil          1.2.3.1-6~pre1                  Mono
+Security library
+ii  libmono-security2.0-cil          1.2.3.1-6~pre1                  Mono
+Security library
+ii  libmono-sharpzip0.84-cil         1.2.3.1-6~pre1                  Mono
+SharpZipLib library
+ii  libmono-sharpzip2.84-cil         1.2.3.1-6~pre1                  Mono
+SharpZipLib library
+ii  libmono-system-data1.0-cil       1.2.3.1-6~pre1                  Mono
+System.Data library
+ii  libmono-system-data2.0-cil       1.2.3.1-6~pre1                  Mono
+System.Data Library
+ii  libmono-system-runtime1.0-cil    1.2.3.1-6~pre1                  Mono
+System.Runtime library
+ii  libmono-system-runtime2.0-cil    1.2.3.1-6~pre1                  Mono
+System.Runtime Library
+ii  libmono-system-web1.0-cil        1.2.3.1-6~pre1                  Mono
+System.Web library
+ii  libmono-system-web2.0-cil        1.2.3.1-6~pre1                  Mono
+System.Web Library
+ii  libmono-system1.0-cil            1.2.3.1-6~pre1                  Mono
+System libraries (1.0)
+ii  libmono-system2.0-cil            1.2.3.1-6~pre1                  Mono
+System libraries (2.0)
+ii  libmono-winforms1.0-cil          1.2.3.1-6~pre1                  Mono
+System.Windows.Forms library
+ii  libmono-winforms2.0-cil          1.2.3.1-6~pre1                  Mono
+System.Windows.Forms library
+ii  libmono0                         1.2.3.1-6~pre1                 
+libraries for the Mono JIT
+ii  libmono1.0-cil                   1.2.3.1-6~pre1                  Mono
+libraries (1.0)
+ii  libmono2.0-cil                   1.2.3.1-6~pre1                  Mono
+libraries (2.0)
+ii  mono                             1.2.3.1-6~pre1                  Mono
+CLI (.NET) runtime
+ii  mono-common                      1.2.3.1-6~pre1                  common
+files for Mono
+ii  mono-gac                         1.2.3.1-6~pre1                  Mono
+GAC tool
+ii  mono-jit                         1.2.3.1-6~pre1                  fast
+CLI JIT/AOT compiler for Mono
+ii  mono-mcs                         1.2.3.1-6~pre1                  Mono
+C# compiler


More information about the mono-bugs mailing list