[Mono-bugs] [Bug 76800][Cri] Changed - SIGSEGV in jit, or null reference exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 23 14:55:44 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 14:53:13.000000000 -0500
+++ shadow/76800.tmp.23978	2005-11-23 14:55:44.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 76800
 Product: Mono: Runtime
 Version: 1.1
 OS: GNU/Linux [Other]
 OS Details: 64 Fedora Core 4 running on AMD64 machine
-Status: RESOLVED   
+Status: NEEDINFO   
 Resolution: DUPLICATE
 Severity: Unknown
 Priority: Critical
 Component: JIT
 AssignedTo: lupus at ximian.com                            
 ReportedBy: niall at xrnd.com               
@@ -99,6 +99,254 @@
 *** This bug has been marked as a duplicate of 76799 ***
 
 ------- Additional Comments From niall at xrnd.com  2005-11-23 14:53 -------
 Created an attachment (id=16111)
 Contains test programs referenced in bug description.
 
+
+------- Additional Comments From niall at xrnd.com  2005-11-23 14:55 -------
+# This works. Compiled for 1.1 with no tail calls.
+
+nut:~> mono test11ntc.exe 
+Mono-INFO: Assembly Loader probing location:
+'/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll'.
+Mono-INFO: AOT failed to load AOT module
+/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll.so:
+/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll.so: cannot open shared
+object file: No such file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/mscorlib/mscorlib.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/mscorlib/mscorlib.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/config'.
+Mono-INFO: Config attempting to parse: '/home/niall/.mono/config'.
+Mono-INFO: Assembly Loader probing location: 'test11ntc.exe'.
+Mono-INFO: AOT failed to load AOT module /home/niall/test11ntc.exe.so:
+/home/niall/test11ntc.exe.so: cannot open shared object file: No such
+file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location: 'test11ntc.exe'.
+Mono-INFO: Config attempting to parse: '/home/niall/test11ntc.exe.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/test11ntc/test11ntc.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/test11ntc/test11ntc.config'.
+Mono-INFO: Assembly Loader probing location: 'test11ntc.exe'.
+Mono-INFO: Assembly Loader loaded assembly from location: 'test11ntc.exe'.
+Mono-INFO: Config attempting to parse: '/home/niall/test11ntc.exe.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/test11ntc/test
+11ntc.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/test11ntc/test11ntc.config'.
+Mono-INFO: Assembly Loader probing location: '/home/niall/mllib10ntc.dll'.
+Mono-INFO: AOT failed to load AOT module
+/home/niall/mllib10ntc.dll.so: /home/niall/mllib10ntc.dll.so: cannot
+open shared object file: No such file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/home/niall/mllib10ntc.dll'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/mllib10ntc.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/mllib10ntc/mllib10ntc.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/mllib10ntc/mllib10ntc.config'.
+
+(test11ntc.exe:22157): Mono-WARNING **: The request to load the
+assembly mscorlib v1.0.3300.0 was remapped to v1.0.5000.0
+Mono-INFO: Assembly Loader probing location: '/home/niall/fslib10ntc.dll'.
+Mono-INFO: AOT failed to load AOT module
+/home/niall/fslib10ntc.dll.so: /home/niall/fslib10ntc.dll.so: cannot
+open shared object file: No such file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/home/niall/fslib10ntc.dll'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/fslib10ntc.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/fslib10ntc/fslib10ntc.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/fslib10ntc/fslib10ntc.config'.
+
+(test11ntc.exe:22157): Mono-WARNING **: The request to load the
+assembly mscorlib v1.0.3300.0 was remapped to v1.0.5000.0
+10nut:~> 
+
+#
+# Compiled  for 1.1 with tail calls; doesn't work.
+#
+
+nut:~> mono test11.exe
+Mono-INFO: Assembly Loader probing location:
+'/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll'.
+Mono-INFO: AOT failed to load AOT module
+/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll.so:
+/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll.so: cannot open shared
+object file: No such file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/lib/mono/1.0/mscorlib.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/mscorlib/mscorlib.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/mscorlib/mscorlib.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/config'.
+Mono-INFO: Config attempting to parse: '/home/niall/.mono/config'.
+Mono-INFO: Assembly Loader probing location: 'test11.exe'.
+Mono-INFO: AOT failed to load AOT module /home/niall/test11.exe.so:
+/home/niall/test11.exe.so: cannot open shared object file: No such
+file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location: 'test11.exe'.
+Mono-INFO: Config attempting to parse: '/home/niall/test11.exe.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/test/test.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/test/test.config'.
+Mono-INFO: Assembly Loader probing location: 'test11.exe'.
+Mono-INFO: Assembly Loader loaded assembly from location: 'test11.exe'.
+Mono-INFO: Config attempting to parse: '/home/niall/test11.exe.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/test/test.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/test/test.config'.
+Mono-INFO: Assembly Loader probing location: '/home/niall/mllib10.dll'.
+Mono-INFO: AOT failed to load AOT module /home/niall/mllib10.dll.so:
+/home/niall/mllib10.dll.so: cannot open shared object file: No such
+file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/home/niall/mllib10.dll'.
+Mono-INFO: Config attempting to parse: '/home/niall/mllib10.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/mllib10/mllib10.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/mllib10/mllib10.config'.
+
+(test11.exe:22164): Mono-WARNING **: The request to load the assembly
+mscorlib v1.0.3300.0 was remapped to v1.0.5000.0
+Mono-INFO: Assembly Loader probing location: '/home/niall/fslib10.dll'.
+Mono-INFO: AOT failed to load AOT module /home/niall/fslib10.dll.so:
+/home/niall/fslib10.dll.so: cannot open shared object file: No such
+file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/home/niall/fslib10.dll'.
+Mono-INFO: Config attempting to parse: '/home/niall/fslib10.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/fslib10/fslib10.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/fslib10/fslib10.config'.
+
+(test11.exe:22164): Mono-WARNING **: The request to load the assembly
+mscorlib v1.0.3300.0 was remapped to v1.0.5000.0
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in <0x00092> 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 <0x0006b> Microsoft.FSharp.MLLib.Pervasives:anyL_TLR_2 at 909@909
+(Microsoft.FSharp.MLLib.format_options opts, System.Object x)
+in <0x0008f> Microsoft.FSharp.MLLib.Pervasives:print (System.Object x)
+in <0x0002e> Test:_main ()
+nut:~> 
+
+#
+# Compiled for 2.0 with tail calls; doesn't work.
+#
+
+nut:~> mono test20.exe
+Mono-INFO: Assembly Loader probing location:
+'/usr/local/mono-svn/lib/mono/2.0/mscorlib.dll'.
+Mono-INFO: AOT failed to load AOT module
+/usr/local/mono-svn/lib/mono/2.0/mscorlib.dll.so:
+/usr/local/mono-svn/lib/mono/2.0/mscorlib.dll.so: cannot open shared
+object file: No such file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/usr/local/mono-svn/lib/mono/2.0/mscorlib.dll'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/lib/mono/2.0/mscorlib.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/mscorlib/mscorlib.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/mscorlib/mscorlib.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/config'.
+Mono-INFO: Config attempting to parse: '/home/niall/.mono/config'.
+Mono-INFO: Assembly Loader probing location: 'test20.exe'.
+Mono-INFO: AOT failed to load AOT module /home/niall/test20.exe.so:
+/home/niall/test20.exe.so: cannot open shared object file: No such
+file or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location: 'test20.exe'.
+Mono-INFO: Config attempting to parse: '/home/niall/test20.exe.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/test/test.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/test/test.config'.
+Mono-INFO: Assembly Loader probing location: 'test20.exe'.
+Mono-INFO: Assembly Loader loaded assembly from location: 'test20.exe'.
+Mono-INFO: Config attempting to parse: '/home/niall/test20.exe.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/test/test.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/test/test.config'.
+Mono-INFO: Assembly Loader probing location: '/home/niall/mllib.dll'.
+Mono-INFO: AOT failed to load AOT module /home/niall/mllib.dll.so:
+/home/niall/mllib.dll.so: cannot open shared object file: No such file
+or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/home/niall/mllib.dll'.
+Mono-INFO: Config attempting to parse: '/home/niall/mllib.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/mllib/mllib.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/mllib/mllib.config'.
+Mono-INFO: Assembly Loader probing location: '/home/niall/fslib.dll'.
+Mono-INFO: AOT failed to load AOT module /home/niall/fslib.dll.so:
+/home/niall/fslib.dll.so: cannot open shared object file: No such file
+or directory
+
+Mono-INFO: Assembly Loader loaded assembly from location:
+'/home/niall/fslib.dll'.
+Mono-INFO: Config attempting to parse: '/home/niall/fslib.dll.config'.
+Mono-INFO: Config attempting to parse:
+'/usr/local/mono-svn/etc/mono/assemblies/fslib/fslib.config'.
+Mono-INFO: Config attempting to parse:
+'/home/niall/.mono/assemblies/fslib/fslib.config'.
+
+=================================================================
+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) [0x50dd98]
+        mono [0x4dd408]
+        /lib64/libpthread.so.0 [0x3c18e0c3a0]
+Aborted
+nut:~> 
+
+#
+# Can't currently create a program compiled for 2.0 without 
+# tail calls.
+#
+


More information about the mono-bugs mailing list