Bug 2078 - Debugger tooltips crash when expanded with shift-arrow
Summary: Debugger tooltips crash when expanded with shift-arrow
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: PC Mac OS
: High major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-11-17 11:59 UTC by Mikayla Hutchinson [MSFT]
Modified: 2013-02-11 04:42 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Mikayla Hutchinson [MSFT] 2011-11-17 11:59:25 UTC
Expand debugger object treeview with shift-right, MD crashes.


WARNING [2011-11-17 11:51:36Z]: Gtk-Warning: A node was inserted with a parent that's not in the tree.
This possibly means that a GtkTreeModel inserted a child node
before the parent was inserted.
Stack trace: 
   at Gtk.TreeStore.AppendNode(TreeIter parent)
   at MonoDevelop.Debugger.ObjectValueTreeView.AppendValue(TreeIter parent, System.String name, Mono.Debugging.Client.ObjectValue val)
   at MonoDevelop.Debugger.ObjectValueTreeView.OnTestExpandRow(TreeIter iter, Gtk.TreePath path)
   at Gtk.TreeView.testexpandrow_cb(IntPtr tree_view, IntPtr iter, IntPtr path)
   at Gtk.Widget.gtksharp_widget_base_key_press_event(IntPtr , IntPtr )
   at Gtk.Widget.OnKeyPressEvent(Gdk.EventKey evnt)
   at MonoDevelop.Ide.Gui.DefaultWorkbench.OnKeyPressEvent(Gdk.EventKey evnt)
   at Gtk.Widget.keypressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run()
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options)
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args)
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args)
WARNING [2011-11-17 11:51:36Z]: Gtk-Warning: A node was inserted with a parent that's not in the tree.
This possibly means that a GtkTreeModel inserted a child node
before the parent was inserted.
Stack trace: 
   at Gtk.TreeStore.AppendNode(TreeIter parent)
   at MonoDevelop.Debugger.ObjectValueTreeView.AppendValue(TreeIter parent, System.String name, Mono.Debugging.Client.ObjectValue val)
   at MonoDevelop.Debugger.ObjectValueTreeView.OnTestExpandRow(TreeIter iter, Gtk.TreePath path)
   at Gtk.TreeView.testexpandrow_cb(IntPtr tree_view, IntPtr iter, IntPtr path)
   at Gtk.Widget.gtksharp_widget_base_key_press_event(IntPtr , IntPtr )
   at Gtk.Widget.OnKeyPressEvent(Gdk.EventKey evnt)
   at MonoDevelop.Ide.Gui.DefaultWorkbench.OnKeyPressEvent(Gdk.EventKey evnt)
   at Gtk.Widget.keypressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run()
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options)
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args)
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args)
WARNING [2011-11-17 11:51:36Z]: Gtk-Warning: A node was inserted with a parent that's not in the tree.
This possibly means that a GtkTreeModel inserted a child node
before the parent was inserted.
Stack trace: 
   at Gtk.TreeStore.AppendNode(TreeIter parent)
   at Gtk.TreeStore.AppendValues(TreeIter parent, System.Array values)
   at Gtk.TreeStore.AppendValues(TreeIter parent, System.Object[] values)
   at MonoDevelop.Debugger.ObjectValueTreeView.SetValues(TreeIter parent, TreeIter it, System.String name, Mono.Debugging.Client.ObjectValue val)
   at MonoDevelop.Debugger.ObjectValueTreeView.AppendValue(TreeIter parent, System.String name, Mono.Debugging.Client.ObjectValue val)
   at MonoDevelop.Debugger.ObjectValueTreeView.OnTestExpandRow(TreeIter iter, Gtk.TreePath path)
   at Gtk.TreeView.testexpandrow_cb(IntPtr tree_view, IntPtr iter, IntPtr path)
   at Gtk.Widget.gtksharp_widget_base_key_press_event(IntPtr , IntPtr )
   at Gtk.Widget.OnKeyPressEvent(Gdk.EventKey evnt)
   at MonoDevelop.Ide.Gui.DefaultWorkbench.OnKeyPressEvent(Gdk.EventKey evnt)
   at Gtk.Widget.keypressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run()
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options)
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args)
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args)
WARNING [2011-11-17 11:51:36Z]: Gtk-Warning: A node was inserted with a parent that's not in the tree.
This possibly means that a GtkTreeModel inserted a child node
before the parent was inserted.
Stack trace: 
   at Gtk.TreeStore.AppendNode(TreeIter parent)
   at MonoDevelop.Debugger.ObjectValueTreeView.AppendValue(TreeIter parent, System.String name, Mono.Debugging.Client.ObjectValue val)
   at MonoDevelop.Debugger.ObjectValueTreeView.OnTestExpandRow(TreeIter iter, Gtk.TreePath path)
   at Gtk.TreeView.testexpandrow_cb(IntPtr tree_view, IntPtr iter, IntPtr path)
   at Gtk.Widget.gtksharp_widget_base_key_press_event(IntPtr , IntPtr )
   at Gtk.Widget.OnKeyPressEvent(Gdk.EventKey evnt)
   at MonoDevelop.Ide.Gui.DefaultWorkbench.OnKeyPressEvent(Gdk.EventKey evnt)
   at Gtk.Widget.keypressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run()
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options)
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args)
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args)
WARNING [2011-11-17 11:51:36Z]: Gtk-Warning: A node was inserted with a parent that's not in the tree.
This possibly means that a GtkTreeModel inserted a child node
before the parent was inserted.
Stack trace: 
   at Gtk.TreeStore.AppendNode(TreeIter parent)
   at Gtk.TreeStore.AppendValues(TreeIter parent, System.Array values)
   at Gtk.TreeStore.AppendValues(TreeIter parent, System.Object[] values)
   at MonoDevelop.Debugger.ObjectValueTreeView.SetValues(TreeIter parent, TreeIter it, System.String name, Mono.Debugging.Client.ObjectValue val)
   at MonoDevelop.Debugger.ObjectValueTreeView.AppendValue(TreeIter parent, System.String name, Mono.Debugging.Client.ObjectValue val)
   at MonoDevelop.Debugger.ObjectValueTreeView.OnTestExpandRow(TreeIter iter, Gtk.TreePath path)
   at Gtk.TreeView.testexpandrow_cb(IntPtr tree_view, IntPtr iter, IntPtr path)
   at Gtk.Widget.gtksharp_widget_base_key_press_event(IntPtr , IntPtr )
   at Gtk.Widget.OnKeyPressEvent(Gdk.EventKey evnt)
   at MonoDevelop.Ide.Gui.DefaultWorkbench.OnKeyPressEvent(Gdk.EventKey evnt)
   at Gtk.Widget.keypressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run()
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options)
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args)
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args)
**
Gtk:ERROR:gtktreestore.c:522:gtk_tree_store_get_path: assertion failed: (G_NODE (iter->user_data)->parent != NULL)
Stacktrace:

  at (wrapper managed-to-native) Gtk.Widget.gtksharp_widget_base_key_press_event (intptr,intptr) <0xffffffff>
  at Gtk.Widget.OnKeyPressEvent (Gdk.EventKey) <0x0002b>
  at MonoDevelop.Ide.Gui.DefaultWorkbench.OnKeyPressEvent (Gdk.EventKey) <0x001a3>
  at Gtk.Widget.keypressevent_cb (intptr,intptr) <0x00061>
  at (wrapper native-to-managed) Gtk.Widget.keypressevent_cb (intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at MonoDevelop.Ide.IdeApp.Run () <0x0000b>
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) <0x01467>
  at MonoDevelop.Ide.IdeStartup.Main (string[]) <0x000ef>
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) <0x00013>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

