After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 561475 - Editing metadata for any track causes banshee to crash
Editing metadata for any track causes banshee to crash
Status: RESOLVED DUPLICATE of bug 552854
Product: banshee
Classification: Other
Component: Metadata
1.4.1
Other Linux
: Normal major
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-19 08:09 UTC by Andrew Hayworth
Modified: 2008-11-19 18:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Hayworth 2008-11-19 08:09:50 UTC
Added some new tracks to my library tonight, and I've noticed that Banshee crashes when trying to edit the metadata of those tracks -- and it seems to affect all fields (eg title, artist etc).

I've confirmed that it affects several filetypes, including MP3 and FLAC.

Here is the stack trace from the console at the moment of the crash (This, specifically, was trying to edit the artist of an mp3):

Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.InvalidCastException: Cannot cast from source type to destination type.
  at Gtk.TextInsertedArgs.get_Position () [0x00000] 
  at Hyena.Gui.EditableUndoAdapter`1[Gtk.Entry].OnTextInserted (System.Object o, Gtk.TextInsertedArgs args) [0x00000] 
  at Gtk.Entry.TextInsertedSignalCallback (IntPtr arg0, IntPtr arg1, Int32 arg2, System.Int32& arg3, IntPtr gch) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Entry.TextInsertedSignalCallback(IntPtr arg0, IntPtr arg1, Int32 arg2, Int32 ByRef arg3, IntPtr gch)
   at Gtk.Dialog.gtk_dialog_run(IntPtr )
   at Gtk.Dialog.Run()
   at Banshee.Gui.TrackEditor.TrackEditorDialog.Run(Banshee.Collection.TrackListModel model, EditorMode mode)
   at Banshee.Gui.TrackEditor.TrackEditorDialog.RunEdit(Banshee.Collection.TrackListModel model)
   at Banshee.Gui.TrackActions.OnTrackEditor(System.Object o, System.EventArgs args)
   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)
   at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
   at System.Delegate.DynamicInvokeImpl(System.Object[] args)
   at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
   at System.Delegate.DynamicInvoke(System.Object[] args)
   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()
   at Banshee.Gui.GtkBaseClient.Startup()
   at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
   at Banshee.Gui.GtkBaseClient.Startup()
   at Banshee.Gui.GtkBaseClient.Startup(System.String[] args)
   at Nereid.Client.Main(System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.Reflection.Assembly , System.String[] )
   at System.AppDomain.ExecuteAssemblyInternal(System.Reflection.Assembly a, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile, System.Security.Policy.Evidence assemblySecurity, System.String[] args)
   at System.AppDomain.ExecuteAssembly(System.String assemblyFile)
   at Booter.Booter.BootClient(System.String clientName)
   at Booter.Booter.Main()


Thanks!
Comment 1 Bertrand Lorentz 2008-11-19 18:23:56 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed.
You may want to check for an upgrade of the Gtk# library.


*** This bug has been marked as a duplicate of 552854 ***