Bug 12480 - Editing a file opiton in Properties Pad causes Monodevelop to crash
Summary: Editing a file opiton in Properties Pad causes Monodevelop to crash
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: (C7)
Assignee: Matt Ward
URL:
Depends on:
Blocks:
 
Reported: 2013-05-30 18:24 UTC by ventsislav mladenov
Modified: 2016-01-11 15:16 UTC (History)
2 users (show)

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


Attachments
crash log (6.55 KB, application/x-bzip)
2013-11-02 04:46 UTC, Atsushi Eno
Details


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 ventsislav mladenov 2013-05-30 18:24:24 UTC
If I try to edit file Text option in Properties path involving Project save cause Monodevelop to crash. 
Affected options: Custom Tool, Custom Tool Namespace, Resource ID

P.S. Maybe duplicate with bug: 11412
Comment 1 Mikayla Hutchinson [MSFT] 2013-05-31 11:23:44 UTC
Do you have a crash trace?
Comment 2 Atsushi Eno 2013-11-02 04:46:13 UTC
Created attachment 5318 [details]
crash log

I encountered the issue that looked like this bug, on Ubuntu.

Repro:
- Create an empty project.
- Add EmbeddedResource.
- Change the resource name, type TAB to lost editor focus.

The crash log is attached (tar.bz2).
Comment 3 Atsushi Eno 2013-11-02 04:46:35 UTC
-> REOPENED
Comment 4 Mikayla Hutchinson [MSFT] 2013-11-04 17:26:43 UTC
Here is the error trace from that gz file:

