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 586753 - Crashes on startup
Crashes on startup
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
1.5.0
Other Mac OS
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 595289 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-23 13:31 UTC by Will Farrington
Modified: 2011-02-06 19:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Will Farrington 2009-06-23 13:31:29 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:
Comment 1 Gabriel Burt 2009-06-29 22:34:24 UTC
Is this with 'make run'?  Do you think it's related to your Mono version?
Comment 2 olivier dufour 2009-07-16 09:15:04 UTC
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.
Comment 3 Brendan Martens 2009-08-08 22:09:16 UTC
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:

Comment 4 Bertrand Lorentz 2009-09-28 11:33:27 UTC
*** Bug 595289 has been marked as a duplicate of this bug. ***
Comment 5 Ricardo 2009-10-04 07:07:26 UTC
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:
Comment 6 untit1ed 2009-10-15 09:05:30 UTC
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
Comment 7 Matt Sturgeon 2011-02-06 04:01:44 UTC
Is this bug still occurring in latest builds (1.8.1, 1.9.3, Trunk)?
Comment 8 Ricardo 2011-02-06 07:34:14 UTC
(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