MonoTouch.UIKit.UIColor
MonoTouch.Foundation.MonoTouchException
MonoTouch.Foundation.NSException
MonoTouch.Foundation.NSArray
MonoTouch.CoreAnimation.CAEAGLLayer
MonoTouch.CoreAnimation.CALayer
	0   mono                                0x000d4e22 mono_handle_native_sigsegv + 376
	1   mono                                0x00138360 sigabrt_signal_handler + 116
	2   libsystem_c.dylib                   0x9c45759b _sigtramp + 43
	3   ???                                 0xffffffff 0x0 + 4294967295
	4   libsystem_c.dylib                   0x9c3f2bdd abort + 167
	5   libglib-2.0.0.dylib                 0x03459920 __inline_strcpy_chk + 0
	6   libglib-2.0.0.dylib                 0x034599a1 g_assertion_message_cmpnum + 0
	7   libgtk-quartz-2.0.0.dylib           0x0423f708 gtk_tree_store_get_path + 261
	8   libgtk-quartz-2.0.0.dylib           0x0422d4ff gtk_tree_model_get_path + 296
	9   libgtk-quartz-2.0.0.dylib           0x042592e8 gtk_tree_view_build_tree + 246
	10  libgtk-quartz-2.0.0.dylib           0x042593c5 gtk_tree_view_build_tree + 467
	11  libgtk-quartz-2.0.0.dylib           0x042593c5 gtk_tree_view_build_tree + 467
	12  libgtk-quartz-2.0.0.dylib           0x04260d1f gtk_tree_view_real_expand_row + 673
	13  libgtk-quartz-2.0.0.dylib           0x0425c438 gtk_tree_view_real_expand_collapse_cursor_row + 265
	14  libgtk-quartz-2.0.0.dylib           0x0411146b _gtk_marshal_BOOLEAN__BOOLEAN_BOOLEAN_BOOLEAN + 253
	15  libgobject-2.0.0.dylib              0x0356a94b g_type_class_meta_marshal + 97
	16  libgobject-2.0.0.dylib              0x0356a642 g_closure_invoke + 370
	17  libgobject-2.0.0.dylib              0x03583854 signal_emit_unlocked_R + 3014
	18  libgobject-2.0.0.dylib              0x03581df2 g_signal_emitv + 779
	19  libgtk-quartz-2.0.0.dylib           0x040223a6 gtk_binding_entry_activate + 677
	20  libgtk-quartz-2.0.0.dylib           0x04023401 binding_match_activate + 210
	21  libgtk-quartz-2.0.0.dylib           0x0402378e gtk_bindings_activate_list + 550
	22  libgtk-quartz-2.0.0.dylib           0x04023b28 gtk_bindings_activate_event + 401
	23  libgtk-quartz-2.0.0.dylib           0x042846ad gtk_widget_real_key_press_event + 24
	24  libgtk-quartz-2.0.0.dylib           0x042523ea gtk_tree_view_key_press + 1676
	25  libgtk-quartz-2.0.0.dylib           0x0410fd23 _gtk_marshal_BOOLEAN__BOXED + 225
	26  libgobject-2.0.0.dylib              0x0356a94b g_type_class_meta_marshal + 97
	27  libgobject-2.0.0.dylib              0x0356a642 g_closure_invoke + 370
	28  libgobject-2.0.0.dylib              0x03583854 signal_emit_unlocked_R + 3014
	29  libgobject-2.0.0.dylib              0x03582802 g_signal_emit_valist + 2292
	30  libgobject-2.0.0.dylib              0x03582aae g_signal_emit + 44
	31  libgtk-quartz-2.0.0.dylib           0x04284d95 gtk_widget_event_internal + 846
	32  libgtk-quartz-2.0.0.dylib           0x04284814 gtk_widget_event + 283
	33  libgtk-quartz-2.0.0.dylib           0x0429aef3 gtk_window_propagate_key_event + 220
	34  libgtk-quartz-2.0.0.dylib           0x0429afb2 gtk_window_key_press_event + 77
	35  libgtksharpglue-2.so                0x087d8e52 gtksharp_widget_base_key_press_event + 73
	36  ???                                 0x107344a0 0x0 + 275989664
	37  ???                                 0x10734454 0x0 + 275989588
	38  ???                                 0x10734364 0x0 + 275989348
	39  ???                                 0x10734182 0x0 + 275988866
	40  ???                                 0x087b26cc 0x0 + 142288588
	41  libgtk-quartz-2.0.0.dylib           0x0410fd23 _gtk_marshal_BOOLEAN__BOXED + 225
	42  libgobject-2.0.0.dylib              0x0356a94b g_type_class_meta_marshal + 97
	43  libgobject-2.0.0.dylib              0x0356a642 g_closure_invoke + 370
	44  libgobject-2.0.0.dylib              0x03583854 signal_emit_unlocked_R + 3014
	45  libgobject-2.0.0.dylib              0x03582802 g_signal_emit_valist + 2292
	46  libgobject-2.0.0.dylib              0x03582aae g_signal_emit + 44
	47  libgtk-quartz-2.0.0.dylib           0x04284d95 gtk_widget_event_internal + 846
	48  libgtk-quartz-2.0.0.dylib           0x04284814 gtk_widget_event + 283
	49  libgtk-quartz-2.0.0.dylib           0x0410e2cb gtk_propagate_event + 519
	50  libgtk-quartz-2.0.0.dylib           0x0410cdfb gtk_main_do_event + 1203
	51  libgdk-quartz-2.0.0.dylib           0x036099f0 gdk_event_dispatch + 130
	52  libglib-2.0.0.dylib                 0x0342b962 g_main_dispatch + 489
	53  libglib-2.0.0.dylib                 0x0342cf30 g_main_context_dispatch + 138
	54  libglib-2.0.0.dylib                 0x0342d444 g_main_context_iterate + 1193
	55  libglib-2.0.0.dylib                 0x0342dc3e g_main_loop_run + 956
	56  libgtk-quartz-2.0.0.dylib           0x0410c2b3 gtk_main + 239
	57  ???                                 0x09fd847c 0x0 + 167609468
	58  ???                                 0x09fd8444 0x0 + 167609412
	59  ???                                 0x09fd8424 0x0 + 167609380
	60  ???                                 0x01fef730 0x0 + 33486640
	61  ???                                 0x004eff98 0x0 + 5177240
	62  ???                                 0x004efd9c 0x0 + 5176732
	63  ???                                 0x004efe56 0x0 + 5176918
	64  mono                                0x0000ee9f mono_jit_runtime_invoke + 1332
	65  mono                                0x001ee3a6 mono_runtime_invoke + 137
	66  mono                                0x001f0c60 mono_runtime_exec_main + 585
	67  mono                                0x001effee mono_runtime_run_main + 843
	68  mono                                0x000a5a26 mono_jit_exec + 200
	69  mono                                0x000a5c5d main_thread_handler + 555
	70  mono                                0x000a7d70 mono_main + 6993
	71  mono                                0x00001b2e mono_main_with_options + 536
	72  mono                                0x00001b8d main + 49
	73  mono                                0x000018d9 start + 53

