GNOME Bugzilla – Bug 657538
banshee crashes on start
Last modified: 2011-08-30 08:19:58 UTC
From https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/835754: I use ubuntu11.10,and my music file name is Chinese(阳光总在风雨后.mp3). I can't start banshee by using "banshee",but I can start it by using "sudo banshee". The error message by using "banshee" is: exec -a banshee mono /usr/lib/banshee/Banshee.exe --redirect-log --play-enqueued [Info 07:12:01.765] Running Banshee 2.1.3: [Ubuntu oneiric (development branch) (linux-gnu, i686) @ 2011-08-25 18:47:15 UTC] Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.ArgumentException: Value does not fall within the expected range. at Hyena.Gui.Canvas.Rect.set_Height (Double value) [0x00000] in <filename unknown>:0 at Hyena.Gui.Canvas.Rect.op_Explicit (Rectangle rect) [0x00000] in <filename unknown>:0 at Hyena.Data.Gui.ListView`1[Banshee.Collection.AlbumInfo].OnSizeAllocated (Rectangle allocation) [0x00000] in <filename unknown>:0 at Gtk.Widget.sizeallocated_cb (IntPtr widget, IntPtr allocation) [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at Gtk.Widget.sizeallocated_cb(IntPtr widget, IntPtr allocation) at Gtk.Widget.gtksharp_widget_base_show(IntPtr ) at Gtk.Widget.OnShown() at Nereid.PlayerInterface.OnShown() at Gtk.Widget.shown_cb(IntPtr widget) at Gtk.Widget.gtk_widget_show(IntPtr ) at Gtk.Widget.Show() at Banshee.Gui.BaseClientWindow.InitialShowPresent() at Nereid.PlayerInterface.Initialize() at Banshee.Gui.BaseClientWindow.InitializeWindow() at Banshee.Gui.BaseClientWindow..ctor(System.String title, System.String configNameSpace, Int32 defaultWidth, Int32 defaultHeight) at Nereid.PlayerInterface..ctor() at System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod , System.Object , System.Object[] , System.Exception ByRef ) at System.Reflection.MonoCMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.MonoCMethod.Invoke(BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.ConstructorInfo.Invoke(System.Object[] parameters) at System.Activator.CreateInstance(System.Type type, Boolean nonPublic) at System.Activator.CreateInstance(System.Type type) at Banshee.ServiceStack.ServiceManager.RegisterService(System.Type type) at Banshee.ServiceStack.ServiceManager.Run() at Banshee.ServiceStack.Application.Run() at Banshee.Gui.GtkBaseClient.Initialize(Boolean registerCommonServices) at Banshee.Gui.GtkBaseClient..ctor(Boolean initializeDefault, System.String defaultIconName) at Banshee.Gui.GtkBaseClient..ctor() at Nereid.Client..ctor() at System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod , System.Object , System.Object[] , System.Exception ByRef ) at System.Reflection.MonoCMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.MonoCMethod.Invoke(BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) at System.Reflection.ConstructorInfo.Invoke(System.Object[] parameters) at System.Activator.CreateInstance(System.Type type, Boolean nonPublic) at System.Activator.CreateInstance(System.Type type) 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.AppDomain , 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() I can use "sudo banshee" to start it, and the error message by using "sudo banshee" is: [Info 07:53:13.720] Running Banshee 2.1.3: [Ubuntu oneiric (development branch) (linux-gnu, i686) @ 2011-08-25 18:47:15 UTC] [Warn 07:53:15.142] DBus support could not be started. Disabling for this session. - System.ArgumentNullException: Argument cannot be null. Parameter name: address (in `dbus-sharp') at DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 System.Exception: Unable to open the session message bus. (in `dbus-sharp') at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 at DBus.BusG.Init () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.DBusConnection.Connect (System.String serviceName, Boolean init) [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.DBusConnection.Connect (System.String serviceName) [0x00000] in <filename unknown>:0 [Info 07:53:15.562] Migrating album-art cache directory [Warn 07:53:15.565] Caught an exception - Hyena.Data.Sqlite.SqliteException: Sqlite error 1: no such table: CoverArtDownloads (SQL: DELETE FROM CoverArtDownloads) (in `Hyena.Data.Sqlite') at Hyena.Data.Sqlite.Connection.CheckError (Int32 errorCode, System.String sql) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.Connection.Execute (System.String sql) [0x00000] in <filename unknown>:0 at Hyena.Data.Sqlite.HyenaSqliteCommand.Execute (Hyena.Data.Sqlite.HyenaSqliteConnection hconnection, Hyena.Data.Sqlite.Connection connection) [0x00000] in <filename unknown>:0 [Info 07:53:15.575] Migrated 0 files in 0.006722s [Info 07:53:16.117] Updating web proxy from GConf [Warn 07:53:21.265] Caught an exception - System.ArgumentNullException: Argument cannot be null. Parameter name: address (in `dbus-sharp') at DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 [Warn 07:53:21.265] Extension `Banshee.SoundMenu.SoundMenuService' not started: Unable to open the session message bus. [Warn 07:53:21.267] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys') at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 [Warn 07:53:21.267] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached. (Banshee:7763): Gtk-WARNING **: Refusing to add non-unique action 'CloseAction' to action group 'Global' [Warn 07:53:21.298] Caught an exception - System.ArgumentNullException: Argument cannot be null. Parameter name: address (in `dbus-sharp') at DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 [Warn 07:53:21.298] Extension `Banshee.SoundMenu.SoundMenuService' not started: Unable to open the session message bus. [Warn 07:53:21.299] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in `Banshee.MultimediaKeys') at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x00000] in <filename unknown>:0 [Warn 07:53:21.299] Extension `Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached. [Info 07:53:21.302] All services are started 6.156407 [Warn 07:53:21.875] Error migrating Internet Radio Stations - System.IO.DirectoryNotFoundException: Directory '/root/.config/banshee/plugins/stations/user' not found. (in `mscorlib') at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 at Banshee.InternetRadio.XspfMigrator.Migrate () [0x00000] in <filename unknown>:0 [Warn 07:53:21.878] Error loading Internet Radio Stations from system default - System.IO.DirectoryNotFoundException: Directory '/usr/share/banshee/stations' not found. (in `mscorlib') at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 at Banshee.InternetRadio.XspfMigrator.LoadDefaults () [0x00000] in <filename unknown>:0 ** (Banshee:7763): DEBUG: Syncdaemon not running, waiting for it to start in NameOwnerChanged (Banshee:7763): libsoup-WARNING **: No feature manager for feature of type 'U1RequestChrome' ** (Banshee:7763): WARNING **: Error calling get_info: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. ** (Banshee:7763): CRITICAL **: syncdaemon_folder_info_get_subscribed: assertion `SYNCDAEMON_IS_FOLDER_INFO (finfo)' failed [Info 07:53:48.168] AmazonMP3 store redirect URL: https://one.ubuntu.com/music/store/amz/ ** (Banshee:7763): WARNING **: Error rescanning Purchased Music: No such file or directory ** (Banshee:7763): DEBUG: Loading the real store page ** (Banshee:7763): WARNING **: Got less number of items in credentials hash table than expected! [Info 07:53:49.699] nereid Client Started [Info 07:53:49.852] GStreamer version 0.10.35.0, gapless: True, replaygain: False [Warn 07:53:54.248] Nereid.SourceContents.TitleWidget is no longer used (from {0}) - Audiobooks [Warn 07:53:59.672] IScreensaverManager extension failed to load - System.ArgumentNullException: Argument cannot be null. Parameter name: address (in `dbus-sharp') at DBus.Bus.Open (System.String address) [0x00000] in <filename unknown>:0 at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 System.Exception: Unable to open the session message bus. (in `dbus-sharp') at DBus.Bus.get_Session () [0x00000] in <filename unknown>:0 at Banshee.GnomeBackend.GnomeScreensaverManager.get_Manager () [0x00000] in <filename unknown>:0 at Banshee.GnomeBackend.GnomeScreensaverManager..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. (in `mscorlib') at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0 at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0 at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] in <filename unknown>:0 at Mono.Addins.InstanceExtensionNode.CreateInstance (System.Type expectedType) [0x00000] in <filename unknown>:0 at Banshee.PlatformServices.ScreensaverManager..ctor () [0x00000] in <filename unknown>:0 [Warn 07:54:36.691] Caught an exception - System.UriFormatException: Invalid URI: The Authority/Host could not be parsed. (in `System') at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000] in <filename unknown>:0 at System.Uri.ParseUri (UriKind kind) [0x00000] in <filename unknown>:0 at System.Uri.Merge (System.Uri baseUri, System.String relativeUri) [0x00000] in <filename unknown>:0 at System.Uri..ctor (System.Uri baseUri, System.String relativeUri) [0x00000] in <filename unknown>:0 at Banshee.Metadata.Rhapsody.RhapsodyQueryJob.Run () [0x00000] in <filename unknown>:0 at Banshee.Metadata.MetadataServiceJob.Run () [0x00000] in <filename unknown>:0 [Warn 07:55:38.578] Cover art found on Lastfm, but downloading it failed. Probably server under high load or dead link - System.Net.WebException: The request timed out (in `System') at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 at Banshee.Metadata.MetadataServiceJob.GetHttpStream (System.Uri uri, System.String[] ignoreMimeTypes) [0x00000] in <filename unknown>:0 at Banshee.Metadata.MetadataServiceJob.SaveHttpStream (System.Uri uri, System.String path, System.String[] ignoreMimeTypes) [0x00000] in <filename unknown>:0 at Banshee.Metadata.MetadataServiceJob.SaveHttpStreamCover (System.Uri uri, System.String albumArtistId, System.String[] ignoreMimeTypes) [0x00000] in <filename unknown>:0 at Banshee.Metadata.LastFM.LastFMQueryJob.Run () [0x00000] in <filename unknown>:0 [Warn 08:01:40.530] Caught an exception - System.UriFormatException: Invalid URI: The Authority/Host could not be parsed. (in `System') at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000] in <filename unknown>:0 at System.Uri.ParseUri (UriKind kind) [0x00000] in <filename unknown>:0 at System.Uri.Merge (System.Uri baseUri, System.String relativeUri) [0x00000] in <filename unknown>:0 at System.Uri..ctor (System.Uri baseUri, System.String relativeUri) [0x00000] in <filename unknown>:0 at Banshee.Metadata.Rhapsody.RhapsodyQueryJob.Run () [0x00000] in <filename unknown>:0 at Banshee.Metadata.MetadataServiceJob.Run () [0x00000] in <filename unknown>:0
This time I can run banshee, I don't why,but I can listen music with it.
Weird, please reopen when you reproduce it again.