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 515380 - crashes on import
crashes on import
Status: RESOLVED NOTGNOME
Product: banshee
Classification: Other
Component: Importing
0.13.2
Other All
: Normal critical
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-09 10:46 UTC by Alexander van Loon
Modified: 2008-02-09 18:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
log of GDB when Banshee was already running and attached to GDB (21.09 KB, application/octet-stream)
2008-02-09 10:47 UTC, Alexander van Loon
Details
log of GDB when Banshee was started with GDB (450 bytes, application/octet-stream)
2008-02-09 10:48 UTC, Alexander van Loon
Details

Description Alexander van Loon 2008-02-09 10:46:18 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"?
Comment 1 Alexander van Loon 2008-02-09 10:47:51 UTC
Created attachment 104773 [details]
log of GDB when Banshee was already running and attached to GDB
Comment 2 Alexander van Loon 2008-02-09 10:48:22 UTC
Created attachment 104774 [details]
log of GDB when Banshee was started with GDB
Comment 3 Alexander van Loon 2008-02-09 10:51:57 UTC
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".
Comment 4 Sebastian Dröge (slomo) 2008-02-09 18:29:44 UTC
This is a simple packaging bug.