[Mono-bugs] [Bug 63042][Wis] New - Problem with JIT of Mono 1.0
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 13 Aug 2004 12:08:50 -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 jgorrin@hotmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=63042
--- shadow/63042 2004-08-13 12:08:50.000000000 -0400
+++ shadow/63042.tmp.5596 2004-08-13 12:08:50.000000000 -0400
@@ -0,0 +1,65 @@
+Bug#: 63042
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: jgorrin@hotmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Summary: Problem with JIT of Mono 1.0
+
+Description of Problem:
+When we execute a program compiled on Windows (VisualBasic) on Linux
+Platform, using Mono 1.0, appears the next error:
+
+** (Rarezas.exe:24162): WARNING **: Missing method CopyArray in assembly
+/home/pablo/pruebas/jean/Rarezas.exe typeref index 4
+
+** ERROR **: file mini.c: line 3166 (mono_method_to_ir): assertion failed:
+(cmethod)
+aborting...
+./jean.sh: line 3: 24158 Aborted
+
+
+Our program is Rarezas.exe, and the code is the following:
+
+Steps to reproduce the problem:
+1. Compile and generate a program in Visual basic on Windows Platform with
+this code:
+Dim Aux() as String
+Dim B() As String
+Dim i As Integer
+For i=0 to 5
+ ReDim Preserve Aux(i)
+ Aux(i)="Jeannette"
+Next
+B= Aux
+
+
+2. Copy executable file on Linux machine
+3. Execute mono Rarezas.exe
+
+Actual Results:
+** (Rarezas.exe:24162): WARNING **: Missing method CopyArray in assembly
+/home/pablo/pruebas/jean/Rarezas.exe typeref index 4
+
+** ERROR **: file mini.c: line 3166 (mono_method_to_ir): assertion failed:
+(cmethod)
+aborting...
+
+
+Expected Results:
+Succesfull execution
+
+How often does this happen?
+Always, with this code
+
+Additional Information:
+When we eliminate "Preserve" word from this code, it works.