GNOME Bugzilla – Bug 334001
crashes when click on delete playlist
Last modified: 2006-10-25 01:17:27 UTC
Steps to reproduce: 1. load banshee 2. start importing some new music (maybe not relevant) 3. click "delete playlist" 4. crash Stack trace: Warning: [09/03/2006 11:08:22] (Cannot connect to NetworkManager) - An available, working network connection will be assumed Debug: [09/03/2006 11:08:23] (Changed active playback engine) - GStreamer 0.10 Debug: [09/03/2006 11:08:23] (Loaded primary playback engine) - GStreamer 0.10 Debug: [09/03/2006 11:08:23] (Loaded Audio CD playback engine) - GStreamer 0.10 Debug: [09/03/2006 11:08:23] (Audio CD Core Initialised) - Debug: [09/03/2006 11:08:23] (Registering Inotify watch) - /home/drodgman/Music Starting Inotify threads (Banshee:3813): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. (Banshee:3813): GdkPixbuf-WARNING **: GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() - this is not allowed. You must explicitly end the data stream to the loader before dropping the last reference. Building initial DAAP database from local library... Starting DAAP Server Scanning library for tracks to update Done scanning library Processing track queue for pending queries Done processing track queue Cannot Import: /mnt/music/iTunes Music/1 Giant Leap/The Karma Collection Disc 2/13 Racing Away.mp3 (System.ApplicationException, Song is already in library) Cannot Import: /mnt/music/iTunes Music/Adam Kay & Suman Biswas/Fitness To Practice/01 Paracetamoxyfrusebendroneomycin.mp3 (System.ApplicationException, Song is already in library) Cannot Import: /mnt/music/iTunes Music/Adam Kay & Suman Biswas/Fitness To Practice/02 Nothing At All.mp3 (System.ApplicationException, Song is already in library) Cannot Import: /mnt/music/iTunes Music/Adam Kay & Suman Biswas/Fitness To Practice/03 Finals Countdown.mp3 (System.ApplicationException, Song is already in library) .... Cannot Import: /mnt/music/iTunes Music/Belle And Sebastian/If You're Feeling Sinister/08 Mayfly.mp3 (System.ApplicationException, Song is already in library) Cannot Import: /mnt/music/iTunes Music/Belle And Sebastian/If You're Feeling Sinister/09 The Boy Done Wrong Again.mp3 (System.ApplicationException, Song is already in library) Cannot Import: /mnt/music/iTunes Music/Belle And Sebastian/If You're Feeling Sinister/10 Judy And The Dream Of Horses.mp3 (System.ApplicationException, Song is already in library) (Banshee:3813): Gtk-CRITICAL **: gtk_tree_model_iter_nth_child: assertion `n >= 0' failed Unhandled Exception: System.InvalidOperationException: Hashtable.Enumerator: snapshot out of sync. in <0x00038> Enumerator:FailFast () in <0x0001e> Enumerator:MoveNext () in <0x00084> Banshee.PlaylistModel:ReloadSource () in <0x0000d> <>AnonHelp<19>:<#AnonymousMethod>24 (Banshee.Sources.SourceEventArgs) in <0x0003b> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_SourceEventArgs (Banshee.Sources.SourceEventArgs) in <0x0003b> Banshee.Sources.SourceManager:<#AnonymousMethod>7 (object,System.EventArgs) in <0x00051> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in <0x0001a> InvokeCB:Invoke () in <0x00037> (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool () in <0x0002a> TimeoutProxy:Handler () in <0x00036> (wrapper native-to-managed) TimeoutProxy:Handler () in (unmanaged) 0x77d9f3a7 in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main () in <0x00007> Gtk.Application:Run () in <0x005a6> Banshee.BansheeEntry:Startup (string[]) in <0x0000a> Banshee.BansheeEntry:Main (string[]) ================================================================= Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Stacktrace: in (wrapper managed-to-native) Banshee.Base.Gstreamer:gstreamer_detect_mimetype (intptr) <0x4> in (wrapper managed-to-native) Banshee.Base.Gstreamer:gstreamer_detect_mimetype (intptr) <0xfffffd95> in Banshee.Base.Gstreamer:DetectMimeType (System.Uri) <0x35> in Banshee.Base.LibraryTrackInfo:LoadFromFile (string) <0x33> in Banshee.Base.LibraryTrackInfo:.ctor (string) <0x59> in Banshee.PlayerUI:OnImportManagerImportRequested (object,Banshee.Base.ImportEventArgs) <0x65> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_ImportEventArgs (object,Banshee.Base.ImportEventArgs) <0xfffffec7> in Banshee.Base.ImportManager:ProcessQueue () <0x97> in <>AnonHelp<18>:<#AnonymousMethod>12 () <0x9f> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () <0xffffff90> in (wrapper runtime-invoke) System.Object:runtime_invoke_void (object,intptr,intptr,intptr) <0x16ad5ef> Native stacktrace: banshee version 10.7 mono version 1.1.13.4-0ubuntu3 Other information:
What are your gstreamer versions?
The attached is from gst-feedback-0.10 (I had an earlier version installed when I reported the bug, but it's still present with the attached version)
Created attachment 61607 [details] output of gst-feedback-0.10
Can you test 0.10.9/HEAD? A typefinding issue with GStreamer 0.10 was addressed for this release.
Tried HEAD - it crashed the first time I tried (although commandline output suggested that the import thread was still going), but subsequent tries were OK. Perhaps some subtle threading issue (everybody's favourite type of bug...)?
Tried again, the output suggested that the import finished completely, but the UI remained completely dead (i.e., wouldn't even redraw itself). commandline output attached. This is with CVS HEAD as of 22/03/06 12:10 GMT
Created attachment 61771 [details] output of banshee when it crashed during importing
regarding comments #6 & #7, here I didn't actually delete a playlist at all, but just ran the import. It seems the title of this defect is wrong and really deleting the playlist is not relevant, only performing an import.
Moving to the User Interface component.
What's the status of this? Something tells me it's been fixed. I'm not using GStreamer for mimetype detection, and I've never had a problem with it.
Closing this bug report as no further information has been provided. Dave, please feel free to reopen this bug if you can provide the information Aaron asked for. Thanks a lot!