Bugzilla – Bug 314846
mono --aot with 0.92 preview causes problems NullRefExn
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by malekith@pld-linux.org 2004-05-25 14:03:32 MST ---- 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. ---- Additional Comments From malekith@pld-linux.org 2004-05-25 14:04:28 MST ---- Created an attachment (id=166102) failing IL file ---- Additional Comments From vargaz@freemail.hu 2004-05-25 14:45:45 MST ---- This is same as 54209. *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO54209 *** Imported an attachment (id=166102) Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>tried on two linuxes</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"