Incoming call signatures should be checked against the method

Bug #327740 reported by alp
2
Affects Status Importance Assigned to Milestone
Do Plugins
Invalid
Undecided
Unassigned
NDesk D-Bus
New
Undecided
Unassigned

Bug Description

If the signature on an incoming method call, method reply or signal does not match the signature of the managed handler, the handler is currently invoked anyway. This leads to obscure bugs in applications.

Revision history for this message
leeight (leeight) wrote :

I have Gnome Do 0.8 and Twitter plugin installed.
It works fine when receiving updates.

But after the notification message disappered, Gnome Do exit Immediately.

This is the backtrace

Creating package Do.Microblog_1.0.mpack
Installing Microblogging (Twitter) v1.0

[Error 13:56:52.208] Missing login credentials. Please set login information in plugin configuration.

Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
at NDesk.DBus.MessageReader.MarshalUInt (byte*) <0x00033>
at NDesk.DBus.MessageReader.ReadUInt32 () <0x00014>
at NDesk.DBus.MessageReader.ReadValue (NDesk.DBus.DType) <0x00109>
at NDesk.DBus.MessageReader.ReadValue (System.Type) <0x0027d>
at NDesk.DBus.MessageHelper.GetDynamicValues (NDesk.DBus.Message,System.Reflection.ParameterInfo[]) <0x000c2>
at NDesk.DBus.Connection.HandleSignal (NDesk.DBus.Message) <0x000fb>
at NDesk.DBus.Connection.DispatchSignals () <0x00034>
at NDesk.DBus.Connection.Iterate () <0x00033>
at NDesk.DBus.BusG/<>c__CompilerGenerated0.<Init>c__1 (intptr,NDesk.GLib.IOCondition,intptr) <0x0002e>
at (wrapper native-to-managed) NDesk.DBus.BusG/<>c__CompilerGenerated0.<Init>c__1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00034>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x0000a>
at Do.Do.Main (string[]) <0x001e8>

Revision history for this message
Robert Dyer (psybers) wrote :

This bug has nothing to do with Do. leeight's message is not related to this bug.

Changed in do-plugins:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.