Bug 314846 (MONO59057) - mono --aot with 0.92 preview causes problems NullRefExn
Summary: mono --aot with 0.92 preview causes problems NullRefExn
Status: RESOLVED MOVED
Alias: MONO59057
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 21:03 UTC by Michal Moskal
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
failing IL file (2.76 KB, text/plain)
2004-05-25 21:04 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:39:19 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"