[Mono-bugs] [Bug 65651][Maj] New - VBC compiled application breaks on mono
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 9 Sep 2004 16:52:45 -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 jwezel@compumaster.de.
http://bugzilla.ximian.com/show_bug.cgi?id=65651
--- shadow/65651 2004-09-09 16:52:45.000000000 -0400
+++ shadow/65651.tmp.28604 2004-09-09 16:52:45.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 65651
+Product: Mono: Compilers
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: Basic
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: jwezel@compumaster.de
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: VBC compiled application breaks on mono
+
+Description of Problem:
+Compilation works fine on MS.NET as well as on Mono, but runtime differs:
+the VBC compiled version throws an exception
+
+
+Steps to reproduce the problem:
+
+1. File "redim.vb"
+imports System
+imports Microsoft.VisualBasic
+
+class ebbes
+
+shared sub main()
+ dim Brr as Integer()
+ redim preserve Brr(2)
+end sub
+
+end class
+
+2. Compile and run with mbas/mono and it's working fine
+
+3. Compile and run with vbc/mono and it's throwing following exception
+[root@lwezel Mono]# mono redim.exe
+
+** (redim.exe:28659): WARNING **: Missing method CopyArray in
+assembly /net/srv06/hd1/temp/Wezel/Mono/redim.exe typeref index 4
+
+** ERROR **: file mini.c: line 3317 (mono_method_to_ir): assertion failed:
+(cmethod)
+aborting...
+Abgebrochen
+
+
+Expected Results:
+The VBC compiled version should work, too!
+
+
+How often does this happen?
+Always