Description
Hi Guys,
Im not familiar with Qt/Dbus version 4.8.3 (well lets just say I'm new to a project that uses this technology), and have just applied the patch, however I think the patch may have changed the mechanism for making Async calls across services, or I may be missing something, so are cheekly looking for some possible pointers/assistance
Prior to adding the patch the Debug Output from the Dbus Trace (setting the enivronment var QDBUS_DEBUG=1) was
Before the patch
================
Source Service Output-
QDBusConnectionPrivate(0x29025c0) sending message (async): QDBusMessage(type=MethodCall, service="com.companyname.XPLS.TargetService", path="/process_control", interface="com.companyname.ProcessControl", member="ping", signature="", contents=() )
Target Service Output-
QDBusConnectionPrivate(0x33bbe80) Automatically sending reply: (QVariant(QDateTime, QDateTime("Thu 26. Sep 12:57:05 2013") ) )
QDBusConnectionPrivate(0x33bbe80) sending message (no reply): QDBusMessage(type=MethodReturn, service="", signature="", contents=("2013-09-26T12:57:05Z") )
Source Service Output-
QDBusConnectionPrivate(0x29025c0) got message reply (async): QDBusMessage(type=MethodReturn, service=":1.9", signature="((iii)(iiii)i)", contents([Argument: ((iii)(iiii)i) [Argument: (i6], [Argument: (iiii) 12, 56, 25, 269], 1]) )
And With the Patch QTBUG 27809 added
====================================
Source Service -
=QDBusConnectionPrivate(0x31925c0) sending message (async): QDBusMessage(type=MethodCall, service="com.companyname.XPLS.TargetService", path="/process_control", interface="com.companyname.ProcessControl", member="ping", signature="", contents=() )
Target Service -
=QDBusConnectionPrivate(0x30dbde8) Automatically sending reply: (QVariant(QDateTime, QDateTime("Thu 26. Sep 14:10:19 2013") ) )
QDBusConnectionPrivate(0x30dbde8) sending message (no reply): QDBusMessage(type=MethodReturn, service="", signature="", contents=("2013-09-26T14:10:19Z") )
Source Service -
********************* No Response ***********************
I have hijacked the RemoteControlledCar example and modified the turn left button to return the Fuel Level asynchronously (well a QDateTime) and this exhibits the same issue
Looking for some assistance - Thanks
Dave
Attachments
Issue Links
- replaces
-
QTBUG-34698 QDBusPendingReply::waitForFinished() can block 25 seconds (the default dbus timeout) even if the reply arrived immediately
- Closed