Banshee crashes if you search while importing

Bug #41196 reported by Neilen Marais
8
Affects Status Importance Assigned to Milestone
banshee (Debian)
Fix Released
Unknown
banshee (Ubuntu)
Fix Released
Medium
Sebastian Dröge

Bug Description

I'm running an up to date Dapper i386 on an Athlon XP. To reproduce:

1) Start fresh banshee with no database (i.e.the first time, or after rm -rf .gnome2/banshee/ .config/banshee/)

2) Start import on a large collection of music

3) While still importing, do some searches

Banshee crashes. On the terminal I see:

brick@wanbalans:~
$ rm -rf .gnome2/banshee/ .config/banshee/

brick@wanbalans:~
$ banshee
Warning: [2006/04/25 12:26:33 AM] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Creating track table
Creating playlists table
Creating playlistentries table
Debug: [2006/04/25 12:26:34 AM] (Default player engine) - GStreamer 0.10
Debug: [2006/04/25 12:26:34 AM] (Audio CD Core Initialized) -

(Banshee:14584): 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.
Cannot Import: /home/mp3/Alice-Cooper--Hey_Stoopid/descript.ion (Entagged.Audioformats.Exceptions.UnsupportedFormatException)
Cannot Import: /home/mp3/Alice-Cooper--Hey_Stoopid/descript.ion (Entagged.Audioformats.Exceptions.UnsupportedFormatException)
Cannot Import: /home/mp3/Bjork/HOMOG.TXT (Entagged.Audioformats.Exceptions.UnsupportedFormatException)
Cannot Import: /home/mp3/Bjork--Post/descript.ion (Entagged.Audioformats.Exceptions.UnsupportedFormatException)
Cannot Import: /home/mp3/Cake/index.html (Entagged.Audioformats.Exceptions.UnsupportedFormatException)
Cannot Import: /home/mp3/David Bowie - Complete Discography From 1967 To 2003/test.txt (Entagged.Audioformats.Exceptions.UnsupportedFormatException)

