Afandi-Tuniversal / galaxium

Automatically exported from code.google.com/p/galaxium
0 stars 0 forks source link

IndexOutOfRangeException after closing of notification #347

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. A notification is displayed by galaxium (e.g. user status change)
2. The notification is closed (either by the user pressing the close button
or automatically after the specified timeout)
3. Galaxium crashes

Trace:
Fatal exception while running Galaxium.
IndexOutOfRangeException: Array index is out of range.
at NDesk.DBus.MessageReader.MarshalUInt (byte*) <0x0002d>
at NDesk.DBus.MessageReader.ReadUInt32 () <0x00018>
at NDesk.DBus.MessageReader.ReadValue (NDesk.DBus.DType) <0x00113>
at NDesk.DBus.MessageReader.ReadValue (System.Type) <0x00235>
at NDesk.DBus.MessageHelper.GetDynamicValues
(NDesk.DBus.Message,System.Reflection.ParameterInfo[]) <0x000d5>
at NDesk.DBus.Connection.HandleSignal (NDesk.DBus.Message) <0x000f4>
at NDesk.DBus.Connection.DispatchSignals () <0x0003c>
at NDesk.DBus.Connection.Iterate () <0x0002c>
at <Init>c__AnonStorey0.<>m__0 (intptr,NDesk.GLib.IOCondition,intptr) <0x0002a>
at (wrapper native-to-managed) <Init>c__AnonStorey0.<>m__0
(intptr,NDesk.GLib.IOCondition,intptr) <0x00049>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at Galaxium.Client.GtkGui.MainWindow.ExecuteEntryPoint (object[]) <0x000b7>
at Galaxium.Core.EntryPointExtension.Execute (object[]) <0x00018>
at Galaxium.Core.AddinUtility.Initialize () <0x0028f>
at Galaxium.Startup.Program..ctor (bool,string) <0x0016b>
at Galaxium.Startup.Program.Main (string[]) <0x00152>

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
range.
at NDesk.DBus.MessageReader.MarshalUInt (byte*) <0x0002d>
at NDesk.DBus.MessageReader.ReadUInt32 () <0x00018>
at NDesk.DBus.MessageReader.ReadValue (NDesk.DBus.DType) <0x00113>
at NDesk.DBus.MessageReader.ReadValue (System.Type) <0x00235>
at NDesk.DBus.MessageHelper.GetDynamicValues
(NDesk.DBus.Message,System.Reflection.ParameterInfo[]) <0x000d5>
at NDesk.DBus.Connection.HandleSignal (NDesk.DBus.Message) <0x000f4>
at NDesk.DBus.Connection.DispatchSignals () <0x0003c>
at NDesk.DBus.Connection.Iterate () <0x0002c>
at <Init>c__AnonStorey0.<>m__0 (intptr,NDesk.GLib.IOCondition,intptr) <0x0002a>
at (wrapper native-to-managed) <Init>c__AnonStorey0.<>m__0
(intptr,NDesk.GLib.IOCondition,intptr) <0x00049>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at Galaxium.Client.GtkGui.MainWindow.ExecuteEntryPoint (object[]) <0x000b7>
at Galaxium.Core.EntryPointExtension.Execute (object[]) <0x00018>
at Galaxium.Core.AddinUtility.Initialize () <0x0028f>
at Galaxium.Startup.Program..ctor (bool,string) <0x0016b>
at Galaxium.Startup.Program.Main (string[]) <0x00152>

What version of the product are you using? On what operating system?

Running galaxium svn Revision: 1286

++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Operating System
++++++++++++++++++++++++++++++++++++++++++++++++++
OS                  : Linux 2.6.26-fbcon #1 SMP Sat Mar 14 16:51:12 CET 2009
Distro              : Debian Squeeze/Sid
Arch                : i686