Gtk:ERROR:/build/buildd/gtk+2.0-2.24.20/gtk/gtkcontainer.c:2743:IA__gtk_container_propagate_expose: assertion failed: (child->parent == GTK_WIDGET (container))
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Container.gtksharp_container_invoke_gtk_callback (intptr,intptr,intptr) <IL 0x00011, 0xffffffff>
  at Gtk.Container/CallbackInvoker.Invoke (Gtk.Widget) <IL 0x00012, 0x00027>
  at (wrapper unbox) Gtk.Container/CallbackInvoker.Invoke (Gtk.Widget) <IL 0x0000b, 0xffffffff>
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.ForAll (bool,Gtk.Callback) [0x00028] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:255
  at Gtk.Container.Forall_cb (intptr,bool,intptr,intptr) <IL 0x0002e, 0x00180>
  at (wrapper native-to-managed) Gtk.Container.Forall_cb (intptr,int,intptr,intptr) <IL 0x0002c, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Widget.gtksharp_widget_base_expose_event (intptr,intptr) <IL 0x00012, 0xffffffff>
  at Gtk.Widget.OnExposeEvent (Gdk.EventExpose) <IL 0x0001c, 0x00037>
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.OnExposeEvent (Gdk.EventExpose) [0x0013d] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:355
  at Gtk.Widget.exposeevent_cb (intptr,intptr) <IL 0x00014, 0x0007a>
  at (wrapper native-to-managed) Gtk.Widget.exposeevent_cb (intptr,intptr) <IL 0x00024, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main_iteration_do (bool) <IL 0x0001b, 0xffffffff>
  at Gtk.Application.RunIteration (bool) <IL 0x00001, 0x00013>
  at MonoDevelop.Ide.DispatchService.RunPendingEvents () [0x0005e] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/DispatchService.cs:145
  at MonoDevelop.Ide.ProgressMonitoring.BaseProgressMonitor.Dispose () [0x00001] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.ProgressMonitoring/BaseProgressMonitor.cs:161
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <IL 0x0004e, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Runtime.Remoting.RemotingServices.InternalExecute (System.Reflection.MethodBase,object,object[],object[]&) <IL 0x00010, 0xffffffff>
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage (System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMessage) [0x000c2] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:151
  at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x0001f] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Messaging/StackBuilderSink.cs:59
  at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00016] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Messaging/ServerObjectTerminatorSink.cs:53
  at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00007] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Lifetime/LeaseSink.cs:52
  at MonoDevelop.Ide.Gui.SyncContextDispatchSink.AsyncDispatchMessage (object) [0x00025] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SyncContextAttribute.cs:180
  at MonoDevelop.Ide.Gui.GuiSyncContext.AsyncDispatch (MonoDevelop.Ide.StatefulMessageHandler,object) [0x0000d] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/GuiSyncContext.cs:47
  at MonoDevelop.Ide.Gui.SyncContextDispatchSink.AsyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessageSink) [0x00058] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SyncContextAttribute.cs:172
  at MonoDevelop.Ide.Gui.SyncContextDispatchSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x000da] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SyncContextAttribute.cs:116
  at System.Runtime.Remoting.ClientActivatedIdentity.SyncObjectProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00041] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting/ServerIdentity.cs:191
  at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00023] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Messaging/ServerContextTerminatorSink.cs:50
  at System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00041] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Contexts/CrossContextChannel.cs:57
  at System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x0003b] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Messaging/ClientContextTerminatorSink.cs:62
  at System.Runtime.Remoting.Messaging.EnvoyTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) [0x00000] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Messaging/EnvoyTerminatorSink.cs:44
  at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke (System.Runtime.Remoting.Messaging.IMessage) [0x000ea] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Proxies/RemotingProxy.cs:100
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) [0x0009c] in /svn/mono/mcs/class/corlib/System.Runtime.Remoting.Proxies/RealProxy.cs:193
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_intptr&_intptr& (object,intptr,intptr,intptr) <IL 0x00070, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <IL 0x0000e, 0xffffffff>
  at (wrapper remoting-invoke) MonoDevelop.Ide.ProgressMonitoring.BaseProgressMonitor.Dispose () <IL 0x0002e, 0xffffffff>
  at MonoDevelop.Ide.ProjectOperations.Save (MonoDevelop.Projects.SolutionEntityItem) [0x0008e] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:372
  at MonoDevelop.Ide.ProjectOperations.Save (MonoDevelop.Projects.IWorkspaceFileObject) [0x00013] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:455
  at MonoDevelop.DesignerSupport.Projects.ComponentNodeCommandHandler.OnChanged (object) [0x00039] in /svn/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.Projects/ComponentNodeBuilder.cs:47
  at MonoDevelop.DesignerSupport.DesignerSupportService.OnPropertyGridChanged (object,System.EventArgs) [0x00018] in /svn/monodevelop/main/src/addins/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport/DesignerSupportService.cs:207
  at (wrapper delegate-invoke) <Module>.invoke_void__this___object_EventArgs (object,System.EventArgs) <IL 0x00059, 0xffffffff>
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.<StartEditing>m__5 (object,System.EventArgs) [0x00018] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:696
  at MonoDevelop.Components.PropertyGrid.EditSession.OnValueChanged (object,System.EventArgs) [0x00054] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyEditorCell.cs:278
  at MonoDevelop.Components.PropertyGrid.PropertyEditors.TextEditor.TextChanged (object,System.EventArgs) [0x0009b] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors/TextEditor.cs:137
  at MonoDevelop.Components.PropertyGrid.PropertyEditors.TextEditor.System.IDisposable.Dispose () [0x0002b] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors/TextEditor.cs:173
  at MonoDevelop.Components.PropertyGrid.PropertyEditors.TextEditor.OnDestroyed () [0x00008] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors/TextEditor.cs:167
  at Gtk.Object.NativeDestroy (object,System.EventArgs) <IL 0x0000f, 0x00055>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object_object (object,intptr,intptr,intptr) <IL 0x0005a, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <IL 0x0001c, 0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00054] in /svn/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:230
  at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in /svn/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:114
  at System.Delegate.DynamicInvokeImpl (object[]) [0x000d5] in /svn/mono/mcs/class/corlib/System/Delegate.cs:424
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) [0x00018] in /svn/mono/mcs/class/corlib/System/MulticastDelegate.cs:70
  at System.Delegate.DynamicInvoke (object[]) [0x00000] in /svn/mono/mcs/class/corlib/System/Delegate.cs:398
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) <IL 0x00067, 0x0015a>
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) <IL 0x00014, 0x0002f>
  at GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <IL 0x00086, 0x002a7>
  at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <IL 0x00028, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Object.gtk_object_destroy (intptr) <IL 0x0000f, 0xffffffff>
  at Gtk.Object.Destroy () <IL 0x0001c, 0x0002f>
  at Gtk.Widget.Destroy () <IL 0x00001, 0x0000f>
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.EndEditing () [0x0001f] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:669
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable.StartEditing (MonoDevelop.Components.PropertyGrid.PropertyGridTable/TableRow) [0x00002] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:680
  at MonoDevelop.Components.PropertyGrid.PropertyGridTable/<HandleKeyPressEvent>c__AnonStorey8.<>m__0 (object,System.EventArgs) [0x0000d] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid/PropertyGridTable.cs:722
  at Gtk.Application/InvokeCB.Invoke () <IL 0x00012, 0x00021>
  at GLib.Timeout/TimeoutProxy.Handler () <IL 0x0000d, 0x0003a>
  at (wrapper native-to-managed) GLib.Timeout/TimeoutProxy.Handler () <IL 0x0002d, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x0000e, 0xffffffff>
  at Gtk.Application.Run () <IL 0x00000, 0x0000b>
  at MonoDevelop.Ide.IdeApp.Run () [0x00000] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:387
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) [0x007b8] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:295
  at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00086] in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:542
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00000] in /svn/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:17
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>
Comment 5 Matt Ward 2016-01-11 15:16:59 UTC
Unable to repro this with Xamarin Studio 5.10, Mono 4.2 on Ubuntu 14.04.02. Marking this as fixed.