[Mono-bugs] [Bug 59057][Wis] New - mono --aot with 0.92 preview causes problems NullRefExn

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 25 May 2004 14:03:32 -0400 (EDT)


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 malekith@pld-linux.org.

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

--- shadow/59057	2004-05-25 14:03:32.000000000 -0400
+++ shadow/59057.tmp.29164	2004-05-25 14:03:32.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 59057
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: tried on two linuxes
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: malekith@pld-linux.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono --aot with 0.92 preview causes problems NullRefExn
+
+Description of Problem:
+
+The attached il file compiles fine and runs fine. However after mono --aot
+on it, running it causes NullRefException:
+
+Unhandled Exception: System.NullReferenceException: A null value was found
+where an object instance was required.
+in (unmanaged) (wrapper managed-to-native)
+System.Object:__icall_wrapper_helper_stelem_ref (intptr,int,object)
+in <0x00004> (wrapper managed-to-native)
+System.Object:__icall_wrapper_helper_stelem_ref (intptr,int,object)
+in <0x0001b> _N_lm_loop_64:loop ()
+in <0x000e7> ArrayTest:Main ()
+
+This kind of code occurs in nemerle compiler, so this effectively prevents
+it from being aoted, making it slooooow. It used to work with 0.91.