Disconnected on every attempt to reply
Havoc Pennington
hp at redhat.com
Tue Aug 9 15:24:07 EST 2005
On Mon, 2005-08-08 at 19:44 +0200, P. Durante wrote:
> 27141: Field 5 was invalid
Field 5 is the reply serial (see dbus-protocol.h)
> 27141: Failed to load header for new message code 16
and code 16 is DBUS_INVALID_BAD_SERIAL (see dbus-marshal-validate.h)
Sorry, the verbose output isn't very user-friendly ;-)
The only invalid serial is 0, so somehow we're getting that.
I see your source code is printing the serial on the client side - is it
0 at that point?
> 27141: 32 0x80b46b0: 0x05 0x01 'u' 0x00 BE: 83981568 LE: 7667973
> 27141: 36 0x80b46b4: 0x00 0x00 0x00 0x00 BE: 0 LE: 0 u64:
> 0x750105 dbl: 3.78848e-317
This looks like field code 5, length of signature 1, signature 'u', nul
termination, uint32 value of 0.
dbus_message_new_method_return() should be setting the serial to
whatever the serial of the method call was, so not sure what happened.
Havoc
More information about the dbus
mailing list