banshee crashes

Bug #889407 reported by baxter42
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
banshee (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

[1 Debug 02:00:09.995] Refreshing any podcasts that haven't been updated in over an hour
[671 Debug 02:00:19.374] Starting
[670 Debug 02:00:19.418] Watcher: Deleted /home/baxter/Musique/Arvo Pärt/Berliner Messe/Cantate Domino Canticum Novum (Psalm 95).mp3
[8 Debug 02:00:19.429] Watcher: sleeping 988ms
[671 Debug 02:00:19.458] Finished - Deleting 1 of 1 From Music
[671 Debug 02:00:19.458] Finished - Deleting 1 of 1 From Music
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: GCHandle value belongs to a different domain
  at System.Runtime.InteropServices.GCHandle.op_Explicit (IntPtr value) [0x00000] in <filename unknown>:0
  at GLib.ManagedValue.FromHandle (IntPtr ptr) [0x00000] in <filename unknown>:0
  at GLib.ManagedValue.Copy (IntPtr ptr) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.ManagedValue.Copy(IntPtr ptr)
   at Gtk.TreeStore.gtk_tree_model_get_value(IntPtr , IntPtr , Int32 , IntPtr )
   at Gtk.TreeStore.GetValue(TreeIter iter, Int32 column, Value ByRef value)
   at Gtk.TreeStore.GetValue(TreeIter iter, Int32 column)
   at Banshee.Sources.Gui.SourceView.get_HighlightedSource()
   at Nereid.PlayerInterface.get_HighlightedSource()
   at Banshee.Gui.SourceActions.get_ActionSource()
   at Banshee.Gui.SourceActions.UpdateActions(Boolean force)
   at Banshee.Gui.SourceActions.<HandleActiveSourceUpdated>m__A1()
   at Hyena.ThreadAssist.ProxyToMain(Hyena.InvokeHandler handler)
   at Banshee.Gui.SourceActions.HandleActiveSourceUpdated(System.Object o, System.EventArgs args)
   at <Module>.invoke_void__this___object_EventArgs(System.Object , System.EventArgs )
   at <Module>.invoke_void__this___object_EventArgs(System.Object , System.EventArgs )
   at Banshee.Sources.Source.OnUpdated()
   at Banshee.Sources.PrimarySource.<DeleteTrackList>m__4A()
   at Banshee.ServiceStack.Application+<Invoke>c__AnonStorey21.<>m__38()
   at Banshee.Gui.GtkBaseClient+<RunIdle>c__AnonStorey1D.<>m__9F()
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Banshee.Gui.GtkBaseClient.Run()
   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()

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 889407] [NEW] banshee crashes

On 12/11/2011 16:10, baxter42 wrote:
> it is basically useless. i have to constantly restart to have any
> banshee functionality. fix immediately or i'm not really clear why you
> preferred over rhythmbox?

Perhaps you could begin by clarifying what you mean by "constantly restart to
have any banshee functionality"?

It is impossible to fix something when you don't even know what's wrong in the
first place.

The output of "banshee --debug", and some steps leading up to whatever bug
you're having, to start with, would be nice. Is Banshee crashing? Or is it
hanging? What is it doing?

  status incomplete

--
Kind regards,
Loong Jin

Changed in banshee (Ubuntu):
status: New → Incomplete
Revision history for this message
baxter42 (baxter42) wrote :

