Bug 4608 - "undo"-ing in po editor textbox causes crash.
Summary: "undo"-ing in po editor textbox causes crash.
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Linux
: Low normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-04-24 02:41 UTC by Atsushi Eno
Modified: 2016-04-04 09:59 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 2012-04-24 02:41:15 UTC
Open some *.po file from some project (such as monodevelop itself).

Make some changes in translation text, and then type CTRL+Z.

It shows some infinite-ish stack trace. I could copy from somewhere in the middle...

--------
ERROR [2012-04-24 15:37:09Z]: Gtk-Critical: gtk_list_store_get_value: assertion `column < list_store->n_columns' failed
Stack trace: 
   at Gtk.ListStore.GetValue(TreeIter iter, Int32 column, Value ByRef value)
   at Gtk.ListStore.GetValue(TreeIter iter, Int32 column)
   at MonoDevelop.Gettext.POEditorWidget.SelectEntry(MonoDevelop.Gettext.CatalogEntry entry) in /svn/monodevelop/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs:line 896
   at MonoDevelop.Gettext.POEditorWidget+Change.Undo() in /svn/monodevelop/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs:line 1227
   at MonoDevelop.Gettext.POEditorWidget.Undo() in /svn/monodevelop/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/POEditorWidget.cs:line 1257
   at MonoDevelop.Gettext.Editor.CatalogEditorView.MonoDevelop.Ide.Gui.Content.IUndoHandler.Undo() in /svn/monodevelop/main/src/addins/MonoDevelop.Gettext/MonoDevelop.Gettext.Editor/CatalogEditorView.cs:line 84
   at MonoDevelop.Ide.Gui.ViewCommandHandlers.OnUndo() in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ViewCommandHandlers.cs:line 115
   at System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod , System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in /svn/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:line 229
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters) in /svn/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:line 101
   at MonoDevelop.Components.Commands.CommandHandlerInfo.Run(System.Object cmdTarget, MonoDevelop.Components.Commands.Command cmd) in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:line 1908
   at MonoDevelop.Components.Commands.CommandManager+<DispatchCommand>c__AnonStorey49.<>m__58() in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:line 1045
   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:line 1062
   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(System.Object commandId, CommandSource source) in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:line 906
   at MonoDevelop.Components.Commands.CommandManager.OnKeyPressed(System.Object o, Gtk.KeyPressEventArgs e) in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:line 366
   at System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod , System.Object , System.Object[] , System.Exception ByRef )
   at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in /svn/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:line 229
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters) in /svn/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:line 101
   at System.Delegate.DynamicInvokeImpl(System.Object[] args) in /svn/mono/mcs/class/corlib/System/Delegate.cs:line 424
   at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args) in /svn/mono/mcs/class/corlib/System/MulticastDelegate.cs:line 72
   at System.Delegate.DynamicInvoke(System.Object[] args) in /svn/mono/mcs/class/corlib/System/Delegate.cs:line 398
   at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
   at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run() in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:line 389
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options) in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 272
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args) in /svn/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 503
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args) in /svn/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:line 16
ERROR [2012-04-24 15:37:09Z]: GLib-GObject-Critical: g_value_unset: assertion `G_IS_VALUE (value)' failed
Stack trace: 
   at GLib.Value.Dispose()
   at Gtk.ListStore.GetValue(TreeIter iter, Int32 column)

...

--------
Comment 1 Atsushi Eno 2012-04-24 13:11:00 UTC
Is there any reason this is set LOW priority? As a translator, this crasher is too annoying to prevent any translation work despite big demand for Sony PSS / Unity users.
Comment 4 xamarin-release-manager 2016-04-04 09:59:06 UTC
Fixed in version 6.1.0.466 (master)

Author: therzok
Commit: d52424677743ff5f738a41535067864476eb3a3d (mono/monodevelop)