<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><div>Hi,</div><div><br></div><div>I have runned an application, on the robot MarXbot, that call these 2 functions <b>in the same time</b> and wait for their replies. </div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div><div>First function:</div><div><i>QDBusConnection connection = QDBusConnection::systemBus();</i></div><div><i> ch::epfl::mobots::AsebaNetwork network(DBUS_SERVICE_ASEBA, DBUS_PATH_ASEBA, connection);</i></div><div><i> QDBusPendingReply<Values> reply = network.GetVariable("base-sensors","proximity.corrected");</i></div><div><i> reply.waitForFinished();</i></div><div><i> if (reply.isError()){</i></div><div><i> qDebug() << "error proxy
\n";</i></div><div><i> } </i></div><div><br></div><div>Second function:</div></div><div><div><i>QDBusConnection connection = QDBusConnection::systemBus();<br></i></div><div><div><i>ch::epfl::mobots::AsebaNetwork network(DBUS_SERVICE_ASEBA, DBUS_PATH_ASEBA, connection);</i></div></div><div><div><i>QDBusPendingReply<Values> replyV = network.GetVariable("sensor-turret","sharp.value");</i></div><div><i> replyV.waitForFinished(); </i></div><div><i>QDBusPendingReply<Values> replyA = network.GetVariable("sensor-turret","sharp.angle");</i></div><div><i>replyA.waitForFinished();</i></div><div><i>if (replyV.isError()||replyA.isError()){</i><span class="Apple-tab-span" style="white-space:pre"><i>        </i></span><i> </i></div><div><span class="Apple-tab-span" style="white-space:pre"><i>        </i></span><i> qDebug() << "error sharp
\n";</i></div><div><i> } </i></div><div><i><br></i></div></div></div><div>but <b>some times</b> I get this message:</div><div><br></div><div><div><i>QDBusConnectionPrivate::connectSignal: received error from D-Bus server while connecting signal to QDBusAbstractInterface::_q_serviceOwnerChanged(QString,QString,QString): org.freedesktop.DBus.Error.NoMemory (Not enough memory)</i></div><div><i>QDBusConnectionPrivate::connectSignal: received error from D-Bus server while connecting signal to QDBusAbstractInterface::_q_serviceOwnerChanged(QString,QString,QString): org.freedesktop.DBus.Error.NoMemory (Not enough memory)</i></div><div><i>error proxy</i></div><div><i> </i></div><div><i>QDBusConnectionPrivate::connectSignal: received error from D-Bus server while connecting signal to QDBusAbstractInterface::_q_serviceOwnerChanged(QString,QString,QString): org.freedesktop.DBus.Error.NoMemory (Not enough memory)</i></div><div><i>error
sharp</i></div><div><i> </i></div><div><i>QDBusConnectionPrivate::connectSignal: received error from D-Bus server while connecting signal to QDBusAbstractInterface::_q_serviceOwnerChanged(QString,QString,QString): org.freedesktop.DBus.Error.NoMemory (Not enough memory)</i></div><div><i><span class="Apple-style-span" style="font-style: normal;"><br></span></i></div></div><div><span>When I run only one function in a time, I don't get this message and the execution go very well.</span></div><div><span><br></span></div><div><span>Is there any way to avoid this problem?</span></div><div><span><br></span></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">Best regards<br></div><div><span><br></span></div><div><span><br></span></div></div></div></body></html>