GNOME Bugzilla – Bug 515380
crashes on import
Last modified: 2008-02-09 18:29:44 UTC
Steps to reproduce: 1. Open Banshee. 2. Choose "Music" -> "Import Music...". 3. In the dialog, choose "Local Folder" as an import source, then choose "Import Music Source". 4. Select the "Music" directory in my home directory and then choose "Open". 5. Banshee will then crash. Stack trace: alexander@alexander-desktop:~$ LD_LIBRARY_PATH=/usr/lib/banshee mono --debug /usr/lib/banshee/banshee.exe Debug: [09/02/2008 11:22:33] (Loading audio profiles) - /usr/share/banshee/audio-profiles Debug: [09/02/2008 11:22:34] (Default player engine) - GStreamer 0.10 Debug: [09/02/2008 11:22:34] (Audio CD Core Initialised) - Debug: [09/02/2008 11:22:34] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_9A70A50E70A4F1E5 Debug: [09/02/2008 11:22:34] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_9A70A50E70A4F1E5 Building initial DAAP database from local library... Starting DAAP Server (Banshee:10039): 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. Setting IO Backend to Banshee.IO.Unix.IOConfig (unix) ** (Banshee:10039): WARNING **: The following assembly referenced from /usr/lib/banshee/Banshee.Base.dll could not be loaded: Assembly: taglib-sharp (assemblyref_index=15) Version: 2.0.2.0 Public Key: db62eba44689b5b0 The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/lib/banshee). ** (Banshee:10039): WARNING **: Could not load file or assembly 'taglib-sharp, Version=2.0.2.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0' or one of its dependencies. Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'taglib-sharp, Version=2.0.2.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0' or one of its dependencies. File name: 'taglib-sharp, Version=2.0.2.0, Culture=neutral, PublicKeyToken=db62eba44689b5b0' at Banshee.Base.ImportManager.ProcessQueue () [0x0005a] in /build/buildd/banshee-0.13.2+dfsg/src/Core/Banshee.Base/ImportManager.cs:259 at Banshee.Base.ImportManager+<>c__CompilerGenerated64.<QueueSource>c__197 () [0x00068] in /build/buildd/banshee-0.13.2+dfsg/src/Core/Banshee.Base/ImportManager.cs:175 at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void () Importing timer stopped: 00:00:00.0096890 alexander@alexander-desktop:~$ Other information: I produced the stack trace I just provided in conformity with the information provided on the Banshee website - http://banshee-project.org/Debugging - and I am using development version 8.04 of Ubuntu. First I tried to follow Ubuntu's guide on providing a backtrace, I executed these - https://wiki.ubuntu.com/DebuggingProgramCrash and https://wiki.ubuntu.com/Backtrace - instructions to provide a backtrace with GDB. However, GDB caused Banshee to crash before I could reproduce the crash which occurs during importing. I have attached the logs of GDB to this bug report as well, I'd like to know why debugging with GDB exactly went wrong. The backtrace which I provided complains about the absence of taglib-sharp. I searched in Synaptic for "taglib", some results showed, one of them being the package "libtaglib2.0-cil" which was not installed. After installing it Banshee did not crash on importing my "Music" directory anymore. It seems to me that this bug hasn't got anything to do with Banshee, but that it is Ubuntu's problem that Banshee was incorrectly packaged with a missing dependency for "libtaglib2.0-cil"?
Created attachment 104773 [details] log of GDB when Banshee was already running and attached to GDB
Created attachment 104774 [details] log of GDB when Banshee was started with GDB
According to - http://packages.ubuntu.com/hardy/sound/banshee - it indeed seems to be the case that Ubuntu's Banshee package is missing a dependency for "libtaglib2.0-cil".
This is a simple packaging bug.