[Mono-bugs] [Bug 30823][Min] Changed - monodis crashes on global fields with pointer type

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 23 Apr 2005 09:15:07 -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 gonzalo@ximian.com.

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

--- shadow/30823	2004-06-21 13:09:24.000000000 -0400
+++ shadow/30823.tmp.9023	2005-04-23 09:15:07.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 30823
 Product: Mono: Runtime
 Version: unspecified
 OS: Debian Woody
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Minor
 Component: misc
 AssignedTo: lupus@ximian.com                            
 ReportedBy: vargaz@freemail.hu               
 QAContact: mono-bugs@ximian.com
@@ -38,6 +38,42 @@
 Just an update (With CVS as of 2/18/2004):
 
 Monodis fails with:
 "Error while trying to process test.exe"
 
 Both the runtime and the interpreter are unable to open the assembly.
+
+------- Additional Comments From gonzalo@ximian.com  2005-04-23 09:15 -------
+gonzalo@lalo:/tmp $ monodis lala.exe
+.assembly extern mscorlib
+{
+  .ver 0:0:0:0
+}
+.assembly 'foo'
+{
+  .hash algorithm 0x00000000
+  .ver  0:0:0:0
+}
+.module foo // GUID = {E17A4BCB-8B6C-456F-9E56-61655CDF17F6}
+
+    .field  privatescope static   int32* bar at D_00004000
+
+  .class private auto ansi foo2
+        extends [mscorlib]System.Object
+  {
+
+    // method line 1
+    .method public static
+           default int32 Main ()  cil managed
+    {
+        // Method begins at RVA 0x2050
+        .entrypoint
+        // Code size 2 (0x2)
+        .maxstack 16
+        IL_0000:  ldc.i4.0
+        IL_0001:  ret
+    } // end of method foo2::default int32 Main ()
+
+  } // end of class foo2
+
+.data D_00004000 = bytearray (
+         00 01 02 03) // size: 4