If it was the body of the message, then why would the same body be malformed at some times and not others?<br><br>For the sake of having a full message, here's another excerpt from the logging. I made sure to run a test that had a substantial map in its body:<br>
<br>[org.freedesktop.dbus.AbstractConnection$_sender.run()] Got message: DataChanged(0,4) { Path=>/test/two, Interface=>dbus.topics.Topic, Member=>DataChanged, Signature=>a{sv} } { {Name=[Downstairs], Active=[COOLING], Ambient=[85], Local=[true], Setpoint=[75], Abandoned=[false], Fan=[AUTO], Id=[two], Mode=[COOLING]} }<br>
[org.freedesktop.dbus.Message.append()] Appending sig: a{sv} data: [{Name=[Downstairs], Active=[COOLING], Ambient=[85], Local=[true], Setpoint=[75], Abandoned=[false], Fan=[AUTO], Id=[two], Mode=[COOLING]}]<br>[org.freedesktop.dbus.MessageWriter.writeMessage()] <= DataChanged(0,4) { Path=>/test/two, Interface=>dbus.topics.Topic, Member=>DataChanged, Signature=>a{sv} } { {Name=[Downstairs], Active=[COOLING], Ambient=[85], Local=[true], Setpoint=[75], Abandoned=[false], Fan=[AUTO], Id=[two], Mode=[COOLING]} }<br>
[org.freedesktop.dbus.MessageWriter.writeMessage()] Writing all 102 buffers simultaneously to Unix Socket<br>[org.freedesktop.dbus.DBusConnection.disconnect()] Disconnecting DBusConnection<br clear="all"><br>
-- <br>
Colby M. White<br><div></div><div></div><div></div><br>
<br><br><div class="gmail_quote">On Tue, Sep 4, 2012 at 12:08 PM, Will Thompson <span dir="ltr"><<a href="mailto:will.thompson@collabora.co.uk" target="_blank">will.thompson@collabora.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[re-CCing the list so others can see this wasn't the issue.]<div class="im"><br>
<br>
On 04/09/12 13:02, Colby M White wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
My objectpaths seem valid. They are alphanumeric strings. In my test<br>
example, I'm just using words. getId() returns something like "one" or<br>
"two" every time. Here is that line of logging done again with the path<br>
intact:<br>
<br></div>
[org.freedesktop.dbus.<u></u>AbstractConnection$_sender.<u></u>run()] Got message:<br>
DataChanged(0,365) { Path=>/seventeen, Interface=>dbus.topics.Topic,<div class="im"><br>
Member=>DataChanged, Signature=>a{sv} } { {Name=[seventeen],// the rest<br>
of the map//} }<br>
</div></blockquote>
<br>
Okay, then it's not the path. But maybe it's some invalid data in the body of the message (which is elided above).<br>
<br>
It might be useful to compare a signal which is successfully emitted with one which causes the disconnection.<br>
<br>
(Or it could be some other bug totally unrelated to the body of the messages!)<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Will<br>
</font></span></blockquote></div><br>