GNOME Bugzilla – Bug 699735
Banshee freeze after mounting a LVM volume
Last modified: 2013-10-28 12:06:58 UTC
Originally reported at: https://bugs.launchpad.net/bugs/1176515 Description: Ubuntu 12.04.2 LTS Release: 12.04 banshee: 2.4.1-3ubuntu1~precise2 $ kill -s KILL $(pidof banshee); cp ~/.config/banshee-1/log ~/Desktop/banshee.log --- exec -a banshee mono /usr/lib/banshee/Banshee.exe --redirect-log --play-enqueued [Info 13:19:09.371] Running Banshee 2.6.1: [Ubuntu 12.04.2 LTS (linux-gnu, x86_64) @ 2013-04-28 15:08:58 UTC] [Info 13:19:10.294] Updating web proxy from GConf [Info 13:19:10.350] All services are started 0,729235 [Info 13:19:11.133] nereid Client Started [Info 13:19:11.219] GStreamer version 0.10.36.0, gapless: True, replaygain: False [Warn 13:19:11.251] Caught an exception - System.NullReferenceException: Object reference not set to an instance of an object (in `Banshee.Gio') at Banshee.Hardware.Gio.UdevMetadataSource.get_IdMediaDevice () [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.RawBlockDevice.get_IdMediaPlayer () [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.RawDevice..ctor (Banshee.Hardware.Gio.Manager manager, Banshee.Hardware.Gio.GioMetadataSource gioMetadata, Banshee.Hardware.Gio.UdevMetadataSource udevMetadata) [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.RawBlockDevice..ctor (Drive drive, Banshee.Hardware.Gio.Manager manager, Banshee.Hardware.Gio.GioDriveMetadetaSource gioMetadata, Banshee.Hardware.Gio.UdevMetadataSource udevMetadata) [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.RawVolume.get_Parent () [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.BlockDevice.Resolve (IDevice device) [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.HardwareManager.Resolve (IDevice device) [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.Manager+<GetAllDevices>c__Iterator3.MoveNext () [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.HardwareManager+<GetAllDevices>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0 at Banshee.Hardware.HardwareManager+<CastToCustomDevice>c__IteratorA`1[Banshee.Hardware.IDevice].MoveNext () [0x00000] in <filename unknown>:0 at Banshee.Dap.DapService.DelayedInitialize () [0x00000] in <filename unknown>:0 at Banshee.ServiceStack.ServiceManager.DelayedInitialize (IService service) [0x00000] in <filename unknown>:0 [Warn 13:19:11.252] Service `Banshee.Dap.DapService' not initialized: Object reference not set to an instance of an object Marshaling mount-added signal Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at Banshee.Hardware.Gio.UdevMetadataSource.get_IdMediaDevice () [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.RawBlockDevice.get_IdMediaPlayer () [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.RawDevice..ctor (Banshee.Hardware.Gio.Manager manager, Banshee.Hardware.Gio.GioMetadataSource gioMetadata, Banshee.Hardware.Gio.UdevMetadataSource udevMetadata) [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.RawBlockDevice..ctor (Drive drive, Banshee.Hardware.Gio.Manager manager, Banshee.Hardware.Gio.GioDriveMetadetaSource gioMetadata, Banshee.Hardware.Gio.UdevMetadataSource udevMetadata) [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.RawVolume.get_Parent () [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.BlockDevice.Resolve (IDevice device) [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.HardwareManager.Resolve (IDevice device) [0x00000] in <filename unknown>:0 at Banshee.Hardware.Gio.Manager.HandleMonitorMountAdded (System.Object o, GLib.MountAddedArgs args) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.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.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) 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() Full thread dump: "HyenaSqliteConnection (/home/dimon3000/.config/banshee-1/banshee.db)" tid=0x0x7f584aef2700 this=0x0x7f584b3edea0 thread handle 0x414 state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <0xffffffff> at System.Threading.WaitHandle.WaitOne () <0x0006b> at Hyena.Data.Sqlite.HyenaSqliteConnection.ProcessQueue () <0x0026a> at System.Threading.Thread.StartInternal () <0x00071> at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff> "Main Thread" tid=0x0x7f585fea7740 this=0x0x7f585fe36ea0 thread handle 0x403 state : waiting on 0x400 : Event owns () at (wrapper managed-to-native) System.Environment.Exit (int) <0xffffffff> at GLib.ExceptionManager.RaiseUnhandledException (System.Exception,bool) <0x000e7> at GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <0x00777> at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <0xffffffff> at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff> at Gtk.Application.Run () <0x0000b> at Banshee.Gui.GtkBaseClient.Run () <0x0005f> at Banshee.Gui.GtkBaseClient.Startup () <0x00049> at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x0008e> at Banshee.Gui.GtkBaseClient.Startup<T> () <0x0006b> at Banshee.Gui.GtkBaseClient.Startup<T> (string[]) <0x000ff> at Nereid.Client.Main (string[]) <0x00017> at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff> at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[]) <0xffffffff> at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x00047> at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00037> at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff> at System.AppDomain.ExecuteAssembly (string) <0x0001f> at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string) <0xffffffff> at Booter.Booter.BootClient (string) <0x0006b> at Booter.Booter.Main () <0x001db> at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> "Threadpool worker" tid=0x0x7f582e3db700 this=0x0x7f583c6224e0 thread handle 0x73c state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0xffffffff> at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <0x00077> at System.Threading.RegisteredWaitHandle.Wait (object) <0x000d3> at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff> "Threadpool worker" tid=0x0x7f582e5dc700 this=0x0x7f584b3ed270 thread handle 0x4ed state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0xffffffff> at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <0x00077> at System.Threading.RegisteredWaitHandle.Wait (object) <0x000d3> at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff> "Threadpool worker" tid=0x0x7f582e7dd700 this=0x0x7f583c622750 thread handle 0x734 state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0xffffffff> at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <0x00077> at System.Threading.RegisteredWaitHandle.Wait (object) <0x000d3> at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff> Full thread dump: "Threadpool worker" tid=0x0x7f582e7dd700 this=0x0x7f583c622750 thread handle 0x734 state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0xffffffff> at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <0x00077> at System.Threading.RegisteredWaitHandle.Wait (object) <0x000d3> at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff> "HyenaSqliteConnection (/home/dimon3000/.config/banshee-1/banshee.db)" tid=0x0x7f584aef2700 this=0x0x7f584b3edea0 thread handle 0x414 state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <0xffffffff> at System.Threading.WaitHandle.WaitOne () <0x0006b> at Hyena.Data.Sqlite.HyenaSqliteConnection.ProcessQueue () <0x0026a> at System.Threading.Thread.StartInternal () <0x00071> at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff> "Threadpool worker" tid=0x0x7f582e5dc700 this=0x0x7f584b3ed270 thread handle 0x4ed state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0xffffffff> at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <0x00077> at System.Threading.RegisteredWaitHandle.Wait (object) <0x000d3> at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff> "Main Thread" tid=0x0x7f585fea7740 this=0x0x7f585fe36ea0 thread handle 0x403 state : waiting on 0x400 : Event owns () at (wrapper managed-to-native) System.Environment.Exit (int) <0xffffffff> at GLib.ExceptionManager.RaiseUnhandledException (System.Exception,bool) <0x000e7> at GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <0x00777> at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <0xffffffff> at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff> at Gtk.Application.Run () <0x0000b> at Banshee.Gui.GtkBaseClient.Run () <0x0005f> at Banshee.Gui.GtkBaseClient.Startup () <0x00049> at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x0008e> at Banshee.Gui.GtkBaseClient.Startup<T> () <0x0006b> at Banshee.Gui.GtkBaseClient.Startup<T> (string[]) <0x000ff> at Nereid.Client.Main (string[]) <0x00017> at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff> at (wrapper managed-to-native) System.AppDomain.ExecuteAssembly (System.AppDomain,System.Reflection.Assembly,string[]) <0xffffffff> at System.AppDomain.ExecuteAssemblyInternal (System.Reflection.Assembly,string[]) <0x00047> at System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0x00037> at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string,System.Security.Policy.Evidence,string[]) <0xffffffff> at System.AppDomain.ExecuteAssembly (string) <0x0001f> at (wrapper remoting-invoke-with-check) System.AppDomain.ExecuteAssembly (string) <0xffffffff> at Booter.Booter.BootClient (string) <0x0006b> at Booter.Booter.Main () <0x001db> at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> "Threadpool worker" tid=0x0x7f582e3db700 this=0x0x7f583c6224e0 thread handle 0x73c state : interrupted state owns () at (wrapper managed-to-native) System.Threading.WaitHandle.WaitAny_internal (System.Threading.WaitHandle[],int,bool) <0xffffffff> at System.Threading.WaitHandle.WaitAny (System.Threading.WaitHandle[],System.TimeSpan,bool) <0x00077> at System.Threading.RegisteredWaitHandle.Wait (object) <0x000d3> at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
Can you run with "--debug" so we get line numbers? Also, can you test with 2.6.1? Thanks
Created attachment 243452 [details] $ banshee --debug Added banshee log with "--debug" enabled
Does not work with 2.6.1 eather. Debug log is attached in a post above.
Created attachment 244139 [details] [review] Proposed patch Can you test this patch please?
Hmm, I can't seem to reproduce this issue in Ubuntu 13.04. I recall seeing it in the past though.
@Dimon3000: I'm uploading a build with this patch to https://launchpad.net/~banshee-team/+archive/banshee-staging -- please download the package from there and test when it's done.
@Chow Loong Jin Building of a package has failed.
Whoops, forgot some backported dependencies. I've just set it to rebuild. Hopefully it works this time.
Patch(In reply to comment #4) > Created an attachment (id=244139) [details] [review] > Proposed patch > > Can you test this patch please? The patch helped. Thanks!
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report and testing. (And thanks to Chow for helping out!)
*** Bug 710934 has been marked as a duplicate of this bug. ***