Unhandled Exception: System.InvalidOperationException: Hashtable.Enumerator: snapshot out of sync.
in <0x00038> System.Collections.Hashtable+Enumerator:FailFast ()
in <0x0001e> System.Collections.Hashtable+Enumerator:MoveNext ()
in <0x0012f> Banshee.PlayerUI:OnSimpleSearch (System.Object o, System.EventArgs args)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x001e8> Banshee.Widgets.SearchEntry:OnMenuItemToggled (System.Object o, System.EventArgs args)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00093> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr gch)
in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.CheckMenuItem:gtk_check_menu_item_set_active (intptr,bool)
in <0x0001c> Gtk.CheckMenuItem:set_Active (Boolean value)
in <0x00141> Banshee.Widgets.SearchEntry:OnMenuItemToggled (System.Object o, System.EventArgs args)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00093> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr gch)
in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.CheckMenuItem:gtk_check_menu_item_set_active (intptr,bool)
in <0x0001c> Gtk.CheckMenuItem:set_Active (Boolean value)
in <0x00141> Banshee.Widgets.SearchEntry:OnMenuItemToggled (System.Object o, System.EventArgs args)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00093> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr gch)
in (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
in <0x00000> <unknown method>
in (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x005a6> Banshee.BansheeEntry:Startup (System.String[] args)
in <0x0000a> Banshee.BansheeEntry:Main (System.String[] args)

=================================================================
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.Gstreamer.Utilities:gstreamer_detect_mimetype (intptr) <0x4>
in (wrapper managed-to-native) Banshee.Gstreamer.Utilities:gstreamer_detect_mimetype (intptr) <0xfffffd95>
in Banshee.Gstreamer.Utilities: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) <0x31>
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_ImportEventArgs (object,Banshee.Base.ImportEventArgs) <0xfffffeb7>
in Banshee.Base.ImportManager:ProcessQueue () <0x97>
in <>AnonHelp<21>:<#AnonymousMethod>15 () <0x9f>
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () <0xffffff90>
in (wrapper runtime-invoke) System.Object:runtime_invoke_void (object,intptr,intptr,intptr) <0x16825bf>

Native stacktrace:

        /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xe3) [0xb7dff43f]
        /usr/lib/libmono.so.0 [0xb7dc103e]
        [0xffffe440]
        /usr/lib/libgnomevfs-2.so.0 [0xb534a5b0]
        /usr/lib/libgnomevfs-2.so.0(gnome_vfs_module_callback_push+0x7f) [0xb534b0ab]
        /usr/lib/gstreamer-0.10/libgstgnomevfs.so [0xb486f403]
        /usr/lib/libgstbase-0.10.so.0 [0xb529aa81]
        /usr/lib/libgstbase-0.10.so.0 [0xb529b45f]
        /usr/lib/libgstreamer-0.10.so.0(gst_pad_activate_pull+0x1a1) [0xb5237f6f]
        /usr/lib/libgstreamer-0.10.so.0(gst_pad_activate_pull+0x303) [0xb52380d1]
        /usr/lib/gstreamer-0.10/libgstcoreelements.so [0xb4eced99]
        /usr/lib/libgstreamer-0.10.so.0(gst_pad_set_active+0xb3) [0xb5238283]
        /usr/lib/libgstreamer-0.10.so.0 [0xb5226c19]
        /usr/lib/libgstreamer-0.10.so.0(gst_iterator_fold+0x55) [0xb52315a4]
        /usr/lib/libgstreamer-0.10.so.0 [0xb5226cba]
        /usr/lib/libgstreamer-0.10.so.0 [0xb5226e51]
        /usr/lib/libgstreamer-0.10.so.0 [0xb5227190]
        /usr/lib/gstreamer-0.10/libgstcoreelements.so [0xb4ecf139]
        /usr/lib/libgstreamer-0.10.so.0 [0xb522627a]
        /usr/lib/libgstreamer-0.10.so.0 [0xb52268a5]
        /usr/lib/libgstreamer-0.10.so.0(gst_element_set_state+0x53) [0xb52255a3] /usr/lib/libgstreamer-0.10.so.0 [0xb52179af]
        /usr/lib/libgstreamer-0.10.so.0 [0xb523e5c2]
        /usr/lib/libgstreamer-0.10.so.0 [0xb522627a]
        /usr/lib/libgstreamer-0.10.so.0 [0xb5226398]
        /usr/lib/libgstreamer-0.10.so.0 [0xb52268a5]
        /usr/lib/libgstreamer-0.10.so.0(gst_element_set_state+0x53) [0xb52255a3] /usr/lib/banshee/libbanshee.so(gstreamer_detect_mimetype+0x134) [0xb54f39ed]
        [0xb380806d]
        [0xb3807dd6]
        [0xb39c7124]
        [0xb39c5fda]
        [0xb39c5dea]
        [0xb39c5d92]
        [0xb39c5c08]
        [0xb39c44e8]
        [0xb675bf40]
        [0xb675bea1]
        /usr/lib/libmono.so.0 [0xb7dde438]
        /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xb7e40eed]
        /usr/lib/libmono.so.0(mono_runtime_delegate_invoke+0x42) [0xb7e420ec]
        /usr/lib/libmono.so.0 [0xb7e724b4]
        /usr/lib/libmono.so.0 [0xb7ebc60f]
        /usr/lib/libmono.so.0(GC_start_routine+0x5f) [0xb7ed63b3]
        /lib/tls/i686/cmov/libpthread.so.0 [0xb7cbe341]
        /lib/tls/i686/cmov/libc.so.6(__clone+0x5e) [0xb7c294ee]

(Banshee:14632): Gnome-CRITICAL **: gnome_program_get_app_version: assertion `program != NULL' failed

brick@wanbalans:~

Revision history for this message
Sebastian Dröge (slomo) wrote :

That bug is already known and a hacky fix already exists... a real one should be there soon and I'll upload it then :)

Changed in banshee:
assignee: nobody → slomo
status: Unconfirmed → Confirmed
Revision history for this message
Sebastian Dröge (slomo) wrote :

this should be fixed with banshee 0.10.10-0ubuntu1 which was uploaded some seconds ago

Changed in banshee:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.