Debug info from gdb:

MonoTouch.UIKit.UIViewPrintFormatter
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
No symbol table is loaded.  Use the "file" command.
Breakpoint 1 (mono_handle_native_sigsegv) pending.
Breakpoint 2 (-[NSException raise]) pending.
Breakpoint 3 (-[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 4 (-[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 5 (NSKVODeallocateBreak) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 6 (_NSAutoreleaseNoPool) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 7 (-[_NSZombie init]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 8 (-[_NSZombie retainCount]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 9 (-[_NSZombie retain]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 10 (-[_NSZombie release]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 11 (-[_NSZombie autorelease]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 12 (-[_NSZombie methodSignatureForSelector:]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 13 (-[_NSZombie respondsToSelector:]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 14 (-[_NSZombie forwardInvocation:]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 15 (-[_NSZombie class]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 16 (-[_NSZombie dealloc]) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 17 (szone_error) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 18 (objc_exception_throw) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 19 (malloc_error_break) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 20 (CGPostError) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 21 (malloc_printf) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 22 (_objc_error) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 23 (objc_exception_during_finalize_error) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 24 (auto_zone_resurrection_error) pending.
No symbol table is loaded.  Use the "file" command.
Breakpoint 25 (auto_refcount_underflow_error) pending.
/tmp/mono-gdb-commands.uNFPEj:1: Error in sourced command file:
unable to debug self
MonoTouch.UIKit.UIPrintFormatter

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
Comment 1 Jatin 2013-02-11 04:42:08 UTC
Today, with the latest build:

MD 4.0 - db3ef976e04673c4dc1cdb3b8901753ef462c429
MFA 4.6.0.32

This issue is not appearing.