++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Applications
++++++++++++++++++++++++++++++++++++++++++++++++++
mono                : yes (Mono JIT compiler version 2.0.1 (tarball))
gmcs                : yes (Mono C# compiler version 2.0.1.0)
gcc                 : yes (gcc (Debian 4.3.3-3) 4.3.3)

++++++++++++++++++++++++++++++++++++++++++++++++++
+++ GAC
++++++++++++++++++++++++++++++++++++++++++++++++++
gacutil             : yes

gtk-sharp: yes
    gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
    policy.2.10.gtk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.4.gtk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.6.gtk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.8.gtk-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
glib-sharp: yes
    glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
    policy.2.10.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.4.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.6.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.8.glib-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
glade-sharp: yes
    glade-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.10.glade-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.4.glade-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.6.glade-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
    policy.2.8.glade-sharp, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gecko-sharp: no

Mono.Nat: no

Mono.Addins: yes
    Mono.Addins, Version=0.4.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
    Mono.Addins.CecilReflector, Version=0.4.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    Mono.Addins.Gui, Version=0.3.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    Mono.Addins.Gui, Version=0.4.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    Mono.Addins.Setup, Version=0.4.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    policy.0.2.Mono.Addins, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    policy.0.2.Mono.Addins.Gui, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    policy.0.2.Mono.Addins.Setup, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    policy.0.3.Mono.Addins, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    policy.0.3.Mono.Addins.Gui, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
    policy.0.3.Mono.Addins.Setup, Version=0.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756
NDesk: yes
    NDesk.DBus, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f6716e4f9b2ed099
    NDesk.DBus.GLib, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=f6716e4f9b2ed099
Anculus: yes
    Anculus.Core, Version=0.3.1.0, Culture=neutral,
PublicKeyToken=f53db44f7305a799
    Anculus.Core.Extended, Version=0.3.1.0, Culture=neutral,
PublicKeyToken=f53db44f7305a799
    Anculus.Gui, Version=0.3.1.0, Culture=neutral, PublicKeyToken=f53db44f7305a799
ICSharpCode.SharpZipLib: yes
    ICSharpCode.SharpZipLib, Version=0.84.0.0, Culture=neutral,
PublicKeyToken=1b03e6acf1164f73
    ICSharpCode.SharpZipLib, Version=2.84.0.0, Culture=neutral,
PublicKeyToken=1b03e6acf1164f73

++++++++++++++++++++++++++++++++++++++++++++++++++
+++ pkg-config
++++++++++++++++++++++++++++++++++++++++++++++++++
pkg-config          : yes (0.22)

mono                : yes (2.0.1)
mono-addins         : yes (0.4)
mono-nat            : no

glib-sharp-2.0      : yes (2.12.8)
gtk-sharp-2.0       : yes (2.12.8)
glade-sharp-2.0     : yes (2.12.1)
gecko-sharp-2.0     : no
gstreamer-0.10      : yes (0.10.22)

ndesk-dbus-1.0      : yes (0.6.0)
ndesk-dbus-glib-1.0 : yes (0.4.1)

anculus-core        : yes (0.3.1)
anculus-core-extended: yes (0.3.1)
anculus-gui         : yes (0.3.1)

Original issue reported on code.google.com by lapino on 18 Mar 2009 at 3:01

GoogleCodeExporter commented 8 years ago
Apparently this is caused by conflicts between different versions of 
notify-sharp and
notification-daemon. When using version 0.4 revision 303 of notify-sharp and 
0.4.0 of
notification-daemon, this bug disappears, so it can be closed.

Original comment by lapino on 23 Apr 2009 at 12:04

GoogleCodeExporter commented 8 years ago
Ok, let's blame library version mismatch for this.
In case it's not true and someone else happens to get this exception, just 
leave a
comment.

Original comment by Zarevucky.Jiri on 23 Apr 2009 at 5:01

GoogleCodeExporter commented 8 years ago
I got this problem under archlinux when i compile the svn version of galaxium. 
And
here is the version of my notify-sharp and notification-daemon:

community/notify-sharp-svn 3032-1 
extra/notification-daemon 0.4.0-2 (gnome)

Is there a way to solve this problem? thanx a lot~

Original comment by yuanhao...@gmail.com on 25 Apr 2009 at 3:13

GoogleCodeExporter commented 8 years ago
We probably should include notify-sharp with Galaxium.

Original comment by Zarevucky.Jiri on 26 Apr 2009 at 4:13

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Sorry, deleted the comment, same happens with xfce's new notification daemon 
(xfce4-notifyd), something of the 
sort also happened with listen music player, but they managed to fix it in svn.

Original comment by sebas.sc...@yahoo.com.ar on 28 Apr 2009 at 7:58

GoogleCodeExporter commented 8 years ago
I've included a local copy of notify-sharp library with Galaxium. There should 
be no
more problems with that.

Original comment by Zarevucky.Jiri on 13 May 2009 at 11:33