http://bugzilla.novell.com/show_bug.cgi?id=581959
http://bugzilla.novell.com/show_bug.cgi?id=581959#c0 Summary: Runtime crash when calling CompareTo on 2D array index Classification: Mono Product: Mono: Runtime Version: 2.6.x Platform: PC OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: JIT AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Description of Problem: Calling 'Int32.CompareTo' on an index of a 2D array results in a runtime crash in Mono. Steps to reproduce the problem: 1. Download and install the latest F# CTP at: http://www.microsoft.com/downloads/details.aspx?FamilyID=ba52e650-4e77-4b0b-b987-9f9ecd3bab3b&displaylang=en 2. Run the F# Interactive window (mono fsi.exe) 3. Enter the following code: let s = [1 .. 2] let q = [s; s; s] let a = array2D q;; a.[1,1].CompareTo(3) ;; Actual Results: Crash. > a.[1, 1].CompareTo(3);; MonoArrayMethod ** ERROR:reflection.c:11288:resolve_object: code should not be reached This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Expected Results: It just works. How often does this happen? Every time. Additional Information: The F# Interactive window uses Reflection.Emit to compile code and then execute it. When compiled using fsc.exe, this code works as expected. Note that other 2D array bugs have been recently fixed in Mono's trunk, which I wasn't able to validate the bug against. So this might have already been fixed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
