GNOME Bugzilla – Bug 545664
Crash using external notify-sharp.
Last modified: 2009-03-09 20:17:17 UTC
Banshee 1.2.0 crash when i try to use the notification icon. An error window popup with this output! I'm on Gnome-2.22.3 and i'm using the latest svn notification-sharp. An unhandled exception was thrown: Array index is out of range. at NDesk.DBus.MessageReader.MarshalUInt (byte*) <0x0002d> at NDesk.DBus.MessageReader.ReadUInt32 () <0x00011> at NDesk.DBus.MessageReader.ReadValue (NDesk.DBus.DType) <0x00113> at NDesk.DBus.MessageReader.ReadValue (System.Type) <0x0023b> at NDesk.DBus.MessageHelper.GetDynamicValues (NDesk.DBus.Message,System.Reflection.ParameterInfo[]) <0x000d5> at NDesk.DBus.Connection.HandleSignal (NDesk.DBus.Message) <0x000e4> at NDesk.DBus.Connection.DispatchSignals () <0x0003c> at NDesk.DBus.Connection.Iterate () <0x00039> at <>c__CompilerGenerated0.<Init>c__1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00027> at (wrapper native-to-managed) <>c__CompilerGenerated0.<Init>c__1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00032> at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004> at Gtk.Application.Run () <0x00007> at Banshee.Gui.GtkBaseClient.Run () <0x00052> at Banshee.Gui.GtkBaseClient.Startup () <0x00034> at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) <0x000a2> .NET Version: 2.0.50727.42 OS Version: Unix 2.6.24.5 Assembly Version Information: ICSharpCode.SharpZipLib (2.84.0.0) System.Web (2.0.0.0) System.Configuration (2.0.0.0) Mtp (1.2.0.20017) ipod-sharp (0.0.1.0) Mono.Zeroconf.Providers.Bonjour (2.0.0.76) avahi-sharp (1.0.0.0) Mono.Zeroconf.Providers.Avahi (2.0.0.76) Mono.Zeroconf (2.0.0.76) Banshee.Dap.Mtp (1.2.0.20045) Banshee.Dap.MassStorage (1.2.0.20044) taglib-sharp (2.0.3.0) Banshee.InternetRadio (1.2.0.20056) Banshee.FileSystemQueue (1.2.0.20054) Mono.Media (1.2.0.20016) Banshee.PlayQueue (1.2.0.20066) Banshee.CoverArt (1.2.0.20051) Banshee.MultimediaKeys (1.2.0.20061) Migo (1.2.0.20014) Banshee.Podcasting (1.2.0.20068) Boo.Lang.Compiler (2.0.0.0) Banshee.BooScript (1.2.0.20049) Lastfm (1.2.0.20020) Banshee.Lastfm (1.2.0.20058) Banshee.MiniMode (1.2.0.20060) notify-sharp (0.4.0.0) Banshee.NotificationArea (1.2.0.20063) Banshee.Bookmarks (1.2.0.20048) Banshee.Daap (1.2.0.20053) Banshee.AudioCd (1.2.0.20047) pango-sharp (2.12.0.0) Mono.Cairo (2.0.0.0) Banshee.Widgets (1.2.0.20030) Banshee.Dap.Ipod (1.2.0.20042) Banshee.Dap (1.2.0.20040) Banshee.Hal (1.2.0.20070) Banshee.Unix (1.2.0.20074) Banshee.GStreamer (1.2.0.20073) gconf-sharp (2.20.0.0) Banshee.Gnome (1.2.0.20071) Banshee.NowPlaying (1.2.0.20065) System.Transactions (2.0.0.0) System.Xml (2.0.0.0) System.Data (2.0.0.0) Mono.Data.SqliteClient (2.0.0.0) Mono.Addins (0.3.0.0) atk-sharp (2.12.0.0) Hyena.Gui (1.2.0.20012) NDesk.DBus.Proxies (0.0.0.0) Mono.Posix (2.0.0.0) NDesk.DBus.GLib (1.0.0.0) NDesk.DBus (1.0.0.0) gtk-sharp (2.12.0.0) Hyena (1.2.0.20008) System (2.0.0.0) gdk-sharp (2.12.0.0) glib-sharp (2.12.0.0) Banshee.Core (1.2.0.20024) Banshee.Services (1.2.0.20027) Banshee.ThickClient (1.2.0.20035) Nereid (1.2.0.20038) mscorlib (2.0.0.0) Platform Information: Linux 2.6.24.5-smp i686 AuthenticAMD GNU/Linux Disribution Information: [/etc/slackware-version] Slackware 12.1.0
Up! The problem is still present with the latest Banshee-1.2.1! It's very easy to reproduce. Just minimize Banshee and try to change some song from tray icon with enabled notification! This is a screenshot with the error window. http://img216.imageshack.us/img216/3810/schermataef8.png
What if you use a stable version of notification-sharp?
Sorry but where is the stable notification-sharp release? I find, after some search, only a svn revision 3009 svn co http://svn.galago-project.org/trunk/notify-sharp notify-sharp
You're right, couldn't find one either. If notify-sharp is not found on the system during compilation, banshee uses its own in-tree copy. So that's probably what most of the banshee users are using. So, could you remove notify-sharp from your system and try to reproduce the bug ? Moving out the notify-sharp.pc file should be enough.
Thanks without the system notify-sharp Banshee show all notification without errors! Thanks again for precious help! :)
Thanks for the feedback ! We might want to disable the possibility of having external notify-sharp, if it causes crashes like this. I'm updating the summary and keeping this open to track this issue.
The problem is, that the latest SVN revision of notify-sharp requires a newer notification-daemon (yet unreleased) to work. Use r2998 until Christian Hammod finally releases notify-sharp together with nwe notification-daemon and new libnotify :)
*** Bug 553254 has been marked as a duplicate of this bug. ***
*** Bug 564190 has been marked as a duplicate of this bug. ***
*** Bug 574679 has been marked as a duplicate of this bug. ***