[Mono-bugs] [Bug 76800][Wis] New - SIGSEGV in jit, or null reference exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 23 06:49:43 EST 2005


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 niall at xrnd.com.

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

--- shadow/76800	2005-11-23 06:49:43.000000000 -0500
+++ shadow/76800.tmp.17923	2005-11-23 06:49:43.000000000 -0500
@@ -0,0 +1,89 @@
+Bug#: 76800
+Product: Mono: Runtime
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 64 Fedora Core 4 running on AMD64 machine
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: niall at xrnd.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SIGSEGV in jit, or null reference exception
+
+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. Install F# compiler on windows (will not currently run on linux).
+2. Compile simple test program:
+let x = 10 in print x
+using the command:
+fsc -g test.fs
+3. Install required f# runtime libraries on linux (fslib.dll and mllib.dll
+from f# installation) using gacutil.
+4. Execute program
+mono test.exe
+
+Actual Results:
+=================================================================
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries 
+used by your application.
+=================================================================
+
+Stacktrace:
+
+
+Native stacktrace:
+
+        mono(mono_handle_native_sigsegv+0x88) [0x4fee08]
+        mono [0x4d4f89]
+        /lib64/libpthread.so.0 [0x3c18e0c3a0]
+Aborted
+
+Alternatively:
+1. Compile program on windows with the command:
+fsc --cli-version 1.1 test.fs
+2. Install required f# runtime libraries (fslib10.dll and mllib10.dll)
+using gacutil.
+3. Execute program:
+mono test.exe
+
+Actual Result:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0x0000c>
+Microsoft.FSharp.Experimental.Collections.CHashTable:get_gbuckets ()
+in <0x00064>
+Microsoft.FSharp.Experimental.Collections.CHashTableOps:gen_replace_TLR_3 at 333@333
+(Microsoft.FSharp.Experimental.Collections.CHashTable t, System.Object x,
+System.Object y)
+in <0x00024> Microsoft.FSharp.Experimental.Collections.CHashTable:Replace
+(System.Object y, System.Object z)
+in <0x00044> Microsoft.FSharp.Experimental.Collections.CHashSet:Add
+(System.Object y)
+in <0x0007a> Microsoft.FSharp.MLLib.Pervasives:objL_TLR_1 at 919@919
+(Microsoft.FSharp.MLLib.format_options aenv0 at 919,
+Microsoft.FSharp.Experimental.Collections.CHashSet aenv1 at 919, Int32
+aenv2 at 919, System.Object aenv3 at 919)
+in <0x00066> Microsoft.FSharp.MLLib.Pervasives:anyL_TLR_2 at 909@909
+(Microsoft.FSharp.MLLib.format_options opts, System.Object x)
+in <0x0008a> Microsoft.FSharp.MLLib.Pervasives:print (System.Object x)
+in <0x0002e> Test:_main ()
+
+Expected Results in both cases:
+Program should print 10 to console.
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+None.


More information about the mono-bugs mailing list