[Mono-bugs] [Bug 30823][Nor] New - monodis crashes on global fields with pointer type

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
20 Sep 2002 18:35:34 -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 vargaz@freemail.hu.

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

--- shadow/30823	Fri Sep 20 14:35:34 2002
+++ shadow/30823.tmp.3718	Fri Sep 20 14:35:34 2002
@@ -0,0 +1,21 @@
+Bug#: 30823
+Product: Mono/Runtime
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vargaz@freemail.hu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: monodis crashes on global fields with pointer type
+
+The attached testcase crashes monodis. I debugged this, and the problem is
+in class.c/mono_ptr_class_get(): the size of the class is set to
+'sizeof(gpointer)' instead of 'sizeof(gpointer) + sizeof(MonoObject)'.