[Mono-bugs] [Bug 80145][Nor] New - IndexOutOfRangeException when double-clicking object in heap-shot GUI

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Dec 4 15:46:38 EST 2006


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 mathias.hasselmann at gmx.de.

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

--- shadow/80145	2006-12-04 15:46:38.000000000 -0500
+++ shadow/80145.tmp.2929	2006-12-04 15:46:38.000000000 -0500
@@ -0,0 +1,97 @@
+Bug#: 80145
+Product: Mono: Tools
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: mathias.hasselmann at gmx.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: IndexOutOfRangeException when double-clicking object in heap-shot GUI
+
+Steps to reproduce the problem:
+1. launch heap-shot-gui
+2. open and select outfile_2.omap
+3. go to "All objects"
+4. try to expand UnderlinePlugin
+
+Actual Results:
+
+Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
+range.
+  at HeapShot.Reader.ObjectMapReader.GetObjectTypeName (Int32 obj) [0x00000] 
+  at HeapShot.Reader.ReferenceNode.GetReferenceNode (Int32 obj) [0x00000] 
+  at HeapShot.Reader.ReferenceNode.get_References () [0x00000] 
+  at HeapShot.Gui.Widgets.ReferenceTreeViewer.OnTestExpandRow
+(System.Object sender, Gtk.TestExpandRowArgs args) [0x00000] 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_TestExpandRowArgs
+(object,Gtk.TestExpandRowArgs)
+  at Gtk.TreeView.TestExpandRowSignalCallback (IntPtr arg0, Gtk.TreeIter&
+arg1, IntPtr arg2, IntPtr gch) [0x00000] 
+  at (wrapper native-to-managed) Gtk.TreeView:TestExpandRowSignalCallback
+(intptr,Gtk.TreeIter&,intptr,intptr)
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
+  at Gtk.Application.Run () [0x00000] 
+  at HeapShot.Gui.MainClass.Main (System.String[] args) [0x00000] 
+
+Expected Results:
+
+Display information about the selected memory object.
+
+How often does this happen? 
+
+Always.
+
+
+Additional Information:
+
+Similar behaviour when double-clicking the node:
+
+Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
+range.
+  at HeapShot.Reader.ObjectMapReader.GetObjectTypeName (Int32 obj) [0x00000] 
+  at HeapShot.Reader.ReferenceNode.GetReferenceNode (Int32 obj) [0x00000] 
+  at HeapShot.Reader.ReferenceNode.get_References () [0x00000] 
+  at HeapShot.Gui.Widgets.ReferenceTreeViewer.OnTestExpandRow
+(System.Object sender, Gtk.TestExpandRowArgs args) [0x00000] 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_TestExpandRowArgs
+(object,Gtk.TestExpandRowArgs)
+  at Gtk.TreeView.TestExpandRowSignalCallback (IntPtr arg0, Gtk.TreeIter&
+arg1, IntPtr arg2, IntPtr gch) [0x00000] 
+  at (wrapper native-to-managed) Gtk.TreeView:TestExpandRowSignalCallback
+(intptr,Gtk.TreeIter&,intptr,intptr)
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native) Gtk.TreeView:gtk_tree_view_expand_row
+(intptr,intptr,bool)
+  at Gtk.TreeView.ExpandRow (Gtk.TreePath path, Boolean open_all) [0x00000] 
+  at HeapShot.Gui.Widgets.ReferenceTreeViewer.FillType
+(HeapShot.Reader.ObjectMapReader file, System.String typeName) [0x00000] 
+  at HeapShot.Gui.Widgets.ObjectMapViewer.ShowTypeTree (System.String
+typeName, Boolean inverse) [0x00000] 
+  at HeapShot.Gui.Widgets.ObjectMapViewer.OnAllObjectsTreeTypeActivated
+(System.Object sender, System.EventArgs e) [0x00000] 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at HeapShot.Gui.Widgets.ReferenceTreeViewer.OnNodeActivated
+(System.Object sender, Gtk.RowActivatedArgs args) [0x00000] 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_RowActivatedArgs
+(object,Gtk.RowActivatedArgs)
+  at Gtk.TreeView.RowActivatedSignalCallback (IntPtr arg0, IntPtr arg1,
+IntPtr arg2, IntPtr gch) [0x00000] 
+  at (wrapper native-to-managed) Gtk.TreeView:RowActivatedSignalCallback
+(intptr,intptr,intptr,intptr)
+  at <0x00000> <unknown method>
+  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
+  at Gtk.Application.Run () [0x00000] 
+  at HeapShot.Gui.MainClass.Main (System.String[] args) [0x00000]


More information about the mono-bugs mailing list