GNOME Bugzilla – Bug 586753
Crashes on startup
Last modified: 2011-02-06 19:47:14 UTC
Happens with Mono 2.4_7 and Banshee 1.5.0: An unhandled exception was thrown: libbanshee at (wrapper managed-to-native) Banshee.GStreamer.PlayerEngine:bp_new () at Banshee.GStreamer.PlayerEngine..ctor () [0x00000] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (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] Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] at Mono.Addins.InstanceExtensionNode.CreateInstance (System.Type expectedType) [0x00000] at Banshee.MediaEngine.PlayerEngineService.LoadEngine (Mono.Addins.TypeExtensionNode node) [0x00000] at Banshee.MediaEngine.PlayerEngineService.Banshee.ServiceStack.IInitializeService.Initialize () [0x00000] at Banshee.ServiceStack.ServiceManager.RegisterService (System.Type type) [0x00000] Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Banshee.Gui.GtkBaseClient.Startup () [0x00000] at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] .NET Version: 2.0.50727.1433 OS Version: Unix 10.0.0.1 Assembly Version Information: Banshee.GStreamer (1.5.0.0) Mono.Media (1.5.0.0) System.Core (3.5.0.0) System.Transactions (2.0.0.0) NDesk.DBus.GLib (1.0.0.0) Mono.Cairo (2.0.0.0) System.Data (2.0.0.0) Mono.Data.Sqlite (1.5.0.0) NDesk.DBus (1.0.0.0) System.Xml (2.0.0.0) gdk-sharp (2.12.0.0) Mono.Addins (0.4.0.0) atk-sharp (2.12.0.0) glib-sharp (2.12.0.0) Hyena.Gui (1.5.0.0) Mono.Posix (2.0.0.0) gtk-sharp (2.12.0.0) Banshee.Core (1.5.0.0) Hyena (1.5.0.0) System (2.0.0.0) Banshee.Services (1.5.0.0) Banshee.ThickClient (1.5.0.0) Nereid (1.5.0.0) mscorlib (2.0.0.0) Platform Information: Disribution Information:
Is this with 'make run'? Do you think it's related to your Mono version?
This exception is in libbanshee.dll in bp_new which is in C: bp_new () { BansheePlayer *player = g_new0 (BansheePlayer, 1); player->mutex = g_mutex_new (); _bp_replaygain_init (player); return player; } Best is to to do some printf in console to debug this part... I do not succeed to reproduced it.
I got this error as well. I have just upgraded to Mono 2.4.3 from the package on mono's site. I was also using the banshee package provide on the banshee site. Here is my error: An unhandled exception was thrown: libbanshee at (wrapper managed-to-native) Banshee.GStreamer.PlayerEngine:bp_new () at Banshee.GStreamer.PlayerEngine..ctor () [0x00000] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (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] Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] at Mono.Addins.InstanceExtensionNode.CreateInstance (System.Type expectedType) [0x00000] at Banshee.MediaEngine.PlayerEngineService.LoadEngine (Mono.Addins.TypeExtensionNode node) [0x00000] at Banshee.MediaEngine.PlayerEngineService.Banshee.ServiceStack.IInitializeService.Initialize () [0x00000] at Banshee.ServiceStack.ServiceManager.RegisterService (System.Type type) [0x00000] Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Banshee.Gui.GtkBaseClient.Startup () [0x00000] at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] .NET Version: 2.0.50727.1433 OS Version: Unix 9.8.0.0 Assembly Version Information: Banshee.GStreamer (1.5.0.0) Mono.Media (1.5.0.0) System.Core (3.5.0.0) System.Transactions (2.0.0.0) NDesk.DBus.GLib (1.0.0.0) Mono.Cairo (2.0.0.0) System.Data (2.0.0.0) Mono.Data.Sqlite (1.5.0.0) NDesk.DBus (1.0.0.0) System.Xml (2.0.0.0) gdk-sharp (2.12.0.0) Mono.Addins (0.4.0.0) atk-sharp (2.12.0.0) glib-sharp (2.12.0.0) Hyena.Gui (1.5.0.0) Mono.Posix (2.0.0.0) gtk-sharp (2.12.0.0) Banshee.Core (1.5.0.0) Hyena (1.5.0.0) System (2.0.0.0) Banshee.Services (1.5.0.0) Banshee.ThickClient (1.5.0.0) Nereid (1.5.0.0) mscorlib (2.0.0.0) Platform Information: Disribution Information:
*** Bug 595289 has been marked as a duplicate of this bug. ***
Hi all, I just encountered the same error with mono dmg package 2.4.2.3_4 and the banshee 1.5 distribution from the site. Here is my output if its any help: An unhandled exception was thrown: libbanshee at (wrapper managed-to-native) Banshee.GStreamer.PlayerEngine:bp_new () at Banshee.GStreamer.PlayerEngine..ctor () [0x00000] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (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] Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] at Mono.Addins.InstanceExtensionNode.CreateInstance (System.Type expectedType) [0x00000] at Banshee.MediaEngine.PlayerEngineService.LoadEngine (Mono.Addins.TypeExtensionNode node) [0x00000] at Banshee.MediaEngine.PlayerEngineService.Banshee.ServiceStack.IInitializeService.Initialize () [0x00000] at Banshee.ServiceStack.ServiceManager.RegisterService (System.Type type) [0x00000] Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Banshee.Gui.GtkBaseClient.Startup () [0x00000] at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] .NET Version: 2.0.50727.1433 OS Version: Unix 10.0.0.0 Assembly Version Information: Banshee.GStreamer (1.5.0.0) Mono.Media (1.5.0.0) System.Core (3.5.0.0) System.Transactions (2.0.0.0) NDesk.DBus.GLib (1.0.0.0) Mono.Cairo (2.0.0.0) System.Data (2.0.0.0) Mono.Data.Sqlite (1.5.0.0) NDesk.DBus (1.0.0.0) System.Xml (2.0.0.0) gdk-sharp (2.12.0.0) Mono.Addins (0.4.0.0) atk-sharp (2.12.0.0) glib-sharp (2.12.0.0) Hyena.Gui (1.5.0.0) Mono.Posix (2.0.0.0) gtk-sharp (2.12.0.0) Banshee.Core (1.5.0.0) Hyena (1.5.0.0) System (2.0.0.0) Banshee.Services (1.5.0.0) Banshee.ThickClient (1.5.0.0) Nereid (1.5.0.0) mscorlib (2.0.0.0) Platform Information: Disribution Information:
Same problem here. Banshee 1.5.1 from OpenSuse rep. An unhandled exception was thrown: libbanshee at (wrapper managed-to-native) Banshee.GStreamer.PlayerEngine:bp_new () at Banshee.GStreamer.PlayerEngine..ctor () [0x00000] at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] at Mono.Addins.InstanceExtensionNode.CreateInstance (System.Type expectedType) [0x00000] at Banshee.MediaEngine.PlayerEngineService.LoadEngine (Mono.Addins.TypeExtensionNode node) [0x00000] at Banshee.MediaEngine.PlayerEngineService.Banshee.ServiceStack.IInitializeService.Initialize () [0x00000] at Banshee.ServiceStack.ServiceManager.RegisterService (System.Type type) [0x00000] Exception has been thrown by the target of an invocation. at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] at System.Activator.CreateInstance (System.Type type) [0x00000] at Banshee.Gui.GtkBaseClient.Startup () [0x00000] at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00000] .NET Version: 2.0.50727.42 OS Version: Unix 2.6.25.20 Assembly Version Information: Banshee.GStreamer (1.5.0.0) gconf-sharp (2.20.0.0) Banshee.Gnome (1.5.0.0) Banshee.NowPlaying (1.5.0.0) Mono.Media (1.5.0.0) System.Transactions (2.0.0.0) NDesk.DBus.GLib (1.0.0.0) Mono.Cairo (2.0.0.0) System.Data (2.0.0.0) Mono.Data.Sqlite (1.5.0.0) System.Xml (2.0.0.0) Mono.Addins (0.4.0.0) gdk-sharp (2.12.0.0) atk-sharp (2.12.0.0) Hyena.Gui (1.5.0.0) gtk-sharp (2.12.0.0) Banshee.ThickClient (1.5.0.0) Nereid (1.5.0.0) NDesk.DBus.Proxies (0.0.0.0) Mono.Posix (2.0.0.0) Banshee.Core (1.5.0.0) System (2.0.0.0) Hyena (1.5.0.0) System.Core (3.5.0.0) NDesk.DBus (1.0.0.0) glib-sharp (2.12.0.0) Banshee.Services (1.5.0.0) Banshee (1.5.0.0) mscorlib (2.0.0.0) Platform Information: Linux 2.6.25.20-0.5-default x86_64 x86_64 GNU/Linux Disribution Information: [/etc/SuSE-release] openSUSE 11.0 (X86-64) VERSION = 11.0
Is this bug still occurring in latest builds (1.8.1, 1.9.3, Trunk)?
(In reply to comment #7) > Is this bug still occurring in latest builds (1.8.1, 1.9.3, Trunk)? I no longer have this issue in build 1.8.0