Thiago, Thanks for the reply, coupla dumb q.<br><br>1. Process A sends a signal to an interface X which is routed thru dbus daemon and process B recvs it in that interface X, if dbus-daemon closes socket with B, it means that B has sent an invalid message to the daemon correct? Or does it happen if A sends an invalid message to the interface X? I am asking this because B does nothing more than recving the message and setting the result as handled.
<br><br>2. Since DBUS_VERBOSE etc seems to change the timing, i may have add prints in the code where the daemon detects invalid signal and closes the connection. Can you pls tell me where i should look for this part of the code? searching for connection_close or disconnect or invalid message, hits too many files. If you dont know from the top of your head, its ok, i will figure it out.
<br><br>Thanks!<br><br><div><span class="gmail_quote">On 4/11/07, <b class="gmail_sendername">Thiago Macieira</b> <<a href="mailto:thiago@kde.org">thiago@kde.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Krishna R wrote:<br>>Further probing lead to disconnect signal being the cause of<br>> do_io_error() in dbus-transport-socket.c, it was called because<br>> do_reading() which reads from the socket and gets bytes_read = 0. That
<br>> means the socket was closed on the other end?<br><br>Yes.<br><br>>The question i have is why is the dbus-daemon closing the socket? Or is<br>> it?<br><br>It is and it does so because it received an invalid message. If you strace
<br>the daemon or if you run it in debug mode, it should say why it did that.<br><br>>dbus-daemon, A and B are started one after another at boot in the<br>>foreground. Is there some problem where the session bus is not fully
<br>>initialized? That may not be because atleast one signal from A reaches<br>> B.<br><br>I don't think so.<br><br>--<br> Thiago Macieira - thiago (AT) <a href="http://macieira.info">macieira.info</a> - thiago (AT)
<a href="http://kde.org">kde.org</a><br> PGP/GPG: 0x6EF45358; fingerprint:<br> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358<br><br></blockquote></div><br>