Debug info from gdb:
Sorry I was all grumpy the other day. :(

So it has a lot of different problems, it either hangs and I have to xkill it, this is usually after some time; or sometimes it just crashes, so I just try to start it now and it tried to get a podcast and it crashed. I'm going to try to disable everything and see if it works better.

-----------------------------------------------------------------------

Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted

Revision history for this message
baxter42 (baxter42) wrote :

Banshee: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Unfortunately it looks like mono did not managed to get the trace out after the SIGABRT. Could you run "sudo sysctl kernel.yama.ptrace_scope=1" and try again? It should cause more stuff to be printed out this time.

Also, please upload the full output from "banshee --debug". It'll help in figuring out what went wrong before Banshee hung.

If you find yourself encountering a hang, run "killall -SIGQUIT banshee" in a terminal as per http://banshee.fm/contribute/file-bugs/ and then upload ~/.config/banshee-1/log" before restarting Banshee. If it crashes otherwise, ~/.config/banshee-1/log should contain some useful information as well. Again, please upload the full contents, rather than just what's after the gdb trace.

Revision history for this message
baxter42 (baxter42) wrote :

Here was the latest crash when I did something I apparently wasn't supposed to do:

-------------------------------------------
[307 Debug 01:34:50.173] Finished - Adding 2 of 2 to Audiobooks
[4 Debug 01:34:50.242] Exception executing command: UPDATE CoreTracks SET Attributes = Attributes | AudioBook WHERE PrimarySourceID = 5
[4 Warn 01:34:50.246] Caught an exception - Hyena.Data.Sqlite.SqliteException: Sqlite error 1: no such column: AudioBook (SQL: UPDATE CoreTracks SET Attributes = Attributes | AudioBook WHERE PrimarySourceID = 5) (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

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Banshee.Sources.PrimarySource.IncrementAddedTracks () [0x00000] in <filename unknown>:0
  at Banshee.Sources.PrimarySource.AddTrackList (System.Object cached_list) [0x00000] in <filename unknown>:0

Revision history for this message
Chow Loong Jin (hyperair) wrote : Re: [Bug 889407] Re: banshee crashes

On 20/11/2011 14:39, baxter42 wrote:
> Here was the latest crash when I did something I apparently wasn't
> supposed to do:
>
>
> -------------------------------------------
> [307 Debug 01:34:50.173] Finished - Adding 2 of 2 to Audiobooks
> [4 Debug 01:34:50.242] Exception executing command: UPDATE CoreTracks SET Attributes = Attributes | AudioBook WHERE PrimarySourceID = 5
> [4 Warn 01:34:50.246] Caught an exception - Hyena.Data.Sqlite.SqliteException: Sqlite error 1: no such column: AudioBook (SQL: UPDATE CoreTracks SET Attributes = Attributes | AudioBook WHERE PrimarySourceID = 5) (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
>
> Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
> at Banshee.Sources.PrimarySource.IncrementAddedTracks () [0x00000] in <filename unknown>:0
> at Banshee.Sources.PrimarySource.AddTrackList (System.Object cached_list) [0x00000] in <filename unknown>:0

Looks like a different bug. Please open a new bug report with this trace. And
please include the *full* log.

--
Kind regards,
Loong Jin

Revision history for this message
Chow Loong Jin (hyperair) wrote :

Looks like your second crash was fixed in 2.2.1. Please try using that from
oneiric-proposed instead.

--
Kind regards,
Loong Jin

Revision history for this message
baxter42 (baxter42) wrote :

then a little while later this happened when i tried to delete a duplicate song:

---------------------------------------------

[1 Debug 02:00:09.995] Refreshing any podcasts that haven't been updated in over an hour
[671 Debug 02:00:19.374] Starting
[670 Debug 02:00:19.418] Watcher: Deleted /home/baxter/Musique/Arvo Pärt/Berliner Messe/Cantate Domino Canticum Novum (Psalm 95).mp3
[8 Debug 02:00:19.429] Watcher: sleeping 988ms
[671 Debug 02:00:19.458] Finished - Deleting 1 of 1 From Music
[671 Debug 02:00:19.458] Finished - Deleting 1 of 1 From Music
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: GCHandle value belongs to a different domain
  at System.Runtime.InteropServices.GCHandle.op_Explicit (IntPtr value) [0x00000] in <filename unknown>:0
  at GLib.ManagedValue.FromHandle (IntPtr ptr) [0x00000] in <filename unknown>:0
  at GLib.ManagedValue.Copy (IntPtr ptr) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.ManagedValue.Copy(IntPtr ptr)
   at Gtk.TreeStore.gtk_tree_model_get_value(IntPtr , IntPtr , Int32 , IntPtr )
   at Gtk.TreeStore.GetValue(TreeIter iter, Int32 column, Value ByRef value)
   at Gtk.TreeStore.GetValue(TreeIter iter, Int32 column)
   at Banshee.Sources.Gui.SourceView.get_HighlightedSource()
   at Nereid.PlayerInterface.get_HighlightedSource()
   at Banshee.Gui.SourceActions.get_ActionSource()
   at Banshee.Gui.SourceActions.UpdateActions(Boolean force)
   at Banshee.Gui.SourceActions.<HandleActiveSourceUpdated>m__A1()
   at Hyena.ThreadAssist.ProxyToMain(Hyena.InvokeHandler handler)
   at Banshee.Gui.SourceActions.HandleActiveSourceUpdated(System.Object o, System.EventArgs args)
   at <Module>.invoke_void__this___object_EventArgs(System.Object , System.EventArgs )
   at <Module>.invoke_void__this___object_EventArgs(System.Object , System.EventArgs )
   at Banshee.Sources.Source.OnUpdated()
   at Banshee.Sources.PrimarySource.<DeleteTrackList>m__4A()
   at Banshee.ServiceStack.Application+<Invoke>c__AnonStorey21.<>m__38()
   at Banshee.Gui.GtkBaseClient+<RunIdle>c__AnonStorey1D.<>m__9F()
   at GLib.Idle+IdleProxy.Handler()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Banshee.Gui.GtkBaseClient.Run()
   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()

Revision history for this message
baxter42 (baxter42) wrote :
Download full text (5.4 KiB)

then sometime later, when i tried to close an error report that was listed under my MTP device when i was deleting podcasts it froze again:

(should these all be separate bugs?)

-----------------------------------------------

[825 Debug 02:32:10.387] Starting
[825 Warn 02:32:10.495] Caught an exception - System.UnauthorizedAccessExcepti
on: /media/0123-4567/PODCASTS is a directory (in `mscorlib')
  at System.IO.File.Delete (System.String path) [0x00000] in <filename unknown>:0
  at Banshee.Dap.MassStorage.MassStorageSource.DeleteTrack (Banshee.Collection.Database.DatabaseTrackInfo track) [0x00000] in <filename unknown>:0
  at Banshee.Sources.PrimarySource.DeleteTrackList (Banshee.Collection.Database.CachedList`1 list) [0x00000] in <filename unknown>:0
[825 Debug 02:32:10.517] Finished - Deleting 4 of 4 From 3.9 GB Filesystem
[825 Debug 02:32:10.517] Finished - Deleting 4 of 4 From 3.9 GB Filesystem
[840 Debug 02:32:32.523] Starting
[840 Debug 02:32:32.586] Finished - Deleting 1 of 1 From 3.9 GB Filesystem
[840 Debug 02:32:32.587] Finished - Deleting 1 of 1 From 3.9 GB Filesystem
[1 Debug 02:32:38.706] Creating Pango.Layout, configuring Cairo.Context
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: GCHandle value belongs to a different domain
  at System.Runtime.InteropServices.GCHandle.op_Explicit (IntPtr value) [0x00000] in <filename unknown>:0
  at GLib.ManagedValue.FromHandle (IntPtr ptr) [0x00000] in <filename unknown>:0
  at GLib.ManagedValue.Copy (IntPtr ptr) [0x00000] in <filename unknown>:0
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.ManagedValue.Copy(IntPtr ptr)
   at Gtk.TreeStore.gtk_tree_model_get_value(IntPtr , IntPtr , Int32 , IntPtr )
   at Gtk.TreeStore.GetValue(TreeIter iter, Int32 column, Value ByRef value)
   at Gtk.TreeStore.GetValue(TreeIter iter, Int32 column)
  at Banshee.Sources.Gui.SourceView.get_HighlightedSource()
   at Nereid.PlayerInterface.get_HighlightedSource()
   at Banshee.Gui.SourceActions.get_ActionSource()
   at Banshee.Gui.SourceActions.UpdateActions(Boolean force)
   at Banshee.Gui.SourceActions.<HandleActiveSourceUpdated>m__A1()
   at Hyena.ThreadAssist.ProxyToMain(Hyena.InvokeHandler handler)
   at Banshee.Gui.SourceActions.HandleActiveSourceUpdated(System.Object o, Syst
em.EventArgs args)
   at <Module>.invoke_void__this___object_EventArgs(System.Object , System.Even
tArgs )
   at Banshee.Sources.Source.OnUpdated()
   at Banshee.Dap.DapSource.RaiseUpdated()
   at Banshee.Dap.MediaGroupSource.OnUpdated()
   at Banshee.Sources.Source.OnPropertyChanged(System.Object o, Hyena.Data.Prop
ertyChangeEventArgs args)
   at Hyena.Data.PropertyStore.OnPropertyChanged(System.String propertyName, Bo
olean added, Boolean removed, System.Object oldValue, System.Object newValue)
   at Hyena.Data.PropertyStore.Set(System.String name, Int32 value)
   at Hyena.Data.PropertyStore.SetInteger(System.String name, Int32 value)
   at Banshee.Sources.Source.set_Order(Int32 value)
   at Banshee.Sources.Source.SortChildSources()
   at Banshee.Sources.Source.OnCh...

Read more...

Revision history for this message
baxter42 (baxter42) wrote :

sorry i meant MSC, not MTP

Revision history for this message
baxter42 (baxter42) wrote :

here's the log for the last crash
----------------------------------------
exec -a banshee mono /usr/lib/banshee/Banshee.exe --redirect-log --play-enqueued

[Info 01:23:02.892] Running Banshee 2.2.0: [Ubuntu oneiric (development branch) (linux-gnu, i686) @ 2011-09-23 04:51:00 UTC]
[Info 01:23:06.448] Updating web proxy from GConf
[Info 01:23:07.439] All services are started 3.666402
** (Banshee:1920): DEBUG: SyncDaemon already running, initializing SyncdaemonDaemon object

(Banshee:1920): libsoup-WARNING **: No feature manager for feature of type 'U1RequestChrome'
[Info 01:23:11.643] nereid Client Started
[Info 01:23:11.987] GStreamer version 0.10.35.0, gapless: True, replaygain: False
** (Banshee:1920): DEBUG: Loading the real store page
Banshee: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

Revision history for this message
baxter42 (baxter42) wrote :

sorry not crash but freeze on the last one

Revision history for this message
Chow Loong Jin (hyperair) wrote :

General rule: one bug per trace. #8 and #9 have the same trace, so they go into one bug. #11.. well I have no idea, because there's no trace in that log -- you need to run "killall -SIGQUIT banshee" to get Banshee to output a trace when it hangs.

To be honest, I don't even know what this bug is for any more since there are so many traces, so.. uh.. maybe we should just take one of the traces you have from here and push it up to the description. ¬_¬" You must have some mystical Banshee crashing power there, really. I've never seen someone show up with so many crashes with different unseen traces before.

Some of the crashes may have been fixed in 2.2.1, so can you *please* try upgrading Banshee to that version?

Revision history for this message
baxter42 (baxter42) wrote :

Okay I put #8 up, which is the same as #9, and you said #5 was fixed.

What can I say, I'm just skilled at breaking things I guess. Yes, I'll upgrade.

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for banshee (Ubuntu) because there has been no activity for 60 days.]

Changed in banshee (Ubuntu):
status: Incomplete → Expired
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.