[Mono-bugs] [Bug 28194][Blo] New - When calling sizeof(string) mono gets a Trace/breakpoint trap

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
25 Jul 2002 16:24:59 -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 kiwnix@yahoo.es.

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

--- shadow/28194	Thu Jul 25 12:24:59 2002
+++ shadow/28194.tmp.5576	Thu Jul 25 12:24:59 2002
@@ -0,0 +1,50 @@
+Bug#: 28194
+Product: Mono/Runtime
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: debian sid with alp cvs packages
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: kiwnix@yahoo.es               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: When calling sizeof(string) mono gets a Trace/breakpoint trap
+
+Description of Problem:
+When you call sizeof(string) mono halts with a:
+
+** ERROR **: file jit.c: line 3447 (mono_analyze_stack): assertion failed:
+(szclass->valuetype)
+aborting...
+Trace/breakpoint trap
+
+Test Case:
+
+using System;
+class test1
+{
+        public static void Main()
+        {
+                string d = "hola";
+                int a = sizeof(string);
+        }
+}
+
+
+Actual Results:
+
+mono fails
+
+Expected Results:
+
+none (get in a the size of a string)
+
+How often does this happen? 
+
+Allways