Bug 31509 - Showing a context menu on the solution pad causes crash.
Summary: Showing a context menu on the solution pad causes crash.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: master
Assignee: Cody Russell
URL:
Depends on:
Blocks:
 
Reported: 2015-06-30 15:08 UTC by Atsushi Eno
Modified: 2015-06-30 16:23 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:
RESOLVED FIXED

Description Atsushi Eno 2015-06-30 15:08:37 UTC
Open any kind of project (might be only to C#, never tried anything else), type context menu key to show the context menu. It simply causes crash after "I crashed (Report Never/ThisTime/Always)" dialog.

ERROR [2015-07-01 04:05:26Z]: An unhandled exception has occured. Terminating MonoDevelop? True
System.NullReferenceException: Object reference not set to an instance of an object
  at Mono.TextEditor.GtkWorkarounds.ShowContextMenu (Gtk.Menu menu, Gtk.Widget parent, Gdk.EventButton evt, Rectangle caret) [0x00002] in /svn/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/GtkWorkarounds.cs:492 
  at Mono.TextEditor.GtkWorkarounds.ShowContextMenu (Gtk.Menu menu, Gtk.Widget parent, Gdk.EventButton evt) [0x00009] in /svn/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/GtkWorkarounds.cs:524 
  at MonoDevelop.Components.Commands.CommandManager.ShowContextMenu (Gtk.Widget parent, Gdk.EventButton evt, Gtk.Menu menu, System.Object initialCommandTarget) [0x00023] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:959 
  at MonoDevelop.Components.Commands.CommandManager.ShowContextMenu (Gtk.Widget parent, Gdk.EventButton evt, MonoDevelop.Components.Commands.CommandEntrySet entrySet, System.Object initialCommandTarget, System.EventHandler closeHandler) [0x00017] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:908 
  at MonoDevelop.Components.Commands.CommandManager.ShowContextMenu (Gtk.Widget parent, Gdk.EventButton evt, MonoDevelop.Components.Commands.CommandEntrySet entrySet, System.Object initialCommandTarget) [0x00008] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:878 
  at MonoDevelop.Ide.Gui.Components.ExtensibleTreeView.ShowPopup (Gdk.EventButton evt) [0x0001d] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs:1788 
  at MonoDevelop.Components.ContextMenuTreeView.OnPopupMenu () [0x00014] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components/ContextMenuTreeView.cs:138 
  at Gtk.Widget.popupmenu_cb (IntPtr widget) [0x00010] in /svn/gtk-sharp/gtk/generated/Widget.cs:1305 
ERROR [2015-07-01 04:05:28Z]: Project unloading failed
System.NullReferenceException: Object reference not set to an instance of an object
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
  at (wrapper remoting-invoke) MonoDevelop.Projects.Formats.MSBuild.BuildEngine:UnloadProject (MonoDevelop.Projects.Formats.MSBuild.IProjectBuilder)
  at MonoDevelop.Projects.Formats.MSBuild.RemoteBuildEngine.UnloadProject (IProjectBuilder pb) [0x00009] in /svn/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/RemoteProjectBuilder.cs:69 
ERROR [2015-07-01 04:05:28Z]: Project unloading failed
System.NullReferenceException: Object reference not set to an instance of an object
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
  at (wrapper remoting-invoke) MonoDevelop.Projects.Formats.MSBuild.BuildEngine:UnloadProject (MonoDevelop.Projects.Formats.MSBuild.IProjectBuilder)
  at MonoDevelop.Projects.Formats.MSBuild.RemoteBuildEngine.UnloadProject (IProjectBuilder pb) [0x00009] in /svn/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/RemoteProjectBuilder.cs:69 
ERROR [2015-07-01 04:05:28Z]: Project unloading failed
System.NullReferenceException: Object reference not set to an instance of an object
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_remoting_wrapper (intptr,intptr)
  at (wrapper remoting-invoke) MonoDevelop.Projects.Formats.MSBuild.BuildEngine:UnloadProject (MonoDevelop.Projects.Formats.MSBuild.IProjectBuilder)
  at MonoDevelop.Projects.Formats.MSBuild.RemoteBuildEngine.UnloadProject (IProjectBuilder pb) [0x00009] in /svn/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MSBuild/RemoteProjectBuilder.cs:69 
make[1]: *** [runmd-sgen] Error 1
make[1]: Leaving directory `/svn/monodevelop/main'
make: *** [run] Error 2


MonoDevelop
Version 5.10 (build 300)
Installation UUID: 9f1f9462-1957-4109-af8f-6ca9f774a054
Runtime:
	Mono 4.3.0 (master/e02e386 2015年  6月 29日 月曜日 17:32:46 JST) (64-bit)
	GTK+ 2.24.23 (Ambiance theme)

Build Information
Release ID: 510000300
Git revision: c0a1d366046878786add3fceeae0d608d8dc7850
Build date: 2015-07-01 03:59:16+09

Operating System
Linux
Comment 1 xamarin-release-manager 2015-06-30 16:23:21 UTC
Fixed in version 5.10.0.301 (master)