[Mono-bugs] [Bug 21889] New - icall.c has wrong cast to MonoArray*

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
14 Mar 2002 05:15:11 -0000


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 ndrochak@gol.com.

http://bugzilla.ximian.com/show_bug.cgi?id=21889

--- shadow/21889	Thu Mar 14 00:15:11 2002
+++ shadow/21889.tmp.1596	Thu Mar 14 00:15:11 2002
@@ -0,0 +1,30 @@
+Bug#: 21889
+Product: Mono/Runtime
+Version: unspecified
+OS: Red Hat 7.2
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ndrochak@gol.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: icall.c has wrong cast to MonoArray*
+
+mint crashed with RunTests.corlib.exe (cvs update about 10pm tokyo time 
+2002/March/13).
+
+Not sure if it's the cause, but found a bug in the icall for 
+Array.SetValueImpl().
+
+Line 100 has:
+vo = (MonoArray *)value;
+
+However value is not a MonoArray*.  It is a MonoObject*.
+
+Ran out of time to fix the problem, so I'm posting it here.