GNOME Bugzilla – Bug 564050
Crash on inserting a comment in a track
Last modified: 2008-12-11 18:20:24 UTC
Steps to reproduce: 1. Right-click in a track and choose Edit Track Info 2. Insert some text in the Comment text area. 3. Banshee crashes after a few seconds. Stack trace: Marshaling insert_text signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Cannot cast from source type to destination type. at Gtk.TextInsertedArgs.get_Position () [0x00000] at Hyena.Gui.EditableUndoAdapter`1[Hyena.Widgets.TextViewEditable].OnTextInserted (System.Object o, Gtk.TextInsertedArgs args) [0x00000] in /home/benja/Programas/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/EditableUndoAdapter.cs:112 at Hyena.Widgets.TextViewEditable.OnBufferInsertText (System.Object o, Gtk.InsertTextArgs args) [0x0004c] in /home/benja/Programas/banshee/src/Libraries/Hyena.Gui/Hyena.Widgets/TextViewEditable.cs:65 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00057] in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:157 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00071] in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:167 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System.Reflection/MethodBase.cs:110 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x000b4] in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System/Delegate.cs:422 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00018] in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System/MulticastDelegate.cs:71 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System/Delegate.cs:394 at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) 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.Dialog.gtk_dialog_run(IntPtr ) at Gtk.Dialog.Run() at Banshee.Gui.TrackEditor.TrackEditorDialog.Run(Banshee.Collection.TrackListModel model, EditorMode mode) in /home/benja/Programas/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs:line 638 at Banshee.Gui.TrackEditor.TrackEditorDialog.RunEdit(Banshee.Collection.TrackListModel model) in /home/benja/Programas/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs:line 560 at Banshee.Gui.TrackActions.OnTrackEditor(System.Object o, System.EventArgs args) in /home/benja/Programas/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs:line 309 at System.Reflection.MonoMethod.InternalInvoke(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 /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:line 157 at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters) in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System.Reflection/MethodBase.cs:line 110 at System.Delegate.DynamicInvokeImpl(System.Object[] args) in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System/Delegate.cs:line 422 at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args) in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System/MulticastDelegate.cs:line 71 at System.Delegate.DynamicInvoke(System.Object[] args) in /builddir/build/BUILD/mono-2.0.1/mcs/class/corlib/System/Delegate.cs:line 394 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 Banshee.Gui.GtkBaseClient.Run() in /home/benja/Programas/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 144 at Banshee.Gui.GtkBaseClient.Startup() in /home/benja/Programas/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 77 at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup) in /home/benja/Programas/banshee/src/Libraries/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:line 54 at Banshee.Gui.GtkBaseClient.Startup() in /home/benja/Programas/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 72 at Banshee.Gui.GtkBaseClient.Startup(System.String[] args) in /home/benja/Programas/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:line 62 at Nereid.Client.Main(System.String[] args) in /home/benja/Programas/banshee/src/Clients/Nereid/Nereid/Client.cs:line 48 Other information:
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 552854 ***