I am using normal g_mail_loop for events integration in receiver side. And the regular method of add_match & add_filter to poll on signals and read them. I was too suspecting on the socket getting full but I added some prints in - _dbus_connection_get_dispatch_status_unlocked . But can see number "6" most of the time as number of incoming connections.<br>
How can i avoid though if socket is getting full sometimes?<br><br clear="all">Cheers,<br>- Kaustubh <br>
<br><br><div class="gmail_quote">On Thu, Feb 26, 2009 at 11:44 AM, Thiago Macieira <span dir="ltr"><<a href="mailto:thiago@kde.org" target="_blank">thiago@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Kaustubh Atrawalkar wrote:<br>
>I can see these prints with<br>
>proper values of arguments being passed. So, as per logs i can see the<br>
> dbus signal message is being sent over the SYSTEM bus. But somehow its<br>
> being dropped at sometimes. The reporduciblity is 1 out of 10 thought..<br>
> Is there any suspect? How can i go for debugging it?<br>
<br>
</div>My guess is that the socket got full and the DBusConnection toggle the<br>
Write DBusWatch, waiting for the possibility to write again.<br>
<br>
Does your code handle DBusWatch correctly? How does it do the event loop<br>
itnegration?<br>
<font color="#888888"><br>
--<br>
Thiago Macieira - thiago (AT) <a href="http://macieira.info" target="_blank">macieira.info</a> - thiago (AT) <a href="http://kde.org" target="_blank">kde.org</a><br>
PGP/GPG: 0x6EF45358; fingerprint:<br>
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358<br>
</font><br>_______________________________________________<br>
dbus mailing list<br>
<a href="mailto:dbus@lists.freedesktop.org" target="_blank">dbus@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dbus" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dbus</a><br>
<br></blockquote></div><br>